:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #e74c3c;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --text: #333;
    --text-light: #7f8c8d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

.container {
    width: 100%;
    padding: 0 15px;
}

/* ===== DISEÑO MÓVIL FIRST ===== */

/* Header Styles - Versión Móvil */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-box {
    background: var(--secondary);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
}

.logo-text h1 {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary);
    line-height: 1;
}

.logo-text p {
    color: var(--secondary);
    font-size: 12px;
    font-weight: 500;
    margin-top: 2px;
}

/* Navigation Mobile */
nav.desktop-nav {
    display: none;
}

.mobile-menu-btn {
    display: block;
    padding: 8px;
    border-radius: 6px;
    color: var(--text);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

.mobile-menu {
    display: none;
    background: white;
    border-top: 1px solid #eee;
    padding: 15px 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu .nav-item {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--text);
    border-bottom: 1px solid #f5f5f5;
    font-weight: 500;
}

.mobile-menu .nav-item.active {
    background: var(--secondary);
    color: white;
}

/* Hero Section - Mobile */
.hero {
    background: linear-gradient(to bottom right, #e3f2fd, white, #e3f2fd);
    padding: 40px 0;
}

.hero-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.3;
}

.hero-content h1 span {
    color: var(--secondary);
}

.hero-content p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.btn {
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--secondary);
    color: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

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

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

.hero-image {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.image-badge {
    position: absolute;
    bottom: -15px;
    left: 10px;
    background: white;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.badge-dot {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
}

/* Explore Section - Mobile */
.explore-section {
    position: relative;
    height: 350px;
    overflow: hidden;
    margin: 2rem 0;
    width: 100%;
    border-radius: 0;
}

.explore-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/Exploralaguaira.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.explore-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.explore-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    color: white;
    text-align: center;
}

.explore-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.explore-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    max-width: 100%;
}

.explore-btn {
    display: inline-block;
    background: linear-gradient(to right, #3498db, #feb47b);
    color: white;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Nuestros Servicios - Mobile */
.nuestros-servicios {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.nuestros-servicios .header {
    text-align: center;
    margin-bottom: 30px;
}

.nuestros-servicios .header h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--primary);
    font-weight: 700;
}

.nuestros-servicios .header p {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 100%;
    margin: 0 auto;
}

.nuestros-servicios .services-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.nuestros-servicios .service-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nuestros-servicios .service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.nuestros-servicios .service-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 180px;
    order: 1;
}

.nuestros-servicios .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nuestros-servicios .service-content {
    padding: 0;
    order: 2;
    text-align: center;
}

.nuestros-servicios .service-content h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary);
    font-weight: 600;
}

.nuestros-servicios .service-content p {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Host Section - Mobile */
.host-section {
    padding: 40px 0;
}

.host-cta {
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(37, 99, 235, 0.85)), 
                url('img/Anfintrion.png');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    padding: 30px 20px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
    text-align: center;
}

.host-cta h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.host-cta p {
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.5;
}

.host-benefits {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.host-benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    justify-content: center;
}

.host-benefit i {
    color: #a5d8ff;
}

.host-btn {
    background: white;
    color: var(--secondary);
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 250px;
}

