/* =================================
   Residence Stella Alpina - Main Stylesheet
   ================================= */

/* =================================
   1. Variables & Reset
   ================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-wood: #8B6F47;
    --dark-stone: #2c2c2c;
    --warm-white: #faf8f5;
    --accent-gold: #d4af37;
    --sage-green: #87a878;
    --midnight-blue: #1e3a5f;
    --copper-warm: #b87333;
    --copper-light: rgba(184, 115, 51, 0.4);
    --text-dark: #2c2c2c;
    --text-light: #666;
    --shadow-soft: 0 10px 40px rgba(0,0,0,0.08);
    --shadow-medium: 0 15px 50px rgba(0,0,0,0.12);
    --shadow-strong: 0 20px 60px rgba(0,0,0,0.15);
}

/* =================================
   2. Base Typography - Premium
   ================================= */
html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: var(--text-dark);
    background-color: var(--warm-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 1rem;
    overflow-x: hidden;
    width: 100%;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-dark);
    letter-spacing: 0.02em;
}

h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    margin-bottom: 2rem;
}

h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 1.2rem;
}

p {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* =================================
   3. Smooth Scrolling & Accessibility
   ================================= */
html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 80px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation-duration: 0.01ms !important; }
}

/* =================================
   4. Navigation
   ================================= */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    padding: 1.5rem 2rem;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 1rem 2rem;
}

nav:not(.scrolled) .logo-text,
nav:not(.scrolled) .nav-menu a {
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

nav.scrolled .logo-text,
nav.scrolled .nav-menu a {
    color: var(--text-dark);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo img {
    height: 80px;
    width: auto;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    padding: 8px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

.logo-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-wood);
    letter-spacing: 1px;
    display: none;
}

@media (min-width: 768px) {
    .logo-text {
        display: block;
    }
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    transition: color 0.3s;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 26px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1002;
    transition: transform 0.3s ease;
    position: relative;
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px !important;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* Sempre visibile su mobile - bianco con ombra su hero, scuro dopo scroll */
nav:not(.scrolled) .mobile-menu-toggle span {
    background: white !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5) !important;
}

nav.scrolled .mobile-menu-toggle span {
    background: var(--text-dark) !important;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

/* =================================
   4b. Language Switcher
   ================================= */
.lang-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-left: 2rem;
}

.lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid transparent;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

nav:not(.scrolled) .lang-btn {
    color: white;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

nav.scrolled .lang-btn {
    color: var(--text-dark);
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
}

.lang-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--accent-gold);
}

nav:not(.scrolled) .lang-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
}

.lang-btn.active {
    background: var(--accent-gold);
    color: white;
    border-color: var(--accent-gold);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    font-weight: 700;
}

nav:not(.scrolled) .lang-btn.active {
    background: var(--accent-gold);
    color: white;
    text-shadow: none;
}

.lang-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
}

/* Mobile adjustments for language switcher */
@media (max-width: 768px) {
    .lang-switcher {
        position: absolute;
        top: 1rem;
        right: 60px;
        margin-left: 0;
        gap: 0.3rem;
    }

    .lang-btn {
        width: 36px;
        height: 36px;
        font-size: 0.75rem;
    }
}

/* =================================
   5. Hero Section
   ================================= */
.hero {
    height: 100vh;
    min-height: 700px;
    background-image: url('../images/monolocale-06-opt.jpg');
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    animation: scaleIn 1.5s ease-out;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
    pointer-events: none;
}

