:root {
    /* Colors */
    --primary: #d4af37;      /* Gold */
    --secondary: #2d5a27;    /* Safari Green */
    --accent: #8b4513;       /* Earth Brown */
    --text: #333333;
    --body: #8f8b8b;
    --background: #ffffff;

    /* Typography */
    --h1font: "Playfair Display", serif;
    --h2font: "Poppins", sans-serif;
    --pfont: "Open Sans", sans-serif;
    --dancingfont: "Dancing Script", "Segoe Print", sans-serif;
    --buttonfont: "Montserrat", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

h1 {
    color: var(--primary);
    font-size: 4rem;
    text-align: center;
    margin: 10px;
    font-family: var(--h1font);
    font-weight: 900;
}

h2 {
    margin-top: 20px;
    color: var(--accent);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
    font-family: var(--h1font);

    }

p {
    color: var(--background);
    font-size: 2.2rem;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
    font-family: var(--pfont);
}

.parag {
    color: var(--text);
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 25px;
    text-align: center;
    font-family: var(--pfont);
}

.button {
    display: inline-block;
    color: var(--background);
    font-size: 20px;
    font-weight: 800;
    background: transparent;
    border: 2px solid var(--background);
    border-radius: 8px;
    width: auto;
    padding: 12px 30px;
    font-family: var(--buttonfont);
    text-align: center;
    cursor: pointer;
    transition: 0.3s ease;
    text-decoration: none;
}

.button:hover {
    background: var(--primary);
    color: var(--background);
}

body {
    padding-top: 70px;
    background: var(--body);
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    min-height: 100dvh;

    display: flex;
    flex-direction: column;

    justify-content: center; /* vertical */
    align-items: center;     /* horizontal */

    text-align: center;
}


/* NAVIGATION */
.topbar-menu {
    background: var(--background);
    padding: 25px 30px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.topbar-menu nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 120px;
    height: auto;
}

#nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

#nav-links a {
    color: var(--accent);
    text-decoration: none;
    font-family: var(--buttonfont);
    font-weight: 600;
    margin-right: 30px;
}

#nav-links a:hover {
    color: var(--primary);
}


.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--accent);
    font-size: 2.5rem;
    cursor: pointer;
}


/* MOBILE MENU */
@media (max-width: 768px) {

    body.menu-open {
        overflow: hidden;
    }


    .menu-toggle {
        display: block;
        position: relative;
        z-index: 1003;

        font-size: 2rem;
        background: none;
        border: none;
        color: var(--accent);
        cursor: pointer;
    }


    #nav-links {
        position: fixed;
        top: 0;
        left: 0;

        width: 100%;
        height: 100dvh;

        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(12px);

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        gap: 35px;

        list-style: none;
        padding: 0;
        margin: 0;

        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;

        transition:
            transform .35s ease,
            opacity .35s ease,
            visibility .35s ease;

        z-index: 1001;

        padding-top: env(safe-area-inset-top);
    }


    #nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }


    #nav-links li {
        width: 100%;
        text-align: center;
    }


    #nav-links li a {
        display: block;

        color: var(--accent);
        font-family: var(--buttonfont);

        font-size: 1.8rem;
        font-weight: 700;

        text-decoration: none;

        padding: 12px;

        transition: 
            color .3s ease,
            transform .3s ease;
    }


    #nav-links li a:hover {
        color: var(--primary);
        transform: scale(1.05);
    }

    h1 {
        font-size: 3rem;
        font-weight: 900;
    }


    /* Smaller phones */
    @media (max-height: 650px) {

        #nav-links {
            gap: 20px;
        }

        #nav-links li a {
            font-size: 1.5rem;
        }
    }


    /* Keep logo above menu */
    .logo {
        position: relative;
        z-index: 1003;
    }

    h1 {
        font-size: 3rem;
        font-weight: 900;
    }

    h2 {
        font-size: 2rem;
    }

    p {
        font-size: 2rem;
        margin: 10px;
    }

    .parag{
        font-size: 1.5rem;
        text-align: left;
    }
}


/*SECTIONS*/
.section {
    padding: 20px 8%;
}

.section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-family: var(--h2font);
    color: var(--background);
    font-weight: 800;
}

/* Generic responsive grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Generic card */
.card {
    background: var(--secondary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,.15);
    transition: transform .3s ease, box-shadow .3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,.2);
    background: var(--accent);
    
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card h3 {
    padding: 20px;
    text-align: center;
    font-family: var(--h2font);
    color: var(--primary);
    font-weight: 700;
}

.card h3:hover{
    color: var(--secondary);
}


#contact{
    background: var(--primary);
}

#contact .card {
    padding: 30px;
    align-content: center;
}

#contact h3 {
    margin-bottom: 20px;
    color: var(--background);
    font-family: var(--h2font);
}

#contact,
#contact address {
    font-family: var(--pfont);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
}

.contact-p{
    color: var(--background);
    font-size: large;
    line-height: 1px;
}

#contact a {
    color: var(--body);
    text-decoration: none;
}

#contact a:hover {
    color: var(--background);
}

#contact form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contact input,
#contact textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--pfont);
    font-size: 1rem;
}

#contact textarea {
    resize: vertical;
    min-height: 150px;
}

#contact .button {
    width: fit-content;
    padding: 12px 30px;
    align-self: center;
    color: var(--background);
}

.footer {
    background: var(--text);
    color: var(--background);
    padding: 60px 8% 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-family: var(--h2font);
    font-weight: 800;
}

.footer p {
    color: #ddd;
    font-size: 1rem;
    line-height: 1.8;
    text-align: left;
    margin: 0 0 10px;
    font-family: var(--pfont);
    font-weight: 700;
}

.footer-links {
    list-style: none;
    padding: 0;
    
}

.footer-links li {
    margin-bottom: 10px;
    
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color .3s ease;
    font-family: var(--pfont);
    font-weight: 700;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer hr {
    margin: 40px 0 20px;
    border: none;
    border-top: 2px solid rgba(179, 109, 6, 0.959);
}

.copyright {
    text-align: center;
    color: #aaa;
    font-size: .9rem;
    font-family: var(--h1font);
}

