/* ==========================================
   TINAQUILLO EMPRENDE - RESET CSS COMPLETO
   Moderno con Animaciones, Sombras y Gradientes
   ========================================== */

:root {
    --primary: #0052CC;      /* Azul vibrante */
    --secondary: #FF6B35;    /* Naranja energético */
    --accent: #FFD700;       /* Oro brillante */
    --success: #10B981;      /* Verde */
    --light: #F8FAFC;
    --dark: #0F172A;
    --border: #E2E8F0;
    --text: #1F2937;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
}

/* ===== NAVBAR MODERNO ===== */
.navbar {
    background: linear-gradient(135deg, var(--dark) 0%, #1a2d4d 100%);
    color: white;
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    border-bottom: 2px solid var(--secondary);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-brand a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar-brand a:hover {
    transform: scale(1.05);
}

.sun-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent), #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.navbar-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-name {
    font-size: 14px;
    color: #fff;
    font-weight: 600;
}

.btn-login {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-login:hover {
    background: white;
    color: var(--primary);
}

.btn-register {
    background: linear-gradient(135deg, var(--secondary), #FF8C42);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.btn-small {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-small:hover {
    background: #FF5722;
    transform: translateY(-1px);
}

.btn-logout {
    background: rgba(255, 255, 255, 0.2);
}

.btn-logout:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ===== FOOTER MODERNO ===== */
.footer {
    background: linear-gradient(135deg, var(--dark) 0%, #1a2d4d 100%);
    color: white;
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
    border-top: 2px solid var(--secondary);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--accent);
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section p {
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    font-weight: 500;
}

.footer-section a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 107, 53, 0.2);
    border: 1px solid var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--secondary);
    transform: translateY(-4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 13px;
    opacity: 0.8;
}

.footer-bottom p {
    margin: 6px 0;
}

/* ===== CONTENEDOR ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 4rem 2rem;
}

/* ===== FORMULARIOS ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 82, 204, 0.1);
}

/* ===== ALERTAS ===== */
.alert {
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 14px;
    font-weight: 500;
    border-left: 4px solid;
}

.alert-error {
    background: #FEE2E2;
    border-color: #DC2626;
    color: #7F1D1D;
}

.alert-success {
    background: #ECFDF5;
    border-color: #10B981;
    color: #065F46;
}

/* ===== ANIMACIONES ===== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .navbar-container {
        padding: 0 1rem;
    }
    
    .navbar-menu {
        gap: 1.5rem;
    }
    
    .navbar-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .footer-container {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 0 1rem;
    }
    
    .navbar-brand {
        font-size: 18px;
    }
    
    .brand-text {
        display: none;
    }
    
    .navbar-menu {
        display: none;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 2rem 1rem;
    }
}