/* --- VARIABLES & RESET --- */
:root {
    --pri: #FFFBF5;
    --sec: #D4A574;
    --acc: #8B5E3C;
    --dark: #3D2B1F;
    --font-heading: 'Fraunces', serif;
    --font-body: 'Commissioner', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark);
    color: var(--pri);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--sec);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

a {
    color: var(--sec);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--pri);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.text-center { text-align: center; }

/* --- HEADER & NAVIGATION --- */
.header {
    background-color: transparent;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 20px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pri);
}

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

.nav-link {
    color: var(--pri);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--sec);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--pri);
}

/* --- BUTTONS --- */
.button {
    display: inline-block;
    background-color: var(--sec);
    color: var(--dark);
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--sec);
    transition: all 0.3s ease;
}

.button:hover {
    background-color: var(--acc);
    border-color: var(--acc);
    color: var(--pri);
}

/* --- HERO --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--pri);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/hero.webp');
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
    z-index: -1;
}

.hero-content h1 {
    color: var(--pri);
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* --- FEATURES --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    text-align: center;
}

.feature-icon {
    max-height: 60px;
    margin: 0 auto 20px;
}

/* --- TESTIMONIALS --- */
.testimonials-section { background-color: rgba(0,0,0,0.1); }

.testimonial-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 80%;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none; /* Firefox */
}

.testimonial-carousel::-webkit-scrollbar { display: none; /* Safari and Chrome */ }

.testimonial-card {
    padding: 30px;
    background-color: var(--dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--sec);
}

.testimonial-text { font-style: italic; margin-bottom: 1rem; }
.testimonial-author { color: var(--pri); }

/* --- GALLERY --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* --- CTA --- */
.cta-section {
    background-color: var(--acc);
}

.cta-section h2 { color: var(--pri); }
.cta-section p { max-width: 600px; margin: 0 auto 2rem; }
.cta-section .button { background-color: var(--pri); color: var(--dark); border-color: var(--pri); }
.cta-section .button:hover { background-color: var(--sec); color: var(--dark); border-color: var(--sec); }

/* --- ABOUT PAGE --- */
.page-header { padding: 120px 0 40px; text-align: center; }
.text-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.image-col img { width: 100%; height: auto; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.team-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    text-align: center;
}
.team-photo { 
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 4px solid var(--acc);
}
.team-title { font-weight: bold; color: var(--sec); margin-top: -10px; margin-bottom: 10px; }

/* --- CONTACT PAGE --- */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.contact-map-wrapper iframe { height: 100%; width: 100%; min-height: 500px;}
.form-group {
    margin-bottom: 20px;
}
.form-group label { display: block; margin-bottom: 5px; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--acc);
    color: var(--pri);
    border-radius: 5px;
}
.contact-info { margin-top: 20px; }

/* --- FAQ PAGE --- */
.faq-grid { 
    display: grid;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}
.faq-item summary {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    color: var(--sec);
    position: relative;
}
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
    transform: rotate(45deg);
}
.faq-item p {
    padding: 20px;
    background-color: rgba(0,0,0,0.2);
}

/* --- LEGAL PAGES --- */
.legal-content .container { max-width: 800px; }
.legal-content h2 { margin-top: 2rem; }
.legal-content p, .legal-content li { margin-bottom: 1rem; }
.legal-content ul { list-style: disc; margin-left: 20px; }

/* --- FOOTER --- */
.footer {
    background-color: #2a1f17;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h4 { font-size: 1.2rem; margin-bottom: 15px; color: var(--pri); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: var(--sec); }
.footer-col ul a:hover { color: var(--pri); }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--acc);
    font-size: 0.9rem;
    color: #aaa;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #2a1f17;
    color: var(--pri);
    padding: 20px;
    display: none;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    gap: 20px;
}

.cookie-banner a { text-decoration: underline; }

.cookie-banner div { display: flex; gap: 10px; }

.button-sm {
    padding: 8px 16px;
    border-radius: 8px;
    background-color: var(--sec);
    color: var(--dark);
    border: 1px solid var(--sec);
    cursor: pointer;
    font-weight: bold;
}

.button-sm-outline {
    padding: 8px 16px;
    border-radius: 8px;
    background-color: transparent;
    color: var(--sec);
    border: 1px solid var(--sec);
    cursor: pointer;
    font-weight: bold;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .testimonial-carousel { grid-auto-columns: 100%; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-split, .text-columns { grid-template-columns: 1fr; }
    .contact-map-wrapper { order: -1; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        gap: 0;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-menu li { padding: 1rem 0; }
    .hamburger {
        display: block;
    }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .features-grid, .team-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .cookie-banner { flex-direction: column; text-align: center; }
}