@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;700&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    /* Brand Colors */
    --primary: #610d0d;
    --primary-dark: #3a0505;
    --accent: #c69c6d; /* Soft Gold */
    --accent-light: #e6d3b8;
    
    /* Neutral & Surfaces */
    --bg-body: #f4f4f4; /* Light Grey/White base */
    --surface: #ffffff;
    --surface-glass: rgba(255, 255, 255, 0.95);
    --text-main: #1a1a1a;
    --text-muted: #666666;
    --white: #ffffff;
    
    /* Layout */
    --max-width: 1400px;
    --radius-s: 8px;
    --radius-m: 16px;
    --radius-l: 32px;
    --radius-xl: 80px; /* Stronger rounding */
    --spacing: 2rem;
    
    /* Effects */
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.03);
    --shadow-md: 0 12px 32px rgba(0,0,0,0.06);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.1);
    --blur: blur(20px);
    --transition: cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
}

/* Fade-in Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.fade-in-down {
    animation: fadeInDown 0.8s ease-out forwards;
    opacity: 0;
}

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

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

.fade-in-delay-3 {
    animation: fadeIn 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

.fade-in-delay-4 {
    animation: fadeIn 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.fade-in-delay-5 {
    animation: fadeIn 0.8s ease-out 0.5s forwards;
    opacity: 0;
}

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

html {
    -webkit-text-size-adjust: 100%;
    color-scheme: only light;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overscroll-behavior-y: none;
    background-color: var(--bg-body) !important;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg-body) !important;
    color: var(--text-main) !important;
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

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

h1 { font-size: clamp(3rem, 6vw, 5.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.8rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.4rem; }

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { width: 100%; height: auto; display: block; }

/* --- Components --- */

/* Buttons - Cleaner Style */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px; /* Pill shape */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 2px solid var(--primary);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(97, 13, 13, 0.2);
    text-decoration: none;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(97, 13, 13, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(97, 13, 13, 0.3);
}

/* ... */

/* Navigation */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: var(--surface-glass) !important;
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-radius: 100px;
}

.nav-links { display: flex; gap: 40px; list-style: none; align-items: center; }
.nav-links a { 
    font-size: 0.9rem; 
    font-weight: 600; 
    color: var(--primary); 
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    position: relative; /* Needed for pseudo-element */
}

/* Underline Effect */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

.nav-links a:hover, .nav-links a.active { 
    opacity: 1; 
    color: var(--primary); /* Keep text color, just bold/underline */
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-dropdown > a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-dropdown > a::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--primary);
    margin-left: 5px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.nav-dropdown:hover > a::after,
.nav-dropdown > a.active::after {
    width: 100%;
}

.nav-dropdown:hover > a::before {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--surface);
    border-radius: var(--radius-m);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    padding: 0.5rem 0;
    border: 1px solid rgba(0,0,0,0.05);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--text-main);
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: 0;
    opacity: 1;
    transition: all 0.2s ease;
}

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

.dropdown-menu a:hover {
    background: var(--bg-body);
    color: var(--primary);
    padding-left: 2rem;
}

.dropdown-menu a.active {
    background: var(--accent-light);
    color: var(--primary);
    font-weight: 700;
}

/* Mobile CTA in nav-links (hidden on desktop) */
.nav-cta-mobile {
    display: none;
}

/* Mobile Language Switch (hidden on desktop) */
.nav-lang-mobile {
    display: none;
}

/* Language Switch */
.lang-switch {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    display: flex;
    gap: 0.5rem;
    background: var(--surface-glass);
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
    padding: 0.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
}

.lang-switch a {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    text-decoration: none;
}

.lang-switch a.active {
    background: var(--primary);
    color: white;
}

.lang-switch a:hover {
    color: var(--primary);
}

.lang-switch a.active:hover {
    color: white;
}
/* Menu toggle (hamburger) - hidden on desktop */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 60px; width: auto; max-width: 200px; } /* Increased sizing */

/* Hero */
.hero-modern {
    height: 85vh;
    width: 100%;
    position: relative;
    isolation: isolate;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0;
}

