/*
* The World Apartment - Florence
* Main Stylesheet
*/

/* ========== VARIABLES ========== */
:root {
    /* Colors */
    --primary-color: #9e7e5f;   /* Terracotta / Tuscan brown */
    --secondary-color: #5c7c54; /* Olive green */
    --accent-color: #d8a153;    /* Tuscan gold */
    --light-color: #f5f3ed;     /* Off-white/cream */
    --dark-color: #3c3c3c;      /* Charcoal */
    --text-color: #333333;      /* Dark gray for text */
    --header-bg: rgba(255, 255, 255, 0.95);
    --footer-bg: #2b2b2b;
    --shadow: rgba(0, 0, 0, 0.1);

    /* Typography */
    --heading-font: 'Cormorant Garamond', serif;
    --body-font: 'Montserrat', sans-serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 15px;
}

/* ========== BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

section {
    padding: var(--section-padding);
}

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

.section-title {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    font-weight: 600;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* ========== NAVIGATION ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--header-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
}

.logo {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
}

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

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-color);
    position: relative;
}

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

.nav-link:hover::after {
    width: 100%;
}

.book-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
}

.book-btn:hover {
    background-color: var(--secondary-color);
}

.language-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    padding: 4px;
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    margin-left: 20px;
}

.flag-container {
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.flag-container.active {
    background: var(--primary-color);
    transform: scale(1.1);
}

.flag {
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: block;
}

.flag-container:hover .flag {
    transform: scale(1.2) rotate(5deg);
}

.flag-container.active .flag {
    filter: brightness(1.2);
    transform: scale(1.1);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: 0.4s;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ========== HERO SECTION ========== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-color: #8B7355;
}

.slide.active {
    opacity: 1;
}

/* Apartment Images for Slideshow */
.apartment-bedroom {
    background-image: url('../images/(2048) FDP - The World Apartment - v.2 - 05.jpg');
}

.apartment-bedroom-alt {
    background-image: url('../images/(2048) FDP - The World Apartment - v.2 - 06.jpg');
}

.apartment-bathroom {
    background-image: url('../images/(2048) FDP - The World Apartment - v.2 - 11.jpg');
}

.apartment-living {
    background-image: url('../images/(2048) FDP - The World Apartment - v.2 - 08.jpg');
}

.apartment-entry {
    background-image: url('../images/(2048) FDP - The World Apartment - v.2 - 03.jpg');
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    z-index: 2;
}

.hero-content {
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 3;
}

.hero h1 {
    font-family: var(--heading-font);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 15px;
    animation: fadeInDown 1s ease;
}

.hero .subtitle {
    font-family: var(--body-font);
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
    letter-spacing: 1px;
}

.hero-testimonial {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px 25px;
    margin: 25px 0;
    animation: fadeInUp 1s ease 0.5s forwards;
    opacity: 0;
}

.hero-testimonial p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 8px;
    color: white;
    font-weight: 300;
}

.hero-testimonial span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.hero .btn {
    animation: fadeInUp 1s ease 0.8s forwards;
    opacity: 0;
}

/* ========== APARTMENT SPECS SECTION ========== */
.apartment-specs {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 45px 0;
    border-bottom: 1px solid #e0e0e0;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 500px) {
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

.spec-item {
    background: white;
    padding: 20px 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid var(--primary-color);
}

.spec-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.spec-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.1rem;
}

.spec-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.spec-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 4px;
    font-family: var(--heading-font);
}

