/* ============================================
   7 Lakes Aparthotel RTA - Custom Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #050505;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Font loading optimization and fallback */
.fonts-loaded body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.fonts-loaded h1,
.fonts-loaded h2,
.fonts-loaded h3,
.fonts-loaded h4,
.fonts-loaded h5,
.fonts-loaded h6 {
    font-family: 'Comfortaa', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Fallback when fonts fail to load */
.fonts-failed body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.fonts-failed h1,
.fonts-failed h2,
.fonts-failed h3,
.fonts-failed h4,
.fonts-failed h5,
.fonts-failed h6 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Comfortaa', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: #006D88;
    transition: all 0.3s ease;
}

a:hover {
    color: #004C63;
}

/* Container & Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #050505;
}

.logo-img {
    height: 40px;
    width: auto;
}

.desktop-logo {
    display: block;
    height: 35px;
}

.mobile-logo {
    display: none;
    height: 40px;
}

/* Navigation */
.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

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

.nav-list a {
    color: #050505;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-list a:hover,
.nav-list a.active {
    color: #006D88;
    background: rgba(0, 109, 136, 0.1);
}

/* Language Selector Styles */
.language-selector {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 1rem;
    z-index: 1001;
}

.current-lang {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    font-weight: 500;
    color: #050505;
}

.current-lang:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.flag-icon {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    border: 1px solid #e0e0e0;
}

.language-selector:hover .language-dropdown,
.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    text-decoration: none;
    color: #050505;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background-color: #f8f9fa;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-prenota {
    background: #006D88;
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-prenota:hover {
    background: #004C63;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 109, 136, 0.3);
}

.btn-prenota.active {
    background: #004C63;
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

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

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

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

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

.mobile-nav {
    display: none;
    background: white;
    padding: 1rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-list a {
    color: #050505;
    padding: 0.75rem 1rem;
    display: block;
    transition: all 0.3s ease;
}

.mobile-nav-list a:hover {
    background: rgba(0, 109, 136, 0.1);
    color: #006D88;
}

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

/* Hero Carousel */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

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

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 3;
    transform: translateY(-50%);
}

.carousel-prev,
.carousel-next {
    background: rgba(0, 109, 136, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(0, 109, 136, 1);
    transform: scale(1.1);
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
    background: white;
}



/* Hero Content */
.hero-content {
    position: relative;
    z-index: 4;
    max-width: 800px;
    padding: 0 2rem;
}

/* Hero Logo Only - No Overlay */
.hero-logo-only {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.hero-logo {
    max-width: 350px;
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    filter: none;
    position: relative;
    z-index: 1;
}



.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin: 0;
    text-shadow: none;
    background: none;
    padding: 0;
    border: none;
    backdrop-filter: none;
    position: relative;
    z-index: 1;
}

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

.btn-hero-primary,
.btn-hero-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 200px;
    text-align: center;
}

.btn-hero-primary {
    background: #006D88;
    color: white;
    border: 2px solid #006D88;
}

.btn-hero-primary:hover {
    background: #004C63;
    border-color: #004C63;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 109, 136, 0.4);
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-hero-secondary:hover {
    background: white;
    color: #006D88;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Mobile Bottom Sidebar - only for hero section */
.mobile-bottom-sidebar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #006D88, #004C63);
    padding: 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-bottom-sidebar.visible {
    transform: translateY(0);
}

.sidebar-content {
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

.sidebar-text {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.875rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.sidebar-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sidebar-btn i:first-child {
    font-size: 1.1rem;
}

.sidebar-btn i:last-child {
    font-size: 0.9rem;
    animation: arrow-bounce 2s infinite;
}

@keyframes arrow-bounce {
    0%, 50%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(3px);
    }
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.title-line {
    width: 80px;
    height: 4px;
    background: #006D88;
    margin: 0 auto 3rem;
    border-radius: 2px;
}

.title-line.teal {
    background: #006D88;
}

.title-line.orange {
    background: #EAA13A;
}

.title-line.red {
    background: #C8383B;
}

/* Introduction Section */
.intro {
    background: #f8f9fa;
}

/* Hero Description in Intro Section */
.intro-hero-description {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
}

.intro-hero-description p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #333;
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

/* Sostenibilità Section */
.sostenibilita {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e8 100%);
    padding: 4rem 0;
}

.sostenibilita .section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.sostenibilita .title-line.green {
    background: #28a745;
    margin: 0 auto 3rem;
}

.sostenibilita-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.sostenibilita-text {
    padding-right: 2rem;
}

.sostenibilita-intro {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c5f2c;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.sostenibilita-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 1.2rem;
}

.sostenibilita-conclusion {
    font-size: 1.1rem;
    font-weight: 500;
    color: #28a745;
    font-style: italic;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.feature-item i {
    font-size: 1.5rem;
    color: #28a745;
    width: 30px;
    text-align: center;
}

.feature-item span {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
}

/* Responsive Design for Sostenibilità */
@media (max-width: 768px) {
    .sostenibilita-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .sostenibilita-text {
        padding-right: 0;
        text-align: center;
    }
    
    .sostenibilita-features {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        text-align: center;
        flex-direction: column;
        gap: 0.8rem;
    }
}

/* Apartments Section */
.apartments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.apartment-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.card-image {
    height: 250px;
    overflow: hidden;
}

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

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

.card-content {
    padding: 2rem;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-line {
    width: 60px;
    height: 3px;
    margin-bottom: 1.5rem;
    border-radius: 2px;
}

.card-line.orange {
    background: #EAA13A;
}

.card-line.teal {
    background: #006D88;
}

.card-line.red {
    background: #C8383B;
}

.card-amenities {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.amenity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.amenity i {
    color: #006D88;
    width: 16px;
}

.card-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.btn-outline {
    display: inline-block;
    border: 2px solid #006D88;
    color: #006D88;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #006D88;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 109, 136, 0.3);
}

/* Card Actions */
.card-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.card-actions .btn-outline {
    flex: 1;
    text-align: center;
    min-width: 140px;
}

.card-actions .btn-primary {
    flex: 1;
    text-align: center;
    min-width: 140px;
    font-size: 0.9rem;
    padding: 0.75rem 1.25rem;
}

/* Apartment Actions */
.apartment-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.apartment-actions .btn-primary,
.apartment-actions .btn-outline {
    flex: 1;
    text-align: center;
    min-width: 140px;
}

.apartment-actions .btn-tour {
    flex: 1;
    text-align: center;
    min-width: 140px;
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.apartment-actions .btn-tour:hover {
    background: linear-gradient(135deg, #E55A2B, #E0851A);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.apartment-actions .btn-tour i {
    font-size: 1.1rem;
}

/* Dove siamo Section */
.dove-siamo {
    background: #f8f9fa;
}

.location-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.location-intro-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #006D88;
}

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

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    border-radius: 15px;
}

.location-info h2 {
    text-align: left;
    margin-bottom: 1rem;
}

.location-info .title-line {
    margin: 0 0 2rem 0;
}

.location-description {
    margin-bottom: 2rem;
    line-height: 1.7;
}

.location-address {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.location-link {
    color: #006D88;
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.location-link:hover {
    border-bottom-color: #006D88;
}

/* Travel Info Section */
.travel-info {
    margin-top: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-top: 4px solid #EAA13A;
}

.travel-title {
    color: #006D88;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.travel-content {
    margin-bottom: 2rem;
}

.travel-content p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.travel-icons {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
    flex-wrap: wrap;
}

.travel-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 120px;
}

.travel-icon i {
    color: #006D88;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.travel-icon span {
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

/* Seguici Section */
.seguici {
    text-align: center;
    background: white;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    color: white;
}

.social-icon.facebook {
    background: #4267B2;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.social-icon.twitter {
    background: #1DA1F2;
}

.social-icon.linkedin {
    background: #0077B5;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #006D88, #004C63);
    color: white;
    text-align: center;
    padding: 8rem 0 4rem;
    margin-top: 80px;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Apartment Detail Pages */
.apartment-detail {
    padding: 4rem 0;
}

.apartment-header {
    text-align: center;
    margin-bottom: 3rem;
}

.apartment-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.apartment-line {
    width: 100px;
    height: 4px;
    margin: 0 auto 2rem;
    border-radius: 2px;
}

.apartment-line.orange {
    background: #EAA13A;
}

.apartment-line.teal {
    background: #006D88;
}

.apartment-line.red {
    background: #C8383B;
}

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

.apartment-gallery {
    position: sticky;
    top: 100px;
}

.main-image {
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.thumbnail {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.amenity-item:hover {
    background: rgba(0, 109, 136, 0.05);
}

.amenity-item i {
    color: #006D88;
    font-size: 1.2rem;
    width: 20px;
}

.apartment-description {
    line-height: 1.7;
    margin-bottom: 2rem;
}

.apartment-description p {
    margin-bottom: 1.5rem;
}

.btn-primary {
    background: #006D88;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background: #004C63;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 109, 136, 0.3);
}

.section-divider {
    height: 3px;
    background: linear-gradient(90deg, #EAA13A, #006D88, #C8383B);
    margin: 4rem 0;
    border-radius: 2px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #006D88, #004C63);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-cta {
    background: #EAA13A;
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-cta:hover {
    background: #D4941C;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(234, 161, 58, 0.4);
}

/* Booking Form Styles */
.booking-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

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

.booking-info h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #006D88;
}

.booking-info p {
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    color: #006D88;
    font-size: 1.5rem;
    width: 24px;
    margin-top: 0.25rem;
}

.contact-item div {
    flex: 1;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #050505;
}

.booking-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #050505;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #006D88;
    box-shadow: 0 0 0 3px rgba(0, 109, 136, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    line-height: 1.5;
    font-weight: normal;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #006D88;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: #006D88;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.form-help {
    display: block;
    color: #666;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    line-height: 1.4;
}

.btn-submit {
    width: 100%;
    background: #006D88;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-submit:hover {
    background: #004C63;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 109, 136, 0.3);
}

/* Additional Info */
.additional-info {
    background: white;
    padding: 4rem 0;
}

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

.info-card {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.info-card i {
    color: #006D88;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: #050505;
    margin-bottom: 1rem;
}

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

/* Success Message */
.success-message {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.success-content {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    margin: 2rem;
}

.success-content i {
    color: #28a745;
    font-size: 4rem;
    margin-bottom: 1rem;
}

.success-content h3 {
    color: #050505;
    margin-bottom: 1rem;
}

.success-content p {
    color: #666;
    margin-bottom: 2rem;
}

.btn-close {
    background: #006D88;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-close:hover {
    background: #004C63;
}

/* Cookie Banner - Apple-style frosted card (bottom-left) */
.cookie-banner {
	position: fixed;
	bottom: 20px;
	left: 20px;
	max-width: 340px;
	width: calc(100% - 40px);
	background: rgba(255, 255, 255, 0.18);
	color: #0a0a0a;
	padding: 14px 14px 12px 14px;
	z-index: 1200;
	border-radius: 16px;
	backdrop-filter: blur(22px) saturate(180%);
	-webkit-backdrop-filter: blur(22px) saturate(180%);
	border: 1px solid rgba(255, 255, 255, 0.28);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	opacity: 0;
	transform: translateY(10px) scale(0.98);
	transition: opacity 0.25s ease, transform 0.25s ease;
	pointer-events: none;
}

.cookie-banner.show {
	opacity: 1;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}

.cookie-content {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
}

.cookie-text h4 {
	margin: 0;
	color: #0a0a0a;
	font-size: 0.95rem;
	font-weight: 700;
}

.cookie-text p {
	margin: 6px 0 0 0;
	font-size: 0.8rem;
	line-height: 1.4;
	color: #1a1a1a;
}

.cookie-actions {
	display: flex;
	gap: 8px;
	justify-content: flex-start;
}

.btn-cookie-accept {
	background: linear-gradient(135deg, #006D88, #005a6f);
	color: #ffffff;
	border: none;
	padding: 8px 14px;
	border-radius: 999px;
	cursor: pointer;
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 0.2px;
	box-shadow: 0 6px 16px rgba(0, 109, 136, 0.35);
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-cookie-accept:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(0, 109, 136, 0.4);
}

.btn-cookie-reject {
	background: rgba(255, 255, 255, 0.6);
	color: #0a0a0a;
	border: 1px solid rgba(0, 0, 0, 0.08);
	padding: 8px 14px;
	border-radius: 999px;
	cursor: pointer;
	font-weight: 600;
	font-size: 0.85rem;
	transition: background 0.15s ease, transform 0.15s ease;
}

.btn-cookie-reject:hover {
	background: rgba(255, 255, 255, 0.8);
	transform: translateY(-1px);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-logo span {
    font-family: 'Comfortaa', cursive;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    color: #006D88;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #006D88;
}

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

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #006D88;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #006D88;
}

.footer-bottom a:hover {
    color: #4ECDC4;
}

/* Additional CSS animations for better UX */
.apartment-card,
.info-card,
.contact-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.apartment-card:nth-child(2) {
    animation-delay: 0.2s;
}

.apartment-card:nth-child(3) {
    animation-delay: 0.4s;
}

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

/* Error state for form fields */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #C8383B;
    box-shadow: 0 0 0 3px rgba(200, 56, 59, 0.1);
}

/* Utility Classes */
.mobile-only {
    display: none;
}

.desktop-nav {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-only {
        display: flex !important;
    }

    .desktop-nav {
        display: none !important;
    }

    .mobile-nav.active {
        display: block !important;
    }

    .hamburger {
        display: flex !important;
    }

    /* Language selector mobile adjustments */
    .language-selector {
        margin-right: 0.5rem;
        order: 2; /* Position after logo but before actions */
    }

    .current-lang {
        padding: 0.4rem 0.6rem;
        font-size: 0.9rem;
        min-width: auto;
    }

    .flag-icon {
        width: 18px;
        height: 13px;
    }

    .language-dropdown {
        min-width: 120px;
        right: 0;
        left: auto;
    }

    .lang-option {
        padding: 0.6rem;
        font-size: 0.9rem;
    }

    /* Header content mobile layout */
    .header-content {
        flex-wrap: wrap;
        gap: 0.5rem;
        align-items: center;
        justify-content: space-between;
    }

    .logo {
        order: 1;
        flex: 1;
        min-width: 0; /* Allow logo to shrink if needed */
    }

    .header-actions {
        order: 3;
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    /* Make sure language selector is always visible and properly positioned */
    .language-selector {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative;
        z-index: 1002; /* Above other header elements */
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .language-selector {
        margin-right: 0.25rem;
    }

    .current-lang {
        padding: 0.35rem 0.5rem;
        font-size: 0.85rem;
        gap: 0.25rem;
    }

    .flag-icon {
        width: 16px;
        height: 11px;
    }

    .language-dropdown {
        min-width: 100px;
    }

    .lang-option {
        padding: 0.5rem;
        font-size: 0.85rem;
    }

    /* Ensure language selector is always visible on mobile */
    .language-selector {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}
    
    .mobile-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .mobile-nav.active {
        display: block !important;
    }
    
    .mobile-nav-list {
        list-style: none;
        padding: 1rem 0;
        margin: 0;
    }
    
    .mobile-nav-list li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .mobile-nav-list a {
        display: block;
        padding: 1rem 1.5rem;
        color: #050505;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .mobile-nav-list a:hover {
        background: rgba(0, 109, 136, 0.1);
        color: #006D88;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .header .container {
        padding: 0 1rem;
    }
    

    
    .hero-logo-only {
        margin-bottom: 1.5rem;
    }
    
    .intro-hero-description p {
        font-size: 1.1rem;
        padding: 1.25rem 1.5rem;
    }
    
    .hero-logo {
        max-width: 280px;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
        padding: 0 1rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 260px;
        min-width: auto;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .carousel-nav {
        padding: 0 0.5rem;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        background: rgba(0, 109, 136, 0.9);
    }
    
    .carousel-indicators {
        bottom: 0.5rem;
        gap: 0.5rem;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
        border-width: 1px;
    }
    
    /* Show mobile sidebar only on mobile */
    .mobile-bottom-sidebar {
        display: block;
    }
    
    /* Switch logos on mobile */
    .desktop-logo {
        display: none;
    }
    
    .mobile-logo {
        display: block;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .apartments-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .location-intro {
        margin-bottom: 2rem;
    }
    
    .location-intro-text {
        font-size: 1rem;
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .dove-siamo-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .map-container {
        order: 2;
    }
    
    .location-info {
        order: 1;
    }
    
    .travel-info {
        margin-top: 2rem;
        padding: 1.5rem;
    }
    
    .travel-title {
        font-size: 1.3rem;
    }
    
    .travel-icons {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .travel-icon {
        flex-direction: row;
        justify-content: flex-start;
        gap: 1rem;
        min-width: auto;
    }
    
    .travel-icon i {
        font-size: 1.5rem;
        margin-bottom: 0;
    }
    
    .apartment-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .apartment-gallery {
        position: static;
    }
    
    .gallery-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .booking-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .social-icons {
        gap: 1rem;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .apartment-title {
        font-size: 2rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .contact-item i {
        align-self: center;
    }
    
    .card-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .card-actions .btn-primary,
    .card-actions .btn-outline {
        width: 100%;
        min-width: auto;
    }
    
    .apartment-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .apartment-actions .btn-primary,
    .apartment-actions .btn-outline {
        width: 100%;
        min-width: auto;
    }
    
    .apartment-actions .btn-tour {
        width: 100%;
        min-width: auto;
    }
    
    /* Cookie Banner Mobile */
    .cookie-banner {
        left: 12px;
        right: 12px;
        width: auto;
        bottom: 12px;
        padding: 12px;
    }
    .cookie-content {
        gap: 8px;
    }
    .cookie-text h4 { font-size: 0.9rem; }
    .cookie-text p { font-size: 0.78rem; }
    .cookie-actions { justify-content: flex-start; }
}

@media (max-width: 480px) {
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .hero-logo-only {
        margin-bottom: 1rem;
    }
    
    .intro-hero-description p {
        font-size: 1rem;
        padding: 1rem 1.25rem;
    }

    .hero-logo {
        max-width: 220px;
        margin-bottom: 0.75rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        font-size: 0.9rem;
        padding: 0.75rem 1.25rem;
        max-width: 240px;
    }
    
    .hero-description {
        font-size: 0.9rem;
        padding: 0.875rem;
        margin-bottom: 1.25rem;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .carousel-indicators {
        bottom: 0.25rem;
    }
    
    .location-intro-text {
        font-size: 0.9rem;
        padding: 1.25rem;
        border-radius: 10px;
    }
    
    .travel-info {
        padding: 1.25rem;
        margin-top: 1.5rem;
    }
    
    .travel-title {
        font-size: 1.2rem;
    }
    
    .travel-content p {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .apartment-title {
        font-size: 1.6rem;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .booking-form-container {
        padding: 1.5rem;
    }
    
    .gallery-thumbnails {
        gap: 0.25rem;
    }
    
    .thumbnail {
        height: 60px;
    }
}

/* Smooth Animations */
@media (prefers-reduced-motion: no-preference) {
    .apartment-card,
    .info-card,
    .contact-item,
    .amenity-item {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .btn-primary,
    .btn-prenota,
    .btn-outline,
    .btn-cta {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

/* Focus States for Accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #006D88;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .btn-prenota,
    .btn-primary,
    .btn-outline,
    .btn-cta,
    .btn-submit {
        display: none;
    }
    
    .hero {
        background: none;
        color: #050505;
    }
    
    .page-header {
        background: none;
        color: #050505;
    }
}

/* Services Page Styles */
.services-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landscape-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 600px;
    margin: 0 1rem;
}

.hero-content h1 {
    font-family: 'Comfortaa', cursive;
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Service Sections */
.service-section {
    padding: 4rem 0;
    margin: 2rem 0;
}

.service-section:nth-child(even) {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.service-content.reverse {
    direction: rtl;
}

.service-content.reverse > * {
    direction: ltr;
}

.service-text h2 {
    font-family: 'Comfortaa', cursive;
    font-size: 2.2rem;
    color: #006D88;
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
}

.service-description p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    margin: 0 0 1rem 0;
}

.service-details h3 {
    font-family: 'Comfortaa', cursive;
    font-size: 1.5rem;
    color: #006D88;
    margin: 2rem 0 1rem 0;
}

.service-details p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin: 0 0 1rem 0;
}

.service-features h3 {
    font-family: 'Comfortaa', cursive;
    font-size: 1.3rem;
    color: #006D88;
    margin: 2rem 0 1rem 0;
}

.service-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #333;
    margin: 0.8rem 0;
    padding: 0.5rem 0;
}

.service-features i {
    color: #006D88;
    margin-right: 1rem;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

/* Service Images */
.service-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
}

/* Gallery Navigation Styles */
.gallery-main {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 109, 136, 0.9);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-nav:hover {
    background: rgba(0, 109, 136, 1);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
    left: 10px;
}

.gallery-nav.next {
    right: 10px;
}

.gallery-nav i {
    color: white;
}

/* Thumbnail Active State */
.gallery-thumbnails .thumbnail.active {
    border: 3px solid #006D88;
    transform: scale(1.05);
}

.gallery-thumbnails .thumbnail {
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-thumbnails .thumbnail:hover {
    transform: scale(1.05);
    border-color: #FF6B35;
}

.shiatsu-image {
    width: 300px;
    height: 250px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 109, 136, 0.3);
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shiatsu-image:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 109, 136, 0.4);
}

.shiatsu-logo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #006D88 0%, #005a6f 100%);
    border-radius: 50%;
    color: white;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 109, 136, 0.3);
}

.shiatsu-logo-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.shiatsu-logo-placeholder span {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
}

.bar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #006D88 0%, #C8383B 100%);
    border-radius: 50%;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 109, 136, 0.3);
}

.bar-icon i {
    font-size: 4rem;
}

/* Fitness Area Styles */
.fitness-service {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.fitness-image {
    width: 300px;
    height: 250px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fitness-image:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Wave Section */
.wave-section {
    position: relative;
    background: linear-gradient(135deg, #006D88 0%, #005a6f 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
    margin: 2rem 0 0 0;
    overflow: hidden;
}

/* Wave Section after Apartments */
.wave-section-apartments {
    position: relative;
    background: linear-gradient(135deg, #006D88 0%, #005a6f 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
    margin: 2rem 0;
    overflow: hidden;
}

/* Wave Section before Footer */
.wave-section-footer {
    position: relative;
    background: linear-gradient(135deg, #006D88 0%, #005a6f 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
    margin: 2rem 0;
    overflow: hidden;
}

/* Wave Section in Contacts */
.wave-section-contacts {
    position: relative;
    background: linear-gradient(135deg, #006D88 0%, #005a6f 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
    margin: 2rem 0;
    overflow: hidden;
}

.wave-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 1;
    opacity: 0.8;
}

.wave-content,
.wave-content-apartments,
.wave-content-footer,
.wave-content-contacts {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.wave-content h2,
.wave-content-apartments h2,
.wave-content-footer h2,
.wave-content-contacts h2 {
    font-family: 'Comfortaa', cursive;
    font-size: 2.5rem;
    margin: 0 0 1rem 0;
    color: white;
}

.wave-content p,
.wave-content-apartments p,
.wave-content-footer p,
.wave-content-contacts p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    margin: 0 0 2rem 0;
    opacity: 0.9;
}

.wave-actions,
.wave-actions-apartments,
.wave-actions-footer,
.wave-actions-contacts {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #006D88;
    color: white;
}

.btn-primary:hover {
    background: #005a6f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 109, 136, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #006D88;
    transform: translateY(-2px);
}

/* WhatsApp Button */
.btn-whatsapp {
    background: #25D366;
    color: #ffffff;
    border-color: #25D366;
}

.btn-whatsapp:hover {
    background: #1ebe5a;
    border-color: #1ebe5a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.35);
}

/* Contact Section Styles */
.contact-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-info h2 {
    font-family: 'Comfortaa', cursive;
    font-size: 2.5rem;
    color: #006D88;
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-option {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.contact-option-icon {
    background: linear-gradient(135deg, #006D88 0%, #005a6f 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-option-icon i {
    font-size: 1.5rem;
}

.contact-option-content h3 {
    font-family: 'Comfortaa', cursive;
    font-size: 1.5rem;
    color: #006D88;
    margin-bottom: 1rem;
}

.contact-option-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-option-content .btn-primary,
.contact-option-content .btn-secondary,
.contact-option-content .btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

/* Make the Email button readable inside white cards */
.contact-option-content .btn-secondary {
    background: transparent;
    color: #006D88;
    border: 2px solid #006D88;
}

.contact-option-content .btn-secondary:hover {
    background: #006D88;
    color: #ffffff;
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.contact-details {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-details h3 {
    font-family: 'Comfortaa', cursive;
    font-size: 1.8rem;
    color: #006D88;
    text-align: center;
    margin-bottom: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.contact-item i {
    color: #006D88;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.contact-item strong {
    color: #050505;
    font-weight: 600;
    margin-bottom: 0.25rem;
    display: block;
}

.contact-item p {
    color: #666;
    margin: 0;
}

/* Responsive Design for Services */
@media (max-width: 768px) {
    .services-hero {
        height: 50vh;
        min-height: 300px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .service-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .service-content.reverse {
        direction: ltr;
    }
    
    .service-text h2 {
        font-size: 1.8rem;
    }
    
    .service-image {
        height: 200px;
        order: -1;
    }
    
    .shiatsu-logo-placeholder,
    .bar-icon,
    .shiatsu-image {
        width: 150px;
        height: auto;
    }
    
    .fitness-image {
        width: 200px;
        height: 150px;
    }
    
    .shiatsu-logo-placeholder i,
    .bar-icon i {
        font-size: 3rem;
    }
    
    .wave-content h2,
    .wave-content-apartments h2,
    .wave-content-footer h2,
    .wave-content-contacts h2 {
        font-size: 2rem;
    }
    
    .wave-actions,
    .wave-actions-apartments,
    .wave-actions-footer,
    .wave-actions-contacts {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
    
    /* Contact Section Responsive */
    .contact-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-option {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .contact-option-icon {
        margin: 0 auto;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-info h2 {
        font-size: 2rem;
    }
    
    .contact-details h3 {
        font-size: 1.5rem;
    }

    /* Full-width buttons on mobile within contact card */
    .contact-option-content .btn-primary,
    .contact-option-content .btn-secondary,
    .contact-option-content .btn-whatsapp {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .services-hero {
        height: 40vh;
        min-height: 250px;
    }
    
    .hero-content {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .service-section {
        padding: 2rem 0;
    }
    
    .service-text h2 {
        font-size: 1.5rem;
    }
    
    .service-description p {
        font-size: 1rem;
    }
    
    .wave-content h2,
    .wave-content-apartments h2,
    .wave-content-footer h2,
    .wave-content-contacts h2 {
        font-size: 1.6rem;
    }
    
    .wave-content p,
    .wave-content-apartments p,
    .wave-content-footer p,
    .wave-content-contacts p {
        font-size: 1rem;
    }
    
    /* Contact Section Small Mobile */
    .contact-info h2 {
        font-size: 1.8rem;
    }
    
    .contact-info p {
        font-size: 1rem;
    }
    
    .contact-option {
        padding: 1rem;
    }
    
    .contact-option-content h3 {
        font-size: 1.3rem;
    }
    
    .contact-option-content p {
        font-size: 0.9rem;
    }
    
    .contact-details {
        padding: 1.5rem;
    }
    
    .contact-details h3 {
        font-size: 1.3rem;
    }
    
    .fitness-image,
    .shiatsu-image {
        width: 180px;
        height: 140px;
    }
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 1100;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.floating-whatsapp i {
    font-size: 1.6rem;
}

.floating-whatsapp:hover {
    transform: translateY(-3px);
    background: #1ebe5a;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 80px; /* evita sovrapposizioni con eventuali elementi fissi */
        right: 16px;
        width: 52px;
        height: 52px;
    }
    .floating-whatsapp i {
        font-size: 1.4rem;
    }
}

/* Regolamento Page Styles */
.regolamento-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.regolamento-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #006D88;
}

.regolamento-section h2 {
    font-family: 'Comfortaa', cursive;
    font-size: 1.8rem;
    color: #006D88;
    margin: 0 0 1.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #EAA13A;
}

.regolamento-section h3 {
    font-family: 'Comfortaa', cursive;
    font-size: 1.3rem;
    color: #EAA13A;
    margin: 1.5rem 0 1rem 0;
}

.regolamento-section p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    margin: 0 0 1rem 0;
}

.regolamento-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.regolamento-section li {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin: 0.5rem 0;
}

/* Shiatsu Section in Home */
.shiatsu-preview {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    margin: 2rem 0;
    text-align: center;
}

.shiatsu-preview-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.shiatsu-preview h2 {
    font-family: 'Comfortaa', cursive;
    font-size: 2.5rem;
    color: #006D88;
    margin: 0 0 1rem 0;
}

.shiatsu-preview p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: #555;
    margin: 0 0 2rem 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.shiatsu-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.shiatsu-preview-text {
    text-align: left;
}

.shiatsu-preview-text h3 {
    font-family: 'Comfortaa', cursive;
    font-size: 1.8rem;
    color: #006D88;
    margin: 0 0 1rem 0;
}

.shiatsu-preview-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin: 0 0 1rem 0;
    text-align: left;
}

.shiatsu-preview-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.shiatsu-preview-image img,
.shiatsu-preview-image .shiatsu-logo {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.shiatsu-preview-actions {
    margin-top: 2rem;
}

.btn-shiatsu {
    display: inline-block;
    background: #006D88;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
}

.btn-shiatsu:hover {
    background: #005a6f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 109, 136, 0.4);
}

.btn-shiatsu.secondary {
    background: transparent;
    color: #006D88;
    border: 2px solid #006D88;
}

.btn-shiatsu.secondary:hover {
    background: #006D88;
    color: white;
}

/* Responsive Design for Regolamento and Shiatsu Preview */
@media (max-width: 768px) {
    .regolamento-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .regolamento-section h2 {
        font-size: 1.5rem;
    }
    
    .regolamento-section h3 {
        font-size: 1.2rem;
    }
    
    .shiatsu-preview h2 {
        font-size: 2rem;
    }
    
    .shiatsu-preview p {
        font-size: 1.1rem;
    }
    
    .shiatsu-preview-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .shiatsu-preview-text {
        text-align: center;
    }
    
    .shiatsu-preview-text p {
        text-align: center;
    }
    
    .shiatsu-preview-actions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn-shiatsu {
        width: 100%;
        max-width: 250px;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .regolamento-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .regolamento-section h2 {
        font-size: 1.3rem;
    }
    
    .shiatsu-preview {
        padding: 2rem 0;
    }
    
    .shiatsu-preview h2 {
        font-size: 1.6rem;
    }
    
    .shiatsu-preview p {
        font-size: 1rem;
    }
}

/* Regolamento Preview Section */
.regolamento-preview {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    margin: 2rem 0;
    text-align: center;
}

.regolamento-preview-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.regolamento-preview h2 {
    font-family: 'Comfortaa', cursive;
    font-size: 2.5rem;
    color: #006D88;
    margin: 0 0 1.5rem 0;
}

.regolamento-preview p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: #555;
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

.btn-regolamento {
    display: inline-block;
    background: #006D88;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-regolamento:hover {
    background: #005a6f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 109, 136, 0.4);
}

/* Remove orange colors from CTAs */
.btn-primary, .btn-cta, .btn-hero-primary {
    background: #006D88 !important;
    color: white !important;
}

.btn-primary:hover, .btn-cta:hover, .btn-hero-primary:hover {
    background: #005a6f !important;
}

.btn-outline, .btn-hero-secondary {
    background: transparent !important;
    color: #006D88 !important;
    border: 2px solid #006D88 !important;
}

.btn-outline:hover, .btn-hero-secondary:hover {
    background: #006D88 !important;
    color: white !important;
}

/* Update service features icons color */
.service-features i {
    color: #006D88 !important;
}

/* Update service details headings color */
.service-details h3 {
    color: #006D88 !important;
}

/* Update shiatsu preview text heading color */
.shiatsu-preview-text h3 {
    color: #006D88 !important;
}

/* Responsive Design for Regolamento Preview */
@media (max-width: 768px) {
    .regolamento-preview h2 {
        font-size: 2rem;
    }
    
    .regolamento-preview p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .regolamento-preview {
        padding: 2rem 0;
    }
    
    .regolamento-preview h2 {
        font-size: 1.6rem;
    }
    
    .regolamento-preview p {
        font-size: 1rem;
    }
}

/* ============================================
   Modal Tour Virtuale Styles
   ============================================ */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e9ecef;
    background: linear-gradient(135deg, #006D88, #004C63);
    color: white;
    border-radius: 15px 15px 0 0;
}

.modal-header h3 {
    margin: 0;
    font-family: 'Comfortaa', cursive;
    font-size: 1.5rem;
}

.close {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.close:hover {
    color: #FF6B35;
    transform: scale(1.1);
}

.modal-body {
    padding: 2rem;
    text-align: center;
}

.loading-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #666;
}

.loading-message i {
    font-size: 2rem;
    color: #006D88;
}

.loading-message p {
    font-size: 1.1rem;
    margin: 0;
}

#tourVideo {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Video controls styling */
#tourVideo::-webkit-media-controls-panel {
    background: rgba(0, 0, 0, 0.7);
}

#tourVideo::-webkit-media-controls-current-time-display,
#tourVideo::-webkit-media-controls-time-remaining-display {
    color: white;
}

/* Loading message improvements */
.loading-message {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.loading-message i {
    font-size: 3rem;
    color: #006D88;
    margin-bottom: 20px;
    display: block;
}

.loading-message p {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.btn-retry {
    background: linear-gradient(135deg, #006D88 0%, #004C63 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 109, 136, 0.3);
}

.btn-retry:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 109, 136, 0.4);
}

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

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-header h3 {
        font-size: 1.3rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .loading-message p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 98%;
        margin: 15% auto;
    }
    
    .modal-header {
        padding: 0.8rem 1rem;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
}
