/* Variables globales */
:root {
    --primary-color: #0A2647;
    --text-color: #333333;
    --light-color: #FFFFFF;
    --dark-color: #1A1A1A;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    height: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    color: var(--light-color);
    line-height: 1.6;
    background-color: var(--dark-color);
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1 0 auto;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

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

.animate-slide-up {
    animation: slideUp 0.8s ease forwards;
}

.animate-scale-in {
    opacity: 0;
    animation: scaleIn 0.8s ease forwards;
}

/* Header y Navegación */
.header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 1rem;
    transition: background-color 0.3s ease;
}

.header:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../assets/Hero.jpg') center/cover no-repeat;
    position: relative;
    padding: 2rem 1rem;
    flex: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
}

.hero-content {
    position: relative;
    width: 100%;
    max-width: 600px;
    text-align: center;
    z-index: 2;
    padding: 0 1rem;
}

.hero-logo {
    width: 60px;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light-color);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--light-color);
}

/* Email Signup */
.email-signup {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    animation-delay: 0.9s;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.email-input {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
}

.send-button {
    width: 100%;
    padding: 1rem;
    border: 50px;
    border-radius: 50px;
    background: var(--primary-color);
    color: var(--light-color);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-link {
    color: var(--light-color);
    font-size: 2rem;
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    opacity: 1;
}

/* Footer */
.footer {
    background-color: rgba(0, 0, 0, 0.9);
    color: var(--light-color);
    padding: 2rem 1rem;
    width: 100%;
    position: relative;
    margin-top: auto;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--light-color);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-link {
    color: var(--light-color);
    text-decoration: none;
}

.contact-info p {
    color: var(--light-color);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    line-height: 1.4;
}

.contact-info i {
    font-size: 1.2rem;
    opacity: 0.9;
    width: auto;
    min-width: 20px;
}

.schedule {
    color: var(--light-color) !important;
}

.phone-number {
    color: var(--light-color) !important;
    font-weight: 600;
}

/* Media Queries */
@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .email-signup {
        flex-direction: row;
    }

    .logo-img {
        height: 50px;
    }

    .hero-logo {
        width: 80px;
    }
}

/* iOS Specific Fixes */
@supports (-webkit-touch-callout: none) {
    .footer {
        padding-bottom: calc(2rem + env(safe-area-inset-bottom));
    }
    
    .contact-info p {
        color: var(--light-color) !important;
        -webkit-text-fill-color: var(--light-color);
    }
} 