/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Open+Sans:wght@400;600&display=swap');

/* --- CSS Variables --- */
:root {
    --pri: #FAF8F5;
    --sec: #C4B49B;
    --acc: #9A8A7B;
    --dark: #4A4035;
    --dark-alt: #5a5045;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Open Sans', sans-serif;
    --shadow: 0 4px 20px rgba(0,0,0,0.25);
    --hover-bright: #FF6B35;
    --hover-glow: rgba(255, 107, 53, 0.5);
    --hover-cyan: #00D9FF;
}

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

html {
    scroll-behavior: smooth;
}

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

ul {
    list-style: none;
}

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

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

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

/* --- Typography & Layout --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--pri);
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

p {
    margin-bottom: 1rem;
    color: #e0dcd7;
}

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

.container-small {
    max-width: 800px;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-header h2 {
    margin-bottom: 0.5rem;
}
.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--sec);
}

/* --- Components --- */
.btn {
    display: inline-block;
    background-color: var(--acc);
    color: var(--pri);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--acc);
    transition: all 0.35s ease;
    cursor: pointer;
}

.btn:hover {
    background: linear-gradient(135deg, var(--hover-bright), #F7C94B);
    border-color: var(--hover-bright);
    color: #fff;
    box-shadow: 0 6px 25px var(--hover-glow);
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--sec);
    color: var(--pri);
}
.btn-secondary:hover {
    background: linear-gradient(135deg, var(--hover-cyan), #00b8d9);
    border-color: var(--hover-cyan);
    color: #fff;
    box-shadow: 0 6px 25px rgba(0, 217, 255, 0.4);
    transform: translateY(-2px);
}

.card {
    background-color: var(--dark-alt);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Header & Navigation --- */
.header {
    background-color: rgba(74, 64, 53, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
    z-index: 1000;
}
.header.sticky {
    position: sticky;
    top: 0;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--pri);
}
.nav-menu {
    display: flex;
    gap: 2rem;
}
.nav-link {
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
.nav-link:hover {
    color: var(--hover-bright);
    text-shadow: 0 0 10px var(--hover-glow);
}

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

@media (min-width: 991px) {
    .hamburger {
        display: none !important;
    }
}
.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--pri);
    transition: all 0.3s ease-in-out;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: var(--pri);
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}
.hero.hero-left .hero-content { text-align: left; margin-right: auto; }
.hero h1 { font-size: 4rem; }
.hero .subtitle { font-size: 1.2rem; color: #f0f0f0; margin: 1.5rem 0 2rem; }

/* --- Features Alternating --- */
.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}
.feature-item:nth-child(even) .feature-image { grid-column: 2; grid-row: 1; }
.feature-image img {
    border-radius: 20px;
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.feature-content h3 { margin-top: 1rem; }
.feature-icon { width: 50px; height: 50px; margin-bottom: 1rem; }

/* --- Testimonials Single --- */
.testimonial-card-featured {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.testimonial-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--sec);
}
.testimonial-card-featured blockquote p {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--pri);
}
.testimonial-card-featured cite {
    font-weight: 700;
    font-style: normal;
    display: block;
}
.testimonial-card-featured span {
    color: var(--sec);
    font-size: 0.9rem;
}

/* --- Team Cards --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.team-card {
    text-align: center;
}
.team-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}
.team-card h3 { margin-bottom: 0.25rem; }
.team-card p { color: var(--sec); margin: 0; }

/* --- CTA Split --- */
.cta-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--dark-alt);
}
.cta-image {
    background-size: cover;
    background-position: center;
    min-height: 400px;
}
.cta-content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cta-content h2 { margin-bottom: 1.5rem; }
.cta-content .btn { margin-top: 1.5rem; align-self: flex-start; }

