/* ==============================================
   ESTILOS DE LA LANDING PAGE - NATY'S
   ============================================== */

:root {
    --natys-red: #cc1d1d;
    --natys-dark-red: #8b1515;
    --natys-light: #fff5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.pagina-landing-publica {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, var(--natys-red) 0%, var(--natys-dark-red) 100%) !important;
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar-brand img {
    height: 45px;
    max-width: 180px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    transition: all 0.3s ease;
    object-fit: contain;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    padding: 10px 20px !important;
    transition: all 0.3s ease;
    border-radius: 25px;
}

.navbar-nav .nav-link:hover {
    color: #ffd700 !important;
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.btn-nav {
    background: #fff;
    color: var(--natys-red) !important;
    border-radius: 25px;
    padding: 8px 20px !important;
    font-weight: 600;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    background: #ffd700;
    color: var(--natys-dark-red) !important;
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--natys-red) 0%, var(--natys-dark-red) 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>');
    background-size: 150px;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
}

.hero-logo {
    max-width: 350px;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
    transition: all 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
}

.btn-hero {
    background: #fff;
    color: var(--natys-red);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-hero:hover {
    background: #ffd700;
    color: var(--natys-dark-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--natys-dark-red);
    margin-bottom: 15px;
}

.section-title .line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--natys-red), var(--natys-dark-red));
    margin: 0 auto;
    border-radius: 2px;
}

/* Quienes Somos */
.about {
    background: #fff;
}

.about-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
}

.about-highlight {
    background: linear-gradient(135deg, var(--natys-light) 0%, #fff 100%);
    border-left: 5px solid var(--natys-red);
    padding: 30px;
    border-radius: 0 15px 15px 0;
    margin-top: 30px;
}

/* Historia Timeline */
.history {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    position: relative;
    border-left: 5px solid var(--natys-red);
}

.timeline-year {
    background: linear-gradient(135deg, var(--natys-red) 0%, var(--natys-dark-red) 100%);
    color: #fff;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-block;
    margin-bottom: 20px;
}

.timeline-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

/* Mision Vision */
.mission-vision {
    background: #fff;
}

.mv-card {
    background: linear-gradient(135deg, #fff 0%, var(--natys-light) 100%);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(204, 29, 29, 0.1);
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.mv-card:hover {
    transform: translateY(-10px);
    border-color: var(--natys-red);
}

.mv-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--natys-red) 0%, var(--natys-dark-red) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.mv-icon i {
    font-size: 2rem;
    color: #fff;
}

.mv-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--natys-dark-red);
    margin-bottom: 15px;
}

.mv-card p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.7;
}

/* Valores */
.values {
    background: linear-gradient(135deg, var(--natys-red) 0%, var(--natys-dark-red) 100%);
    color: #fff;
}

.values .section-title h2 {
    color: #fff;
}

.values .section-title .line {
    background: #fff;
}

.value-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
}

.value-icon {
    font-size: 2.5rem;
    color: #ffd700;
    margin-bottom: 20px;
}

.value-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.value-card p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Unete al equipo */
.join-team {
    background: #fff;
    text-align: center;
}

.join-box {
    background: linear-gradient(135deg, var(--natys-light) 0%, #fff 100%);
    padding: 60px;
    border-radius: 20px;
    border: 2px dashed var(--natys-red);
}

.join-box h3 {
    font-size: 2rem;
    color: var(--natys-dark-red);
    margin-bottom: 20px;
}

.join-box p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 25px;
}

.email-link {
    color: var(--natys-red);
    font-weight: 600;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: var(--natys-dark-red);
    text-decoration: underline;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: #fff;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer-logo {
    max-width: 200px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    margin-bottom: 20px;
}

.footer h5 {
    color: #ffd700;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    word-wrap: break-word;
}

.footer ul li a:hover {
    color: var(--natys-red);
}

.footer-contact {
    color: rgba(255,255,255,0.8);
    margin-bottom: 10px;
    word-wrap: break-word;
    line-height: 1.5;
}

.footer-contact i {
    color: var(--natys-red);
    margin-right: 10px;
    width: 20px;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--natys-red);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    word-wrap: break-word;
}

/* ==============================================
   MODO OSCURO - LANDING PAGE
   ============================================== */
body.dark-mode.pagina-landing-publica {
    background: #000000 !important;
    color: #e7e9f0;
}

body.dark-mode .navbar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
}

body.dark-mode .navbar-nav .nav-link {
    color: #e7e9f0 !important;
}

body.dark-mode .navbar-nav .nav-link:hover {
    color: #ffd700 !important;
}

body.dark-mode .btn-nav {
    background: #e7e9f0 !important;
    color: #1a1a2e !important;
}

body.dark-mode .btn-nav:hover {
    background: #ffd700 !important;
    color: #1a1a2e !important;
}

