:root {
    --bg-color: #fcfcfc;
    --text-main: #1a1a1a;
    --text-muted: #666;
    --gold: #cfaa71;
    --gold-hover: #b59260;
    --font-head: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow: 0 15px 45px rgba(0,0,0,0.08);
}

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

html { scroll-behavior: smooth; }

body { 
    background: var(--bg-color); 
    color: var(--text-main); 
    font-family: var(--font-body); 
    line-height: 1.7;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); }

/* --- Navigation --- */
.local-nav { 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 25px 8%; position: fixed; width: 100%; z-index: 1000; 
    transition: 0.5s; background: transparent;
}

.local-nav.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow);
    padding: 15px 8%;
    color: var(--text-main);
}

.local-nav:not(.scrolled) { color: white; }

.logo { font-family: var(--font-head); font-size: 2.2rem; font-weight: 600; font-style: italic; }
.nav-right { display: flex; gap: 35px; align-items: center; }
.nav-right a { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 400; position: relative; }
.nav-right a::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 1px;
    background: var(--gold); transition: 0.3s;
}
.nav-right a:hover::after { width: 100%; }

/* --- Buttons --- */
.btn-gold {
    background: var(--gold); color: white !important; 
    padding: 14px 32px; border-radius: 0;
    font-weight: 400; transition: 0.5s; border: none; cursor: pointer;
    text-transform: uppercase; letter-spacing: 2px; font-size: 0.75rem;
    display: inline-block; position: relative; overflow: hidden;
}

.btn-gold::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: rgba(255,255,255,0.1); transition: 0.5s;
}
.btn-gold:hover::before { left: 100%; }
.btn-gold:hover { background: var(--gold-hover); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(207, 170, 113, 0.2); }

.btn-gold.large { padding: 20px 45px; font-size: 0.85rem; }

/* --- Sections --- */
section { padding: 140px 8%; position: relative; }

.section-heading { text-align: center; margin-bottom: 90px; }
.subtitle { 
    color: var(--gold); text-transform: uppercase; letter-spacing: 5px; 
    font-size: 0.8rem; display: block; margin-bottom: 20px; font-weight: 700;
}
.section-heading h2 { font-family: var(--font-head); font-size: 3.8rem; font-weight: 400; line-height: 1.2; }

/* --- Hero --- */
.local-hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0;
}

.hero-bg-container {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -2; background: #000;
}

.hero-bg {
    width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1560066984-138dadb4c035?fit=crop&w=1600&q=80') center/cover;
    animation: kenBurns 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes kenBurns {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.15) translate(-2%, -2%); }
}

.hero-content { 
    max-width: 1000px; padding: 0 20px; z-index: 10;
    position: relative;
}

/* Masked Reveal */
.mask-reveal {
    overflow: hidden;
    margin-bottom: 25px;
}

.reveal-text {
    font-family: var(--font-head);
    font-size: 5.5rem;
    font-weight: 400;
    line-height: 1.1;
    margin: 0;
    transform: translateY(100%);
    animation: textReveal 1.2s cubic-bezier(0.77, 0, 0.175, 1) 0.5s forwards;
}

@keyframes textReveal {
    to { transform: translateY(0); }
}

