* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #090909;
    color: white;
    line-height: 1.6;
}

/* =========================
   NAVIGATION
========================= */

header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(5, 5, 5, 0.96);
    border-bottom: 1px solid #222;
}

nav {
    max-width: 1200px;
    margin: auto;

    padding: 20px 30px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav h1 {
    font-size: 24px;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
}

nav a {
    color: #ddd;
    text-decoration: none;
    font-size: 14px;

    transition: color 0.2s ease;
}

nav a:hover {
    color: #fff;
}

/* =========================
   HERO
========================= */

#home {
    position: relative;

    min-height: 88vh;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.78) 0%,
            rgba(0, 0, 0, 0.52) 45%,
            rgba(0, 0, 0, 0.22) 100%
        ),
        url("images/hero.jpg");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    overflow: hidden;
}

.hero-content {
    width: min(1200px, 100%);
    margin: auto;

    padding: 90px 30px;
}

.eyebrow,
.section-label {
    color: #b5b5b5;

    font-size: 12px;
    font-weight: bold;

    letter-spacing: 3px;

    margin-bottom: 15px;
}

#home h2 {
    max-width: 760px;

    font-size: clamp(50px, 7vw, 88px);
    line-height: 1;

    margin-bottom: 25px;
}

.hero-description {
    max-width: 620px;

    color: #e0e0e0;

    font-size: 18px;

    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
}

.primary-btn,
.secondary-btn {
    display: inline-block;

    padding: 15px 27px;

    border-radius: 4px;

    font-weight: bold;
    text-decoration: none;

    transition: all 0.2s ease;
}

.primary-btn {
    background: #fff;
    color: #000;
}

.primary-btn:hover {
    background: #d8d8d8;
    transform: translateY(-2px);
}

.secondary-btn {
    color: #fff;
    border: 1px solid #8b8b8b;
}

.secondary-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

/* =========================
   GENERAL SECTIONS
========================= */

section:not(#home) {
    padding: 100px 30px;
}

.section-container {
    max-width: 1200px;
    margin: auto;
}

.section-container > h2,
#about h2 {
    font-size: clamp(35px, 5vw, 52px);

    margin-bottom: 45px;
}

/* =========================
   ABOUT
========================= */

#about {
    background: #0d0d0d;
}

.about-layout {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: start;
}

.about-layout h2 {
    max-width: 500px;
}

.about-text {
    color: #bbb;

    font-size: 17px;
}

.about-text p {
    margin-bottom: 20px;
}

/* =========================
   SERVICES
========================= */

#services {
    background: #080808;
}

.card-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.service-card {
    min-height: 260px;

    padding: 35px;

    background: #141414;

    border: 1px solid #272727;
    border-radius: 8px;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.service-card:hover {
    transform: translateY(-7px);

    border-color: #555;

    background: #181818;
}

.service-card span {
    display: block;

    color: #777;

    margin-bottom: 50px;
}

.service-card h3 {
    font-size: 23px;

    margin-bottom: 12px;
}

.service-card p {
    color: #aaa;
}

/* =========================
   PRICING
========================= */

#pricing {
    background: #0d0d0d;
}

.pricing-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    align-items: stretch;
}

.price-card {
    position: relative;

    padding: 35px;

    background: #151515;

    border: 1px solid #292929;
    border-radius: 8px;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.price-card:hover {
    transform: translateY(-5px);

    border-color: #555;
}

.price-card.featured {
    border: 1px solid #fff;
}

.popular-tag {
    position: absolute;

    top: -14px;
    left: 25px;

    padding: 7px 14px;

    background: #fff;
    color: #000;

    font-size: 10px;
    font-weight: bold;

    letter-spacing: 1px;

    border-radius: 3px;
}

.price-card h3 {
    font-size: 23px;

    margin-bottom: 10px;
}

.price {
    font-size: 40px;
    font-weight: bold;

    margin-bottom: 25px;
}

.price span {
    font-size: 18px;

    color: #888;
}

.price-card ul {
    list-style: none;

    margin-bottom: 30px;
}

.price-card li {
    color: #aaa;

    padding: 8px 0;

    border-bottom: 1px solid #252525;
}

.price-card a {
    display: block;

    text-align: center;

    color: #fff;

    border: 1px solid #555;
    border-radius: 4px;

    padding: 12px;

    text-decoration: none;
    font-weight: bold;

    transition: all 0.2s ease;
}

.price-card.featured a {
    background: #fff;
    color: #000;
}

.price-card a:hover {
    background: #fff;
    color: #000;
}

/* =========================
   GALLERY
========================= */

#gallery {
    background: #080808;
}

.gallery-grid {
    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr;

    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    height: 420px;

    object-fit: cover;

    border-radius: 6px;

    filter: brightness(0.82);

    transition:
        filter 0.3s ease,
        transform 0.3s ease;
}

.gallery-grid img:hover {
    filter: brightness(1);

    transform: scale(1.01);
}

/* =========================
   CONTACT
========================= */

#contact {
    min-height: 500px;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    background: #111;
}

.contact-content {
    max-width: 700px;
}

.contact-content h2 {
    font-size: clamp(38px, 6vw, 60px);

    line-height: 1.1;

    margin-bottom: 20px;
}

.contact-content p:not(.section-label) {
    color: #aaa;

    margin-bottom: 30px;
}

/* =========================
   FOOTER
========================= */

footer {
    background: #050505;

    border-top: 1px solid #222;
}

.footer-container {
    max-width: 1200px;
    margin: auto;

    padding: 45px 30px;

    text-align: center;
}

.footer-container h3 {
    margin-bottom: 5px;
}

.footer-container p {
    color: #777;

    font-size: 14px;
}

.copyright {
    margin-top: 25px;
}

/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    nav ul {
        gap: 15px;
    }

    .about-layout {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .card-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid img:first-child {
        grid-column: 1 / 3;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 650px) {

    nav {
        flex-direction: column;

        gap: 15px;
    }

    nav ul {
        flex-wrap: wrap;

        justify-content: center;
    }

    #home {
        min-height: 80vh;

        background-position: center;
    }

    #home h2 {
        font-size: 48px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;

        width: 100%;
        max-width: 250px;
    }

    .hero-buttons a {
        text-align: center;
    }

    section:not(#home) {
        padding: 75px 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid img:first-child {
        grid-column: auto;
    }

    .gallery-grid img {
        height: 300px;
    }
}