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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease, transform 1.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translateY(-100%);
    opacity: 0;
}

.navbar.visible {
    transform: translateY(0);
    opacity: 1;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #2c3e50;
    font-weight: 700;
}

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

.nav-menu a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #3498db;
}

.nav-menu a i.fab.fa-instagram {
    font-size: 1.4rem;
    color: #e4405f;
    transition: all 0.3s ease;
}

.nav-menu a:hover i.fab.fa-instagram {
    color: #c13584;
    transform: scale(1.1);
}

.nav-menu a i.fas.fa-file-pdf {
    font-size: 1.4rem;
    color: #e74c3c;
    transition: all 0.3s ease;
}

.nav-menu a:hover i.fas.fa-file-pdf {
    color: #c0392b;
    transform: scale(1.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

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

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/fondo.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    z-index: -2;
}

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

.hero-content {
    max-width: 100vw;
    padding: 0 10px;
}

.hero-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 7rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 16px rgba(0,0,0,0.18);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .hero-title {
        white-space: normal;
        word-wrap: break-word;
    }
}

.hero-subtitle {
    display: block;
    font-family: 'Libre Baskerville', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 2rem;
    letter-spacing: 0.04em;
    text-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #20bfa9;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.6s both;
}

.cta-button:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.pdf-button {
    background: #2c3e50 !important;
    border: 2px solid #34495e;
}

.pdf-button:hover {
    background: #34495e !important;
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.3);
}

.pdf-button i {
    margin-right: 8px;
}

/* Hero Buttons Container */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .hero-buttons .cta-button {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

/* About Section */
.about {
    padding: 100px 0;
    background: #f8f9fa;
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #666;
}

.features {
    display: grid;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature i {
    font-size: 1.5rem;
    color: #3498db;
    margin-top: 0.2rem;
}

.feature h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.feature p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.about-image {
    display: flex;
    justify-content: center;
}



/* Apartments Section */
.apartments {
    padding: 100px 0;
}

.apartments h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}







/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: #f8f9fa;
}

.gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
}

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

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.video-section {
    background: #f4f6f8;
    padding: 48px 0 56px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    margin-bottom: 40px;
}

.video-section h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 480px;
    background: #e9ecef;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(44,62,80,0.08);
    padding: 32px 0;
    width: 100%;
    max-width: 520px;
}

.video-container video {
    max-height: 624px;
    width: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(44,62,80,0.10);
    background: #222;
}



/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

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

.contact-details {
    display: grid;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #3498db;
    margin-top: 0.2rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

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



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

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

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

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

    .hero-title {
        font-size: 3.5rem;
    }
    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }



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




}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }

    .about-text h2,
    .apartments h2,
    .gallery h2,
    .contact-info h2 {
        font-size: 2rem;
    }

    /* Ajustes adicionales para móviles muy pequeños */
    .container {
        padding: 0 15px;
    }

    .about,
    .apartments,
    .gallery,
    .contact {
        padding: 60px 0;
    }

    .apartment-details-list li,
    .apartment-ambientes li {
        font-size: 1rem;
        padding: 0.8rem 1rem;
    }

    .video-container {
        min-height: 300px;
        padding: 20px 0;
    }

    .video-container video {
        max-height: 400px;
    }
    
    /* Ajustes para botones flotantes en pantallas muy pequeñas */
    .whatsapp-float {
        right: 15px;
        bottom: 15px;
        width: 55px;
        height: 55px;
        font-size: 2.2rem;
    }
    
    .instagram-float {
        right: 10px;
        bottom: 80px;
        width: 45px;
        height: 45px;
        font-size: 1.8rem;
    }
}

@media (max-width: 900px) {
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-subtitle {
        font-size: 1.5rem;
    }
    .features {
        grid-template-columns: 1fr;
    }
    .apartment-details-map iframe {
        height: 220px;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    

}

/* Media query para pantallas medianas */
@media (max-width: 1024px) and (min-width: 769px) {
    .about-content {
        gap: 3rem;
    }
    
    .contact-content {
        gap: 3rem;
    }
} 

.cinzel {
    font-family: 'Cinzel', serif !important;
} 

.apartment-details-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2.5rem;
    align-items: start;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .apartment-details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        grid-template-areas: 
            "details"
            "map";
    }
    
    .apartment-details-list {
        grid-area: details;
    }
    
    .apartment-details-map {
        grid-area: map;
    }
}

.apartment-details-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f8f9fa;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(44,62,80,0.04);
    overflow: hidden;
}

.apartment-details-list li {
    font-size: 1.15rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 0;
    margin-bottom: 0;
    background: none;
    box-shadow: none;
    border-bottom: 1px solid #ececec;
    padding: 1.1rem 1.2rem;
    transition: box-shadow 0.2s;
}

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

.apartment-details-map {
    display: flex;
    align-items: flex-start;
    justify-content: center;
} 



.apartment-ambientes {
    background: #f8f9fa;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(44,62,80,0.04);
    overflow: hidden;
    padding: 0;
    margin-top: 0.5rem;
}

.apartment-ambientes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.apartment-ambientes li {
    display: flex;
    align-items: center;
    font-size: 1.18rem;
    color: #2c3e50;
    background: none;
    border-radius: 0;
    margin-bottom: 0;
    border-bottom: 1px solid #ececec;
    padding: 1.1rem 1.2rem;
}

.apartment-ambientes li:last-child {
    border-bottom: none;
}

.apartment-ambientes i {
    color: #20bfa9;
    font-size: 1.25rem;
    margin-right: 0.7rem;
    min-width: 22px;
    text-align: center;
} 

.map-title {
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.7rem;
    margin-left: 2px;
} 

.apartment-details-simple {
    list-style: none;
    padding: 0;
    margin: 0;
}

.apartment-details-simple li {
    font-size: 1rem;
    color: #999;
    font-weight: 500;
    margin-bottom: 0;
    text-align: left;
    background: none;
    box-shadow: none;
    border: none;
    padding: 0.08em 0 0.08em 0;
    letter-spacing: 0.01em;
    line-height: 1.1;
}

.apartment-details-simple li:last-child {
    margin-bottom: 0;
} 

.whatsapp-float {
    position: fixed;
    right: 35px;
    bottom: 30px;
    z-index: 2000;
    background: #25d366;
    color: #fff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    font-size: 2.8rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .whatsapp-float {
        right: 20px;
        bottom: 20px;
        width: 60px;
        height: 60px;
        font-size: 2.4rem;
    }
    
    .instagram-float {
        right: 15px;
        bottom: 90px;
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
}
.whatsapp-float:hover {
    background: #1ebe57;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transform: scale(1.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.instagram-float {
    position: fixed;
    right: 25px;
    bottom: 115px;
    z-index: 2000;
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(44,62,80,0.18);
    font-size: 2.4rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.instagram-float:hover {
    box-shadow: 0 6px 24px rgba(44,62,80,0.22);
    transform: scale(1.08);
    color: #fff;
} 