@keyframes scaleIn {
    from { transform: scale(1.1); }
    to { transform: scale(1); }
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: bounce 2s infinite;
    z-index: 10;
    transition: all 0.3s;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.scroll-indicator:hover {
    transform: translateX(-50%) translateY(-5px);
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255,255,255,0.8);
    border-radius: 25px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 10px;
    background: white;
    border-radius: 3px;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

.hero-logo {
    position: absolute;
    top: 3rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.8;
}

.hero-logo img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

@media (min-width: 768px) {
    .hero-logo img {
        height: 80px;
    }
}

.hero-content {
    max-width: 900px;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

/* Hero Content Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease-out backwards;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
    letter-spacing: 0.15em;
    font-weight: 400;
    color: #ffffff;
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.2;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Golden Divider */
.golden-divider {
    width: 80px;
    height: 1px;
    background: var(--accent-gold);
    margin: 2rem auto;
    opacity: 0;
    animation: expandIn 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

@keyframes expandIn {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

/* Star Rating - Hero Section */
.star-rating {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--accent-gold);
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero .subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 3rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.05em;
    opacity: 0.95;
}

.hero .location {
    font-size: 1.2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    animation-delay: 0.7s;
}

.hero .gradient-badge {
    animation-delay: 0.9s;
}

.hero .btn-primary {
    animation-delay: 1.1s;
}

.hero .hero-stats-below {
    animation-delay: 1.3s;
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero .subtitle-h1 {
    font-size: 1.2rem;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.05em;
    opacity: 0.9;
    display: block;
    margin-top: 0.5rem;
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.hero .location {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* =================================
   6. Buttons & Interactive Elements
   ================================= */
.btn-primary {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--accent-gold), var(--copper-warm));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 35px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

/* =================================
   6. Grand Opening Ribbon
   ================================= */
.grand-opening-ribbon {
    position: absolute;
    top: 80px;
    right: -80px;
    width: 320px;
    padding: 12px 0;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #daa520 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3),
                0 0 40px rgba(212, 175, 55, 0.4);
    transform: rotate(45deg);
    z-index: 100;
    overflow: hidden;
    animation: ribbonFadeIn 1.2s ease-out 0.5s backwards;
}

.grand-opening-ribbon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: ribbonShine 3s infinite;
}

.grand-opening-ribbon::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(0, 0, 0, 0.2);
}

.ribbon-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.ribbon-icon {
    font-size: 1.2rem;
    margin-bottom: 2px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.ribbon-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--primary-wood);
    text-transform: uppercase;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.ribbon-season {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    margin-top: 2px;
}

@keyframes ribbonFadeIn {
    from {
        opacity: 0;
        transform: rotate(45deg) translateX(50px);
    }
    to {
        opacity: 1;
        transform: rotate(45deg) translateX(0);
    }
}

@keyframes ribbonShine {
    0% {
        transform: translateX(-100%);
    }
    50%, 100% {
        transform: translateX(200%);
    }
}

/* Responsive adjustments for ribbon */
@media (max-width: 1024px) {
    .grand-opening-ribbon {
        top: 70px;
        right: -85px;
        width: 300px;
        padding: 10px 0;
    }

    .ribbon-text {
        font-size: 0.9rem;
    }

    .ribbon-season {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .grand-opening-ribbon {
        top: 65px;
        right: -80px;
        width: 260px;
        padding: 8px 0;
    }

    .ribbon-icon {
        font-size: 1rem;
    }

    .ribbon-text {
        font-size: 0.8rem;
        letter-spacing: 0.12em;
    }

    .ribbon-season {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .grand-opening-ribbon {
        top: 70px;
        right: -65px;
        width: 220px;
        padding: 6px 0;
    }

    .ribbon-icon {
        font-size: 0.85rem;
        margin-bottom: 1px;
    }

    .ribbon-text {
        font-size: 0.65rem;
        letter-spacing: 0.08em;
    }

    .ribbon-season {
        font-size: 0.6rem;
        margin-top: 1px;
    }
}

/* Extra small screens - Alternative compact design */
@media (max-width: 375px) {
    .grand-opening-ribbon {
        top: 75px;
        right: -60px;
        width: 200px;
        padding: 5px 0;
    }

    .ribbon-icon {
        font-size: 0.75rem;
    }

    .ribbon-text {
        font-size: 0.6rem;
        letter-spacing: 0.05em;
    }

    .ribbon-season {
        font-size: 0.55rem;
    }
}

/* =================================
   7. Sections Layout
   ================================= */
section {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-wood);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 700px;
    margin: 1.5rem auto 3rem;
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.02em;
}

/* =================================
   8. About Section
   ================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-text h3 {
    color: var(--primary-wood);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.about-image {
    background: linear-gradient(45deg, var(--primary-wood), var(--dark-stone));
    height: 500px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

/* =================================
   9. Apartments Section
   ================================= */
.apartments {
    background: #f9f9f9;
}

.apartment-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.apartment-card {
    position: relative;
    background: var(--dark-stone);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    height: 480px;
}

.apartment-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 70px rgba(0,0,0,0.25);
}

.apartment-image {
    height: 280px;
    background: linear-gradient(135deg, #e8dcc3, #8B6F47);
    position: relative;
    transition: all 0.5s ease;
    overflow: hidden;
}

.apartment-card:hover .apartment-image {
    transform: scale(1.1);
}

.apartment-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.95) 100%);
    z-index: 1;
    transition: all 0.5s ease;
}

.apartment-card:hover .apartment-overlay {
    background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,0.85) 100%);
}

.apartment-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-gold);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.apartment-info {
    padding: 2rem;
}

.apartment-info h3 {
    color: var(--primary-wood);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.apartment-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.apartment-features {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.apartment-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* =================================
   10. Services Section
   ================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px) rotate(1deg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon {
    transform: scale(1.15);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    color: var(--primary-wood);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* =================================
   11. Gallery Section
   ================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
}

.gallery-item {
    height: 300px;
    background: linear-gradient(45deg, #e8dcc3, #8B6F47);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s;
}

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 2rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* =================================
   12. Modern Contact Section
   ================================= */
.contact-modern {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f7f5 0%, #ffffff 50%, #f8f7f5 100%);
    position: relative;
    overflow: hidden;
}

.contact-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212,175,55,0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    opacity: 0.8;
}

.contact-header .golden-divider {
    margin: 2rem auto;
}

/* Contact Grid Layout */
.contact-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: start;
}

/* Info Card Styles */
.info-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    position: relative;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--copper-warm));
    border-radius: 20px 20px 0 0;
}

.info-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--primary-wood);
    margin-bottom: 0.5rem;
}

.info-tagline {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 2rem;
}

/* Info Items */
.info-items {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-gold), var(--copper-warm));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.info-item:hover .info-icon {
    transform: translateY(-3px);
}

.info-content h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.info-content p {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.info-content a {
    color: var(--primary-wood);
    text-decoration: none;
    transition: color 0.3s;
}

.info-content a:hover {
    color: var(--accent-gold);
}

.availability-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.link-direction {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--accent-gold) !important;
    margin-top: 0.5rem;
}