/* --- Footer --- */
.footer-wave {
    background: linear-gradient(135deg, var(--dark-alt), var(--dark));
    color: #e0dcd7;
    padding-top: 3rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-bottom: 3rem;
}
.footer-col h3 { color: var(--pri); }
.footer-col h4 { color: var(--sec); margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a {
    color: #e0dcd7;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
.footer-col ul a:hover {
    color: var(--hover-cyan);
    text-shadow: 0 0 12px rgba(0, 217, 255, 0.6);
}
.footer-col ul a:active {
    color: var(--hover-bright);
}
.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* --- About Page --- */
.page-header {
    text-align: center;
    background: linear-gradient(135deg, #6b5f52 0%, #5a5045 50%, #4d4439 100%);
    border-bottom: 3px solid rgba(196, 180, 155, 0.4);
    box-shadow: inset 0 2px 20px rgba(0, 0, 0, 0.15);
}
.page-header h1 { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); }
.page-header p { color: #e8e4df; }
.gallery-masonry .masonry-grid {
    column-count: 3;
    column-gap: 1rem;
}
.gallery-masonry .masonry-item {
    margin-bottom: 1rem;
    display: inline-block;
    width: 100%;
}
.gallery-masonry img {
    border-radius: 10px;
    width: 100%;
}

/* --- Contact Page --- */
.contact-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}
.contact-details .contact-detail-item {
    margin-bottom: 2rem;
}
.contact-details h4 { color: var(--sec); margin-bottom: 0.5rem; }
.contact-details p { margin: 0; }
.contact-form .form-group {
    margin-bottom: 1.5rem;
}
.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%;
    padding: 12px;
    background-color: var(--dark);
    border: 1px solid var(--sec);
    border-radius: 8px;
    color: var(--pri);
    font-family: var(--font-body);
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
    outline: none;
    border-color: var(--pri);
}
.contact-form .btn { width: 100%; }

/* --- FAQ Page --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    margin-bottom: 1rem;
    background: linear-gradient(145deg, #6b5f52 0%, #5e5348 100%);
    border-radius: 10px;
    border: 1px solid rgba(196, 180, 155, 0.35);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.faq-item summary {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 1.5rem;
    cursor: pointer;
    list-style: none;
    position: relative;
    color: var(--pri);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    font-size: 1.5rem;
    transition: transform 0.2s;
}
.faq-item[open] summary::after {
    transform: rotate(45deg);
}
.faq-item p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
}
.faq-cta { background-color: var(--dark); }
.faq-cta-content {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(145deg, #6b5f52 0%, #5e5348 100%);
    border: 1px solid rgba(196, 180, 155, 0.35);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
}

/* --- Legal Pages --- */
.legal-content h2 { margin-top: 2rem; }
.legal-content ul { padding-left: 20px; margin-bottom: 1rem; }
.legal-content ul li { list-style: disc; margin-bottom: 0.5rem; }

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-alt);
    padding: 1rem;
    display: none;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    z-index: 2000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
    flex-wrap: wrap;
    text-align: center;
}
.cookie-banner p { margin: 0; }
.cookie-buttons {
    display: flex;
    gap: 0.5rem;
}
.cookie-buttons .btn-small { padding: 8px 20px; }

/* --- Success Modal --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.modal-open {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background-color: var(--dark-alt);
    padding: 2.5rem;
    border-radius: 20px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.modal-overlay.modal-open .modal-content {
    transform: scale(1);
}
.modal-success-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 70px;
    border-radius: 50%;
}
.modal-content h3 { margin-bottom: 0.5rem; }
.modal-content p { margin-bottom: 1.5rem; color: #e0dcd7; }
.modal-close-btn { margin-top: 0.5rem; }

/* --- Responsive Design --- */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    .hero h1 { font-size: 3rem; }

    .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-item { padding: 1.5rem 0; }

    .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); }

    .feature-item, .feature-item:nth-child(even) {
        grid-template-columns: 1fr;
    }
    .feature-item:nth-child(even) .feature-image { grid-column: 1; grid-row: 1; }
    .feature-content { text-align: center; }
    .feature-icon { margin: 0 auto 1rem; }

    .cta-split { grid-template-columns: 1fr; }
    .cta-image { display: none; }
    .cta-content { text-align: center; }
    .cta-content .btn { align-self: center; }

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

    .contact-split-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }
    h1 { font-size: 2.2rem; }
    .hero { min-height: 60vh; }
    .hero h1 { font-size: 2rem; }

    .gallery-masonry .masonry-grid { column-count: 2; }

    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-col ul { padding: 0; }
    .cookie-banner { flex-direction: column; }
}