:root {
    --primary-color: #2F1F14; /* Deep wood background */
    --bg-color: #E2D3C1; /* Darker warm tan */
    --bg-alt: #D2BEA6; /* Deeper beige */
    --text-color: #3e2f25;
    --text-light: #7a6658;
    --accent: #C49053; /* Bamboo/wood tan */
    --transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lora', serif;
}

h1, h2, h3, h4, h5, h6, .logo {
    font-family: 'Playfair Display', serif;
}

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

html {
    scroll-behavior: smooth;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--accent);
    z-index: 9999;
    box-shadow: 0 0 10px rgba(194, 139, 92, 0.8);
    transition: width 0.1s ease-out;
}

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

.section-padding {
    padding: 8rem 0;
}

.solid-bg {
    background-color: var(--bg-color);
    position: relative;
    z-index: 2;
}

.solid-bg-alt {
    background-color: var(--bg-alt);
    position: relative;
    z-index: 2;
}

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

.accent-text {
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    color: var(--text-light);
    margin-bottom: 4rem;
    font-weight: 300;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
}

nav.scrolled {
    background-color: #ffffff;
    box-shadow: 0 4px 30px rgba(0,0,0,0.05);
    padding: 1rem 5%;
}

.logo-link {
    display: inline-block;
    height: 60px;
}

.logo-img {
    height: 100%;
    width: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--accent);
    background: #E2D3C1;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: var(--transition);
}