.hero-content {
    animation: fadeInUp 1s ease-out 0.3s forwards;
    opacity: 0;
}

.hero-modern.small {
    height: 50vh;
    min-height: 400px;
    max-height: 550px;
    border-radius: 0 0 var(--radius-l) var(--radius-l);
}

.hero-modern.small .hero-content {
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -2;
    transform: scale(1.01);
    animation: none !important;
    transition: none !important;
}

.hero-modern::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(97, 13, 13, 0.55) 0%, rgba(20, 0, 0, 0.82) 100%);
    z-index: -1;
}

.hero-content {
    color: var(--white);
    max-width: 900px;
    padding: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    height: 120px;
    width: auto;
    margin-bottom: 2rem;
    filter: brightness(0) invert(1); /* Force White Logo */
    opacity: 0.9;
}

.hero-content h1 { color: var(--white); text-shadow: 0 4px 20px rgba(0,0,0,0.4); margin-bottom: 1rem; }
.hero-content p { 
    font-size: 1.35rem; 
    margin-bottom: 2.5rem; 
    opacity: 1; 
    font-weight: 400; 
    color: rgba(255,255,255,0.95);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Complex Modules (Bento Grid) */
.section-module { 
    padding: 6rem 20px; 
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
    animation-delay: 0.2s;
    background-color: var(--bg-body) !important;
}
.container { max-width: var(--max-width); margin: 0 auto; }

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, minmax(300px, auto));
    gap: 25px;
}

.bento-item {
    background: var(--surface);
    border-radius: var(--radius-m);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(0,0,0,0.02);
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.bento-item:nth-child(1) { animation-delay: 0.1s; }
.bento-item:nth-child(2) { animation-delay: 0.2s; }
.bento-item:nth-child(3) { animation-delay: 0.3s; }
.bento-item:nth-child(4) { animation-delay: 0.4s; }
.bento-item:nth-child(5) { animation-delay: 0.5s; }
.bento-item:nth-child(6) { animation-delay: 0.6s; }

.bento-item:hover { 
    transform: translateY(-8px); 
    box-shadow: var(--shadow-lg); 
}

/* Image Card Styles */
.bento-item.image-card {
    padding: 0;
    justify-content: flex-end;
}

.bento-item.image-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    z-index: 1;
}

.bento-item.image-card .bento-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    color: var(--white);
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.bento-item.image-card h3,
.bento-item.image-card h4,
.bento-item.image-card p {
    color: var(--white);
}

/* Feature Card Styles */
.bento-item.feature-card {
    background: var(--white);
    border: 1px solid #eee;
}

.bento-item.feature-card[style*="linear-gradient"] {
    border: none;
}


.bento-item.feature-card h4 { color: var(--primary); }

/* Location Card Flip Effect */

.card-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.card-flip-inner.flipped {
    transform: rotateY(180deg);
}

.card-flip-front,
.card-flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: var(--radius-m);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.card-flip-back {
    transform: rotateY(180deg);
}

.bento-item.feature-card.location-card {
    padding: 0;
    overflow: hidden;
    min-height: 450px;
}

/* Scrollbar styling for card-flip-back */
.card-flip-back div[style*="overflow-y: auto"]::-webkit-scrollbar {
    width: 6px;
}

.card-flip-back div[style*="overflow-y: auto"]::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.card-flip-back div[style*="overflow-y: auto"]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.card-flip-back div[style*="overflow-y: auto"]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.btn-info {
    transition: all 0.3s ease;
}

.btn-info:hover {
    background: var(--primary-dark) !important;
    transform: scale(1.05);
}

.tag-pill {
    display: inline-block;
    padding: 5px 12px;
    background: var(--accent-light);
    color: var(--primary-dark);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: #fff5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.bento-item.feature-card:not(.location-card):hover .icon-box {
    background: var(--primary);
    color: var(--white);
}

.location-card .icon-box {
    transition: none !important;
    transform: none !important;
    background: white !important;
    color: var(--primary) !important;
}

.arrow-link {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.arrow-link i { transition: transform 0.3s; }
.bento-item:hover .arrow-link i { transform: translateX(5px); }

/* Spans */
.span-2 { grid-column: span 2; }
.span-4 { grid-column: span 4; }
.row-2 { grid-row: span 2; }

/* Images */
.bento-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.8s ease;
}