.spec-label {
    font-size: 0.75rem;
    color: var(--text-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.35px;
}

/* ========== ABOUT SECTION ========== */
.about {
    background-color: white;
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 25px;
    transition: transform 0.3s ease;
}

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

.feature i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature span {
    font-weight: 500;
}

/* ========== GALLERY SECTION ========== */
.gallery {
    background-color: var(--light-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 800px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow);
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.gallery-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

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

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

.gallery-overlay span {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.lightbox-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1051;
}

#lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 18px;
    padding: 10px 0;
}

.prev, .next {
    position: absolute;
    top: 50%;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    cursor: pointer;
    transition: 0.6s ease;
    user-select: none;
    -webkit-user-select: none;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 20px 0;
    text-align: center;
}

.cta-content h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: var(--primary-font);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.btn-large {
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* ========== AMENITIES SECTION ========== */
.amenities {
    background-color: white;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-items: stretch;
}

@media (max-width: 900px) {
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .amenities-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

.amenity-item {
    background-color: var(--light-color);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s ease;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.amenity-item:hover {
    transform: translateY(-10px);
}

.amenity-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.amenity-item h3 {
    font-family: var(--heading-font);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.amenity-item p {
    color: var(--text-color);
    font-size: 0.9rem;
}

/* ========== REVIEWS SECTION ========== */
.reviews {
    background-color: var(--light-color);
}

.reviews-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0 3rem 0;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-item {
    text-align: center;
}

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

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.reviews-carousel {
    position: relative;
    max-width: 100%;
    margin: 3rem 0;
}

.carousel-container {
    overflow: hidden;
    border-radius: 20px;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.review-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    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;
    box-shadow: 0 4px 15px rgba(158, 126, 95, 0.3);
}

.carousel-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(158, 126, 95, 0.4);
}

.carousel-btn:active {
    transform: translateY(0) scale(0.95);
}

.carousel-indicators {
    display: flex;
    gap: 0.5rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(158, 126, 95, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
    border-color: var(--accent-color);
}

.indicator:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.review-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    border: 3px solid #d4af37;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.02), rgba(212, 175, 55, 0.05));
    pointer-events: none;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.15);
    border-color: #b8941f;
}

.review-header {
    margin-bottom: 25px;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.review-stars {
    color: #d4af37;
    font-size: 1.3rem;
    letter-spacing: 2px;
}

.review-score {
    font-weight: 700;
    color: #d4af37;
    font-size: 1.2rem;
    margin-left: 10px;
}

.review-text {
    font-style: italic;
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c2c2c;
    position: relative;
    z-index: 1;
}

.review-text::before {
    content: '"';
    font-size: 4rem;
    color: #d4af37;
    position: absolute;
    top: -15px;
    left: -10px;
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.review-footer {
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: relative;
    z-index: 1;
}

.review-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.review-author strong {
    color: #8b4513;
    font-weight: 600;
    font-size: 1.1rem;
}

.review-location {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.review-date {
    color: #888;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 8px;
}

.reviews-cta {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

.reviews-cta p {
    font-size: 1.1rem;
    color: #495057;
    margin-bottom: 20px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .reviews-stats {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .language-toggle {
        margin-left: 10px;
        margin-top: 10px;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu li:last-child {
        margin-top: 1rem;
    }
    
    .review-slide {
        padding: 0 10px;
    }
    
    .carousel-controls {
        gap: 1rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .review-card {
        padding: 25px;
        margin: 0 auto;
        max-width: 90%;
    }
}

/* ========== LOCATION SECTION ========== */
.location {
    background-color: white;
}

.location-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.map-container {
    flex: 1 1 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
}

.contact-info {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    min-width: 25px;
    text-align: center;
}

.contact-item p {
    line-height: 1.6;
}

.directions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.directions h3 {
    font-family: var(--heading-font);
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--primary-color);
}

.transport-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.transport-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.transport-list li:last-child {
    border-bottom: none;
}

.transport-list i {
    color: var(--primary-color);
    width: 20px;
    margin-right: 15px;
    font-size: 1.1rem;
}

.transport-list span {
    line-height: 1.5;
    color: #555;
}

/* ========== AVAILABILITY SECTION ========== */
.availability {
    background: var(--light-bg);
    padding: 80px 0;
}

.availability-benefits {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.availability-benefits .benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-color);
}

.availability-benefits .benefit i {
    color: #28a745;
    font-size: 1rem;
}

.availability-content {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    align-items: flex-start;
    justify-content: center;
}

/* Date Picker Interface Styles */
.date-picker-interface {
    max-width: 600px;
    width: 100%;
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.date-select-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    color: var(--text-color);
    position: relative;
    min-height: 60px;
}

.date-select-btn:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.date-select-btn i {
    color: var(--primary-color);
    font-size: 1.2rem;
    opacity: 0.7;
}

.date-select-btn.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.date-select-btn.selected span {
    font-weight: 600;
    color: var(--primary-color);
}

.date-select-btn.selected i {
    opacity: 1;
}

/* Style for when a date is actually selected */
.date-select-btn.has-date {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
}

.date-select-btn.has-date span {
    font-weight: 600;
    color: var(--primary-color);
}

.date-select-btn.has-date i {
    opacity: 1;
    color: var(--primary-color);
}

/* Calendar Picker Overlay Styles */
.calendar-picker-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

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

.calendar-picker-container {
    background: white;
    border-radius: 16px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

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

.calendar-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    border-bottom: 1px solid #e1e5e9;
}

.calendar-picker-header h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
}

.calendar-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.calendar-close-btn:hover {
    background: #f1f3f4;
    color: var(--primary-color);
}

/* Popup notice styling */
.popup-notice {
    font-size: 0.75rem;
    color: #666;
    text-align: center;
    margin-top: 10px;
    font-style: italic;
    opacity: 0.8;
}

.calendar-container {
    flex: 2;
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    gap: 20px;
}

.calendar-nav {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 16px;
    z-index: 10;
    position: relative;
}

.calendar-nav:hover:not(:disabled) {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.calendar-nav:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.5;
}

.calendar-nav:disabled:hover {
    transform: none;
}

.calendar-nav i {
    font-size: 14px;
}

/* Fallback for navigation arrows if Font Awesome doesn't load */
.calendar-nav.prev::before {
    content: "◀";
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.calendar-nav.next::before {
    content: "▶";
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.calendar-nav i + .calendar-nav::before {
    display: none;
}

.calendar-months {
    display: flex;
    gap: 40px;
    flex: 1;
    justify-content: center;
}

.month-display {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
}

.calendar-grid {
    display: flex;
    gap: 40px;
}

.calendar-month {
    flex: 1;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 15px;
}

.weekday {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    padding: 8px 4px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.calendar-day.other-month {
    color: #ccc;
    cursor: not-allowed;
}

.calendar-day.available {
    background: #f0f9ff;
    color: #0369a1;
    border-color: #bae6fd;
}

.calendar-day.available:hover {
    background: #0369a1;
    color: white;
    transform: scale(1.1);
}

.calendar-day.unavailable {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fecaca;
    cursor: not-allowed;
    position: relative;
}

.calendar-day.unavailable::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 15%;
    right: 15%;
    height: 2px;
    background: #dc2626;
    transform: translateY(-50%) rotate(-45deg);
}

.calendar-day.selected {
    background: var(--primary-color);
    color: white;
    border-color: var(--accent-color);
    transform: scale(1.1);
}

.calendar-day.in-range {
    background: rgba(158, 126, 95, 0.2);
    color: var(--primary-color);
}

.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #666;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 2px solid transparent;
}

.legend-color.available {
    background: #f0f9ff;
    border-color: #bae6fd;
}

.legend-color.unavailable {
    background: #fee2e2;
    border-color: #fecaca;
}

.legend-color.selected {
    background: var(--primary-color);
    border-color: var(--accent-color);
}

.booking-sidebar {
    flex: 1;
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    height: 520px;
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.selected-dates h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.date-range {
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.date-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
    flex: 1;
    min-width: 120px;
}

.date-item label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.date-item span {
    padding: 10px 12px;
    background: var(--light-bg);
    border-radius: 6px;
    border: 2px solid transparent;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.date-item span:hover {
    background: rgba(158, 126, 95, 0.1);
    border-color: var(--primary-color);
}

.date-item span.selected {
    background: rgba(158, 126, 95, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.date-item span.selecting {
    background: var(--primary-color);
    color: white;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.date-selection-message {
    background: #e6f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    color: #0066cc;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    display: none;
}

.guest-selector {
    margin-bottom: 15px;
}

.date-item.guest-selector {
    margin-bottom: 10px;
    padding: 0;
    background: none;
}

.guest-selector label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.guest-select {
    width: 100%;
    padding: 10px 12px;
    background: var(--light-bg);
    border-radius: 6px;
    border: 2px solid transparent;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.guest-select:focus {
    outline: none;
    background: rgba(158, 126, 95, 0.1);
    border-color: var(--primary-color);
}

.guest-select:hover {
    background: rgba(158, 126, 95, 0.1);
    border-color: var(--primary-color);
}

.nights-display {
    text-align: center;
    padding: 12px;
    background: var(--light-bg);
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.book-now-btn {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.book-now-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Guest Reviews Banner Styles */
.guest-reviews-banner {
    background: var(--light-bg);
    padding: 60px 0;
}

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

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

.reviews-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
}

.overall-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.rating-stars {
    color: #ffc107;
    font-size: 1.4rem;
}

.rating-text {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.review-item:hover {
    transform: translateY(-2px);
}

.review-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 15px;
    font-style: italic;
}

.review-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-author strong {
    color: var(--text-color);
    font-size: 0.9rem;
}

.review-rating {
    color: #ffc107;
    font-size: 0.9rem;
}

/* House Rules Styles */
.house-rules {
    background: var(--light-bg);
    padding: var(--section-padding);
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.rule-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rule-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.rule-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--light-bg);
}

.rule-icon i {
    font-size: 24px;
}

.rule-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.rule-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .availability-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .calendar-grid {
        flex-direction: column;
        gap: 30px;
    }
    
    .calendar-months {
        flex-direction: column;
        gap: 10px;
    }
    
    .booking-sidebar {
        position: static;
    }
    
    .date-picker-interface {
        max-width: 100%;
        padding: 30px;
    }
    
    .calendar-picker-container {
        width: 95%;
        max-height: 85vh;
    }
    
    .rules-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .reviews-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .calendar-container,
    .booking-sidebar {
        padding: 20px;
    }
    
    .date-picker-interface {
        padding: 25px;
    }
    
    .calendar-picker-container {
        width: 98%;
        padding: 0;
    }
    
    .calendar-picker-header {
        padding: 15px 20px;
    }
    
    .calendar-picker-header h4 {
        font-size: 1.1rem;
    }
    
    .calendar-container {
        padding: 20px;
    }
    
    .calendar-legend {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .calendar-day {
        font-size: 0.85rem;
    }
    
    .month-display {
        font-size: 1.2rem;
    }
    
    .date-range {
        flex-direction: column;
        gap: 10px;
    }
    
    .date-item {
        min-width: unset;
    }
    
    .date-select-btn {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
}

.loading-calendar {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 500;
}

.loading-calendar::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-top: 2px solid transparent;
    border-radius: 50%;
    margin-right: 10px;
    animation: spin 1s linear infinite;
}

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

/* ========== BOOK SECTION ========== */
.book {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://source.unsplash.com/random/1920x1080/?florence,sunset') no-repeat center center/cover;
    color: white;
    text-align: center;
}

.book-content {
    max-width: 800px;
    margin: 0 auto;
}

.book h2 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.book p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.book-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.book-option {
    display: flex;
    align-items: center;
    margin: 0 15px 15px;
}

.book-option i {
    font-size: 1.2rem;
    margin-right: 10px;
    color: var(--accent-color);
}

/* ========== BOOKING FORM ========== */
.booking-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    margin: 30px 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 200px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.2);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group select option {
    background: #333;
    color: white;
}

.booking-result {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    color: #333;
}

.pricing-info {
    margin: 15px 0;
}

.price-total {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 10px 0;
}

.booking-actions {
    margin-top: 20px;
}

.booking-actions .btn {
    margin-right: 10px;
    margin-bottom: 10px;
}

/* ========== VALUE PROPOSITION SECTION ========== */
.value-prop {
    background: var(--light-bg);
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 1200px) {
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .value-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.value-item {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: white;
}

.value-item h3 {
    font-family: var(--heading-font);
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.value-item p {
    color: #666;
    line-height: 1.6;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials {
    background: white;
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 1100px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

.testimonial {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 12px;
    position: relative;
    border-left: 4px solid var(--accent-color);
}

.testimonial-content .stars {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #333;
}

.testimonial-author strong {
    color: var(--primary-color);
    font-family: var(--heading-font);
    display: block;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
}

/* ========== SOCIAL PROOF SECTION ========== */
.social-proof {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 60px 0;
    color: white;
}

.proof-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-family: var(--heading-font);
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.stat-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* ========== SOCIAL PROOF RESPONSIVE ========== */
@media (max-width: 768px) {
    .proof-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* ========== CHECK-IN PROCESS SECTION ========== */
.checkin-process {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 80px 0;
    position: relative;
}

.checkin-process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 60px 0;
    position: relative;
}

@media (max-width: 1200px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

.step-item {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.step-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-color), #ff6b6b);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 25px;
    font-size: 2rem;
    color: white;
}

.step-content h3 {
    font-family: var(--heading-font);
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.step-content p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.checkin-notes {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-top: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.note-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    background: var(--light-bg);
}

.note-item:last-child {
    margin-bottom: 0;
}

.note-item.important-note {
    background: linear-gradient(135deg, #fff3cd, #fef7e0);
    border-left: 4px solid #ffc107;
}

.note-item i {
    font-size: 1.3rem;
    margin-right: 15px;
    color: var(--accent-color);
    margin-top: 2px;
    min-width: 20px;
}

.important-note i {
    color: #856404;
}

.note-item span {
    color: #555;
    line-height: 1.6;
}

.important-note span {
    color: #856404;
}

/* Connection line between steps on larger screens */
@media (min-width: 1200px) {
    .process-steps {
        position: relative;
    }
    
    .process-steps::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
        z-index: 0;
    }
    
    .step-item {
        position: relative;
        z-index: 1;
    }
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .step-item {
        padding: 35px 25px;
    }
    
    .step-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .checkin-notes {
        padding: 25px;
    }
    
    .note-item {
        flex-direction: column;
        text-align: center;
    }
    
    .note-item i {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* ========== FAQ SECTION ========== */
.faq {
    background: var(--light-bg);
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 900px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.faq-item h3 {
    font-family: var(--heading-font);
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* ========== FINAL CTA SECTION ========== */
.final-cta {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://source.unsplash.com/random/1920x800/?florence,sunset') no-repeat center center/cover;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--heading-font);
    font-size: 2.8rem;
    margin-bottom: 25px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-benefits {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.benefit i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }
    
    .cta-benefits {
        flex-direction: column;
        gap: 20px;
    }
    
    .btn-large {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}

/* ========== TRANSPORTATION SECTION ========== */
.transportation {
    background: white;
    padding: 80px 0;
}

.transport-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

@media (max-width: 900px) {
    .transport-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .transport-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.transport-item {
    background: var(--light-bg);
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.transport-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.transport-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color), #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: white;
}

.transport-item h3 {
    font-family: var(--heading-font);
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.transport-item p {
    color: #666;
    line-height: 1.6;
}

.transport-item strong {
    color: var(--accent-color);
    font-weight: bold;
}

/* ========== APARTMENT FEATURES SECTION ========== */
.apartment-features {
    background: var(--light-bg);
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 1100px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #555;
    font-size: 1rem;
    line-height: 1.5;
}

.feature-list li i {
    color: var(--accent-color);
    margin-right: 12px;
    font-size: 1rem;
    min-width: 16px;
}

/* Remove old responsive design rules as they're now integrated above */

/* ========== FOOTER ========== */
.footer {
    background-color: var(--footer-bg);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-logo-img {
    height: 100px;
    width: auto;
    max-width: 350px;
    margin-bottom: 10px;
}

.footer-logo p {
    opacity: 0.8;
}

.footer-links ul {
    display: flex;
    flex-wrap: wrap;
}

.footer-links li {
    margin-right: 20px;
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-social {
    display: flex;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ========== BACK TO TOP BUTTON ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

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

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

/* ========== MEDIA QUERIES ========== */
@media screen and (max-width: 991px) {
    :root {
        --section-padding: 60px 0;
    }

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

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

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

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        justify-content: center;
        transition: 0.4s;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

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

    .nav-menu li {
        margin: 15px 0;
    }

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

    .hero .tagline {
        font-size: 1.3rem;
    }

    .about-content, .location-content {
        flex-direction: column;
    }

    .feature {
        margin: 15px 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .amenities-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

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

    .footer-logo, .footer-links {
        margin-bottom: 30px;
    }

    .footer-links ul {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-social a {
        margin: 0 5px;
    }
}

@media screen and (max-width: 480px) {
    :root {
        --section-padding: 40px 0;
    }

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

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

    .btn {
        padding: 10px 20px;
    }

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

    .reviews-container {
        flex-direction: column;
        align-items: center;
    }

    .review-card {
        max-width: 100%;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* ========== LEGAL PAGES ========== */
.legal-content {
    padding-top: 100px;
    min-height: 100vh;
    background: #fafafa;
}

.legal-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 0;
    background: white;
    border-bottom: 1px solid #eee;
}

.legal-header h1 {
    font-family: var(--heading-font);
    font-size: 3rem;
    color: var(--dark-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.last-updated {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
}

.legal-body {
    background: white;
    padding: 60px 40px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.legal-section h3 {
    font-family: var(--heading-font);
    font-size: 1.3rem;
    color: var(--dark-color);
    margin: 25px 0 15px 0;
}

.legal-section h4 {
    font-weight: 600;
    color: var(--dark-color);
    margin: 20px 0 10px 0;
}

.legal-section p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #555;
}

.legal-section ul {
    margin: 15px 0 15px 20px;
    list-style: none;
}

.legal-section ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
    line-height: 1.6;
}

.legal-section ul li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.contact-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin: 15px 0;
}

.contact-info p {
    margin-bottom: 8px;
}

.contact-info strong {
    color: var(--dark-color);
}

.legal-navigation {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: 2px solid #6c757d;
}

.btn-secondary:hover {
    background: transparent;
    color: #6c757d;
}

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

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

/* Legal page mobile styles */
@media (max-width: 768px) {
    .legal-header h1 {
        font-size: 2.2rem;
    }

    .legal-body {
        padding: 30px 20px;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .legal-navigation {
        flex-direction: column;
        align-items: center;
    }

    .legal-navigation .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .legal-header h1 {
        font-size: 1.8rem;
    }

    .legal-body {
        padding: 20px 15px;
    }

    .legal-section h2 {
        font-size: 1.3rem;
    }

    .legal-section h3 {
        font-size: 1.1rem;
    }
}