nav.hero-nav .logo, nav.hero-nav .nav-links a, nav.hero-nav .menu-toggle {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

nav.scrolled .logo, nav.scrolled .nav-links a, nav.scrolled .menu-toggle {
    color: var(--primary-color);
    text-shadow: none;
}

.nav-links a {
    text-decoration: none;
    margin-left: 3rem;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}

.nav-links .dropdown {
    display: inline-block;
    position: relative;
    margin-left: 3rem;
}

.nav-links .dropdown .dropbtn {
    margin-left: 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0px 8px 30px rgba(0,0,0,0.1);
    z-index: 1001;
    border-radius: 4px;
    padding: 0.5rem 0;
    margin-top: 1rem;
}

.dropdown-content a {
    color: var(--primary-color) !important;
    padding: 12px 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-left: 0 !important;
    gap: 12px;
    font-size: 0.9rem !important;
    text-transform: none !important;
    letter-spacing: 1px !important;
    text-shadow: none !important;
}

.dropdown-content a::after {
    display: none;
}

.dropdown-content a i {
    font-size: 1.4rem;
}

.dropdown-content a.whatsapp-icon i {
    color: #25D366;
}

.dropdown-content a.instagram-icon i {
    color: #E1306C;
}

.dropdown-content a:hover {
    background-color: var(--bg-alt);
    color: var(--accent) !important;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeInDown 0.3s ease forwards;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Parallax Image Classes */
.parallax-bg {
    background-image: url('cover-image.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(92, 58, 33, 0.85); /* Strong dark brown */
    mix-blend-mode: multiply; /* Ensures a deep rich wash */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
}

.hero h1 {
    font-size: 6.5rem;
    font-weight: 300;
    letter-spacing: 15px;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* New: Letter-by-letter split text styling handled in JS */
.hero h1 span {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px) rotate(5deg);
    animation: revealLetter 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes revealLetter {
    to {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
}

.hero .subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 5px;
    margin-bottom: 3rem;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Shine Button Animation */
.btn-primary {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    border: none;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    background: var(--accent);
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(194, 139, 92, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shineEffect 4s infinite;
}

@keyframes shineEffect {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.btn-primary:hover {
    background: var(--primary-color);
    box-shadow: 0 6px 20px rgba(43, 29, 20, 0.4);
    transform: translateY(-3px);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 6rem;
}

.about-text h2 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-text p {
    color: var(--text-light);
    font-size: 1.15rem;
    line-height: 1.9;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent);
    border-radius: 8px;
    z-index: 0;
}

.interior-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    filter: sepia(0.35) saturate(1.4) contrast(1.15) brightness(0.95);
    transition: filter 0.5s ease;
}

.interior-img:hover {
    filter: sepia(0.2) saturate(1.2) contrast(1.1) brightness(1);
}

/* Continuous Floating Animations */
.float-anim {
    animation: float 6s ease-in-out infinite;
}

.float-anim-delayed {
    animation: float 6s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Pulse Animation for Icons */
.pulse-anim {
    animation: pulse 2s infinite;
}
.pulse-anim-delayed {
    animation: pulse 2s infinite;
    animation-delay: 1s;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(194, 139, 92, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(194, 139, 92, 0); }
    100% { box-shadow: 0 0 0 0 rgba(194, 139, 92, 0); }
}


/* Owner Section */
.mt-5 {
    margin-top: 6rem;
}

.owner-section {
    display: flex;
    align-items: center;
    gap: 4rem;
    background: #fff;
    padding: 4rem;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}

.owner-image-placeholder {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: #f0ebe1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #999;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border: 4px solid #fff;
    overflow: hidden;
}

.owner-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.owner-text h3 {
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.owner-text p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Parallax Divider */
.parallax-divider {
    height: 400px;
    width: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 10px 20px rgba(0,0,0,0.05), inset 0 -10px 20px rgba(0,0,0,0.05);
}

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

.gallery-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: var(--transition);
    cursor: pointer;
}

/* Image Wrappers */
.img-wrapper {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* New Photo Gallery */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 2rem;
}

.photo-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    height: auto;
}

.gallery-item h4 {
    padding: 1.5rem;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--primary-color);
}

/* Contact Section */
.contact-links {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-card {
    text-decoration: none;
    color: var(--primary-color);
    background: #fff;
    padding: 3.5rem 2rem;
    width: 300px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.contact-card i {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-card.whatsapp i { color: #25D366; }
.contact-card.instagram i { color: #E1306C; }

.contact-card:hover i {
    transform: translateY(-8px) scale(1.1);
}

.contact-card h3 {
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.contact-card p {
    font-size: 1rem;
    color: var(--text-light);
}

/* Footer */
footer {
    text-align: center;
    padding: 4rem;
    background: var(--primary-color);
    color: rgba(255,255,255,0.7);
    font-weight: 300;
    letter-spacing: 1px;
    font-size: 0.95rem;
}

/* Custom Scroll Animations */
.reveal-up, .reveal-left, .reveal-right, .stagger-item, .reveal-scale {
    opacity: 0;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up { transform: translateY(50px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-scale { transform: scale(0.9); }
.stagger-item { transform: translateY(40px); }

.revealed {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Initial load fade-ins */
.fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 1.5s; /* Wait for title to finish */
}

.fade-in-delay-2 {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 2s;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Stagger delays */.stagger-container.revealed .stagger-item {
    opacity: 1;
    transform: translateY(0);
}

.stagger-container.revealed .stagger-item:nth-child(1) { transition-delay: 0.1s; }
.stagger-container.revealed .stagger-item:nth-child(2) { transition-delay: 0.25s; }
.stagger-container.revealed .stagger-item:nth-child(3) { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .about-image-wrapper::before {
        display: none;
    }
    .owner-section {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--primary-color);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateY(-100%);
        transition: transform 0.4s ease-in-out;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links a {
        margin-left: 0;
        font-size: 1.5rem;
        color: #fff !important;
    }

    .nav-links .dropdown {
        margin-left: 0;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        background: transparent;
        margin-top: 1rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .dropdown:hover .dropdown-content {
        animation: none;
    }

    .dropdown-content a {
        font-size: 1.2rem !important;
        justify-content: center;
    }

    .menu-toggle {
        display: block;
        z-index: 1001; /* Keep above overlay */
    }
    
    .menu-toggle i {
        color: var(--primary-color);
        transition: color 0.3s;
    }

    nav.hero-nav .menu-toggle i {
        color: #fff;
    }

    .nav-links.active ~ .menu-toggle i,
    .nav-links.active ~ .menu-toggle {
        /* When active, menu toggle should be white */
        color: #fff;
    }

    .hero h1 {
        font-size: 4.5rem;
    }
    .section-padding {
        padding: 4rem 0;
    }
    .gallery-grid, .photo-grid, .contact-links {
        grid-template-columns: 1fr;
    }
    .contact-card {
        width: 100%;
    }
    .parallax-divider {
        height: 250px;
    }
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 3rem;
        letter-spacing: 8px;
    }
    .hero .subtitle {
        font-size: 1rem;
        letter-spacing: 3px;
        margin-bottom: 2rem;
    }
    .about-text h2 {
        font-size: 2.2rem;
    }
    .owner-section {
        padding: 2.5rem 1.5rem;
    }
    .owner-image-placeholder {
        width: 160px;
        height: 160px;
    }
    .btn-primary {
        padding: 1rem 2.5rem;
    }
    .section-padding {
        padding: 3rem 0;
    }
    .photo-item .img-wrapper {
        height: 280px !important;
    }
}
