﻿:root {
    --color-amber: #FFC300;
    --color-green: #556B2F;
    --color-text: #333333;
    --color-bg: #F9F9F9;
    --color-white: #FFFFFF;
    --font-title: 'Montserrat', sans-serif;
    --font-body: 'Lato', sans-serif;
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    scroll-behavior: smooth; 
}

body { 
    font-family: var(--font-body); 
    color: var(--color-text); 
    background-color: var(--color-bg); 
    line-height: 1.6; 
}

.container { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

header { 
    background: var(--color-white); 
    padding: 1rem 0; 
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
}

header .container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.logo-header { 
    display: flex; 
    align-items: center; 
    text-decoration: none; 
    color: var(--color-text); 
    font-family: var(--font-title); 
    font-size: 1.2rem; 
    font-weight: 700; 
}

.logo-header img { 
    height: 40px; 
    margin-right: 10px; 
}

nav ul { 
    list-style: none; 
    display: flex; 
}

nav ul li { 
    margin-left: 20px; 
}

nav ul li a { 
    text-decoration: none; 
    color: var(--color-text); 
    font-weight: 700; 
    transition: color 0.3s; 
}

nav ul li a:hover { 
    color: var(--color-amber); 
}

#hero { 
    height: 100vh; 
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1587049352851-eac23c034e6a?ixlib=rb-4.0.3&q=85&fm=jpg&crop=entropy&cs=srgb&w=3600') no-repeat center center/cover; 
    color: var(--color-white); 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    padding: 0 20px; 
}

#hero .logo-largo { 
    max-width: 90%; 
    width: 500px; 
    margin-bottom: 2rem; 
}

.btn { 
    padding: 1rem 2rem; 
    text-decoration: none; 
    border-radius: 5px; 
    font-weight: 700; 
    transition: transform 0.3s, background-color 0.3s; 
    display: inline-block; 
    margin-top: 10px; 
}

.btn-primary { 
    background-color: var(--color-amber); 
    color: var(--color-text); 
    margin-right: 1rem; 
}

.btn-secondary { 
    background-color: transparent; 
    color: var(--color-white); 
    border: 2px solid var(--color-amber); 
}

.btn:hover { 
    transform: translateY(-3px); 
}

section { 
    padding: 6rem 0; 
}

section h2 { 
    font-family: var(--font-title); 
    font-size: 2.5rem; 
    text-align: center; 
    margin-bottom: 3rem; 
}

.two-columns { 
    display: flex; 
    align-items: center; 
    gap: 3rem; 
}

.two-columns div { 
    flex: 1; 
}

.two-columns img { 
    width: 100%; 
    border-radius: 10px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
}

#estacion { 
    background-color: var(--color-white); 
    text-align: center; 
}

#estacion .container { 
    max-width: 800px; 
}

#contacto { 
    text-align: center; 
}

#contacto .container { 
    max-width: 700px; 
}

#email-placeholder { 
    margin-top: 2rem; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 1.5rem; 
}

.fallback-text {
    font-size: 0.9rem;
    color: #888;
}

#email-container { 
    font-size: 1.2rem; 
    font-weight: 700; 
    background-color: var(--color-white); 
    padding: 1rem 2rem; 
    border-radius: 5px; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    /* Estilos para la transición */
    display: block;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

#email-container.visible {
    opacity: 1;
}

#email-container a { 
    text-decoration: none; 
    color: var(--color-green); 
}

footer { 
    background-color: var(--color-text); 
    color: var(--color-white); 
    text-align: center; 
    padding: 2rem 0; 
}

@media (max-width: 768px) {
    .logo-header span { 
        display: none; 
    }
    .two-columns { 
        flex-direction: column; 
    }
    nav { 
        display: none; 
    }
}