/* Casa Tigre Luxury Website Styles */

/* Custom Font - Optimized with font-display */
@font-face {
    font-family: 'Davinza';
    src: url('/davinza.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Show fallback immediately, swap when loaded */
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-gold: #C8A47E;
    --dark-gold: #B8956E;
    --light-gold: #D4BC9A;
    --deep-brown: #3A2818;
    --warm-white: #FAF9F6;
    --charcoal: #2C2C2C;
    --light-gray: #F5F5F5;
    --accent-teal: #4A90A4;
    --success-green: #27AE60;

    /* Beige Variations */
    --light-beige: #F7F3F0;
    --medium-beige: #F0EAE2;
    --dark-beige: #E8DDD4;
    --warm-beige: #EDE4D8;

    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px 0;
    --container-max-width: 1200px;

    /* Transitions - Optimized: specific properties instead of 'all' */
    --smooth-transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--warm-white);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-primary);
    font-weight: 200;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

h1 {
    font-size: 4.5rem;
    font-weight: 100;
}
h2 {
    font-size: 3.5rem;
    font-weight: 200;
}
h3 {
    font-size: 2.2rem;
    font-weight: 300;
}

p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #555;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 400;
    text-decoration: none;
    border-radius: 6px;
    transition: var(--smooth-transition);
    cursor: pointer;
    border: none;
    min-width: 200px;
    height: 48px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    color: white;
    box-shadow: 0 4px 15px rgba(200, 164, 126, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 164, 126, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
}

.btn-secondary:hover {
    background: var(--primary-gold);
    color: white;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: none;
    z-index: 1000;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
    opacity: 0;
    animation: fadeIn 0.5s ease-in 0s both;
}

.navbar.scrolled {
    background: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(10px);
}

.navbar.scrolled .nav-menu a {
    color: var(--charcoal);
    text-shadow: none;
}

.navbar.scrolled .logo {
    color: var(--charcoal);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
    height: 70px;
}

.logo {
    font-family: 'Davinza', serif;
    font-size: 28px;
    color: white;
    text-align: center;
    line-height: 0.9;
    letter-spacing: 0.05em;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: var(--smooth-transition);
}

.nav-menu a:hover {
    color: var(--primary-gold);
}

