:root {
    --sage: #71806b;
    --forest: #55614f;
    --cream: #f7f3eb;
    --card: #fffdf8;
    --text: #3d4037;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--text);
    font-family: 'Source Sans 3', sans-serif;
    line-height: 1.7;
}

/* NAV */

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

    background: rgba(255,253,248,0.95);

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

    padding: 18px 8%;

    backdrop-filter: blur(10px);

    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 34px;
    color: var(--forest);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
}

.menu-toggle {
    display: none;
}

/* HERO */

.hero {
    padding: 120px 8%;
    text-align: center;

    background:
        linear-gradient(rgba(247,243,235,.90),
        rgba(247,243,235,.90)),
        url("https://images.unsplash.com/photo-1506744038136-46273834b3fb?w=1600");

    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 850px;
    margin: auto;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--sage);
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    color: var(--forest);
}

.hero-text {
    font-size: 1.25rem;
}

.button {
    display: inline-block;
    margin-top: 25px;
    background: var(--sage);
    color: white;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 999px;
    font-size: 18px;
    transition: all .3s ease;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
}
/* SECTIONS */

section {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 30px;
}

section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: var(--forest);
}

/* CARDS */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 25px;
}

.card {
    background: var(--card);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,.05);
}
.card {
    transition: transform .3s ease, box-shadow .3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,.12);
}

/* ABOUT */

.about-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: center;
}

.photo-container {
    position: relative;
}

.photo-container img {
    width: 100%;
    max-width: 350px;
    border-radius: 25px;
    display: block;
    box-shadow: 0 15px 35px rgba(0,0,0,.12);
}
.photo-container::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    border: 3px solid var(--sage);
    border-radius: 50%;
    bottom: -20px;
    left: -20px;
    z-index: -1;
}
/* FOOTER */

footer {
    text-align: center;
    padding: 50px;
    color: var(--sage);
}
section {
    animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* MOBILE */

@media (max-width: 700px) {

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 30px;
    }

    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--card);
        padding: 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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