.bento-item:hover .bento-img { transform: scale(1.08); }

/* Room Cards */
.room-card {
    background: var(--surface) !important;
    border-radius: var(--radius-m);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
    transition: var(--transition);
    border: 1px solid #eee;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.room-card:nth-child(1) { animation-delay: 0.1s; }
.room-card:nth-child(2) { animation-delay: 0.2s; }
.room-card:nth-child(3) { animation-delay: 0.3s; }

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-light);
}

@media (min-width: 901px) {
    .room-card { flex-direction: row; align-items: stretch; }
    .room-card-image { flex: 1; min-height: 100%; overflow: hidden; position: relative; }
    .room-card-image img { height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; width: 100%; }
    .room-card-content { flex: 1; padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
    .room-card.alt { flex-direction: row-reverse; }
}

.room-card-content { padding: 2rem; }
.room-price { 
    color: var(--primary); 
    font-weight: 700; 
    font-size: 1.2rem; 
    margin-bottom: 0.5rem;
    display: block; 
}

/* Price Grid */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.price-card {
    background: var(--surface);
    padding: 3rem 2rem;
    border-radius: var(--radius-s);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid #eee;
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.price-card:nth-child(1) { animation-delay: 0.1s; }
.price-card:nth-child(2) { animation-delay: 0.2s; }
.price-card:nth-child(3) { animation-delay: 0.3s; }

.price-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.price-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
    position: relative;
    background: #fffafa;
}

.price-value {
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    margin: 1rem 0;
    font-weight: 700;
}

.price-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.price-card h3 a:hover {
    color: var(--accent);
    text-decoration: underline;
}

table td strong a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

table td strong a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.price-unit { font-size: 1rem; color: var(--text-muted); font-family: 'Manrope', sans-serif; font-weight: 400; }

.feature-list { list-style: none; margin: 2rem 0; text-align: left; flex-grow: 1; }
.feature-list li { padding: 0.8rem 0; border-bottom: 1px solid #f0f0f0; color: var(--text-main); display: flex; align-items: center; }
.feature-list li i { color: var(--primary); margin-right: 10px; }

.price-card .btn {
    margin-top: auto;
    align-self: center;
    width: 100%;
    max-width: 200px;
}

.price-card.featured .btn {
    max-width: 200px;
}

.price-card h3 {
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Gallery - Modern Masonry Layout */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
}

.gallery-item-large {
    grid-column: span 6;
    grid-row: span 2;
    border-radius: var(--radius-m);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.gallery-item-medium {
    grid-column: span 3;
    grid-row: span 2;
    border-radius: var(--radius-m);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.gallery-item-small {
    grid-column: span 3;
    grid-row: span 1;
    border-radius: var(--radius-m);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

/* Staggered animation delays for gallery items */
.gallery-masonry > *:nth-child(1) { animation-delay: 0.1s; }
.gallery-masonry > *:nth-child(2) { animation-delay: 0.15s; }
.gallery-masonry > *:nth-child(3) { animation-delay: 0.2s; }
.gallery-masonry > *:nth-child(4) { animation-delay: 0.25s; }
.gallery-masonry > *:nth-child(5) { animation-delay: 0.3s; }
.gallery-masonry > *:nth-child(6) { animation-delay: 0.35s; }
.gallery-masonry > *:nth-child(7) { animation-delay: 0.4s; }
.gallery-masonry > *:nth-child(8) { animation-delay: 0.45s; }
.gallery-masonry > *:nth-child(9) { animation-delay: 0.5s; }
.gallery-masonry > *:nth-child(10) { animation-delay: 0.55s; }

.gallery-item-large img,
.gallery-item-medium img,
.gallery-item-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(97, 13, 13, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    pointer-events: none;
}

.gallery-overlay i {
    font-size: 2rem;
    color: white;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.gallery-item-large:hover,
.gallery-item-medium:hover,
.gallery-item-small:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.gallery-item-large:hover .gallery-overlay,
.gallery-item-medium:hover .gallery-overlay,
.gallery-item-small:hover .gallery-overlay {
    background: rgba(97, 13, 13, 0.7);
}

.gallery-item-large:hover .gallery-overlay i,
.gallery-item-medium:hover .gallery-overlay i,
.gallery-item-small:hover .gallery-overlay i {
    opacity: 1;
    transform: scale(1);
}

.gallery-item-large:hover img,
.gallery-item-medium:hover img,
.gallery-item-small:hover img {
    transform: scale(1.1);
}

/* Legacy Gallery Grid (for backwards compatibility) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius-s);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    aspect-ratio: 4/3;
}

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

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

/* Experience Cards */
.experience-card {
    transition: transform 0.3s ease;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.experience-card:nth-child(1) { animation-delay: 0.1s; }
.experience-card:nth-child(2) { animation-delay: 0.2s; }
.experience-card:nth-child(3) { animation-delay: 0.3s; }

.experience-card:hover {
    transform: translateY(-5px);
}

.experience-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.experience-icon i {
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.experience-card:hover .experience-icon {
    background: var(--primary);
    transform: scale(1.1);
}

.experience-card:hover .experience-icon i {
    color: white;
}

/* Modal */
.modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.active { opacity: 1; pointer-events: all; }

.modal-card {
    background: var(--surface);
    width: 90%;
    max-width: 500px;
    padding: 3rem;
    border-radius: var(--radius-s);
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-lg);
    position: relative;
}

#modal-malerweg .modal-card {
    max-width: 700px;
}

.modal.active .modal-card { transform: translateY(0); }

.close-modal {
    position: absolute;
    top: 20px; right: 20px;
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: color 0.3s;
}
.close-modal:hover { color: var(--primary); }

.lightbox {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 3000;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.lightbox.active { display: flex; }
.lightbox img { 
    max-width: 90%; 
    max-height: 90%; 
    border-radius: 4px; 
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 3001;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg) scale(1.1);
}

.lightbox-close i {
    pointer-events: none;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    /* Language Switch - Hide on mobile */
    .lang-switch {
        display: none !important;
    }
    
    /* Navigation */
    .navbar {
        top: 0;
        left: 0;
        width: 100%;
        transform: none;
        border-radius: 0;
        padding: 12px 16px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        background: #ffffff !important;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    }
    
    .nav-logo img {
        height: 36px;
    }
    
    .menu-toggle { 
        display: flex !important;
        align-items: center;
        justify-content: center;
        order: 2;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: var(--bg-body);
        color: var(--primary);
        border: none;
        cursor: pointer;
        transition: background 0.2s ease;
    }
    
    .menu-toggle:active {
        background: var(--accent-light);
    }
    
    .nav-links { 
        display: none; 
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding: 12px 0 0 0;
        text-align: left;
        order: 3;
        border-top: 1px solid #eee;
        margin-top: 12px;
    }
    
    .nav-links.active { 
        display: flex; 
    }
    
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links a {
        display: block;
        padding: 14px 16px;
        width: 100%;
        font-size: 0.95rem;
        color: var(--text-main);
        transition: background 0.15s ease, color 0.15s ease;
    }
    
    .nav-links a:hover,
    .nav-links a.active {
        background: var(--bg-body);
        color: var(--primary);
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .nav-dropdown {
        width: 100%;
    }
    
    .nav-dropdown > a {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    
    .nav-dropdown > a::before {
        order: 2;
        margin-left: auto;
        transition: transform 0.3s ease;
    }
    
    .nav-dropdown > a::after {
        display: none;
    }
    
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        box-shadow: none !important;
        border: none;
        background: var(--bg-body);
        margin: 0;
        padding: 0;
        display: block;
        width: 100%;
        min-width: auto;
        border-radius: 0;
        transition: opacity 0.25s ease, max-height 0.35s ease, padding 0.25s ease, visibility 0s linear 0.35s;
    }
    
    /* Disable desktop hover on mobile — only .active class controls dropdown */
    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown:focus-within .dropdown-menu {
        opacity: 0 !important;
        visibility: hidden !important;
        max-height: 0 !important;
        transform: none !important;
        padding: 0 !important;
    }
    
    .nav-dropdown.active .dropdown-menu,
    .nav-dropdown.active:hover .dropdown-menu,
    .nav-dropdown.active:focus-within .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 500px !important;
        padding: 4px 0 !important;
        transition: opacity 0.25s ease, max-height 0.35s ease, padding 0.25s ease, visibility 0s linear 0s;
    }
    
    .nav-dropdown.active > a::before {
        transform: rotate(180deg);
    }
    
    .dropdown-menu a {
        padding: 12px 16px 12px 32px;
        border-bottom: 1px solid #e8e8e8;
        font-size: 0.9rem;
        color: var(--text-muted);
    }
    
    .dropdown-menu a:last-child {
        border-bottom: none;
    }
    
    .dropdown-menu a:hover,
    .dropdown-menu a.active {
        color: var(--primary);
        background: rgba(97, 13, 13, 0.04);
        font-weight: 600;
    }
    
    /* Show mobile CTA inside menu */
    .nav-cta-mobile {
        display: list-item !important;
        border-bottom: none !important;
        padding: 8px 16px 12px;
    }
    
    .nav-cta-mobile .btn.nav-cta {
        display: flex !important;
        width: 100%;
        justify-content: center;
        margin: 0;
        padding: 14px 24px;
        background: var(--primary) !important;
        color: white !important;
        border-color: var(--primary) !important;
    }
    
    .nav-cta-mobile .btn.nav-cta:hover,
    .nav-cta-mobile .btn.nav-cta:active {
        background: var(--primary-dark) !important;
        color: white !important;
    }
    
    /* Mobile Language Switch inside nav */
    .nav-lang-mobile {
        display: flex !important;
        justify-content: center;
        gap: 0.5rem;
        padding: 12px 16px 16px !important;
        border-bottom: none !important;
    }
    
    .nav-lang-mobile a {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        padding: 8px 20px !important;
        border-radius: 50px;
        font-size: 0.85rem !important;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--text-muted) !important;
        background: var(--bg-body);
        transition: all 0.2s ease;
    }
    
    .nav-lang-mobile a.active {
        background: var(--primary) !important;
        color: white !important;
    }
    
    .nav-lang-mobile a:hover {
        background: var(--accent-light);
    }
    
    .nav-lang-mobile a.active:hover {
        background: var(--primary-dark) !important;
    }
    
    /* Hide the desktop CTA button on mobile */
    .navbar > .btn:not(.nav-cta) {
        display: none !important;
    }
    
    /* Dropdown "Zur Übersicht" link styling */
    .dropdown-menu a.dropdown-overview {
        font-weight: 600;
        color: var(--primary) !important;
        border-bottom: 2px solid var(--accent-light) !important;
        padding-left: 16px !important;
    }
    
    /* Hero */
    .hero-modern {
        height: auto;
        min-height: 60vh;
        margin-top: 70px;
        padding-bottom: 1.5rem;
        border-radius: 0 !important;
    }
    
    .hero-modern.small {
        height: auto;
        min-height: 35vh;
        max-height: 320px;
        margin-top: 70px;
        padding-bottom: 1rem;
        border-radius: 0 !important;
    }
    
    .hero-modern.small .hero-content {
        padding-top: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .hero-content {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
        min-height: auto;
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-content > div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 0.8rem !important;
        width: 100%;
        padding: 0 20px;
        margin-bottom: 0.5rem;
    }
    
    .hero-content > div[style*="display: flex"] > * {
        width: 100%;
    }
    
    /* Room price badge in hero mobile */
    .hero-content .room-price {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    /* Info boxes on room detail pages mobile */
    div[style*="background: var(--accent-light)"] {
        padding: 1rem !important;
    }
    
    div[style*="background: var(--bg-body)"] {
        padding: 1.2rem !important;
        margin: 1rem 0 !important;
    }
    
    .hero-logo {
        height: 50px;
        margin-bottom: 0.8rem;
    }
    
    /* Footer mobile */
    footer {
        padding: 2.5rem 15px !important;
    }
    
    footer img {
        height: 40px !important;
        margin-bottom: 1rem !important;
    }
    
    /* Bento Grid */
    .bento-grid { 
        grid-template-columns: 1fr; 
        grid-template-rows: auto; 
    }
    
    .span-2, .span-4, .row-2 { 
        grid-column: span 1; 
        grid-row: span 1; 
    }
    
    .bento-item { 
        min-height: 250px; 
    }
    
    /* Section Module */
    .section-module {
        padding: 1.5rem 10px;
    }
    
    /* Container */
    .container {
        padding: 0 10px;
    }
    
    /* Room Slider on mobile - handled in slider.css */
    .room-slider {
        margin-bottom: 1.5rem;
    }
    
    /* CTA Section mobile - handled in slider.css */
    .cta-section {
        /* styles moved to slider.css to avoid conflicts */
    }
    
    .cta-info h3 {
        font-size: 1.3rem !important;
    }
    
    /* Content Grid mobile - less gap */
    .container > div[style*="max-width: 1200px"] > div[style*="gap: 3rem"] {
        gap: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* Reduce text-center header spacing */
    .text-center.mb-4 {
        margin-bottom: 1.5rem !important;
    }
    
    .text-center.mb-4 h2 {
        font-size: 1.5rem;
    }
    
    .text-center.mb-4 p {
        font-size: 0.95rem;
    }
    
    /* Room Cards */
    .room-card {
        flex-direction: column !important;
        margin-bottom: 1.5rem;
        align-items: stretch;
    }
    
    .room-card.alt {
        flex-direction: column !important;
    }
    
    .room-card-image {
        flex: none !important;
        min-height: 0 !important;
        height: 220px;
        max-height: 260px;
        overflow: hidden;
        position: relative;
    }
    
    .room-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
    }
    
    .room-card-content {
        flex: none !important;
        padding: 1.2rem 1rem;
    }
    
    .room-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .room-card p {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .room-card-content .feature-list {
        margin: 0.8rem 0 !important;
    }
    
    .room-card-content .feature-list li {
        padding: 0.5rem 0 !important;
        font-size: 0.9rem;
    }
    
    .room-card .btn {
        width: 100%;
        text-align: center;
    }
    
    .room-price {
        font-size: 1.05rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    /* Price Grid */
    .price-grid {
        grid-template-columns: 1fr;
    }
    
    .price-card.featured {
        transform: none;
    }
    
    /* Gallery */
    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
        gap: 1rem;
    }
    
    .gallery-item-large,
    .gallery-item-medium,
    .gallery-item-small {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .gallery-item-large {
        grid-row: span 2;
    }
    
    /* Experience Cards */
    .experience-card {
        padding: 1.5rem !important;
    }
    
    .experience-icon {
        width: 60px;
        height: 60px;
    }
    
    .experience-icon i {
        font-size: 1.5rem;
    }
    
    /* Lightbox close button mobile */
    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    /* Room detail pages responsive */
    .container > div[style*="max-width: 1200px"] {
        max-width: 100% !important;
        padding: 0 12px;
    }
    
    .container > div[style*="max-width: 1200px"] > div[style*="grid-template-columns: 2fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
    }
    
    .container > div[style*="max-width: 1200px"] > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .container > div[style*="max-width: 1200px"] > div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr 1fr !important;
    }
    
    .container > div[style*="max-width: 1200px"] > div[style*="grid-template-columns: repeat(auto-fit"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Image gallery on room pages mobile */
    .container > div[style*="max-width: 1200px"] > div[style*="margin-bottom: 4rem"] > div[style*="grid-template-columns: 2fr 1fr"] {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
    }
    
    .container > div[style*="max-width: 1200px"] > div[style*="margin-bottom: 4rem"] > div[style*="grid-template-columns: 2fr 1fr"] > div[style*="grid-row: span 2"] {
        grid-row: span 1 !important;
    }
    
    .container > div[style*="max-width: 1200px"] > div[style*="margin-bottom: 4rem"] > div[style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Reduce inline margin-bottom on content wrappers */
    .container > div[style*="max-width: 1200px"] > div[style*="margin-bottom: 3rem"] {
        margin-bottom: 1.5rem !important;
    }
    
    .container > div[style*="max-width: 1200px"] > div[style*="margin-bottom: 4rem"] {
        margin-bottom: 2rem !important;
    }
    
    /* Buttons mobile */
    .container > div[style*="max-width: 1200px"] > div[style*="text-align: center"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .container > div[style*="max-width: 1200px"] > div[style*="text-align: center"] > a {
        margin-left: 0 !important;
        width: 100% !important;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }
    
    /* Text */
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    /* Welcome Text Card Mobile */
    .bento-item.feature-card.span-2[style*="background: linear-gradient"] {
        padding: 2rem 1.5rem !important;
    }
    
    .bento-item.feature-card.span-2[style*="background: linear-gradient"] h2 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .bento-item.feature-card.span-2[style*="background: linear-gradient"] p {
        font-size: 0.9rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    /* Malerweg Logo Mobile */
    .bento-item.feature-card img[alt="Malerweg"] {
        height: 40px !important;
    }
    
    /* Malerweg Modal Mobile */
    #modal-malerweg .modal-card {
        padding: 2rem 1.5rem;
        max-height: 85vh;
    }
    
    #modal-malerweg .modal-card h3 {
        font-size: 1.3rem;
    }
    
    #modal-malerweg .modal-card p {
        font-size: 0.95rem;
        margin-bottom: 1rem !important;
    }
    
    #modal-malerweg .modal-card .btn {
        width: 100%;
        margin: 0.5rem 0 !important;
        display: block !important;
    }
}

/* ==========================================
   PRICE DETAIL SECTION — Tabs for Mobile
   ========================================== */

.price-detail-section {
    background: var(--surface);
    border-radius: var(--radius-m);
    padding: 3rem;
    margin-top: 4rem;
    box-shadow: var(--shadow-sm);
}

/* Desktop: show table, hide tabs */
.price-table-desktop { display: block; margin-top: 2rem; }
.price-tabs-mobile { display: none; }

/* Mobile: hide table, show tabs */
@media (max-width: 900px) {
    .price-detail-section {
        padding: 1.5rem 1rem;
        margin-top: 2rem;
    }

    .price-table-desktop { display: none !important; }
    .price-tabs-mobile { display: block; margin-top: 1.5rem; }

    /* Tab Navigation */
    .price-tabs-nav {
        display: flex;
        gap: 0;
        background: var(--bg-body);
        border-radius: 12px;
        padding: 4px;
        margin-bottom: 1rem;
    }

    .price-tab-btn {
        flex: 1;
        padding: 10px 6px;
        border: none;
        background: transparent;
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--text-muted);
        cursor: pointer;
        border-radius: 10px;
        transition: all 0.25s ease;
        text-align: center;
        white-space: nowrap;
    }

    .price-tab-btn.active {
        background: var(--primary);
        color: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .price-tab-btn:not(.active):hover {
        color: var(--primary);
        background: rgba(0, 0, 0, 0.03);
    }

    /* Tab Content */
    .price-tab-content {
        display: none;
    }

    .price-tab-content.active {
        display: block;
        animation: fadeTabIn 0.3s ease;
    }

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

    /* Price Cards within Tabs */
    .price-tab-card {
        background: white;
        border-radius: 12px;
        margin-bottom: 0.75rem;
        overflow: hidden;
        border: 1px solid #eee;
    }

    .price-tab-card-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px;
        background: var(--bg-body);
        border-bottom: 1px solid #eee;
    }

    .price-tab-card-header a {
        color: var(--primary);
        text-decoration: none;
        font-weight: 700;
        font-size: 0.95rem;
    }

    .price-tab-card-header span {
        color: var(--text-muted);
        font-size: 0.8rem;
    }

    .price-tab-card-body {
        padding: 0;
    }

    .price-tab-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 16px;
        border-bottom: 1px solid #f5f5f5;
    }

    .price-tab-row:last-child {
        border-bottom: none;
    }

    .price-tab-row span {
        color: var(--text-muted);
        font-size: 0.9rem;
    }

    .price-tab-row strong {
        color: var(--primary-dark);
        font-size: 1rem;
        font-weight: 700;
    }
}