.cta-button {
    background: var(--primary-gold);
    color: white !important;
    padding: 10px 20px;
    border-radius: 6px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.navbar.scrolled .hamburger span {
    background: var(--charcoal);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    /* Hide desktop-only hero slides on mobile */
    .desktop-only {
        display: none !important;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(250, 249, 246, 0.95);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        color: var(--charcoal);
        font-size: 1.1rem;
        display: block;
        padding: 1rem;
    }

    .nav-menu a:hover {
        color: var(--primary-gold);
        background-color: rgba(200, 164, 126, 0.1);
    }

    .cta-button {
        margin: 1rem 2rem;
        border-radius: 25px;
    }
}

/* Hero Section Animations */
@keyframes heroFadeInSpacing {
    0% {
        opacity: 0;
        letter-spacing: 0.05em;
    }
    100% {
        opacity: 1;
        letter-spacing: 0.15em;
    }
}

@keyframes heroSlideUpFade {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeScale {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes heroStatSlide {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroGlow {
    0%, 100% {
        text-shadow: 0 3px 15px rgba(0,0,0,0.8), 0 0 20px rgba(200,164,126,0.3);
    }
    50% {
        text-shadow: 0 3px 15px rgba(0,0,0,0.8), 0 0 30px rgba(200,164,126,0.5);
    }
}

@keyframes heroPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(200, 164, 126, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(200, 164, 126, 0.5), 0 0 0 8px rgba(200, 164, 126, 0.1);
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 800px 600px at center, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%),
        linear-gradient(135deg, rgba(0, 0, 0, 0.1), rgba(58, 40, 24, 0.2));
    z-index: -1;
    opacity: 1;
}

.hero-content {
    text-align: center;
    opacity: 0;
    animation: fadeIn 0.5s ease-in 0s both;
    color: white;
    max-width: 700px;
    padding: 0 1rem;
}

.hero-logo-img {
    font-family: 'Davinza', serif;
    font-size: 120px;
    color: white;
    text-align: center;
    line-height: 1;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: center;
    will-change: opacity, letter-spacing;
    contain: layout style paint; /* Isolate blur operations */
}

/* Overlay fade in animation - smooth opacity transition */
@keyframes overlayFadeIn {
    0%, 50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Blur In Animation */
@keyframes blurIn {
    0% {
        opacity: 0;
        filter: blur(20px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
    }
}

.hero-logo-img .word {
    display: inline-flex;
}

.hero-logo-img .letter {
    display: inline-block;
    opacity: 0;
    will-change: opacity, filter;
    contain: layout style; /* Isolate per-letter rendering */
    transform: translate3d(0, 0, 0); /* Force GPU layer for blur performance */
}

/* CASA letters blur in randomly */
.hero-logo-img .word:first-child .letter:nth-child(2) { /* A */
    animation: blurIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0s both;
}
.hero-logo-img .word:first-child .letter:nth-child(4) { /* A */
    animation: blurIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}
.hero-logo-img .word:first-child .letter:nth-child(1) { /* C */
    animation: blurIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}
.hero-logo-img .word:first-child .letter:nth-child(3) { /* S */
    animation: blurIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

/* TIGRE letters blur in randomly */
.hero-logo-img .word:last-child .letter:nth-child(3) { /* G */
    animation: blurIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}
.hero-logo-img .word:last-child .letter:nth-child(5) { /* E */
    animation: blurIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}
.hero-logo-img .word:last-child .letter:nth-child(1) { /* T */
    animation: blurIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
}
.hero-logo-img .word:last-child .letter:nth-child(4) { /* R */
    animation: blurIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.7s both;
}
.hero-logo-img .word:last-child .letter:nth-child(2) { /* I */
    animation: blurIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.9s both;
}

/* Subtle glow on completed logo */
.hero-logo-img {
    animation: heroGlow 3s ease-in-out 6.8s infinite;
}

.hero-title {
    font-size: 4.2rem;
    font-weight: 100;
    margin-bottom: 0.5rem;
    text-shadow: 0 3px 15px rgba(0,0,0,0.8);
    letter-spacing: 0.05em;
    line-height: 1.1;
    animation: heroSlideUpFade 1s cubic-bezier(0.4, 0, 0.2, 1) 3.8s both;
    will-change: opacity, transform;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 200;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 0 2px 12px rgba(0,0,0,0.8);
    letter-spacing: 0.03em;
    font-family: var(--font-primary);
    animation: heroFadeScale 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.9s both;
    will-change: opacity, transform;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1.2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    will-change: opacity, transform;
}

.stat:nth-child(1) {
    animation: heroStatSlide 0.8s cubic-bezier(0.4, 0, 0.2, 1) 1.8s both;
}

.stat:nth-child(2) {
    animation: heroStatSlide 0.8s cubic-bezier(0.4, 0, 0.2, 1) 1.95s both;
}

.stat:nth-child(3) {
    animation: heroStatSlide 0.8s cubic-bezier(0.4, 0, 0.2, 1) 2.1s both;
}

.stat:hover {
    transform: translateY(-5px) scale(1.05);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-gold);
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    margin-bottom: 0.3rem;
    line-height: 1;
    white-space: nowrap;
}

.stat-label {
    font-size: 0.85rem;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
    font-weight: 300;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 2.2em;
    justify-content: flex-start;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons a {
    will-change: opacity, transform;
}

.hero-buttons a:nth-child(1) {
    animation: heroSlideUpFade 0.8s cubic-bezier(0.4, 0, 0.2, 1) 2.9s both,
               heroPulse 2.5s ease-in-out 3.8s infinite;
}

.hero-buttons a:nth-child(2) {
    animation: heroSlideUpFade 0.8s cubic-bezier(0.4, 0, 0.2, 1) 3.0s both;
}

.hero-buttons a:nth-child(3) {
    animation: heroSlideUpFade 0.8s cubic-bezier(0.4, 0, 0.2, 1) 3.1s both;
}

.btn-video {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 400;
    text-decoration: none;
    border-radius: 6px;
    transition: var(--smooth-transition);
    cursor: pointer;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    min-width: 200px;
    height: 48px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-family: var(--font-secondary);
}

.btn-video:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    margin-top: 2rem;
}

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

.section-header h2 {
    color: var(--deep-brown);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
}

/* Investment Section */
.investment-section {
    padding: var(--section-padding);
    background: var(--light-beige);
}

/* Highlight Video */
.highlight-video-container {
    position: relative;
    width: 100%;
    margin: 3rem 0 4rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.highlight-video-container video {
    width: 100%;
    height: auto;
    display: block;
}

.video-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.highlight-video-container:hover .video-overlay {
    opacity: 1;
}

.fullscreen-btn {
    background: rgba(0,0,0,0.8);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: background 0.3s ease;
}

.fullscreen-btn:hover {
    background: rgba(0,0,0,0.9);
}

.fullscreen-btn svg {
    width: 20px;
    height: 20px;
}

.investment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.investment-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--smooth-transition);
}

.investment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.investment-card h3 {
    color: var(--deep-brown);
    margin-bottom: 1rem;
}

/* Featured Cards - Highlighted emphasis */
.investment-card.featured-card {
    background: linear-gradient(135deg, #FAF9F6 0%, #F7F3F0 100%);
    border-left: 5px solid var(--primary-gold);
    position: relative;
    box-shadow: 0 6px 25px rgba(200, 164, 126, 0.2);
}

.investment-card.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 35px rgba(200, 164, 126, 0.3);
    border-left-color: var(--dark-gold);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-gold);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(200, 164, 126, 0.4);
}

.investment-card.featured-card .card-icon {
    color: var(--primary-gold);
}

.investment-card.featured-card .card-icon svg {
    stroke: var(--primary-gold);
}

.investment-card.featured-card h3 {
    color: var(--deep-brown);
    font-weight: 600;
}

/* CTA Card - Contrasting style */
.investment-card.cta-card {
    background: var(--deep-brown);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 2rem;
}

.investment-card.cta-card h3 {
    color: var(--primary-gold);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.investment-card.cta-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-card-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--primary-gold);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--smooth-transition);
    box-shadow: 0 4px 15px rgba(200, 164, 126, 0.3);
}

.cta-card-button:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 164, 126, 0.4);
}

