/* ===========================================
   EF ZIN VILLA - LUXURY STYLE
   Inspired by StayPay.gr Design
   =========================================== */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Quattrocento:wght@400;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* Root Variables */
:root {
    --primary: #006d77;
    --primary-light: #83c5be;
    --primary-dark: #004d54;
    --gold: #C8B59B;
    --gold-light: #d4c4a8;
    --gold-dark: #a89775;
    --dark: #1A293E;
    --dark-light: #2a3d5a;
    --text: #333;
    --text-light: #666;
    --white: #ffffff;
    --off-white: #F8F8F8;
    --section-padding: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: 'Quattrocento', serif;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   HEADER - Luxury Navigation
   ============================================ */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 41, 62, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.3s ease;
}

#main-header.scrolled {
    background: var(--dark);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

#main-header .container-fluid {
    max-width: 100%;
    padding: 0 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.logo h1 {
    font-family: 'Quattrocento', serif;
    font-size: 1.8rem;
    color: var(--white);
    margin: 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li a.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 10px 18px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu li a.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu li a.nav-link:hover,
.nav-menu li a.nav-link.active {
    color: var(--white);
}

.nav-menu li a.nav-link:hover::after,
.nav-menu li a.nav-link.active::after {
    width: 60%;
}

/* Book Now Button */
.nav-menu li a.btn-book {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--dark) !important;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(200, 181, 155, 0.3);
}

.nav-menu li a.btn-book::after {
    display: none;
}

.nav-menu li a.btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(200, 181, 155, 0.5);
}

/* Mobile Navigation */
.hamburger-menu {
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
}

.mobile-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 20px;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 999;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav ul li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav ul li a {
    display: block;
    padding: 15px 0;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav ul li a:hover {
    color: var(--gold);
    padding-left: 10px;
}

/* ============================================
   HERO SECTION - Full Width Luxury
   ============================================ */
#slideshow {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

#slideshow-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#slideshow .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 41, 62, 0.45) 0%, rgba(0, 109, 119, 0.35) 100%);
    z-index: 1;
}

/* Decorative Frame */
#slideshow::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 40px;
    right: 40px;
    bottom: 40px;
    border: 2px solid var(--gold);
    z-index: 2;
    pointer-events: none;
    opacity: 0.5;
}

.slideshow-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    width: 90%;
    max-width: 900px;
    padding: 0 20px;
}

.slideshow-caption h2 {
    font-family: 'Quattrocento', serif;
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.slideshow-caption p {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    font-weight: 300;
}

.slideshow-caption .btn {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--dark);
    border: none;
    padding: 18px 45px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 25px rgba(200, 181, 155, 0.4);
}

.slideshow-caption .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(200, 181, 155, 0.6);
}

/* ============================================
   SECTIONS - Full Width Luxury Style
   ============================================ */
section {
    padding: var(--section-padding) 0;
    width: 100%;
}

.section-title {
    font-family: 'Quattrocento', serif;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.section-title.text-center::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    margin: 20px auto 0;
}

/* Welcome Section */
.welcome-section {
    background: var(--white);
    position: relative;
}

.welcome-section .container {
    max-width: 1400px;
}

.welcome-section .lead {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.welcome-section p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.9;
}

.welcome-section img {
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    position: relative;
}

/* Image with Gold Frame */
.welcome-section .col-lg-6:last-child {
    position: relative;
}

.welcome-section .col-lg-6:last-child::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--gold);
    border-radius: 8px;
    z-index: -1;
    opacity: 0.6;
}

/* Featured Section */
.featured-section {
    background: var(--off-white);
    position: relative;
}

.featured-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--gold), var(--primary));
}

.feature-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

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

.feature-card h3 {
    font-family: 'Quattrocento', serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Gallery Preview */
.gallery-preview {
    background: var(--dark);
    padding: var(--section-padding) 0;
}

.gallery-preview .section-title {
    color: var(--white);
}

.gallery-preview .section-title .gradient-text {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gallery-preview .section-title::after {
    background: linear-gradient(90deg, var(--gold), var(--primary));
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 350px;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(26, 41, 62, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: all 0.4s ease;
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: var(--white);
    font-family: 'Quattrocento', serif;
    margin-bottom: 15px;
}

.gallery-overlay .btn {
    background: var(--gold);
    color: var(--dark);
    border: none;
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 25px;
    width: fit-content;
}

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

.location-section .container {
    max-width: 1400px;
}

.map-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.map-container::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--gold);
    border-radius: 8px;
    z-index: -1;
    opacity: 0.6;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(180deg, transparent, rgba(26, 41, 62, 0.9));
}

.location-features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.location-features li {
    padding: 12px 0;
    font-size: 1.1rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 15px;
}

.location-features li i {
    color: var(--gold);
    font-size: 1.2rem;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
    position: relative;
}

.testimonials-section::before {
    content: '"';
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Quattrocento', serif;
    font-size: 15rem;
    color: var(--gold);
    opacity: 0.1;
    line-height: 1;
}

.testimonial-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
    position: relative;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    border-radius: 2px;
}

