/* ==========================================================
   SeVendeTawni Microsite Styles
   ========================================================== */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", Arial, Helvetica, sans-serif;
    line-height: 1.65;
    color: #333;
    background: #f8f6f2;
}

/* ----------------------------------------------------------
   Navigation
   ---------------------------------------------------------- */

#nav {

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

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;

    padding: 1rem;

    backdrop-filter: blur(10px);
    background: rgba(255,255,255,.82);

    border-bottom: 1px solid rgba(0,0,0,.08);

}

#nav a {

    text-decoration: none;
    color: #555;
    font-weight: 600;
    transition: color .25s;

}

#nav a:hover {

    color: #0d4c6c;

}


/* ----------------------------------------------------------
   Hero
   ---------------------------------------------------------- */

.hero {

    height: 85vh;

    background:
        linear-gradient(
            rgba(0,0,0,.35),
            rgba(0,0,0,.35)
        ),
        url("images/hero.webp")
        center center / cover
        no-repeat;

    color: white;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 2rem;

}

.hero h1 {

    font-size: clamp(3rem,6vw,5rem);

    margin: 0;

    letter-spacing: .04em;

}

.hero h2 {

    margin: .5rem 0;

    font-weight: 400;

    font-size: clamp(1.2rem,3vw,2rem);

}

.hero p {

    font-size: 1.1rem;

}


/* ----------------------------------------------------------
   Price Badge
   ---------------------------------------------------------- */

.price {

    display: inline-block;

    margin-top: 1.5rem;

    padding: .8rem 1.6rem;

    background: rgba(200,162,74,.92);

    color: white;

    font-size: 1.5rem;

    font-weight: bold;

    border-radius: 999px;

    box-shadow:
        0 4px 18px rgba(0,0,0,.20);

}


/* ----------------------------------------------------------
   Buttons
   ---------------------------------------------------------- */

.btn {

    display: inline-block;

    margin-top: 1rem;

    padding: .85rem 1.5rem;

    border-radius: 999px;

    border: 1px solid rgba(255,255,255,.4);

    background: rgba(255,255,255,.12);

    color: white;

    text-decoration: none;

    backdrop-filter: blur(8px);

    transition: .25s;

}

.btn:hover {

    background: rgba(255,255,255,.22);

    transform: translateY(-2px);

}


/* ----------------------------------------------------------
   Sections
   ---------------------------------------------------------- */

section {

    padding: 5rem 2rem;

    scroll-margin-top: 5rem;

}

section:nth-child(even) {

    background: #f2ede4;

}

section h2 {

    text-align: center;

    font-size: 2.2rem;

    margin-bottom: 2rem;

    color: #1f2a30;

}


/* ----------------------------------------------------------
   Cards
   ---------------------------------------------------------- */

.cards {

    display: grid;

    grid-template-columns:
        repeat(auto-fit,minmax(220px,1fr));

    gap: 1.5rem;

}

.cards div {

    background: white;

    padding: 2rem;

    border-radius: 14px;

    text-align: center;

    box-shadow:

        0 4px 18px rgba(0,0,0,.08);

    transition:

        transform .25s,

        box-shadow .25s;

}

.cards div:hover {

    transform: translateY(-6px);

    box-shadow:

        0 10px 30px rgba(0,0,0,.14);

}


/* ----------------------------------------------------------
   Gallery
   ---------------------------------------------------------- */

.grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit,minmax(280px,1fr));

    gap: 1.25rem;

}

.grid img {

    width: 100%;

    height: 280px;

    object-fit: cover;

    border-radius: 12px;

    transition:

        transform .3s,

        box-shadow .3s;

    box-shadow:

        0 3px 12px rgba(0,0,0,.08);

}

.grid img:hover {

    transform: scale(1.02);

    box-shadow:

        0 10px 28px rgba(0,0,0,.15);

}


/* ----------------------------------------------------------
   General Images
   ---------------------------------------------------------- */

img {

    max-width: 100%;

    display: block;

}


/* ----------------------------------------------------------
   Footer
   ---------------------------------------------------------- */

footer {

    background: #1f2a30;

    color: rgba(255,255,255,.75);

    text-align: center;

    padding: 3rem 2rem;

    font-size: .95rem;

}


/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */

@media (max-width:768px) {

    #nav {

        flex-wrap: wrap;

        gap: .8rem;

        padding: .75rem;

    }

    .hero {

        height: 70vh;

    }

    .hero h1 {

        font-size: 2.5rem;

    }

    .hero h2 {

        font-size: 1.2rem;

    }

}