/*
    Theme Name: Monteoro Minerals LTD
    Theme URI: https://monteoro.co
    Author: Leonardo Ruiz
    Author URI: https://monteoro.co
    Description: Theme diseñado para Monteoro Minerals LTD - Landing Page Corporativa
    Version: 1.0
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Tags: landing-page, minerals, corporate, css grid, mobile first
    Text Domain: monteoro
*/

/* Variables globales */
:root {
    /* Colores */
    --primary-color: #c59d3b; /* Dorado de la montaña */
    --secondary-color: #d4af5a; /* Dorado claro */
    --dark-color: #3d5467; /* Azul oscuro del logo */
    --light-color: #f5f5f5; /* Gris muy claro */
    --text-color: #333333; /* Texto principal */
    --accent-color: #c94539; /* Rojo de los rayos */
    --white-color: #ffffff; /* Blanco */
    --hover-color: #a88330; /* Dorado oscuro para hover */
    --shadow-color: rgba(197, 157, 59, 0.2); /* Sombra dorada */
    
    /* Tipografía */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    
    /* Alturas */
    --topbar-height: 5.5rem;
    --footer-height: 14rem;
}

/* Reseteo básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilos generales */
html {
    box-sizing: border-box;
    font-size: 62.5%; /* 1rem = 10px */
    height: 100%;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    font-family: var(--font-primary), -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    background-color: var(--white-color);
    color: var(--text-color);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.2;
}

h1 { font-size: 6rem; }
h2 { font-size: 4.8rem; }
h3 { font-size: 3.6rem; }
h4 { font-size: 2.4rem; }

/* Globales */
p {
    color: var(--text-color);
    font-size: 1.6rem;
    line-height: 1.5;
}

a { 
    text-decoration: none;
    color: inherit;
}

ul { list-style: none; }

img { 
    max-width: 100%; 
    height: auto; 
    display: block; 
}

/* Top Bar */
.top-bar {
    background: var(--dark-color);
    padding: 1.2rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    flex-shrink: 0;
    min-height: var(--topbar-height);
    /* LÍNEA DIVISORIA AGREGADA */
    border-bottom: 3px solid var(--primary-color);
}

/* CONTENIDO DE TOPBAR OCULTO */
.top-bar-content {
    max-width: 120rem;
    margin: 0 auto;
    display: none; /* Oculta todo el contenido */
}

/* Sección izquierda: Redes + Descripción */
.left-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
}

/* Redes Sociales */
.social-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-shrink: 0;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.social-links svg {
    width: 1.8rem;
    height: 1.8rem;
    fill: var(--white-color);
}

/* Descripción del sitio */
.site-description {
    flex: 1;
}

.site-description p {
    color: var(--white-color);
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.4;
    color: var(--secondary-color);
}

/* Email - Derecha */
.top-bar-email-wrapper {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.top-bar-email {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--white-color);
    text-decoration: none;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.top-bar-email svg {
    width: 1.8rem;
    height: 1.8rem;
    fill: var(--primary-color);
    flex-shrink: 0;
    transition: fill 0.3s ease;
}

.top-bar-email:hover {
    color: var(--primary-color);
}

.top-bar-email:hover svg {
    fill: var(--white-color);
}

/* Hero Section */
.hero-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--white-color);
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - var(--topbar-height) - var(--footer-height));
    padding: 2rem 0;
}

