/* Variables de colores de la marca */
:root {
    --color-mostaza: #a7a354;
    --color-naranja: #e89a40;
    --color-crema: #f8f7f2;
    --color-teja: #bd612a;
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Open Sans', sans-serif;
    background-color: var(--color-crema);
    color: var(--color-teja);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.container {
    padding: 40px 20px;
    max-width: 700px;
    width: 100%;
}

/* Logo */
.logo-container {
    margin-bottom: 50px;
    animation: fadeInDown 1s ease-out;
}

.logo-container img {
    max-width: 500px;
    width: 100%;
    height: auto;
}

/* Configuración para la tipografía Roca */
@font-face {
    font-family: 'Roca One';
    src: url('../assets/fonts/RocaOne-Regular.woff2') format('woff2'),
         url('../assets/fonts/RocaOne-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roca Two';
    src: url('../assets/fonts/RocaTwo-Regular.woff2') format('woff2'),
         url('../assets/fonts/RocaTwo-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

h1 {
    font-family: 'Roca One', 'Roca Two', Georgia, serif;
    font-size: 2.8rem;
    color: var(--color-teja);
    margin-bottom: 25px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

/* Loader animado */
.loader {
    width: 50px;
    height: 50px;
    border: 5px solid var(--color-mostaza);
    border-bottom-color: var(--color-naranja);
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite, fadeIn 1s ease-out 0.7s both;
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-info {
    margin-top: 50px;
    font-size: 1rem;
    color: var(--color-mostaza);
    font-weight: 600;
    animation: fadeIn 1s ease-out 0.9s both;
}

.contact-info a {
    color: var(--color-naranja);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--color-teja);
}

/* Responsividad */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    .logo-container img {
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }
    
    .logo-container img {
        max-width: 280px;
    }
    
    .container {
        padding: 30px 15px;
    }
}