/* Hero Section */
body.dark-mode .hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
}

body.dark-mode .hero h1,
body.dark-mode .hero p {
    color: #e7e9f0;
}

body.dark-mode .btn-hero {
    background: #e7e9f0;
    color: #cc1d1d;
}

body.dark-mode .btn-hero:hover {
    background: #ffd700;
    color: #1a1a2e;
}

/* Section Titles */
body.dark-mode .section-title h2 {
    color: #e7e9f0;
}

body.dark-mode .section-title .line {
    background: linear-gradient(90deg, #cc1d1d, #8b1515);
}

/* Quienes Somos */
body.dark-mode .about {
    background: #181d2d;
}

body.dark-mode .about-text {
    color: #e7e9f0;
}

body.dark-mode .about-highlight {
    background: linear-gradient(135deg, #2a3041 0%, #181d2d 100%);
    border-left-color: #cc1d1d;
}

/* Historia Timeline */
body.dark-mode .history {
    background: linear-gradient(135deg, #181d2d 0%, #2a3041 100%);
}

body.dark-mode .timeline-item {
    background: #1a1f2e;
    border-left-color: #cc1d1d;
}

body.dark-mode .timeline-text {
    color: #e7e9f0;
}

body.dark-mode .timeline-year {
    background: linear-gradient(135deg, #cc1d1d 0%, #8b1515 100%);
}

/* Mision Vision */
body.dark-mode .mission-vision {
    background: #181d2d;
}

body.dark-mode .mv-card {
    background: linear-gradient(135deg, #1a1f2e 0%, #2a3041 100%);
    border-color: #2a3041;
}

body.dark-mode .mv-card:hover {
    border-color: #cc1d1d;
}

body.dark-mode .mv-card h3 {
    color: #e7e9f0;
}

body.dark-mode .mv-card p {
    color: #9ca3af;
}

body.dark-mode .mv-icon {
    background: linear-gradient(135deg, #cc1d1d 0%, #8b1515 100%);
}

/* Valores */
body.dark-mode .values {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

body.dark-mode .value-card {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
}

body.dark-mode .value-card:hover {
    background: rgba(255,255,255,0.1);
}

body.dark-mode .value-icon {
    color: #ffd700;
}

/* Unete al equipo */
body.dark-mode .join-team {
    background: #181d2d;
}

body.dark-mode .join-box {
    background: linear-gradient(135deg, #2a3041 0%, #181d2d 100%);
    border-color: #cc1d1d;
}

body.dark-mode .join-box h3 {
    color: #e7e9f0;
}

body.dark-mode .join-box p {
    color: #9ca3af;
}

body.dark-mode .email-link {
    color: #cc1d1d;
}

body.dark-mode .email-link:hover {
    color: #ff6b6b;
}

/* Footer */
body.dark-mode .footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

body.dark-mode .footer h5 {
    color: #ffd700;
}

body.dark-mode .footer ul li a {
    color: rgba(231, 233, 240, 0.8);
}

body.dark-mode .footer ul li a:hover {
    color: #cc1d1d;
}

body.dark-mode .footer-contact {
    color: rgba(231, 233, 240, 0.8);
}

body.dark-mode .footer-contact i {
    color: #cc1d1d;
}

body.dark-mode .social-links a {
    background: rgba(255,255,255,0.1);
}

body.dark-mode .social-links a:hover {
    background: #cc1d1d;
}

body.dark-mode .footer-bottom {
    border-top-color: rgba(255,255,255,0.1);
    color: rgba(231, 233, 240, 0.6);
}

/* Toggle Theme Switch */
.theme-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 25px;
    background: rgba(255,255,255,0.15);
    transition: all 0.3s ease;
    margin-left: 10px;
}

.theme-toggle:hover {
    background: rgba(255,255,255,0.25);
}

.theme-toggle i {
    font-size: 14px;
    color: white;
    transition: all 0.3s ease;
}

.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    background: rgba(255,255,255,0.3);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Estado activo (modo oscuro) */
.theme-toggle.dark .toggle-switch {
    background: #cc1d1d;
}

.theme-toggle.dark .toggle-slider {
    transform: translateX(20px);
}

.theme-toggle.dark i.fa-moon {
    color: #ffd700;
}

.theme-toggle.dark i.fa-sun {
    color: white;
}

/* Estado inactivo (modo claro) */
.theme-toggle:not(.dark) i.fa-moon {
    color: white;
}

.theme-toggle:not(.dark) i.fa-sun {
    color: rgba(255,255,255,0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .hero-logo {
        max-width: 200px;
        margin-top: 30px;
    }
    
    .join-box {
        padding: 30px;
    }
    
    .timeline-item {
        padding: 25px;
    }
    
    .mv-card {
        margin-bottom: 20px;
    }
}