/* Quick Action Buttons */
.quick-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.quick-btn {
    flex: 1;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: white;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.quick-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.quick-btn.call {
    background: linear-gradient(135deg, var(--accent-gold), var(--copper-warm));
}

.quick-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Social Links */
.social-links h4 {
    font-size: 1rem;
    color: var(--primary-wood);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: var(--background-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-wood);
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #e0e0e0;
}

.social-icons a:hover {
    background: var(--accent-gold);
    color: white;
    transform: translateY(-3px);
    border-color: var(--accent-gold);
}

/* Modern Form Card */
.form-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 30px 80px rgba(0,0,0,0.1);
    position: relative;
}

.form-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--primary-wood);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Modern Form Styles */
.modern-form {
    margin-top: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.input-wrapper {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 1.2rem 1rem 1.2rem 3rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: var(--background-light);
    transition: all 0.3s;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: white;
    box-shadow: 0 0 0 4px rgba(212,175,55,0.1);
}

.form-input:valid:not(:placeholder-shown) {
    border-color: #4caf50;
}

/* Date/Time Input iOS Fix */
.form-input[type="date"],
.form-input[type="time"],
.form-input[type="datetime-local"] {
    -webkit-appearance: none;
    appearance: none;
    min-height: 48px;
}

/* Floating Labels */
.form-label {
    position: absolute;
    left: 3rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 400;
    pointer-events: none;
    transition: all 0.3s;
    background: white;
    padding: 0 0.5rem;
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label,
.form-input:valid:not(:placeholder-shown) ~ .form-label,
.date-label,
.select-label {
    top: 0;
    font-size: 0.85rem;
    color: var(--accent-gold);
    background: white;
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

textarea ~ .form-label {
    top: 1.5rem;
    transform: translateY(0);
}

textarea:focus ~ .form-label,
textarea:not(:placeholder-shown) ~ .form-label {
    top: 0;
}

/* Input Icons */
.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    transition: color 0.3s;
    pointer-events: none;
}

.textarea-icon {
    top: 1.5rem;
}

.form-input:focus ~ .input-icon {
    color: var(--accent-gold);
}

/* Checkbox Styles */
.form-checkbox {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: start;
    gap: 0.8rem;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--accent-gold);
    cursor: pointer;
    margin-top: 2px;
}

.form-checkbox label {
    color: var(--text-dark);
    cursor: pointer;
    line-height: 1.5;
}

.form-checkbox a {
    color: var(--accent-gold);
    text-decoration: underline;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, var(--accent-gold), var(--copper-warm));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(212,175,55,0.3);
}

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

.btn-loading,
.btn-success {
    display: none;
}

.form-note {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Map Section */
.map-section {
    margin-top: 4rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.map-container {
    position: relative;
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    pointer-events: none;
}

.map-info {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    max-width: 350px;
    pointer-events: all;
}

.map-info h4 {
    color: var(--primary-wood);
    margin-bottom: 0.5rem;
}

.map-info p {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.btn-map {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--accent-gold);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-map:hover {
    background: var(--copper-warm);
    transform: translateY(-2px);
}

/* Contact Form Animations */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

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

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

/* Form Input Animations */
.form-input {
    position: relative;
}

.form-input::placeholder {
    color: transparent;
}

.form-input:not(:placeholder-shown) ~ .form-label {
    animation: floatLabel 0.3s ease-out forwards;
}

@keyframes floatLabel {
    to {
        top: -10px;
        font-size: 0.85rem;
        color: var(--accent-gold);
        background: white;
        padding: 0 0.5rem;
    }
}

/* Stagger animations for form elements */
.contact-info-modern {
    animation: slideInLeft 0.8s ease-out;
}

.contact-form-modern {
    animation: slideInRight 0.8s ease-out;
}

.form-row:nth-child(1) { animation: fadeInUp 0.6s ease-out 0.3s both; }
.form-row:nth-child(2) { animation: fadeInUp 0.6s ease-out 0.4s both; }
.form-row:nth-child(3) { animation: fadeInUp 0.6s ease-out 0.5s both; }
.form-row:nth-child(4) { animation: fadeInUp 0.6s ease-out 0.6s both; }
.form-group.full-width { animation: fadeInUp 0.6s ease-out 0.7s both; }
.form-checkbox:nth-child(6) { animation: fadeInUp 0.6s ease-out 0.8s both; }
.form-checkbox:nth-child(7) { animation: fadeInUp 0.6s ease-out 0.9s both; }
.btn-submit { animation: fadeInUp 0.6s ease-out 1s both; }

/* Hover Effects */
.info-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.form-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 40px 100px rgba(0,0,0,0.15);
}

/* Loading Animation for Submit Button */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: block;
}

.btn-submit.success .btn-text,
.btn-submit.success .btn-loading {
    display: none;
}

.btn-submit.success .btn-success {
    display: block;
    animation: fadeInUp 0.4s ease-out;
}

/* Success Message Animation */
@keyframes successPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

.form-input:valid:not(:placeholder-shown) {
    animation: successPulse 1s ease-out;
}

/* Map Hover Effect */
.map-info {
    transition: transform 0.3s, box-shadow 0.3s;
}

.map-container:hover .map-info {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease-out;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-left: 4px solid #4caf50;
}

.notification.success i {
    color: #4caf50;
    font-size: 1.2rem;
}

.notification.error {
    border-left: 4px solid #f44336;
}

.notification.error i {
    color: #f44336;
    font-size: 1.2rem;
}

/* Form Validation States */
.form-input.valid {
    border-color: #4caf50;
}

.form-input.invalid {
    border-color: #f44336;
}

.input-wrapper.focused .form-label {
    color: var(--accent-gold);
}

.form-input.has-value ~ .form-label {
    top: -10px;
    font-size: 0.85rem;
    color: var(--accent-gold);
    background: white;
    padding: 0 0.5rem;
}

/* =================================
   13. Footer
   ================================= */
footer {
    background: var(--dark-stone);
    color: white;
    padding: 3rem 2rem 1rem;
    text-align: center;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-logo {
    max-width: 180px;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-logo:nth-child(2) {
    max-width: 120px;
}

.footer-logo:hover {
    opacity: 1;
}

/* Star Rating - Footer */
.footer-rating {
    text-align: center;
    margin: 1.5rem 0 1rem;
}

.footer-stars {
    display: flex;
    gap: 0.3rem;
    justify-content: center;
    font-size: 1rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.footer-rating span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .footer-logos {
        gap: 2rem;
    }

    .footer-logo {
        max-width: 140px;
    }

    .footer-logo:nth-child(2) {
        max-width: 90px;
    }
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 2rem 0;
}

/* =================================
   14. Mobile Menu
   ================================= */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1002;
    background: none;
    border: none;
    outline: none;
}

.mobile-menu-toggle:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 4px;
    border-radius: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-wood);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

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

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* =================================
   15. Animations
   ================================= */
@keyframes pulse {
    0%, 100% { opacity: 0.8; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; transform: translateX(-50%) translateY(5px); }
}

@keyframes scroll {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(15px); opacity: 0; }
}

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

