/* =======================================
   HERCULES PROTOTYPING & LASER SOLUTIONS
   ======================================= */

:root {

    --primary: #2563eb;
    --primary-dark: #1d4ed8;

    --dark: #0f172a;
    --dark-light: #1e293b;

    --text: #334155;
    --light: #f8fafc;

    --white: #ffffff;

    --shadow:
        0 10px 30px rgba(0,0,0,0.08);

    --radius: 14px;

}

/* ======================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    font-family:
    "Segoe UI",
    Arial,
    sans-serif;

    color: var(--text);

    background: #ffffff;

    line-height: 1.7;
}

/* ======================================= */

.container {

    width: 90%;

    max-width: 1300px;

    margin: auto;
}

/* =======================================
   HEADER
   ======================================= */

header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background: rgba(15,23,42,0.96);

    backdrop-filter: blur(10px);

    box-shadow:
    0 3px 15px rgba(0,0,0,0.15);
}

header .container {

    display: flex;

    justify-content: space-between;

    align-items: center;

    min-height: 80px;
}

.logo {

    color: white;

    font-size: 1.35rem;

    font-weight: 700;
}

nav {

    display: flex;

    gap: 25px;
}

nav a {

    color: white;

    text-decoration: none;

    font-weight: 500;

    transition: .3s;
}

nav a:hover {

    color: #60a5fa;
}

/* =======================================
   HERO
   ======================================= */

.hero {

    background:
    linear-gradient(
    135deg,
    #0f172a,
    #1e40af
    );

    color: white;

    padding: 120px 0;
}

.hero .container {

    text-align: center;
}

.hero h1 {

    font-size: 3.8rem;

    line-height: 1.2;

    margin-bottom: 25px;

    font-weight: 800;
}

.hero p {

    max-width: 900px;

    margin: auto;

    font-size: 1.2rem;

    color: rgba(255,255,255,0.9);
}

.hero-buttons {

    margin-top: 40px;
}

.hero-image {

    margin-top: 60px;
}

.hero-image img {

    width: 100%;

    max-width: 1100px;

    border-radius: 20px;

    box-shadow:
    0 20px 50px rgba(0,0,0,0.35);
}

/* =======================================
   BUTTONS
   ======================================= */

.btn {

    display: inline-block;

    padding: 16px 34px;

    background: white;

    color: var(--primary);

    text-decoration: none;

    border-radius: 50px;

    font-weight: 700;

    transition: .3s;
}

.btn:hover {

    transform: translateY(-2px);

    box-shadow:
    0 10px 25px rgba(0,0,0,0.2);
}

.btn-secondary {

    display: inline-block;

    margin-left: 15px;

    padding: 16px 34px;

    border: 2px solid white;

    color: white;

    text-decoration: none;

    border-radius: 50px;

    transition: .3s;
}

.btn-secondary:hover {

    background: white;

    color: var(--primary);
}

/* =======================================
   GENERAL SECTIONS
   ======================================= */

section {

    padding: 100px 0;
}

section h2 {

    text-align: center;

    font-size: 2.4rem;

    margin-bottom: 20px;

    color: var(--dark);
}

section > .container > p {

    text-align: center;

    max-width: 900px;

    margin: auto;
}

/* =======================================
   CARDS
   ======================================= */

.cards {

    display: grid;

    grid-template-columns:
    repeat(auto-fit,minmax(320px,1fr));

    gap: 30px;

    margin-top: 50px;
}

.card {

    background: white;

    border-radius: var(--radius);

    overflow: hidden;

    box-shadow: var(--shadow);

    transition: .3s;
}

.card:hover {

    transform: translateY(-8px);
}

.card img {

    width: 100%;

    height: 220px;

    object-fit: cover;
}

.card h3 {

    padding: 25px 25px 10px;

    color: var(--primary);
}

.card p,
.card ul {

    padding: 0 25px 25px;
}

.card ul {

    padding-left: 45px;
}

/* =======================================
   GREY SECTIONS
   ======================================= */

.grey,
.gallery {

    background: #f8fafc;
}

/* =======================================
   PROTOTYPING
   ======================================= */

.prototypen-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: center;
}

.prototypen-grid img {

    width: 100%;

    border-radius: 15px;

    box-shadow: var(--shadow);
}

.prototypen-grid h2 {

    text-align: left;
}

.prototypen-grid ul {

    margin-top: 20px;

    padding-left: 20px;
}

/* =======================================
   EQUIPMENT
   ======================================= */

.equipment {

    text-align: center;
}

.equipment img {

    margin-top: 40px;

    width: 100%;

    max-width: 1100px;

    border-radius: 15px;

    box-shadow: var(--shadow);
}

/* =======================================
   GALLERY
   ======================================= */

.gallery-grid {

    margin-top: 50px;

    display: grid;

    grid-template-columns:
    repeat(auto-fit,minmax(320px,1fr));

    gap: 20px;
}

.gallery-grid img {

    width: 100%;

    height: 280px;

    object-fit: cover;

    border-radius: 12px;

    transition: .35s;
}

.gallery-grid img:hover {

    transform: scale(1.03);
}

/* =======================================
   WHY US
   ======================================= */

.why {

    background: white;
}

/* =======================================
   CONTACT
   ======================================= */

.contact {

    background:
    linear-gradient(
    135deg,
    #1e40af,
    #2563eb
    );

    color: white;

    text-align: center;
}

.contact h2 {

    color: white;
}

.contact p {

    color: rgba(255,255,255,0.9);

    max-width: 900px;

    margin: auto;
}

/* =======================================
   FOOTER
   ======================================= */

footer {

    background: var(--dark);

    color: white;

    text-align: center;

    padding: 40px 20px;
}

footer p {

    opacity: .85;

    margin-bottom: 10px;
}

/* =======================================
   MOBILE
   ======================================= */

@media (max-width: 992px) {

    .prototypen-grid {

        grid-template-columns: 1fr;
    }

    .prototypen-grid h2 {

        text-align: center;
    }
}

@media (max-width: 768px) {

    header .container {

        flex-direction: column;

        padding: 15px 0;
    }

    nav {

        flex-wrap: wrap;

        justify-content: center;

        gap: 15px;
    }

    .hero {

        padding: 80px 0;
    }

    .hero h1 {

        font-size: 2.4rem;
    }

    .hero p {

        font-size: 1rem;
    }

    .btn-secondary {

        display: block;

        margin: 15px auto 0;
    }

    section {

        padding: 70px 0;
    }

    section h2 {

        font-size: 2rem;
    }

    .cards {

        grid-template-columns: 1fr;
    }
}