.cta-card-button svg {
    width: 20px;
    height: 20px;
}

.investment-card p {
    color: #666;
    line-height: 1.6;
}

/* ROI Chart */
.roi-chart {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.roi-chart h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--deep-brown);
}

.chart-container {
    position: relative;
    height: 300px;
}

.year-bars {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 100%;
    gap: 1rem;
}

.year-bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary-gold), var(--light-gold));
    border-radius: 8px 8px 0 0;
    position: relative;
    min-height: 40px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: var(--smooth-transition);
}

.year-bar:hover {
    transform: scale(1.05);
}

.bar-label {
    position: absolute;
    bottom: 10px;
    color: var(--deep-brown);
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
}

/* Property Section */
.property-section {
    padding: var(--section-padding);
    background: var(--medium-beige);
}

.property-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
}

.stat-box {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    min-width: 150px;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.stat-desc {
    color: #666;
    font-weight: 500;
}

.room-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    align-items: stretch;
}

/* Tablet/Medium screens - 2 on top, 1 below centered */
@media (max-width: 1200px) and (min-width: 769px) {
    .room-types {
        grid-template-columns: repeat(2, 1fr);
    }

    .room-type:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

.room-type {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    max-width: 100%;
}

.room-type h3 {
    color: var(--deep-brown);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.amenities-list {
    list-style: none;
    max-width: 100%;
    overflow: hidden;
}

.amenities-list li {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: #555;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.amenities-list li svg + * {
    flex: 1;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: anywhere;
}


/* Bamboo Stairs Section */
.bamboo-stairs-section {
    padding: 0;
    background: var(--warm-beige);
}

/* Bamboo Container */
.bamboo-container {
    position: relative;
    height: 600px;
    overflow: hidden;
    width: 100%;
    background: black;
}

.bamboo-header-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.bamboo-header-overlay h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 300;
    font-family: 'Poppins', sans-serif;
}

.bamboo-header-overlay p {
    font-size: 1.2rem;
    margin: 0;
    opacity: 1;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    color: #f5f5f5;
}

.bamboo-images-grid {
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: center;
}

.bamboo-images-grid img {
    height: 100%;
    flex: 1;
    object-fit: cover;
    object-position: center;
    border: none;
    margin: 0;
    padding: 0;
    display: block;
    min-height: 600px;
    filter: brightness(0.6);
    transition: filter 0.3s ease;
}

.bamboo-images-grid img:hover {
    filter: brightness(1.2) contrast(1.1);
    z-index: 5;
}

.bamboo-stairs-container {
    max-width: 100%;
    overflow-x: auto;
    padding: 2rem 0;
}

.stairs-gallery {
    display: flex;
    gap: 2rem;
    padding: 0 1rem;
    min-width: fit-content;
}

.stairs-image-item {
    position: relative;
    flex-shrink: 0;
    width: 300px;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: var(--smooth-transition);
    cursor: pointer;
}

.stairs-image-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.stairs-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--smooth-transition);
}

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

