﻿@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lato:wght@300;400;700&display=swap');

/* ─── CSS Variables ───────────────────────────────────────────── */
:root {
    --forest: #1a3a2a;
    --forest-mid: #2c5f3f;
    --forest-light: #3d7a52;
    --gold: #b8860b;
    --gold-light: #d4a017;
    --gold-pale: #f0d080;
    --cream: #f9f5ec;
    --text-dark: #1c1c1c;
    --text-light: #f9f5ec;
    --shadow-soft: 0 4px 24px rgba(0,0,0,0.12);
    --shadow-deep: 0 8px 40px rgba(0,0,0,0.22);
    --radius-pill: 50px;
    --radius-card: 12px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset & Base ────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--cream);
    background-image: url('images/bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.7;
    min-height: 100vh;
}

/* ─── Header ──────────────────────────────────────────────────── */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--forest) 0%, var(--forest-mid) 100%);
    padding: 14px 40px;
    box-shadow: var(--shadow-deep);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--gold);
}

/* ─── Logo Area ───────────────────────────────────────────────── */
.logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo {
    width: 90px;
    height: auto;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
    transition: transform var(--transition);
}

    .logo:hover {
        transform: scale(1.05) rotate(-1deg);
    }

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.04em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* ─── Menu Area ───────────────────────────────────────────────── */
.menu-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ─── Primary Navigation ──────────────────────────────────────── */
.navA a {
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    margin-left: 28px;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    transition: color var(--transition);
}

    .navA a::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -4px;
        width: 0;
        height: 1.5px;
        background: var(--gold-light);
        transition: width var(--transition);
    }

    .navA a:hover {
        color: var(--gold-pale);
    }

        .navA a:hover::after {
            width: 100%;
        }

/* ─── Book Now Button ─────────────────────────────────────────── */
.book {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--forest) !important;
    padding: 10px 26px;
    border-radius: var(--radius-pill);
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase;
    margin-left: 32px;
    box-shadow: 0 3px 14px rgba(184, 134, 11, 0.45);
    transition: all var(--transition) !important;
}

    .book::after {
        display: none !important;
    }

    .book:hover {
        background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-pale) 100%) !important;
        color: var(--forest) !important;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(184, 134, 11, 0.55) !important;
    }

/* ─── Burger Icon ─────────────────────────────────────────────── */
.burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 17px;
    cursor: pointer;
    padding: 2px 0;
    transition: transform var(--transition);
}

    .burger:hover {
        transform: scale(1.1);
    }

    .burger span {
        display: block;
        height: 2px;
        background-color: rgba(255,255,255,0.9);
        border-radius: 2px;
        transition: background-color var(--transition);
    }

    .burger:hover span {
        background-color: var(--gold-pale);
    }

/* ─── Services Bar ────────────────────────────────────────────── */
.Services {
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
    padding: 8px 40px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-soft);
}

/* ─── Service List Title ──────────────────────────────────────── */
#ServiceList {
    color: white;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.65;
    margin: 0;
}

/* ─── Secondary Navigation (Services Bar) ────────────────────── */
.navB {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

    .navB a {
        color: var(--forest);
        text-decoration: none;
        margin: 0 14px;
        font-family: 'Lato', sans-serif;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        position: relative;
        transition: color var(--transition);
    }

        .navB a::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -3px;
            width: 0;
            height: 2px;
            background: var(--forest);
            border-radius: 1px;
            transition: width var(--transition);
        }

        .navB a:hover {
            color: var(--forest-mid);
        }

            .navB a:hover::after {
                width: 100%;
            }

/* ─── Intro Section ───────────────────────────────────────────── */
#intro {
    text-align: center;
    margin: 60px auto;
    max-width: 760px;
    padding: 0 24px;
}

    #intro h1, #intro h2 {
        font-family: 'Playfair Display', serif;
        color: var(--forest);
        margin-bottom: 16px;
    }

    #intro p {
        color: #3a3a3a;
        font-size: 17px;
        line-height: 1.8;
    }

/* ─── Photo Collage ───────────────────────────────────────────── */
.collage {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 240px));
    grid-template-rows: repeat(3, minmax(180px, 240px));
    gap: 12px;
    justify-content: center;
    padding: 20px;
    margin: 0 auto 60px;
}

    .collage img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: var(--radius-card);
        box-shadow: var(--shadow-soft);
        transition: transform var(--transition), box-shadow var(--transition);
        display: block;
    }

        .collage img:hover {
            transform: scale(1.04);
            box-shadow: var(--shadow-deep);
            z-index: 1;
            position: relative;
        }


/* ─── Navbar Container ────────────────────────────────────────── */
#navbar {
    position: relative;
}

