/* Font and Color Variables */
:root {
    --primary-color: #4a90e2;
    --secondary-color: #4a90e2;
    --accent-color: #357abd;
    --text-color: #333;
    --text-light: #6B717E;
    --white: #FFFFFF;
    --bg-light: #F5F5F7;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 100px; /* Fixed height for consistency */
}

.header.hidden {
    transform: translateY(-100%);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

.logo-image {
    height: 80px;
}

.nav-list {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary-color);
}

.reserve-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

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

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

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

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

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    color: var(--white);
    overflow: hidden;
    /* Add default background to avoid gray area during load */
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('../imagens cubo/51/sala 51.jpeg') center/cover no-repeat;
}

/* Slideshow backgrounds */
.hero-bg, .cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: -1;
}

.hero-bg.active, .cta-bg.active {
    opacity: 1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-description {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--white);
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    display: block;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Welcome Section */
.welcome-section {
    padding: 100px 0 60px;
    text-align: center;
}

.welcome-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.welcome-text p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-light);
}

/* Main Image Section */
.main-image-section {
    padding: 40px 0;
    background-color: var(--bg-light);
}

.main-image-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-feature-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.main-feature-image:hover {
    transform: scale(1.02);
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
}

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

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--white);
}

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

.feature-card {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(0, 0, 0, 0.8);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 30px;
    color: var(--white);
}

.feature-card h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-icon i {
    font-size: 30px;
    color: var(--white);
}

.pricing-card h3 {
    color: var(--text-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.pricing-card .price span {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-light);
}

.pricing-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Additional Images Section */
.additional-images {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.image-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.image-slot {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-slot:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.image-slot img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

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

.view-more-container {
    text-align: center;
    margin-top: 30px;
}

.view-more-btn {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(74, 144, 226, 0.2);
}

.view-more-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(74, 144, 226, 0.3);
}

.view-more-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(74, 144, 226, 0.2);
}

.house-section .view-more-container {
    margin-top: 20px;
}

/* Descriptions Grid Section */
.descriptions {
    padding: 80px 0;
    background-color: var(--white);
}

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

.description-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.description-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.description-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.description-card h3 {
    color: var(--text-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.description-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 120px 0;
    color: #fff;
    text-align: center;
    margin-top: 50px;
    overflow: hidden;
}

.cta-section .container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

.cta-section h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta-bg.active {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cta-section {
        padding: 80px 0;
    }
    
    .cta-section h2 {
        font-size: 32px;
    }
}

/* Image Modal Styles */
.reserva-form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
    overflow-y: auto;
}

.reserva-form-overlay.hidden {
    display: none;
}

.reserva-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.reserva-form h2 {
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.reserva-form .form-group {
    margin-bottom: 15px;
}

.reserva-form .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.reserva-form .form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.reserva-form .submit-btn {
    background: var(--primary-color);
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    transition: var(--transition);
}

.reserva-form .submit-btn:hover {
    background: var(--accent-color);
}

.reserva-form .close-btn {
    background: transparent;
    color: var(--text-color);
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    transition: var(--transition);
}

.reserva-form .close-btn:hover {
    background: #f5f5f5;
}

/* Image Modal Styles */
#imageModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#modalImage {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-text {
    color: white;
    font-size: 1.2rem;
    margin-top: 15px;
    text-align: center;
    width: 100%;
    padding: 0 10px;
}

.navigation-arrows {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    pointer-events: auto;
    z-index: 10;
}

.prev-arrow, .next-arrow {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s;
    pointer-events: auto;
    z-index: 1100;
    user-select: none;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.prev-arrow:hover, .next-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.prev-arrow i, .next-arrow i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    pointer-events: auto;
}

.prev-arrow {
    margin-right: auto;
}

.next-arrow {
    margin-left: auto;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1200;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}

.close-modal:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
    }
    
    .prev-arrow, .next-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .close-modal {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 1.8rem;
    }
    
    .modal-text {
        font-size: 1rem;
        margin-top: 10px;
    }
}

/* Gallery Modal Styles */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.gallery-modal.active {
    opacity: 1;
    visibility: visible;
}

.gallery-modal-content {
    background-color: #fff;
    margin: 3% auto;
    padding: 30px;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    border-radius: 10px;
    overflow-y: auto;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-modal.active .gallery-modal-content {
    opacity: 1;
    transform: translateY(0);
}

.gallery-modal-content h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-family: 'Playfair Display', serif;
    position: relative;
    padding-bottom: 10px;
}

.gallery-modal-content h2:after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: var(--primary-color);
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}

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

.gallery-item {
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: transform 0.3s, opacity 0.3s;
    position: relative;
}

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

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.close-gallery {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #333;
    font-size: 30px;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s;
}