/* Contact Section - Mobile */
.contact {
    padding: 50px 0;
    background: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.section-title p {
    color: var(--text-light);
    max-width: 100%;
    margin: 0 auto;
}

.contact-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.contact-info p {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.contact-info i {
    color: var(--secondary);
    width: 20px;
    text-align: center;
    margin-top: 3px;
}

.contact-form {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

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

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo-box {
    background: var(--secondary);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
}

.footer-logo-text h3 {
    font-size: 18px;
    font-weight: bold;
}

.footer-logo-text p {
    color: #93c5fd;
    font-size: 12px;
    font-weight: 500;
}

.footer-about p {
    color: #cbd5e1;
    line-height: 1.5;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    background: var(--secondary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-links h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

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

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

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding: 20px 0;
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
}

/* ===== VERSIÓN ESCRITORIO ===== */
@media (min-width: 769px) {
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    /* Header Desktop */
    nav.desktop-nav {
        display: flex;
        gap: 10px;
    }
    
    .nav-item {
        padding: 8px 16px;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        color: var(--text);
    }
    
    .nav-item.active {
        background: var(--secondary);
        color: white;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    .nav-item:not(.active):hover {
        background: #e3f2fd;
        color: var(--secondary);
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .mobile-menu {
        display: none !important;
    }
    
    /* Hero Desktop */
    .hero {
        padding: 80px 0;
    }
    
    .hero-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: center;
        text-align: left;
    }
    
    .hero-content h1 {
        font-size: 48px;
        margin-bottom: 20px;
    }
    
    .hero-content p {
        font-size: 20px;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: flex-start;
        width: auto;
    }
    
    .btn {
        padding: 16px 32px;
        font-size: 18px;
    }
    
    .hero-image {
        max-width: 100%;
    }
    
    .image-badge {
        bottom: -20px;
        left: -20px;
        padding: 15px;
        font-size: 16px;
    }
    
    /* Explore Desktop */
    .explore-section {
        height: 500px;
    }
    
    .explore-content {
        align-items: flex-start;
        text-align: left;
        padding: 0 5%;
    }
    
    .explore-content h2 {
        font-size: 2.5rem;
    }
    
    .explore-content p {
        font-size: 1.2rem;
        max-width: 600px;
    }
    
    /* Servicios Desktop */
    .nuestros-servicios {
        padding: 80px 0;
    }
    
    .nuestros-servicios .header h1 {
        font-size: 2rem;
    }
    
    .nuestros-servicios .services-grid {
        gap: 35px;
    }
    
    .nuestros-servicios .service-item {
        grid-template-columns: 1fr 1fr;
        display: grid;
        gap: 30px;
        text-align: left;
    }
    
    .nuestros-servicios .service-item.reverse {
        direction: rtl;
    }
    
    .nuestros-servicios .service-item.reverse > * {
        direction: ltr;
    }
    
    .nuestros-servicios .service-image {
        order: 0;
        height: 220px;
    }
    
    .nuestros-servicios .service-content {
        order: 0;
        padding: 10px;
        text-align: left;
    }
    
    /* Host Desktop */
    .host-cta {
        grid-template-columns: 1fr auto;
        display: grid;
        gap: 40px;
        padding: 40px;
        text-align: left;
    }
    
    .host-cta-content {
        order: 1;
    }
    
    .host-benefits {
        align-items: flex-start;
    }
    
    .host-benefit {
        justify-content: flex-start;
    }
    
    .host-btn {
        width: auto;
        order: 2;
    }
    
    /* Contact Desktop */
    .contact {
        padding: 80px 0;
    }
    
    .contact-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        display: grid;
        gap: 50px;
    }
    
    /* Footer Desktop */
    .footer {
        padding: 60px 0 0;
    }
    
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        display: grid;
        gap: 40px;
        margin-bottom: 60px;
    }
}
/* Sistema de Usuarios - Estilos */
.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-login {
    background: transparent !important;
    color: var(--text) !important;
    border: 2px solid transparent !important;
}

.btn-register {
    background: var(--secondary) !important;
    color: white !important;
    border: 2px solid var(--secondary) !important;
}

.btn-logout {
    background: var(--accent) !important;
    color: white !important;
    border: 2px solid var(--accent) !important;
}

/* Modales de Autenticación */
.auth-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.auth-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.auth-modal h2 {
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.5rem;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
}

.auth-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.auth-tab {
    flex: 1;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-light);
    border-bottom: 2px solid transparent;
}

.auth-tab.active {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-message {
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    text-align: center;
    font-size: 14px;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Dashboard Styles */
.dashboard-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 40px 0;
    text-align: center;
}

.dashboard-welcome {
    font-size: 2rem;
    margin-bottom: 10px;
}

.dashboard-container {
    padding: 40px 0;
}

.user-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary);
    margin-bottom: 10px;
}

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

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

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

.action-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.action-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .user-menu, .auth-buttons {
        display: none;
    }
    
    .auth-modal-content {
        width: 95%;
        padding: 20px;
    }
}