/* ===== VARIABLES CSS ===== */
:root {
    --primary-color: #4e73df;
    --secondary-color: #858796;
    --success-color: #1cc88a;
    --info-color: #36b9cc;
    --warning-color: #f6c23e;
    --danger-color: #e74a3b;
    --light-color: #f8f9fc;
    --dark-color: #5a5c69;
    --white: #ffffff;
    --shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    --border-radius: 0.35rem;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    scroll-behavior: smooth;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

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

.btn-primary:hover {
    background-color: #2e59d9;
    border-color: #2653d4;
}

/* ===== NAVIGATION ===== */
.navbar {
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

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

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, rgba(78, 115, 223, 0.9), rgba(54, 185, 204, 0.8)),
                url('https://images.unsplash.com/photo-1522708323590-d24dbb6b0267?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.3);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-stats {
    animation: fadeInUp 1s ease-out 0.5s both;
}

.stat-item {
    padding: 1rem;
    transition: var(--transition);
}

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

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

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

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* ===== CARDS ===== */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 2rem 0 rgba(58, 59, 69, 0.2);
}

.card-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-weight: 600;
}

/* ===== GALLERY ===== */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

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

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(78, 115, 223, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-overlay i {
    font-size: 2rem;
    color: white;
}

/* ===== AMENITIES ===== */
.amenity-item {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: var(--border-radius);
    background: white;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.amenity-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 0.5rem 2rem 0 rgba(78, 115, 223, 0.15);
}

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

/* ===== REVIEWS ===== */
.review-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

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

.review-stars {
    color: var(--warning-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-author {
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--info-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-right: 1rem;
}

/* ===== CONTACT ===== */
.contact-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    margin-right: 1rem;
}

/* ===== FORMS ===== */
.form-control {
    border: 1px solid #d1d3e2;
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

.form-select {
    border: 1px solid #d1d3e2;
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

/* ===== BUTTONS ===== */
.btn {
    border-radius: var(--border-radius);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    border: none;
}

.btn-warning {
    background-color: var(--warning-color);
    color: #1f2937;
}

.btn-warning:hover {
    background-color: #dda20a;
    color: #1f2937;
}

.btn-success {
    background-color: var(--success-color);
}

.btn-success:hover {
    background-color: #17a673;
}

.btn-info {
    background-color: var(--info-color);
}

.btn-info:hover {
    background-color: #2c9faf;
}

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

/* ===== SOCIAL LINKS ===== */
.social-links a {
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color) !important;
    transform: translateY(-3px);
}

/* ===== LOADING ANIMATION ===== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .hero-stats {
        margin-top: 2rem;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .amenity-item {
        padding: 1.5rem 1rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 0;
    }
    
    .contact-item i {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    .btn-lg {
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
    }
    
    .hero-stats .col-4 {
        margin-bottom: 1rem;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
    }
}

/* ===== UTILITY CLASSES ===== */
.shadow-custom {
    box-shadow: var(--shadow);
}

.border-radius-custom {
    border-radius: var(--border-radius);
}

.transition-custom {
    transition: var(--transition);
}

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

/* ===== SCROLL BEHAVIOR ===== */
html {
    scroll-padding-top: 80px;
}

/* ===== MODAL CUSTOMIZATION ===== */
.modal-content {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

.modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

#modalImage {
    max-height: 70vh;
    object-fit: contain;
}

/* ===== VIDEO TUTORIALS ===== */
.video-tutorial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

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

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-tutorial-card:hover .video-overlay {
    opacity: 1;
}

.video-overlay .btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.video-overlay .btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.6);
}

.video-tutorial-card .card-img-top {
    transition: transform 0.3s ease;
}

.video-tutorial-card:hover .card-img-top {
    transform: scale(1.05);
}

.video-tutorial-card .badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
}

/* Video Modal Styles */
#videoModal .modal-content {
    border-radius: 15px;
    overflow: hidden;
}

#videoModal .modal-body {
    background: #000;
}

#videoModal video {
    border-radius: 0;
}
/*
 WiFi QR Code Section */
.wifi-qr-section {
    text-align: center;
}

.qr-placeholder {
    border: 2px dashed #dee2e6;
    transition: all 0.3s ease;
    cursor: pointer;
}

.qr-placeholder:hover {
    border-color: #007bff;
    background-color: #f8f9fa !important;
}

.qr-placeholder i {
    transition: color 0.3s ease;
}

.qr-placeholder:hover i {
    color: #007bff !important;
}