.testimonial-rating {
    margin-bottom: 25px;
}

.testimonial-rating i {
    color: var(--gold);
    font-size: 1.3rem;
    margin: 0 3px;
}

.testimonial-text {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.9;
    margin-bottom: 30px;
}

.testimonial-author h5 {
    font-family: 'Quattrocento', serif;
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 5px;
}

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

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--dark);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--primary);
    opacity: 1;
}

.carousel-control-prev {
    left: -80px;
}

.carousel-control-next {
    right: -80px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;
    bottom: 30px;
    border: 2px solid var(--gold);
    opacity: 0.3;
    pointer-events: none;
}

.cta-section .section-title {
    color: var(--white);
}

.cta-section .lead {
    color: rgba(255,255,255,0.85);
    font-size: 1.2rem;
}

.cta-section .btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--dark);
    border: none;
    padding: 18px 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(200, 181, 155, 0.5);
}

.cta-section a {
    color: var(--gold);
}

.cta-section p {
    color: rgba(255,255,255,0.7);
}

/* ============================================
   FOOTER - Luxury Style
   ============================================ */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 80px 0 40px;
}

.footer h4 {
    font-family: 'Quattrocento', serif;
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gold);
}

.footer p {
    line-height: 1.8;
    color: rgba(255,255,255,0.7);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links li a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-3px);
}

.footer hr {
    border-color: rgba(255,255,255,0.1);
}

.footer .current-year {
    color: var(--gold);
}

/* Social Media Section */
#social-media {
    background: var(--dark);
    border-top: 1px solid rgba(255,255,255,0.1);
}

#social-media .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    margin: 0 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

#social-media .social-links a:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-3px);
}

/* ============================================
   BUTTONS - Luxury Style
   ============================================ */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    padding: 14px 35px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 109, 119, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* ============================================
   COOKIES & BACK TO TOP
   ============================================ */
.cookies-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
}

.cookies-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.cookies-content p {
    color: rgba(255,255,255,0.8);
    margin: 0;
}

.cookies-content a {
    color: var(--gold);
}

.btn-accept {
    background: var(--gold);
    color: var(--dark);
    border: none;
    padding: 10px 30px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept:hover {
    background: var(--gold-light);
}

#backToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--dark);
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(200, 181, 155, 0.4);
}

#backToTopBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(200, 181, 155, 0.6);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .carousel-control-prev { left: 10px; }
    .carousel-control-next { right: 10px; }
}

@media (max-width: 992px) {
    :root {
        --section-padding: 60px;
    }

    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }

    .slideshow-caption h2 {
        font-size: 2.8rem;
    }

    #slideshow::before {
        top: 20px;
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .welcome-section .col-lg-6:last-child::before,
    .map-container::before {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 50px;
    }

    h1 { font-size: 2.2rem; }
    h2, .section-title { font-size: 1.8rem; }

    #main-header .container-fluid {
        padding: 0 15px;
    }

    .logo h1 {
        font-size: 1.4rem;
    }

    #slideshow {
        height: 100vh;
        min-height: 600px;
    }

    .slideshow-caption h2 {
        font-size: 2rem;
    }

    .slideshow-caption p {
        font-size: 1rem;
    }

    .slideshow-caption .btn {
        padding: 14px 30px;
        font-size: 0.9rem;
    }

    #slideshow::before {
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        border-width: 1px;
    }

    .feature-card {
        padding: 35px 25px;
    }

    .gallery-item {
        height: 280px;
    }

    .testimonial-card {
        padding: 35px 25px;
    }

    .testimonial-text {
        font-size: 1.1rem;
    }

    .cta-section::before {
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
    }

    .footer {
        padding: 50px 0 30px;
    }

    .cookies-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 40px;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .slideshow-caption h2 {
        font-size: 1.6rem;
    }

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

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

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

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

/* Hide original bootstrap bg-light override */
/* Hero sections with bg-light should be dark with white text */
.bg-light {
    background-color: var(--dark) !important;
    color: var(--white) !important;
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   FULL WIDTH DESKTOP OVERRIDE
   ============================================ */
@media (min-width: 992px) {
    /* Make all containers full width */
    .container {
        max-width: 100% !important;
        padding-left: 60px;
        padding-right: 60px;
    }

    /* Welcome section full width */
    .welcome-section .container {
        max-width: 100% !important;
    }

    .welcome-section .row {
        align-items: center;
    }

    .welcome-section .col-lg-6 {
        padding: 0 40px;
    }

    /* Featured section full width */
    .featured-section .container {
        max-width: 100% !important;
    }

    .featured-section .row {
        padding: 0 20px;
    }

    /* Gallery full width */
    .gallery-preview .container {
        max-width: 100% !important;
    }

    .gallery-preview .row {
        padding: 0 20px;
    }

    .gallery-item {
        height: 400px;
    }

    /* Location section full width */
    .location-section .container {
        max-width: 100% !important;
    }

    .location-section .col-lg-6 {
        padding: 0 40px;
    }

    /* Testimonials full width */
    .testimonials-section .container {
        max-width: 100% !important;
    }

    /* CTA section full width */
    .cta-section .container {
        max-width: 100% !important;
    }

    /* Footer full width */
    .footer .container {
        max-width: 100% !important;
    }

    /* Header full width */
    #main-header .container-fluid {
        padding: 0 60px;
    }
}