.stairs-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--smooth-transition);
}

.stairs-image-item:hover .stairs-overlay {
    transform: translateY(0);
    opacity: 1;
}

.stairs-overlay h4 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--primary-gold);
}

.stairs-overlay p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    opacity: 0.9;
}

/* Horizontal scroll styling */
.bamboo-stairs-container::-webkit-scrollbar {
    height: 8px;
}

.bamboo-stairs-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.bamboo-stairs-container::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 4px;
}

.bamboo-stairs-container::-webkit-scrollbar-thumb:hover {
    background: var(--dark-gold);
}

/* Responsive design for bamboo section */
@media (max-width: 768px) {
    .bamboo-container {
        height: 400px;
        margin-bottom: 2rem;
    }

    .bamboo-header-overlay h2 {
        font-size: 2rem;
    }

    .bamboo-header-overlay p {
        font-size: 1rem;
    }

    .bamboo-images-grid {
        flex-wrap: nowrap;
    }

    .bamboo-images-grid img {
        flex: 1;
        height: 100%;
        min-height: 400px;
    }

    .stairs-gallery {
        gap: 1.5rem;
    }

    .stairs-image-item {
        width: 250px;
        height: 400px;
    }

    .stairs-overlay {
        padding: 1.5rem 1rem 1rem;
    }
}

/* Gallery Section */
.gallery-section {
    padding: var(--section-padding);
    background: var(--dark-beige);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--smooth-transition);
    cursor: pointer;
    height: 300px;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--smooth-transition);
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.5));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.gallery-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-description {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Location Section */
.location-section {
    padding: var(--section-padding);
    background: var(--warm-white);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.location-highlights {
    display: grid;
    gap: 2rem;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.highlight-icon {
    font-size: 2.5rem;
    min-width: 60px;
}

.highlight-text {
    flex: 1;
}

.highlight-text strong {
    color: var(--primary-gold);
    font-size: 1.2rem;
}

.map-container {
    position: relative;
}

.location-map {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Technical Section */
.technical-section {
    padding: var(--section-padding);
    background: var(--light-beige);
    position: relative;
}

.technical-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.tech-feature {
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--smooth-transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tech-feature:hover {
    transform: translateY(-5px);
}

.tech-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    height: 160px;
}

.tech-icon img {
    width: 192px;
    height: auto;
    object-fit: contain;
}

/* Scale up horizontal schematics within their containers */
.tech-feature[data-schematic="vigilancia"] .tech-icon img,
.tech-feature[data-schematic="generador"] .tech-icon img,
.tech-feature[data-schematic="tratamiento"] .tech-icon img {
    width: 220px;
}


.tech-feature h3 {
    color: var(--deep-brown);
    margin-bottom: 1rem;
}

/* Schematic Cards with Hover Images */
.tech-feature[data-schematic] {
    position: relative;
    cursor: pointer;
}

.tech-feature[data-schematic]:hover {
    background: var(--warm-white);
}

.schematic-preview {
    position: fixed;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--smooth-transition);
    max-width: 450px;
    max-height: 450px;
    pointer-events: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.schematic-preview.active {
    opacity: 1;
    visibility: visible;
}

.schematic-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: white;
}

/* Responsive schematic positioning */
@media (max-width: 1200px) {
    .schematic-preview {
        right: 20px;
        max-width: 350px;
        max-height: 350px;
    }
}

@media (max-width: 768px) {
    .schematic-preview {
        display: none !important;
    }
}

/* Contact Section */
.contact-section {
    padding: var(--section-padding);
    background: var(--medium-beige);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-details {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    height: fit-content;
}

.contact-details h3 {
    color: var(--deep-brown);
    margin-bottom: 2rem;
}

.detail-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.detail-item strong {
    color: var(--primary-gold);
    display: block;
    margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-form h3 {
    color: var(--deep-brown);
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--smooth-transition);
    font-family: var(--font-secondary);
}

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

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    color: #666;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--deep-brown);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo .logo {
    font-size: 24px;
    margin-bottom: 1rem;
}

.footer-logo-horizontal {
    font-family: 'Davinza', serif;
    font-size: 48px;
    color: white;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    line-height: 1;
}

.footer-logo p {
    color: #ccc;
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-column h4 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-column a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: var(--smooth-transition);
}

.footer-column a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #4a4a4a;
    text-align: center;
}

.footer-bottom p {
    color: #ccc;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Clickable Card Styles */
.investment-card.clickable-card {
    cursor: pointer;
    position: relative;
}

.investment-card.clickable-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 35px rgba(200, 164, 126, 0.3);
}

.view-details {
    display: block;
    margin-top: 1rem;
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Financial Modal */
.financial-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    overflow-y: auto;
}

.financial-modal.active {
    display: block;
}

.financial-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.financial-modal-content {
    position: relative;
    max-width: 1200px;
    margin: 50px auto;
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.4s ease-out;
}

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

.financial-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--deep-brown);
    color: white;
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--smooth-transition);
}