.close-gallery:hover {
    color: var(--primary-color);
}

/* Footer Styles */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.footer-logo {
    height: 100px;
    margin-bottom: 20px;
}

.footer-info {
    text-align: center;
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-logo {
    height: 100px;
    margin-bottom: 15px;
    transform: translateY(-15px);
}

.footer-info p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 15px;
}

.footer .reserve-btn {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    margin-top: 0;
    transform: translateY(-10px);
}

.footer-info .social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    justify-content: center;
}

.footer-info .social-links a {
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

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

.footer h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links {
    grid-column: 3;
    grid-row: 1;
}

.footer-contact {
    grid-column: 1;
    grid-row: 1;
}

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

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-contact p {
    margin-bottom: 10px;
    color: rgba(255,255,255,0.7);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

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

/* Loading Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.loading {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

/* Animações para elementos ao entrar na viewport */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .image-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100%;
        background-color: #fff;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 80px 20px;
        transition: right 0.3s ease;
        z-index: 1001;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 20px;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 1002;
    }
    
    .features-grid,
    .descriptions-grid,
    .pricing-grid,
    .image-showcase,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item img {
        height: 150px;
    }
    
    .modal-content {
        max-width: 95%;
    }
    
    .nav-arrow {
        width: 40px;
        height: 40px;
    }
    
    .prev-arrow {
        left: 10px;
    }
    
    .next-arrow {
        right: 10px;
    }
    
    .nav-arrow i {
        font-size: 20px;
    }
    
    .platform-icon {
        aspect-ratio: 1/1;
        width: 80px;
        height: 80px;
        min-width: 80px;
        min-height: 80px;
        max-width: 80px;
        max-height: 80px;
    }
    
    .platform-icon i {
        font-size: 32px;
        line-height: 80px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-info, .footer-links, .footer-contact {
        grid-column: 1;
    }
    
    .footer-contact {
        grid-row: 1;
    }
    
    .footer-info {
        grid-row: 2;
    }
    
    .footer-links {
        grid-row: 3;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item img {
        height: 180px;
    }
    
    .nav-arrow {
        width: 35px;
        height: 35px;
        background-color: rgba(0, 0, 0, 0.5);
    }
    
    .prev-arrow {
        left: 10px;
    }
    
    .next-arrow {
        right: 10px;
    }
    
    .pricing-card .price {
        font-size: 2rem;
    }
    
    .pricing-card {
        padding: 30px;
    }
    
    .pricing-icon {
        width: 60px;
        height: 60px;
    }
    
    .pricing-icon i {
        font-size: 24px;
    }
    
    .reserva-form {
        padding: 20px;
        max-height: 80vh;
    }
    
    .reserva-form h2 {
        font-size: 1.5rem;
    }
    
    .reserva-form .form-group {
        margin-bottom: 10px;
    }
    
    .reserva-form .form-group input,
    .reserva-form .submit-btn,
    .reserva-form .close-btn {
        padding: 8px;
        font-size: 14px;
    }
    
    .booking-badge {
        display: block;
        margin: 10px auto 0;
        font-size: 12px;
        max-width: fit-content;
    }
    
    .platform-icon {
        width: 70px;
        height: 70px;
        aspect-ratio: 1/1;
        min-width: 70px;
        min-height: 70px;
        max-width: 70px;
        max-height: 70px;
    }
    
    .platform-icon i {
        font-size: 28px;
        line-height: 70px;
    }
    
    .platform-card h3 {
        font-size: 24px;
    }
    
    .platform-card {
        height: 350px;
        padding: 35px 25px 60px;
    }
    
    .platform-card p {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .platform-link {
        padding: 12px 30px;
        font-size: 15px;
        bottom: 20px;
    }
}

.houses-container {
    margin-top: 40px;
}

.house-section {
    margin-bottom: 60px;
}

.house-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.house-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

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

.house-image-container {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.house-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.house-image-container img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.house-image-container:hover img {
    transform: scale(1.05);
}

.house-image-caption {
    background-color: var(--white);
    padding: 15px;
    text-align: center;
    font-weight: 500;
    color: var(--text-color);
    border-top: 1px solid #eee;
}

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

@media (max-width: 768px) {
    .house-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .house-image-container img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .house-images {
        grid-template-columns: 1fr;
    }
    
    .house-title {
        font-size: 1.8rem;
    }
}

/* Add styles for amenities icons */
.amenities-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.amenity-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
    margin-bottom: 15px;
}

.amenity-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--light-bg);
    border-radius: 50%;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 20px;
    transition: all 0.3s ease;
}

.amenity-item:hover .amenity-icon {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.amenity-item span {
    font-size: 12px;
    text-align: center;
    color: var(--text-color);
}

/* Amenities icons small styles for next to buttons */
.amenities-icons-small {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 15px;
}

.amenity-item-small {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 5px;
    position: relative;
}

.amenity-icon-small {
    width: 30px;
    height: 30px;
    background-color: #4a90e2;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
}

.amenity-item-small:hover .amenity-icon-small {
    transform: translateY(-3px);
    box-shadow: 0 3px 8px rgba(74, 144, 226, 0.4);
}

.amenity-item-small::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.amenity-item-small:hover::after {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .amenity-icon-small {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }
    
    .amenity-item-small::after {
        font-size: 10px;
        padding: 3px 6px;
    }
}

/* Reviews Section Styles */
.reviews-section {
    background-color: var(--bg-light);
    padding: 60px 0;
}

.reviews-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.review-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 25px;
    width: 100%;
    max-width: 380px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.reviewer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text-color);
}

