/* --- Global Theme & CSS Variables --- */
:root {
    --bg-white: #ffffff;
    --bg-light: #fcfbfa;
    --text-dark: #1f1d1b;
    --text-muted: #595552;
    
    /* Wood & Gold Palette - Tuned for WCAG AAA Contrast */
    --wood-primary: #2d1a0e;
    --wood-light: #4a2c1a;
    --gold-primary: #9e7913;
    --gold-hover: #7d5f0d;
    --gold-subtle: #f9f5ea;
    
    --border-color: #e5dfd7;
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.04);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --radius-sm: 8px;
    --radius-md: 16px;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset & Typography --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    color: var(--wood-primary);
    line-height: 1.25;
}

p { color: var(--text-muted); }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

/* Focus styles for Accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--gold-primary);
    outline-offset: 3px;
}

/* --- Layout Utilities --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding { padding: 90px 0; }
.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    align-items: center;
}

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

/* --- Section Headers --- */
.section-subtitle {
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--gold-primary);
    font-weight: 700;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto 50px auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-gold {
    background: var(--gold-primary);
    color: #ffffff;
}

.btn-gold:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(158, 121, 19, 0.3);
}

.btn-outline {
    border: 1.5px solid var(--wood-primary);
    color: var(--wood-primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--wood-primary);
    color: #ffffff;
}

.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }

/* --- Navigation Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--wood-primary);
}

.logo-accent { color: var(--gold-primary); }

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

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--gold-primary);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.bar {
    width: 25px;
    height: 2px;
    background-color: var(--wood-primary);
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    padding-top: 150px;
    padding-bottom: 90px;
    background: linear-gradient(135deg, #ffffff 0%, var(--gold-subtle) 100%);
}

.hero-content { max-width: 600px; }

.badge {
    display: inline-block;
    background: rgba(158, 121, 19, 0.12);
    color: var(--wood-primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 3.2rem;
    margin: 20px 0;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hero-cta {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-media {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
}

.stat-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold-primary);
}

.stat-label { font-size: 0.85rem; color: var(--text-muted); }

/* --- About Section --- */
.about-image-wrapper {
    position: relative;
}

.about-image-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gold-primary);
    color: #ffffff;
    padding: 20px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}

.exp-title { display: block; font-weight: 700; font-size: 1.1rem; }
.exp-desc { font-size: 0.85rem; opacity: 0.95; }

.features-list {
    margin-top: 25px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
}

.features-list i { color: var(--gold-primary); }

/* --- Services Section --- */
.service-card {
    background: var(--bg-white);
    padding: 35px 25px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-primary);
}

.service-icon {
    font-size: 2rem;
    color: var(--gold-primary);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

/* --- Gallery Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-item {
    height: 280px;
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(45, 26, 14, 0.9) 0%, transparent 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: #ffffff;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay h4 { color: #ffffff; font-size: 1.1rem; }
.gallery-overlay p { color: #f2c94c; font-size: 0.85rem; }

/* --- Reviews Section --- */
.review-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.stars { color: var(--gold-primary); margin-bottom: 15px; letter-spacing: 2px; }

.reviewer { margin-top: 20px; }
.reviewer strong { display: block; color: var(--wood-primary); }
.reviewer span { font-size: 0.8rem; color: var(--text-muted); }

/* --- FAQ Section --- */
.max-w-md { max-width: 800px; }

.accordion-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--wood-primary);
    cursor: pointer;
    text-align: left;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 0 20px 20px 20px;
    max-height: 200px;
}

.accordion-item i {
    transition: transform 0.3s ease;
}

.accordion-item.active i {
    transform: rotate(180deg);
}

/* --- Contact & Map Section --- */
.contact-detail {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-detail i {
    font-size: 1.2rem;
    color: var(--gold-primary);
    margin-top: 3px;
}

.contact-detail a:hover {
    color: var(--gold-primary);
}

.map-container {
    margin-top: 20px;
}

.contact-form {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.contact-form h3 { margin-bottom: 25px; }

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--wood-primary);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--gold-primary);
}

.form-status {
    margin-top: 15px;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 600;
}

/* --- Footer --- */
.footer {
    background: var(--wood-primary);
    color: #ffffff;
    padding: 60px 0 30px 0;
}

.footer .logo { color: #ffffff; }
.footer p { color: rgba(255,255,255,0.8); margin-top: 10px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
}

/* --- Floating Actions --- */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.3rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.float-call { background: var(--wood-primary); }
.float-wa { background: #25d366; }

.float-btn:hover { transform: scale(1.1); }

/* --- Responsive Styles --- */
@media (max-width: 992px) {
    .grid-2, .grid-3, .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .hero { padding-top: 120px; }
    .hero h1 { font-size: 2.4rem; }
    .hero-stats { flex-direction: row; justify-content: space-between; gap: 15px; }
    
    .about-image-wrapper { margin-bottom: 30px; }
    .about-experience-badge { right: 10px; bottom: -10px; padding: 15px; }

    .hamburger { display: flex; }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-white);
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        transition: var(--transition);
    }

    .nav-menu.active { left: 0; }
    .nav-list { flex-direction: column; gap: 25px; text-align: center; }
    .hide-mobile { display: none; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .hero-stats { flex-direction: column; gap: 15px; }
    .contact-form { padding: 25px 20px; }
  }