.financial-modal-close:hover {
    background: var(--primary-gold);
    transform: rotate(90deg);
}

.financial-header {
    text-align: center;
    margin-bottom: 40px;
}

.financial-header h2 {
    color: var(--deep-brown);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.financial-intro {
    max-width: 800px;
    margin: 0 auto;
}

.financial-intro p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.payback-highlight {
    color: var(--deep-brown);
    font-size: 1.2rem !important;
    margin-top: 20px !important;
}

.payback-highlight strong {
    color: var(--primary-gold);
    font-size: 1.4rem;
}

.financial-table-container {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.financial-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.financial-table thead {
    background: var(--deep-brown);
    color: white;
}

.financial-table th {
    padding: 20px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    border-bottom: 3px solid var(--primary-gold);
}

.financial-table th:first-child {
    border-radius: 12px 0 0 0;
}

.financial-table th:last-child {
    border-radius: 0 12px 0 0;
}

.financial-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.financial-table tbody tr:hover {
    background: var(--light-beige);
}

.financial-table td {
    padding: 18px 15px;
    font-size: 0.95rem;
}

.financial-table .row-label {
    font-weight: 600;
    color: var(--deep-brown);
    background: #f9f9f9;
}

.financial-table .highlighted-row {
    background: linear-gradient(135deg, #FAF9F6, #F7F3F0);
}

.financial-table .highlighted-row td {
    font-weight: 700;
    color: var(--primary-gold);
    font-size: 1.05rem;
}

.financial-table .roi-row td {
    font-weight: 700;
    color: var(--deep-brown);
    font-size: 1rem;
    background: var(--light-beige);
}

.financial-disclaimer {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: var(--light-beige);
    border-radius: 8px;
    border-left: 4px solid var(--primary-gold);
}

.financial-disclaimer p {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation Mobile */
    .nav-container {
        padding: 0.75rem 1rem;
    }

    /* Hero Section Mobile Optimization */
    .hero-logo-img {
        font-size: 72px;
        gap: 18px;
        letter-spacing: 0.08em;
        justify-content: center;
    }

    .hero-title {
        font-size: 2.2rem;
        font-weight: 100;
        line-height: 1.2;
        word-break: break-word;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 100%;
        margin: 0 auto 2rem;
        padding: 0 1rem;
        justify-items: center;
    }

    .hero-stats .stat:last-child {
        grid-column: 1 / -1;
        max-width: 200px;
        margin: 0 auto;
    }

    .hero-buttons {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        min-width: auto;
    }

    /* Property Stats - 2 Column Grid */
    .property-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Location and Contact */
    .location-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Room Types Mobile */
    .room-types {
        grid-template-columns: 1fr;
    }

    /* Keep mobile menu hidden by default */
    .nav-menu:not(.active) {
        display: none;
    }

    h1 {
        font-size: 3rem;
        font-weight: 100;
    }
    h2 {
        font-size: 2.5rem;
        font-weight: 200;
    }
    h3 {
        font-size: 1.8rem;
        font-weight: 300;
    }

    .financial-modal-content {
        margin: 20px;
        padding: 30px 20px;
    }

    .financial-header h2 {
        font-size: 1.8rem;
    }

    .financial-intro p {
        font-size: 0.95rem;
    }

    .financial-table {
        font-size: 0.85rem;
    }

    .financial-table th,
    .financial-table td {
        padding: 12px 8px;
    }

    /* Gallery Mobile */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-logo-horizontal {
        font-size: 36px;
        letter-spacing: 0.1em;
    }

    .footer-links {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content {
        padding: 0 1rem;
    }

    /* Extra small screens - reduce logo further */
    .hero-logo-img {
        font-size: 48px;
        gap: 10px;
        letter-spacing: 0.05em;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.6rem;
    }

    .investment-grid,
    .technical-grid {
        grid-template-columns: 1fr;
    }

    /* Financial Modal - Extra Mobile Optimization */
    .financial-modal-content {
        margin: 10px;
        padding: 20px 15px;
    }

    .financial-header h2 {
        font-size: 1.5rem;
    }

    .financial-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .financial-table {
        min-width: 600px;
        font-size: 0.75rem;
    }

    .financial-table th,
    .financial-table td {
        padding: 10px 6px;
        white-space: nowrap;
    }

    .year-bars {
        gap: 0.5rem;
    }

    .bar-label {
        font-size: 0.8rem;
    }
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.video-modal.active {
    display: flex;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.video-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.video-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: var(--smooth-transition);
}

.video-modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
}

.video-container video {
    width: 100%;
    height: auto;
    max-height: 70vh;
    display: block;
}

.video-info {
    padding: 1.5rem;
    text-align: center;
}

.video-info h3 {
    margin-bottom: 0.5rem;
    color: var(--deep-brown);
}

.video-info p {
    color: #666;
    margin-bottom: 0;
}

/* Amenity Icons */
.amenity-icon {
    color: var(--primary-gold);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

/* WhatsApp Chat Component */
.whatsapp-chat {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: var(--font-secondary);
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--smooth-transition);
    color: white;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-popup {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 340px;
    background: var(--warm-white);
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(200, 164, 126, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.whatsapp-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.whatsapp-header {
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    color: white;
    padding: 20px;
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    overflow: hidden;
}

.whatsapp-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.whatsapp-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: white;
    display: none;
}

.whatsapp-avatar img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.whatsapp-info {
    flex: 1;
}

.whatsapp-info h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-primary);
    color: white;
    letter-spacing: -0.02em;
}

.whatsapp-info p {
    margin: 2px 0 0 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

.whatsapp-close {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--smooth-transition);
    z-index: 1;
}

.whatsapp-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.whatsapp-body {
    padding: 24px;
    background: var(--warm-white);
}

.whatsapp-message {
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin-bottom: 20px;
    border: none;
    box-shadow: none;
}

.whatsapp-message p {
    margin: 0 0 10px 0;
    font-size: 0.95rem;
    color: var(--deep-brown);
    line-height: 1.5;
    font-weight: 400;
}

.whatsapp-message p:last-child {
    margin-bottom: 0;
}

.whatsapp-send-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: var(--deep-brown);
    color: var(--warm-white);
    text-decoration: none;
    padding: 16px 24px;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
    font-size: 0.9rem;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    box-shadow: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.03em;
    border: 1px solid var(--deep-brown);
}

.whatsapp-send-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gold);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.whatsapp-send-btn:hover {
    background: var(--deep-brown);
    color: var(--primary-gold);
    border-color: var(--primary-gold);
}

.whatsapp-send-btn:hover::before {
    opacity: 1;
}

/* WhatsApp animation pulse effect */
@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 0 0 8px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

.whatsapp-button {
    animation: whatsappPulse 2s infinite;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Scroll-triggered animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-5deg) scale(0.95);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

/* Scroll animation classes - initial hidden state */
.scroll-fade-up,
.scroll-fade-left,
.scroll-fade-right,
.scroll-scale-in,
.scroll-rotate-in {
    opacity: 0;
}

/* Animated state - triggered by IntersectionObserver */
.scroll-fade-up.animate {
    animation: fadeInUp 0.8s ease-out forwards;
}

.scroll-fade-left.animate {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.scroll-fade-right.animate {
    animation: fadeInRight 0.8s ease-out forwards;
}

.scroll-scale-in.animate {
    animation: scaleIn 0.6s ease-out forwards;
}

.scroll-rotate-in.animate {
    animation: rotateIn 0.8s ease-out forwards;
}

/* Stagger delays for sequential animations */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }
.stagger-7 { animation-delay: 0.7s; }
.stagger-8 { animation-delay: 0.8s; }
.stagger-9 { animation-delay: 0.9s; }