.review-date {
    font-size: 14px;
    color: #777;
}

.review-rating {
    display: flex;
    margin-bottom: 10px;
    color: #FFD700;
}

.review-content {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 15px;
}

.review-platform {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    color: #777;
    margin-top: 15px;
}

.review-platform i {
    font-size: 16px;
    margin-right: 5px;
}

/* Animation for reviews */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

.review-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

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

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

.booking-badge {
    display: inline-block;
    background-color: #003580;
    color: white;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: middle;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .review-card {
        max-width: 100%;
    }
    
    .amenity-item {
        width: 100px;
    }
    
    .amenity-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .amenity-item span {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .booking-badge {
        display: block;
        margin: 10px auto 0;
        font-size: 12px;
        max-width: fit-content;
    }
    
    .platform-icon {
        width: 70px;
        height: 70px;
        aspect-ratio: 1/1;
        min-width: 70px;
        min-height: 70px;
        max-width: 70px;
        max-height: 70px;
    }
    
    .platform-icon i {
        font-size: 28px;
        line-height: 70px;
    }
    
    .platform-card h3 {
        font-size: 24px;
    }
    
    .platform-card {
        height: 350px;
        padding: 35px 25px 60px;
    }
    
    .platform-card p {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .platform-link {
        padding: 12px 30px;
        font-size: 15px;
        bottom: 20px;
    }
}

/* Booking Platforms Section */
.booking-platforms-section {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.platforms-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
}

.platform-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 50px 35px 80px;
    text-align: center;
    width: 100%;
    max-width: 450px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 480px;
    position: relative;
}

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

/* Platform icon styling - ensures all icons have perfectly circular backgrounds */
.platform-icon {
    width: 90px;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    background-color: var(--primary-color);
    border-radius: 50%;
    color: rgb(255, 255, 255);
    aspect-ratio: 1/1; /* Ensures perfect circle */
    overflow: hidden; /* Contains any overflow */
    box-sizing: content-box; /* Ensures consistent sizing */
}

/* All icon types use the same styling for consistency */
.platform-icon i {
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
}

/* Responsive styles for platform icons */
@media (max-width: 768px) {
    .platform-icon {
        width: 80px;
        height: 80px;
        aspect-ratio: 1/1;
    }
    
    .platform-icon i {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .platform-icon {
        width: 70px;
        height: 70px;
        aspect-ratio: 1/1;
    }
    
    .platform-icon i {
        font-size: 28px;
    }
    
    .platform-card h3 {
        font-size: 24px;
    }
    
    .platform-card {
        height: 350px;
        padding: 35px 25px 60px;
    }
    
    .platform-card p {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .platform-link {
        padding: 12px 30px;
        font-size: 15px;
        bottom: 20px;
    }
}

.platform-card h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.platform-card p {
    margin-bottom: 40px;
    color: #666;
    line-height: 1.7;
    font-size: 16px;
    flex-grow: 1;
}

.platform-link {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
}

.platform-link:hover {
    background-color: var(--accent-color);
    transform: translateX(-50%) scale(1.05);
}

/* Responsive Styles for Booking Platforms */
@media (max-width: 768px) {
    .platforms-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .platform-card {
        max-width: 100%;
        height: 480px;
        padding: 40px 30px 70px;
    }
    
    .platform-card p {
        margin-bottom: 35px;
    }
    
    .platform-link {
        bottom: 70px;
    }
}

@media (max-width: 480px) {
    .platform-card {
        height: 480px;
        padding: 35px 25px 60px;
    }
    
    .platform-card p {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .platform-link {
        padding: 12px 30px;
        font-size: 15px;
        bottom: 70px;
    }
}