.reveal-stagger {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeRise 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.hero-content p.reveal-stagger {
    font-size: 1.4rem; font-weight: 300; letter-spacing: 0.5px; 
    opacity: 0; max-width: 700px; margin: 0 auto 30px;
    animation-delay: 1.4s;
}

.hero-content .reveal-stagger:nth-child(3) {
    animation-delay: 1.6s;
}

@keyframes fadeRise {
    to { opacity: 0.9; transform: translateY(0); }
}

.hero-scroll-indicator {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 3px; 
    color: rgba(255,255,255,0.6);
    animation-delay: 2.2s;
}

.hero-scroll-indicator .line {
    width: 1px; height: 50px; background: rgba(255,255,255,0.3);
    position: relative; overflow: hidden;
}

.hero-scroll-indicator .line::after {
    content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
    background: var(--gold);
    animation: scrollLine 2s infinite ease-in-out;
}

@keyframes scrollLine {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* --- About --- */
.about { background: #fff; }
.about-container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; max-width: 1200px; margin: 0 auto; }
.about-image { position: relative; }
.about-image img { width: 100%; border-radius: 4px; box-shadow: var(--shadow); }
.about-image::after {
    content: ''; position: absolute; top: 30px; left: -30px; width: 100%; height: 100%;
    border: 2px solid var(--gold); border-radius: 4px; z-index: -1;
}
.about-text h2 { font-family: var(--font-head); font-size: 3rem; margin-bottom: 30px; font-weight: 400; }
.about-text p { color: var(--text-muted); margin-bottom: 25px; font-size: 1.1rem; }

.stats { display: flex; gap: 50px; margin-top: 40px; }
.stat-item .count { display: block; font-family: var(--font-head); font-size: 2.5rem; color: var(--gold); }
.stat-item .label { text-transform: uppercase; font-size: 0.8rem; letter-spacing: 2px; color: #999; }

/* --- Services Expanded --- */
.services { background: #fdfdfd; }
.service-categories { display: flex; justify-content: center; gap: 40px; margin-bottom: 60px; }
.service-cat-item {
    font-size: 0.9rem; text-transform: uppercase; letter-spacing: 3px; cursor: pointer;
    color: #999; transition: 0.3s; padding-bottom: 10px; border-bottom: 2px solid transparent;
}
.service-cat-item.active { color: var(--gold); border-bottom-color: var(--gold); }

.service-list { max-width: 900px; margin: 0 auto; }
.service-row { 
    display: flex; align-items: baseline; font-size: 1.2rem; padding: 20px 25px; 
    border-bottom: 1px solid #f0f0f0; transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); 
    cursor: pointer; position: relative; border-radius: 4px;
}
.service-row:hover { 
    background: rgba(207, 170, 113, 0.03); 
    transform: translateX(10px); 
    border-bottom-color: var(--gold);
}
.service-row .name { font-family: var(--font-head); color: #222; transition: 0.3s; }
.service-row:hover .name { color: var(--gold); }
.service-row .line { flex: 1; border-bottom: 1px dashed #eee; margin: 0 20px; opacity: 0.5; }
.service-row .price { color: var(--gold); font-weight: 700; min-width: 100px; text-align: right; }

/* --- Gallery --- */
.gallery { background: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 4px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.8s cubic-bezier(0.165, 0.84, 0.44, 1); }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(207, 170, 113, 0.3); opacity: 0; transition: 0.4s;
}
.gallery-item:hover::after { opacity: 1; }

/* --- Team --- */
.team { background: #fff; }
.team-grid { 
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; 
    max-width: 1200px; margin: 0 auto; 
}
.team-card { text-align: center; transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1); }
.team-img-wrapper { 
    aspect-ratio: 4/5; overflow: hidden; border-radius: 4px; margin-bottom: 25px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); position: relative;
    background: #f5f5f5;
}
.team-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: 0.8s; }
.team-card:hover .team-img-wrapper img { transform: scale(1.1); }
.team-card:hover { transform: translateY(-10px); }
.team-card h3 { font-family: var(--font-head); font-size: 1.8rem; font-weight: 400; margin-bottom: 8px; color: #1a1a1a; }
.team-card p { color: var(--gold); text-transform: uppercase; letter-spacing: 2px; font-size: 0.75rem; font-weight: 700; }

/* --- Contact --- */
.contact { background: #fff; }
.contact-container { 
    display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 80px; 
    max-width: 1200px; margin: 0 auto; align-items: start;
}

.contact-form { 
    background: white; padding: 50px; border-radius: 4px; 
    box-shadow: 0 20px 60px rgba(0,0,0,0.05); 
}

.input-group { margin-bottom: 35px; position: relative; }
.input-group input, .input-group textarea {
    width: 100%; padding: 15px 0; background: transparent; border: none; 
    border-bottom: 1px solid #eee; font-family: var(--font-body); font-size: 1rem;
    outline: none; transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); 
    color: var(--text-main);
}
.input-group textarea { resize: none; }
.input-group input:focus, .input-group textarea:focus { 
    border-bottom-color: var(--gold); 
    padding-left: 10px;
}
.input-group input::placeholder, .input-group textarea::placeholder { 
    color: #bbb; font-weight: 300; transition: 0.3s;
}
.input-group input:focus::placeholder, .input-group textarea:focus::placeholder {
    opacity: 0.5; transform: translateX(10px);
}

.contact-info { display: flex; flex-direction: column; gap: 45px; padding-top: 10px; }
.info-item { display: flex; gap: 25px; align-items: flex-start; transition: 0.4s; }
.info-item:hover { transform: translateX(10px); }
.info-item i { 
    font-size: 1.2rem; color: var(--gold); background: rgba(207, 170, 113, 0.08); 
    width: 55px; height: 55px; min-width: 55px; display: flex; align-items: center; 
    justify-content: center; border-radius: 50%; transition: 0.4s;
}
.info-item:hover i { background: var(--gold); color: white; }
.info-text h3 { font-family: var(--font-head); font-size: 1.4rem; margin-bottom: 8px; font-weight: 400; color: #1a1a1a; }
.info-text p { color: var(--text-muted); line-height: 1.6; font-size: 0.95rem; }

/* --- FAQ --- */
.faq { background: #f9f9f9; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: white; margin-bottom: 15px; border-radius: 4px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.02); }
.faq-question {
    padding: 25px 30px; font-size: 1.1rem; font-family: var(--font-head); cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; transition: 0.3s;
}
.faq-question:hover { color: var(--gold); }
.faq-item.active .faq-question { background: #fcfcfc; color: var(--gold); }
.faq-answer { padding: 0 30px; max-height: 0; overflow: hidden; transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1); }
.faq-item.active .faq-answer { padding: 0 30px 30px; max-height: 200px; }
.faq-question .icon { transition: 0.3s; font-size: 1.5rem; }
.faq-item.active .icon { transform: rotate(45deg); }

/* --- Footer --- */
.footer { background: #111; color: white; padding: 100px 8% 40px; }
.footer-content { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 60px; margin-bottom: 80px; }
.footer-brand .logo { margin-bottom: 20px; }
.footer-brand p { color: #888; font-size: 0.95rem; }
.footer h4 { color: var(--gold); text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; margin-bottom: 25px; }
.footer-links a, .footer-social a { display: block; color: #ccc; margin-bottom: 12px; font-size: 0.9rem; }
.footer-links a:hover, .footer-social a:hover { color: white; transform: translateX(5px); }

.newsletter-form { display: flex; border-bottom: 1px solid #333; padding-bottom: 10px; }
.newsletter-form input { background: transparent; border: none; color: white; font-size: 0.9rem; width: 100%; outline: none; }
.newsletter-btn { background: transparent; border: none; color: var(--gold); font-size: 1.5rem; cursor: pointer; }

.footer-bottom { border-top: 1px solid #222; padding-top: 40px; text-align: center; color: #555; font-size: 0.85rem; }

/* --- Modal --- */
.modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9); backdrop-filter: blur(10px);
    display: none; align-items: center; justify-content: center; z-index: 2000;
    opacity: 0; transition: 0.5s;
}
.modal.active { display: flex; opacity: 1; }
.modal-content {
    background: white; padding: 70px 100px; width: 95%; max-width: 900px;
    position: relative; border-radius: 0; transform: translateY(50px); transition: 0.5s;
}
.modal.active .modal-content { transform: translateY(0); }
.close-modal { position: absolute; top: 40px; right: 40px; font-size: 2.5rem; cursor: pointer; color: #ccc; transition: 0.3s; }
.close-modal:hover { color: var(--gold); }

/* --- Reveal Animations --- */
.reveal { opacity: 1; transform: translateY(0); transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1); }
.reveal.js-hide { opacity: 0; transform: translateY(40px); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Stagger Children */
.reveal.stagger-container.active > * {
    animation: revealIn 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes revealIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive --- */
@media (max-width: 1200px) {
    .hero-content h1 { font-size: 5rem; }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 40px; }
    .contact-container { gap: 40px; }
}

@media (max-width: 992px) {
    .about-container { grid-template-columns: 1fr; gap: 50px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    section { padding: 80px 5%; }
    .nav-right { display: none; }
    .hero-content h1 { font-size: 3.5rem; }
    .section-heading h2 { font-size: 2.8rem; }
    .team-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-container { grid-template-columns: 1fr; gap: 60px; }
    .contact-form { padding: 40px 25px; }
    .modal-content { padding: 50px 25px; }
    .footer-content { grid-template-columns: 1fr; gap: 30px; }
}