/* Responsive adjustments for QR section */
@media (max-width: 768px) {
    .wifi-qr-section {
        margin-top: 20px;
    }
}/*
 WiFi QR Code Section - Prominent */
.wifi-qr-section-prominent {
    text-align: center;
}

.qr-placeholder-prominent {
    border: 3px solid #007bff;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.qr-placeholder-prominent::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.qr-placeholder-prominent:hover::before {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.qr-placeholder-prominent:hover {
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,123,255,0.3) !important;
}

.qr-placeholder-prominent i {
    transition: all 0.3s ease;
}

.qr-placeholder-prominent:hover i {
    color: #0056b3 !important;
    transform: scale(1.1);
}

/* Responsive adjustments for prominent QR section */
@media (max-width: 768px) {
    .wifi-qr-section-prominent {
        margin-top: 20px;
    }
    
    .qr-placeholder-prominent {
        padding: 2rem !important;
    }
}/*
 Enhanced Footer Styles */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

footer h6 {
    border-bottom: 2px solid #f39c12;
    padding-bottom: 8px;
    margin-bottom: 15px;
    display: inline-block;
}

footer ul li {
    transition: all 0.3s ease;
    padding: 2px 0;
}

footer ul li:hover {
    transform: translateX(5px);
    color: #f39c12 !important;
}

footer ul li i {
    width: 20px;
    text-align: center;
}

footer .text-warning {
    color: #f39c12 !important;
}

/* Responsive footer adjustments */
@media (max-width: 768px) {
    footer .col-lg-4 {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    footer ul {
        text-align: left;
        display: inline-block;
    }
}/* WiFi
 QR Hero Section Styles */
.wifi-hero-card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.wifi-qr-section-hero {
    text-align: center;
}

.qr-placeholder-hero {
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.qr-placeholder-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0,123,255,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.qr-placeholder-hero:hover::before {
    opacity: 1;
    animation: shimmer-hero 1.5s ease-in-out;
}

@keyframes shimmer-hero {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.qr-placeholder-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,123,255,0.2);
    border-color: #0056b3 !important;
}

.qr-placeholder-hero i {
    transition: all 0.3s ease;
}

.qr-placeholder-hero:hover i {
    color: #0056b3 !important;
    transform: scale(1.1);
}

/* Hero section adjustments */
.hero-section {
    position: relative;
    overflow: hidden;
}

/* Responsive adjustments for hero QR */
@media (max-width: 768px) {
    .wifi-hero-card {
        margin-top: 2rem;
    }
    
    .wifi-qr-section-hero {
        margin-top: 1rem;
    }
    
    .qr-placeholder-hero {
        padding: 1.5rem !important;
    }
}/* WiF
i Top Section - Primera Vista */
.wifi-top-section {
    position: relative;
    z-index: 1000;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-bottom: 3px solid #ffc107;
}

.qr-top-container {
    text-align: center;
}

.qr-placeholder-top {
    transition: all 0.3s ease;
    cursor: pointer;
    border-width: 2px !important;
    position: relative;
    overflow: hidden;
}

.qr-placeholder-top::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,193,7,0.2), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.qr-placeholder-top:hover::before {
    opacity: 1;
    animation: shimmer-top 1.2s ease-in-out;
}

@keyframes shimmer-top {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.qr-placeholder-top:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255,193,7,0.3);
    border-color: #ffc107 !important;
}

.qr-placeholder-top i {
    transition: all 0.3s ease;
}

.qr-placeholder-top:hover i {
    color: #0056b3 !important;
    transform: scale(1.1);
}

/* Ajustes para navegación fija */
.navbar.fixed-top + .wifi-top-section {
    margin-top: 0;
    padding-top: calc(1rem + 56px); /* Altura de navbar + padding */
}

/* Responsive para sección superior */
@media (max-width: 768px) {
    .wifi-top-section {
        padding: 1rem 0;
    }
    
    .wifi-top-section .row {
        text-align: center;
    }
    
    .wifi-top-section .col-md-7 {
        margin-bottom: 1rem;
    }
    
    .qr-placeholder-top {
        padding: 1rem !important;
    }
    
    .wifi-top-section h5 {
        font-size: 1.1rem;
    }
}

/* Ajuste del hero para compensar la nueva sección */
.hero-section {
    padding-top: 2rem;
}
/*
 ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25d366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    background-color: #128c7e;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Responsive WhatsApp Button */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* ===== CONTACT SECTION IMPROVEMENTS ===== */
#contact .btn {
    transition: all 0.3s ease;
    border: none;
}

#contact .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

#contact .btn-success:hover {
    background-color: #128c7e;
}

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