/* ANIMACIÓN PULSE DESACTIVADA */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, var(--shadow-color) 0%, transparent 70%);
    /* animation: pulse 8s ease-in-out infinite; */ /* DESACTIVADA */
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.logo-container {
    position: relative;
    z-index: 1;
    animation: fadeInScale 1.5s ease-out;
    padding: 2rem;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ANIMACIÓN FLOAT DEL LOGO DESACTIVADA */
.logo-container img {
    max-width: 50rem;
    width: 90%;
    height: auto;
    filter: drop-shadow(0 10px 40px var(--shadow-color));
    /* animation: float 3s ease-in-out infinite; */ /* DESACTIVADA */
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Main Content (para páginas internas) */
.site-main {
    flex: 1;
    padding: 4rem 2rem;
    min-height: calc(100vh - var(--topbar-height) - var(--footer-height));
}

.site-main .container {
    max-width: 120rem;
    margin: 0 auto;
}

/* Footer - Siempre visible al fondo */
.site-footer {
    background: var(--dark-color);
    color: var(--white-color);
    padding: 2.5rem 2rem 1.5rem;
    text-align: center;
    flex-shrink: 0;
    margin-top: auto;
    min-height: var(--footer-height);
    display: flex;
    align-items: center;
    justify-content: center;
    /* LÍNEA DIVISORIA AGREGADA */
    border-top: 3px solid var(--primary-color);
}

.footer-content {
    max-width: 120rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.footer-info {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.6rem;
}

.footer-item svg {
    width: 2rem;
    height: 2rem;
    fill: var(--primary-color);
    flex-shrink: 0;
}

.footer-item a {
    color: var(--white-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-item a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(197, 157, 59, 0.3);
    padding-top: 1.5rem;
    font-size: 1.4rem;
    color: var(--light-color);
}

.footer-bottom p {
    font-size: 1.4rem;
    color: var(--light-color);
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    html {
        font-size: 56.25%; /* 1rem = 9px */
    }
    
    :root {
        --topbar-height: 8rem;
        --footer-height: 18rem;
    }

    h1 { font-size: 4rem; }
    h2 { font-size: 3.2rem; }
    h3 { font-size: 2.4rem; }
    h4 { font-size: 1.8rem; }

    .top-bar {
        padding: 1rem 1.5rem;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .left-section {
        width: 100%;
        flex-direction: column;
        gap: 1rem;
        order: 1;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .site-description {
        text-align: center;
    }
    
    .site-description p {
        font-size: 1.3rem;
        color: var(--secondary-color);
    }
    
    .top-bar-email-wrapper {
        order: 2;
    }

    .hero-section {
        min-height: calc(100vh - var(--topbar-height) - var(--footer-height));
    }

    .logo-container img {
        max-width: 50rem;
    }

    .footer-item {
        width: 100%;
        justify-content: center;
    }
    
    .site-footer {
        padding: 2.5rem 1.5rem 2rem;
        min-height: var(--footer-height);
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .footer-info {
        margin-bottom: 1.5rem;
    }
    
    .footer-item {
        font-size: 1.8rem;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
    }
    
    .footer-bottom p {
        font-size: 1.5rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 50%; /* 1rem = 8px */
    }
    
    :root {
        --topbar-height: 9rem;
        --footer-height: 20rem;
    }

    h1 { font-size: 3rem; }
    h2 { font-size: 2.4rem; }
    h3 { font-size: 1.8rem; }
    h4 { font-size: 1.4rem; }

    p { font-size: 1.4rem; }

    .top-bar {
        padding: 1rem;
    }
    
    .left-section {
        gap: 0.8rem;
    }
    
    .social-links {
        gap: 1rem;
    }
    
    .social-links a {
        width: 2.8rem;
        height: 2.8rem;
    }
    
    .social-links svg {
        width: 1.6rem;
        height: 1.6rem;
    }
    
    .site-description p {
        font-size: 1.2rem;
        color: var(--secondary-color);
    }
    
    .top-bar-email {
        display: none;
    }
    
    .top-bar-email span {
        display: none;
    }
    
    .top-bar-email::after {
        content: 'Email';
        font-size: 1.2rem;
    }

    .hero-section {
        min-height: calc(100vh - var(--topbar-height) - var(--footer-height));
    }

    .logo-container img {
        max-width: 50rem;
    }

    .site-footer {
        padding: 3rem 1rem 2rem;
        min-height: var(--footer-height);
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .footer-info {
        margin-bottom: 1.5rem;
    }
    
    .footer-item {
        font-size: 1.8rem;
    }
    
    .footer-item svg {
        width: 2.2rem;
        height: 2.2rem;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
    }
    
    .footer-bottom p {
        font-size: 1.4rem;
        line-height: 1.6;
    }
}