/* =================================
   16. Timeline Section
   ================================= */
.timeline-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.4s; }
.timeline-item:nth-child(3) { animation-delay: 0.6s; }
.timeline-item:nth-child(4) { animation-delay: 0.8s; }
.timeline-item:nth-child(5) { animation-delay: 1s; }

.timeline-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 3rem 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--sage-green), var(--accent-gold));
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-content-left {
    flex: 1;
    text-align: right;
    padding-right: 3rem;
}

.timeline-content-right {
    flex: 1;
    padding-left: 3rem;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--sage-green);
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.timeline-dot-gold {
    background: var(--accent-gold);
}

.timeline-dot-large {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--accent-gold), var(--copper-warm));
    border: 4px solid white;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.5);
    animation: pulse 2s infinite;
}

.timeline-title {
    font-family: 'Playfair Display', serif;
    color: var(--primary-wood);
    margin-bottom: 0.5rem;
}

.timeline-text {
    color: var(--text-light);
    font-size: 0.95rem;
}

.timeline-media-large {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* =================================
   17. Utility Classes
   ================================= */
.premium-badge {
    position: absolute;
    top: -10px;
    right: 10px;
    background: var(--accent-gold);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-badge {
    margin: 0 1rem;
}

.hero-badge strong {
    font-weight: 600;
}

.service-badge {
    margin: 0 0.8rem;
    font-size: 0.9rem;
}

.gradient-badge {
    margin: 1rem 0;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(212,175,55,0.1));
    border-radius: 50px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
}

.wellness-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.wellness-icon {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.wellness-card h3 {
    color: var(--primary-wood);
    margin-bottom: 1rem;
}

.wellness-card p {
    color: var(--text-light);
}

.wellness-grid {
    max-width: 1200px;
    margin: 3rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.wellness-hours {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--accent-gold);
    color: white;
    border-radius: 10px;
    max-width: 800px;
    margin: 3rem auto;
}

.wellness-hours h3 {
    margin-bottom: 1rem;
}

.wellness-hours p {
    font-size: 1.1rem;
}

.wellness-hours p:last-child {
    margin-top: 0.5rem;
    opacity: 0.9;
}

.activity-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.activity-card h3 {
    color: var(--primary-wood);
    margin-bottom: 1rem;
}

.activity-card ul {
    list-style: none;
    color: var(--text-light);
    line-height: 2;
}

.hero-stats {
    margin: 1.5rem 0;
    font-size: 0.85rem;
    opacity: 0.7;
}

.hero-stats-below {
    margin-top: 2rem;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Spacing System */
.section-spacing-xs { padding: 5rem 2rem; }
.section-spacing-sm { padding: 6rem 2rem; }
.section-spacing-md { padding: 8rem 2rem; }
.section-spacing-lg { padding: 10rem 2rem; }
.section-spacing-xl { padding: 12rem 2rem; }

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Card Components */
.card-base {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-elevated {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.card-premium {
    border: 2px solid var(--accent-gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* Section Backgrounds */
.section-bg-white { background: white; }
.section-bg-sage { background: linear-gradient(135deg, #f5f9f3, #e8f0e3); }
.section-bg-dark {
    background: linear-gradient(135deg, var(--midnight-blue), #2a4a6f);
    color: white;
}

.section-bg-dark .section-title,
.section-bg-dark .section-subtitle,
.section-bg-dark h3,
.section-bg-dark p {
    color: white;
}

.section-bg-dark .timeline-title {
    color: var(--accent-gold);
}

.section-bg-dark .timeline-text {
    color: rgba(255, 255, 255, 0.9);
}

.section-gradient-light {
    background: linear-gradient(135deg, var(--warm-white), #fff);
    padding: 5rem 2rem;
}

.section-gradient-subtle {
    background: linear-gradient(135deg, #f9f9f9, #fff);
    padding: 5rem 2rem;
}

.section-title-gold {
    color: var(--accent-gold);
}

/* Visual Dividers */
.section-divider {
    position: relative;
    margin-top: -1px;
}

.section-divider svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Microinteractions */
a {
    transition: all 0.3s ease;
    position: relative;
}

a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    background: var(--accent-gold);
    transition: all 0.3s ease;
}

a:hover::after {
    width: 100%;
    left: 0;
}

/* =================================
   18. Media Queries
   ================================= */

/* Contact Form Responsive Design */
@media (max-width: 1200px) {
    .contact-content-grid {
        gap: 3rem;
    }

    .info-card,
    .form-card {
        padding: 2.5rem;
    }
}

@media (max-width: 992px) {
    .contact-content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info-modern,
    .contact-form-modern {
        max-width: 700px;
        margin: 0 auto;
    }

    .map-section {
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .contact-modern {
        padding: 3rem 0;
    }

    .contact-header .section-title {
        font-size: 2.5rem;
    }

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

    .info-card,
    .form-card {
        padding: 2rem;
        border-radius: 15px;
    }

    .info-card h3,
    .form-card h3 {
        font-size: 1.75rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .quick-actions {
        flex-direction: column;
    }

    .quick-btn {
        width: 100%;
    }

    .map-container {
        height: 300px;
    }

    .map-info {
        max-width: 280px;
        padding: 1rem;
    }

    .notification {
        right: 10px;
        left: 10px;
        transform: translateY(-100px);
    }

    .notification.show {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .contact-wrapper {
        padding: 0 1rem;
    }

    .contact-header .section-title {
        font-size: 2rem;
    }

    .info-card,
    .form-card {
        padding: 1.5rem;
    }

    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .info-item {
        gap: 1rem;
    }

    .info-content h4 {
        font-size: 0.85rem;
    }

    .info-content p {
        font-size: 1rem;
    }

    .social-icons a {
        width: 35px;
        height: 35px;
    }

    .form-input {
        padding: 1rem 0.75rem 1rem 2.5rem;
        font-size: 1rem;
        box-sizing: border-box;
    }

    /* Date inputs iOS - prevent auto-zoom */
    .form-input[type="date"],
    .form-input[type="time"],
    .form-input[type="datetime-local"] {
        font-size: 16px;
    }

    .input-icon {
        font-size: 0.9rem;
        left: 0.75rem;
    }

    .form-label {
        left: 2.5rem;
        font-size: 0.95rem;
    }

    .btn-submit {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .map-overlay {
        bottom: 10px;
        left: 10px;
        right: 10px;
    }

    .map-info {
        max-width: 100%;
        font-size: 0.9rem;
    }

    .btn-map {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

/* Floating Booking Widget */
.booking-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.booking-toggle {
    background: var(--accent-gold);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.booking-toggle:hover {
    background: var(--copper-warm);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(184, 115, 51, 0.4);
}

.booking-content {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    width: 320px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.booking-widget.active .booking-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.booking-content h4 {
    color: var(--primary-wood);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.booking-field label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
    display: block;
}

.booking-field input,
.booking-field select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.booking-field input:focus,
.booking-field select:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.booking-submit {
    background: var(--accent-gold);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.booking-submit:hover {
    background: var(--copper-warm);
    transform: translateY(-2px);
}

.booking-note {
    text-align: center;
    color: var(--sage-green);
    font-size: 0.9rem;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    nav {
        padding: 0.8rem 1rem;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        box-shadow: -2px 0 20px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1002;
        overflow-y: auto;
        pointer-events: auto;
    }

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

    .nav-menu li {
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .nav-menu a {
        font-size: 1.1rem;
        display: block;
        padding: 0.5rem 0;
        border-bottom: 1px solid #eee;
    }

    .hero h1 {
        font-size: 2rem;
    }

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

    .hero-content {
        padding: 1rem;
    }

    .hero-content > div {
        flex-direction: column;
        font-size: 0.9rem !important;
    }

    .hero-content .star-rating {
        flex-direction: row !important;
    }

    .hero-content span {
        margin: 0.3rem 0 !important;
        display: block;
    }

    .hero-content > div:nth-of-type(2) {
        padding: 0.5rem;
    }

    .hero-content > div:nth-of-type(2) span {
        font-size: 0.8rem !important;
        margin: 0.2rem !important;
    }

    .section-title {
        font-size: 2rem;
    }

    section {
        padding: 3rem 1rem;
    }

    .about-grid,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .apartment-cards {
        grid-template-columns: 1fr !important;
        padding: 0 1rem;
    }

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

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

    #activities > div {
        grid-template-columns: 1fr !important;
    }

    #wellness > div {
        grid-template-columns: 1fr !important;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    /* Timeline Mobile */
    .timeline-item {
        flex-direction: column !important;
        text-align: center !important;
    }

    .timeline-item > div {
        text-align: center !important;
        padding: 1rem !important;
    }

    .timeline-item > div:first-child,
    .timeline-item > div:last-child {
        flex: none;
    }

    .section-spacing-xs,
    .section-spacing-sm,
    .section-spacing-md,
    .section-spacing-lg,
    .section-spacing-xl {
        padding: 3rem 1rem;
    }

    .timeline-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .timeline-center-line {
        display: none;
    }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .apartment-cards {
        grid-template-columns: 1fr !important;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* iOS and touch devices optimization */
/* Touch devices and mobile - Disable fixed background for iOS compatibility */
@media (hover: none) and (pointer: coarse) {
    .hero {
        background-attachment: scroll !important;
        -webkit-background-attachment: scroll !important;
        background-size: cover !important;
        -webkit-background-size: cover !important;
    }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    .hero {
        background-attachment: scroll !important;
        -webkit-background-attachment: scroll !important;
        background-size: cover !important;
        -webkit-background-size: cover !important;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Android and other mobile browsers */
@media only screen and (max-device-width: 768px) {
    .hero {
        background-attachment: scroll !important;
        -webkit-background-attachment: scroll !important;
    }
}

/* =================================
   CONSOLIDATED APARTMENTS STYLES
   ================================= */

/* Apartments Section */
.apartments {
    background: #fff;
    padding: 100px 2rem;
}

/* Container Grid */
.apartment-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

/* Apartment Cards */
.apartment-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
}

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

/* Image Container */
.apartment-image {
    height: 260px;
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    flex-shrink: 0;
}

.apartment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.apartment-card:hover .apartment-image img {
    transform: scale(1.08);
}

/* Apartment Badge */
.apartment-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-wood);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    font-family: 'Inter', sans-serif;
}

.apartment-badge-premium {
    background: var(--accent-gold);
    color: white;
}

/* Content Area */
.apartment-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    background: white;
}

.apartment-content h3 {
    color: var(--primary-wood);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.apartment-price {
    color: var(--accent-gold);
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
    margin: -0.5rem 0 1.5rem 0;
    font-weight: 400;
}

.apartment-price strong {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.apartment-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    flex-shrink: 1;
}

/* Features Row */
.apartment-features {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
    padding: 1rem 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.85rem;
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    flex-shrink: 0;
}

.apartment-features span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Amenities List */
.apartment-amenities {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
    flex-shrink: 1;
    overflow: auto;
    max-height: 200px;
}

.apartment-amenities li {
    color: var(--text-light);
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.8rem;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
}

.apartment-amenities li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: 600;
}

/* CTA Button */
.btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--primary-wood);
    border: 1.5px solid var(--primary-wood);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: auto;
    margin-bottom: 0;
    text-align: center;
    font-family: 'Inter', sans-serif;
    flex-shrink: 0;
}

.btn-secondary:hover {
    background: var(--primary-wood);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 111, 71, 0.2);
}

/* Apartments Responsive */
@media (max-width: 1024px) {
    .apartment-container {
        grid-template-columns: 1fr;
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .apartments {
        padding: 60px 1rem;
    }

    .apartment-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .apartment-image {
        height: 220px;
    }

    .apartment-content {
        padding: 1.5rem;
    }

    .apartment-content h3 {
        font-size: 1.5rem;
    }

    .apartment-features {
        flex-wrap: wrap;
        gap: 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .apartment-image {
        height: 200px;
    }

    .apartment-features {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 100px 2rem 2rem;
        gap: 1.5rem;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1002;
        overflow-y: auto;
        pointer-events: auto;
    }

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

    .nav-menu a {
        color: var(--text-dark) !important;
        text-shadow: none !important;
        font-size: 1.1rem;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

    .nav-menu a:hover {
        color: var(--accent-gold) !important;
    }

    nav {
        padding: 1rem;
    }

    nav.scrolled {
        padding: 0.8rem 1rem;
    }

    .logo img {
        height: 55px;
        padding: 6px;
    }

    .container {
        padding: 0 1rem;
        max-width: 100%;
    }

    .apartments-grid,
    .services-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .service-card,
    .apartment-card {
        padding: 1.5rem;
    }

    .section {
        padding: 60px 1rem;
    }

    section {
        padding: 60px 1rem;
    }

    h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .about-content,
    .services-content {
        padding: 0 1rem;
    }

    .hero {
        height: 100vh;
        min-height: 600px;
        background-attachment: scroll !important;
        -webkit-background-attachment: scroll !important;
        background-size: cover !important;
        -webkit-background-size: cover !important;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 40px;
    }

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

    .hero h1 {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }

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

    /* Service badges mobile - 2x2 grid */
    .service-badges {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem 1.5rem;
        margin: 1.5rem auto;
        max-width: 280px;
        padding: 0 1rem;
    }

    .service-badge {
        font-size: 0.65rem;
        gap: 0.3rem;
        flex-shrink: 0;
    }

    .badge-icon {
        width: 22px;
        height: 22px;
    }

    /* Scroll indicator adjustment */
    .scroll-indicator {
        bottom: 20px;
    }

    .scroll-indicator::before {
        width: 24px;
        height: 40px;
        border-radius: 20px;
    }

    .scroll-indicator::after {
        width: 4px;
        height: 8px;
        top: 8px;
    }

    /* About Section Mobile */
    .about-container {
        flex-direction: column;
        gap: 2rem;
    }

    .about-image,
    .about-text {
        flex: 1;
        width: 100%;
    }

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

    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-card i {
        font-size: 2.5rem;
    }

    /* Apartments Mobile */
    .apartment-card {
        margin-bottom: 2rem;
    }

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

    .gallery-item {
        height: 250px;
    }

    /* Footer Mobile */
    footer {
        padding: 3rem 1rem 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-section {
        width: 100%;
    }

    /* Booking Widget Mobile */
    .booking-widget {
        bottom: 20px;
        right: 20px;
    }

    .booking-toggle {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

    .booking-content {
        width: calc(100vw - 40px);
        right: -10px;
    }
}

/* Small screens */
@media (max-width: 480px) {
    .hero {
        padding-top: 30px;
        justify-content: center;
    }

    .hero-content {
        margin-top: 0;
    }

    .hero h1 {
        font-size: 1.75rem;
        margin-bottom: 0.8rem;
        margin-top: 1rem;
    }

    .hero .subtitle-h1 {
        font-size: 1rem;
        line-height: 1.3;
    }

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

    .hero-logo {
        margin-bottom: 1rem;
    }

    .hero-logo img {
        width: 60px;
        height: 60px;
    }

    .service-badges {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem 1.2rem;
        margin: 1.2rem auto;
        max-width: 260px;
        padding: 0 0.5rem;
    }

    .service-badge {
        font-size: 0.6rem;
        gap: 0.25rem;
    }

    .badge-icon {
        width: 20px;
        height: 20px;
    }

    .scroll-indicator {
        bottom: 10px;
    }

    .scroll-indicator::before {
        width: 20px;
        height: 35px;
    }

    .scroll-indicator::after {
        width: 3px;
        height: 6px;
        top: 6px;
    }

    h2 {
        font-size: 1.75rem;
    }

    .section {
        padding: 50px 1rem;
    }

    section {
        padding: 50px 1rem;
    }

    .apartment-card h3 {
        font-size: 1.5rem;
    }

    .apartment-features {
        flex-wrap: wrap;
        gap: 0.8rem;
        font-size: 0.85rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
        width: 100%;
    }

    .gallery-item {
        height: 200px;
    }

    /* Contact Form Mobile */
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-input {
        font-size: 1rem;
        padding: 1rem 0.75rem 1rem 2.5rem;
        box-sizing: border-box;
    }

    /* Date inputs iOS - prevent auto-zoom */
    .form-input[type="date"],
    .form-input[type="time"],
    .form-input[type="datetime-local"] {
        font-size: 16px;
    }

    .map-container {
        height: 250px;
    }

    .btn-primary {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }

    .apartment-info h3 {
        font-size: 1.2rem;
    }

    .apartment-features {
        flex-direction: column;
        gap: 0.5rem;
    }

    #apartments > div:nth-child(4) > div {
        flex-direction: column !important;
        gap: 0.8rem !important;
    }

    #timeline .timeline-item {
        margin-bottom: 2rem;
    }

    .highlight-card {
        padding: 1.5rem !important;
    }
}

/* =================================
   SIMPLIFIED ELEGANT STYLES
   ================================= */

/* Service Badges - Minimal Design */
.service-badges {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

/* Mobile override - 2x2 grid */
@media (max-width: 768px) {
    .service-badges {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem 1.5rem !important;
        margin: 1.5rem auto !important;
        max-width: 280px !important;
    }
}

@media (max-width: 480px) {
    .service-badges {
        gap: 0.6rem 1.2rem !important;
        margin: 1.2rem auto !important;
        max-width: 260px !important;
    }
}

.service-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    color: #ffffff;
    font-size: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.service-badge:hover {
    opacity: 1;
}

.badge-icon {
    width: 28px;
    height: 28px;
    stroke: var(--accent-gold);
    opacity: 0.8;
    stroke-width: 1.5;
}

/* Golden Divider */
.golden-divider {
    width: 80px;
    height: 1px;
    background: var(--accent-gold);
    margin: 2rem auto;
    opacity: 0;
}

/* New Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandIn {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

/* Apply animations with delays */
.fadeInUp {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-logo.fadeInUp {
    animation-delay: 0.2s;
}

.hero h1.fadeInUp {
    animation-delay: 0.4s;
}

.golden-divider.expandIn {
    animation-delay: 0.6s;
}

.hero .subtitle.fadeInUp {
    animation-delay: 0.8s;
}

.service-badges.fadeInUp {
    animation-delay: 1s;
}

.hero .btn-primary.fadeInUp {
    animation-delay: 1.2s;
}

.scroll-indicator.fadeInUp {
    animation-delay: 1.4s;
}

/* =================================
   Gallery Captions & Lightbox
   ================================= */

/* Gallery Caption Overlay */
.gallery-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 70%, transparent 100%);
    color: white;
    padding: 1.5rem 1rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Lightbox Content Wrapper */
.lightbox-content-wrapper {
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: zoomIn 0.3s ease;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: white;
    font-size: 1.1rem;
    text-align: center;
    margin-top: 1.5rem;
    padding: 0 2rem;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* Close Button */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--accent-gold);
    transform: rotate(90deg);
}

/* Navigation Buttons */
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 24px;
    font-weight: bold;
    padding: 16px 20px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .gallery-caption {
        font-size: 0.85rem;
        padding: 1rem 0.75rem 0.75rem;
        transform: translateY(0); /* Always visible on mobile */
    }

    .lightbox-content-wrapper {
        max-width: 95%;
        max-height: 85vh;
    }

    .lightbox-image {
        max-height: 70vh;
    }

    .lightbox-caption {
        font-size: 0.95rem;
        padding: 0 1rem;
        margin-top: 1rem;
    }

    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 32px;
    }

    .lightbox-prev,
    .lightbox-next {
        padding: 12px 16px;
        font-size: 20px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

/* =================================
   Filterable Gallery
   ================================= */

/* Gallery Filters */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem auto 3rem;
    padding: 0 1rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid var(--accent-gold);
    color: var(--primary-dark);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.filter-btn:hover {
    background: var(--accent-gold);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(183, 153, 86, 0.3);
}

.filter-btn.active {
    background: var(--accent-gold);
    color: white;
    box-shadow: 0 4px 12px rgba(183, 153, 86, 0.4);
}

/* Gallery Grid Filterable */
.gallery-grid-filterable {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Gallery Item with Lazy Loading */
.gallery-item-lazy {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    background: #f5f5f5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.gallery-item-lazy:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.gallery-item-lazy img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    opacity: 0;
}

.gallery-item-lazy img.loaded {
    opacity: 1;
}

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

/* Skeleton Loader Animation */
.gallery-item-lazy.loading::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        #f0f0f0 0%,
        #f8f8f8 20%,
        #f0f0f0 40%,
        #f0f0f0 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    z-index: 1;
}

.gallery-item-lazy.loading .gallery-caption {
    opacity: 0;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Gallery Caption - Always visible on mobile */
.gallery-item-lazy .gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.5) 70%, transparent 100%);
    color: white;
    padding: 1.5rem 1rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 2;
}

.gallery-item-lazy:hover .gallery-caption {
    transform: translateY(0);
}

/* Loading Indicator */
.gallery-loading {
    text-align: center;
    padding: 3rem;
    display: none;
}

.gallery-loading.show {
    display: block;
}

.gallery-loading .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f0f0f0;
    border-top: 4px solid var(--accent-gold);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    animation: spin 1s linear infinite;
}

.gallery-loading p {
    color: var(--primary-dark);
    font-size: 1.1rem;
    font-weight: 500;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

/* Mobile Responsive */
@media (max-width: 992px) {
    .gallery-grid-filterable {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .gallery-filters {
        gap: 0.75rem;
        margin: 1.5rem auto 2rem;
    }

    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .gallery-grid-filterable {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1rem;
        padding: 0 0.75rem;
    }

    .gallery-item-lazy .gallery-caption {
        transform: translateY(0); /* Always visible on mobile */
        font-size: 0.85rem;
        padding: 1rem 0.75rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .gallery-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .gallery-grid-filterable {
        grid-template-columns: 1fr;
    }
}

/* ================================
   GALLERY PAGINATION STYLES
   ================================ */

#gallery-pagination {
    margin: 3rem auto 2rem;
    max-width: 1200px;
    padding: 0 1rem;
}

.pagination-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid var(--accent-gold);
    border-radius: 50px;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: var(--accent-gold);
    color: white;
    transform: translateY(-2px);
}

.pagination-number {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e5e5e5;
    border-radius: 50%;
    background: white;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-number:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: scale(1.1);
}

.pagination-number.active {
    background: var(--accent-gold);
    color: white;
    border-color: var(--accent-gold);
}

.pagination-ellipsis {
    min-width: 40px;
    text-align: center;
    color: #999;
    font-weight: 500;
}

.pagination-info {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Responsive Pagination */
@media (max-width: 768px) {
    .pagination-controls {
        flex-direction: column;
        gap: 1.5rem;
    }

    .pagination-btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }

    .pagination-number {
        min-width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .pagination-numbers {
        gap: 0.35rem;
    }

    .pagination-number {
        min-width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .pagination-btn {
        width: 100%;
        max-width: 200px;
    }
}

/* ================================
   LOCATION SECTION WITH SLIDER
   ================================ */

.location-section {
    position: relative;
    min-height: 600px;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
}

.location-slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.location-slider-bg .slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.location-slider-bg .slider-image.active {
    opacity: 1;
}

.location-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 2;
}

.location-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
}

.location-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: white;
    margin: 2rem auto;
    max-width: 800px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.location-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.location-feature {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.location-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 2rem;
    color: var(--gold);
    min-width: 50px;
    text-align: center;
}

.feature-content {
    text-align: left;
}

.feature-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.3rem 0;
    color: white;
}

.feature-content p {
    font-size: 0.9rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .location-section {
        min-height: 500px;
        height: auto;
        padding: 3rem 0;
    }

    .location-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .location-features {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }

    .location-feature {
        padding: 1rem;
    }

    .feature-icon {
        font-size: 1.5rem;
        min-width: 40px;
    }

    .feature-content h4 {
        font-size: 1rem;
    }

    .feature-content p {
        font-size: 0.85rem;
    }
}