#dropdownContent {
    position: fixed;
    top: calc(95px + 28px + 1px);
    right: 0;
    width: 20%;
    height: 100%;
    background: linear-gradient(135deg, var(--forest) 0%, var(--forest-mid) 100%);
    box-shadow: var(--shadow-deep);
    padding: 30px 40px;
    z-index: 1000;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 3em;
    justify-content: flex-start;
    transform: translateX(100%);
    transition: transform 0.35s ease;
}

    #dropdownContent.show {
        display: flex;
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    #dropdownContent a {
        color: rgba(255, 255, 255, 0.88);
        text-decoration: none;
        font-family: 'Lato', sans-serif;
        font-size: 15px;
        font-weight: 400;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        transition: color var(--transition);
        transition: transform 0.35s ease;
    }

        #dropdownContent a:hover {
            color: var(--gold-pale);
            transform: translateX(4px);
        }

.menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.menu-icon {
    width: 27px;
    height: 27px;
    object-fit: contain;
    opacity: 0.9;
    transition: transform 0.25s ease;
}

.menu-item:hover .menu-icon {
    transform: translateX(4px);
}

/* ─── Tablet View (481px to 1024px) ─────────────────────────── */
@media (min-width: 481px) and (max-width: 1024px) {
    .header {
        height: 90px; /* Slightly taller for tablet proportion */
        padding: 10px 30px !important;
        justify-content: space-between !important;
    }

    .logo {
        width: 70px !important; /* Larger than mobile, smaller than desktop */
    }

    .brand-name {
        font-size: 22px !important;
        max-width: none; /* Allow name to sit on one line */
        white-space: nowrap;
    }

    .menu-area {
        gap: 20px !important;
    }

    .book {
        padding: 10px 20px !important;
        font-size: 12px !important;
    }

    .navA {
        display: inline-block !important;
    }

    #dropdownContent {
        width: 35% !important; /* Not as wide as mobile */
        top: 87px !important; /* Matches header height */
    }

    /* ─── Service List (Gold Bar) for Tablet ─── */
    .Services {
        padding: 15px 30px !important;
    }

    #ServiceList {
        font-size: 16px !important;
        margin-bottom: 8px !important;
        opacity: 0.8;
    }

    .navB {
        display: flex !important; /* Switch from mobile grid to flexible row */
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px !important;
    }

        .navB a {
            font-size: 13px !important;
            padding: 6px 12px;
            border: 1px solid rgba(26, 58, 42, 0.1);
            border-radius: 6px;
        }

    /* ─── Content Container ─── */
    .green-container {
        width: 85% !important; /* More centered and elegant */
        padding: 35px !important;
        margin: 30px auto !important;
    }

        .green-container h2 {
            font-size: 30px !important;
        }
}

@media (max-width: 480px) {
    .header {
        height: 80px;
        padding: 10px 15px !important;
        justify-content: space-between !important;
        gap: 10px;
        
    }

    .logo {
        width: 40px !important;
    }

    .brand-name {
        font-size: 14px !important;
        max-width: 130px;
        line-height: 1.2;
        white-space: normal;
        width: 92px;
    }

    .menu-area {
        display: flex !important;
        flex-shrink: 0 !important;
        gap: 10px !important;
    }

    .book {
        display: inline-block !important;
        padding: 6px 12px !important;
        font-size: 10px !important;
        margin-left: 0 !important;
    }

    #dropdownContent {
        width: 60% !important;
        top: calc(47px + 28px + 1px) !important;
        padding-top: 50px !important;
    }

    .navA {
        display: block !important; /* Hide 'Home' here; put it in the burger menu */
    }

    /* ─── Service List Fix ─── */
    .Services {
        height: 133.47px;
        padding: 10px !important;
    }

    #ServiceList {
        font-size: 12px !important; /* Tiny title */
        margin-bottom: 5px !important;
    }

    .navB {
        display: grid !important;
        grid-template-columns: 1fr 1fr; /* Two columns to save vertical space */
        gap: 8px !important;
        width: 100%;
    }

        .navB a {
            font-size: 10px !important;
            margin: 0 !important;
            text-align: center;
            border: 1px solid rgba(26, 58, 42, 0.2); /* Added border for better touch targets */
            padding: 4px;
            border-radius: 4px;
        }
    .collage {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
        padding: 10px;
    }

        .collage img {
            height: 250px !important;
        }

    /* Intro Scaling */
    #intro {
        margin: 30px auto;
    }

        #intro p {
            font-size: 15px;
        }

    /* Shrink the Service List drastically */
    .Services {
        padding: 8px !important;
    }

    #ServiceList {
        font-size: 11px !important;
        letter-spacing: 0.1em !important;
    }

    .navB {
        gap: 5px !important;
    }

        .navB a {
            font-size: 9px !important;
            margin: 0 4px !important;
        }
}
