/* BRAND COLOURS */
:root {
    --sage: #A3B9A5;
    --moss: #6F7F5F;
    --olive: #8A8F63;
    --warm-cream: #F7F3E9;
    --clay: #C9A28C;
    --soft-brown: #8B6F5A;
    --text-dark: #3A3A3A;
}
body {
    background-image: url('assets/woodland-background.png');
    background-repeat: repeat;
    background-size: 400px;
    background-color: var(--warm-cream);
    background-attachment: fixed;
    position: relative;
}

.overlay {
    background-color: rgba(255, 255, 245, 0.85); /* translucent cream */
    min-height: 100vh;
    width: 100%;
    position: relative;
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2; /* ensures text sits above overlay */
    padding: 40px;
}

/* GLOBAL */


body {
    margin: 0;
    font-family: 'Quicksand', sans-serif;
    background: var(--warm-cream);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--moss);
	font-size: 2rem;
}

.accent {
    font-family: 'Allura', cursive;
    color: var(--soft-brown);
    font-size: 2rem;
}
body {
    background-image: url('assets/background.png'); /* replace with your file name */
    background-repeat: repeat;
    background-size: 400px; /* adjust for pattern scale */
    background-color: var(--warm-cream); /* fallback colour */
    background-attachment: fixed;
}

/* HEADER */
.section {
    background-color: rgba(255, 255, 245, 0.85); /* translucent cream overlay */
    border-radius: 12px;
    padding: 30px;
}

header {
    background: var(--sage);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header img {
    height: 60px;
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    color: var(--soft-brown);
    font-weight: 600;
}
/* ------------------------------
   HAMBURGER MENU
------------------------------*/
.section {
    background-color: rgba(255, 255, 245, 0.85); /* translucent cream overlay */
    border-radius: 12px;
    padding: 30px;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    display: block;
    height: 3px;
    background: var(--soft-brown);
    border-radius: 3px;
    transition: 0.3s;
}

/* MOBILE NAV HIDDEN BY DEFAULT */
.nav-links {
    display: flex;
    gap: 15px;
}

/* ------------------------------
   MOBILE RESPONSIVE NAV
------------------------------*/
.section {
    background-color: rgba(255, 255, 245, 0.85); /* translucent cream overlay */
    border-radius: 12px;
    padding: 30px;
}

@media (max-width: 768px) {

    .hamburger {
        display: flex;
    }

    nav.nav-links {
        position: absolute;
        top: 80px;
        right: 0;
        background: var(--sage);
        width: 200px;
        padding: 20px;
        border-radius: 0 0 0 12px;
        display: none;
        flex-direction: column;
        text-align: right;
    }

    nav.nav-links a {
        margin: 10px 0;
        font-size: 1.1rem;
    }

    /* When menu is open */
    nav.nav-links.open {
        display: flex;
    }

    /* Hamburger animation */
    .hamburger.open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* HERO */




.hero {
    text-align: center;
    padding: 80px 20px;
}


.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}
.section {
    background-color: rgba(255, 255, 245, 0.85); /* translucent cream overlay */
    border-radius: 12px;
    padding: 30px;
}

/* SECTIONS */
.section {
    background-color: rgba(255, 255, 245, 0.85); /* translucent cream overlay */
    border-radius: 12px;
    padding: 30px;
}

.section {
    padding: 60px 20px;
    max-width: 900px;
    margin: auto;
}
.about-photo-inline {
    float: left;
    margin: 0 25px 20px 0;
}

.about-photo-inline img {
    width: 180px;
    border-radius: 12px;
    border: 4px solid var(--sage);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.contact-details {
    margin-top: 40px;
}

.contact-info-box {
    background: var(--sage);
    padding: 25px;
    border-radius: 12px;
    max-width: 500px;
    margin: 20px auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contact-info-box p {
    margin: 10px 0;
    font-size: 1.1rem;
}

.contact-info-box a {
    color: var(--soft-brown);
    text-decoration: none;
    font-weight: 600;
}

.contact-info-box a:hover {
    text-decoration: underline;
}
.map-container {
    margin: 40px auto;
    max-width: 700px;
    border: 4px solid var(--sage);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* ICON GRID */
.section {
    background-color: rgba(255, 255, 245, 0.85); /* translucent cream overlay */
    border-radius: 12px;
    padding: 30px;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.icon-box {
    background: var(--sage);
    padding: 20px;
    border-radius: 10px;
    text-align: center;        /* centres text */
    display: flex;             /* enables vertical alignment */
    flex-direction: column;    /* stacks icon above text */
    align-items: center;       /* centres icon horizontally */
    justify-content: center;   /* centres everything vertically */
}


.icon-box img {
    height: 50px;
    margin-bottom: 10px;
    display: block;            /* ensures clean centring */
}


/* GALLERY GRID */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 4px solid var(--sage);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    object-fit: cover;
}

/* LIGHTBOX */
#lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease-out;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    border: 4px solid var(--sage);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    background: var(--warm-cream);
    object-fit: contain;
}

/* Fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ARROWS */
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: white;
    cursor: pointer;
    user-select: none;
    padding: 10px 20px;
}

#lightbox-prev {
    left: 20px;
}

#lightbox-next {
    right: 20px;
}

.lightbox-arrow:hover {
    color: var(--sage);
}


/* CONTACT FORM */
.section {
    background-color: rgba(255, 255, 245, 0.85); /* translucent cream overlay */
    border-radius: 12px;
    padding: 30px;
}

form {
    background: var(--sage);
    padding: 30px;
    border-radius: 10px;
}

input, textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid var(--soft-brown);
    border-radius: 6px;
}

button {
    background: var(--moss);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
}

button:hover {
    background: var(--olive);
}

/* FOOTER */
footer {
    background: var(--moss);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}
/* Popup overlay */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Popup box */
.popup-content {
    background: rgba(255, 255, 245, 0.95);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 4px solid var(--sage);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s ease-out;
}

/* Fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

#close-popup {
    margin-top: 15px;
    padding: 10px 20px;
    background: var(--sage);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