@media (min-width: 1400px) {
    .container {
        padding-left: 80px;
        padding-right: 80px;
    }

    #main-header .container-fluid {
        padding: 0 80px;
    }

    .gallery-item {
        height: 450px;
    }
}

@media (min-width: 1600px) {
    .container {
        padding-left: 100px;
        padding-right: 100px;
    }

    #main-header .container-fluid {
        padding: 0 100px;
    }
}

/* ============================================
   TEXT CONTRAST FIX - Dark Backgrounds
   ============================================ */

/* Hero sections with dark backgrounds */
.hero-section,
.page-header,
.about-hero,
.interior-hero,
.exterior-hero,
.amenities-hero,
.contact-hero,
[class*="hero"] {
    color: var(--white) !important;
}

.hero-section p,
.page-header p,
.about-hero p,
.interior-hero p,
.exterior-hero p,
.amenities-hero p,
.contact-hero p,
[class*="hero"] p,
[class*="hero"] .lead {
    color: rgba(255, 255, 255, 0.9) !important;
}

.hero-section h1,
.hero-section h2,
.page-header h1,
.page-header h2,
[class*="hero"] h1,
[class*="hero"] h2 {
    color: var(--white) !important;
}

/* Dark section text fix */
section[style*="background"] p,
.bg-dark p,
.dark-bg p {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Page headers with dark overlays */
.page-header .overlay + * p,
.hero-content p,
.hero-text p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Specific fix for pages with dark hero sections */
.page-wrapper > section:first-of-type p {
    color: rgba(255, 255, 255, 0.9);
}

/* Lead text on dark backgrounds */
.lead {
    font-size: 1.15rem;
    line-height: 1.8;
}

section.bg-dark .lead,
[class*="hero"] .lead,
.page-header .lead {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Ensure all text in dark navy sections is readable */
[style*="#1A293E"] p,
[style*="#1a293e"] p,
[style*="rgb(26, 41, 62)"] p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* ============================================
   BG-LIGHT SECTIONS - White Text Fix
   ============================================ */
.bg-light p,
.bg-light .lead,
.bg-light li {
    color: rgba(255, 255, 255, 0.9) !important;
}

.bg-light h1,
.bg-light h2,
.bg-light h3,
.bg-light h4,
.bg-light .section-title {
    color: var(--white) !important;
}

.bg-light .gradient-text {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About hero specific */
.about-hero p,
.about-hero .lead {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Interior hero */
.interior-hero p,
.interior-hero .lead {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Exterior hero */
.exterior-hero p,
.exterior-hero .lead {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Amenities hero */
.amenities-hero p,
.amenities-hero .lead {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Contact hero */
.contact-hero p,
.contact-hero .lead {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* ============================================
   TESTIMONIALS - Text Visibility Fix
   ============================================ */
.testimonials-section .testimonial-card {
    background: var(--white) !important;
    color: var(--text) !important;
}

.testimonials-section .testimonial-text {
    color: var(--text) !important;
    font-size: 1.2rem;
}

.testimonials-section .testimonial-author h5 {
    color: var(--dark) !important;
}

.testimonials-section .testimonial-author p {
    color: var(--text-light) !important;
}

.testimonials-section .testimonial-rating i {
    color: var(--gold) !important;
}

/* ============================================
   TESTIMONIALS SECTION - Title Fix
   ============================================ */
.testimonials-section .section-title {
    color: var(--dark) !important;
}

.testimonials-section .section-title .gradient-text {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   CARDS - Text Visibility Fix (All Pages)
   ============================================ */
.card,
.room-card,
.feature-card,
.gallery-card,
.info-card,
[class*="card"] {
    background: var(--white) !important;
}

.card h3,
.card h4,
.card h5,
.card-title,
.room-card h3,
.room-card h4,
[class*="card"] h3,
[class*="card"] h4,
[class*="card"] h5 {
    color: var(--dark) !important;
}

.card p,
.card-text,
.card-body p,
.room-card p,
[class*="card"] p,
[class*="card"] .card-text {
    color: var(--text) !important;
}

.card .text-muted,
[class*="card"] .text-muted {
    color: var(--text-light) !important;
}

/* Room/Interior cards specific */
.room-info h3,
.room-info h4,
.room-info p,
.room-details p {
    color: var(--dark) !important;
}

/* ============================================
   FEATURE CARDS - Force Dark Text
   ============================================ */
.feature-card {
    background: var(--white) !important;
    color: var(--text) !important;
}

.feature-card h3 {
    color: var(--dark) !important;
}

.feature-card p {
    color: #555 !important;
}
