/*
Theme Name: Terra Moura - Festival Theme
Theme URI: https://aterramoura.com
Description: Tema personalizado para Terra Moura Festival con diseño optimizado para venta de tickets
Author: Terra Moura
Author URI: https://aterramoura.com
Template: twentytwentyfour
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: terramoura
*/

/* === ESTILOS BASE DEL TEMA === */
/* Los estilos del tema padre se cargan desde functions.php */

/* Eliminar scroll horizontal causado por bloques full-bleed (100vw) y decoraciones */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* === NUNITO (LOCAL - 4 pesos en woff2) === */
@font-face {
    font-family: 'Nunito';
    src: url('/wp-content/themes/terramoura-child/assets/fonts/nunito/Nunito-200.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Nunito';
    src: url('/wp-content/themes/terramoura-child/assets/fonts/nunito/Nunito-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Nunito';
    src: url('/wp-content/themes/terramoura-child/assets/fonts/nunito/Nunito-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Nunito';
    src: url('/wp-content/themes/terramoura-child/assets/fonts/nunito/Nunito-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* === GAPSANS (TÍTULOS) === */
@font-face {
    font-family: 'GapSans';
    src: url('/wp-content/themes/terramoura-child/assets/fonts/GapSans.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'GapSans';
    src: url('/wp-content/themes/terramoura-child/assets/fonts/GapSansBold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'GapSans';
    src: url('/wp-content/themes/terramoura-child/assets/fonts/GapSansBlack.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* === FUENTE GLOBAL - NUNITO EXTRALIGHT (cuerpo) === */
* {
    font-family: 'Nunito', sans-serif;
}

body {
    font-family: 'Nunito', sans-serif;
    font-weight: 200;
    line-height: 1.6;
}

/* h1 y h2 — GapSans Bold 110% ancho / 90% alto */
h1, h2 {
    font-family: 'GapSans', 'Nunito', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    transform: scaleX(1.1) scaleY(0.9);
    transform-origin: left top;
    display: inline-block;
}

/* h3 — Nunito Bold (700) con kerning negativo -75 */
h3 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    letter-spacing: -0.075em;
}

/* Pesos de fuente específicos */
.font-light { font-weight: 200; }
.font-regular { font-weight: 400; }
.font-bold { font-weight: 700; }

/* === VARIABLES PERSONALIZADAS TERRA MOURA === */
:root {
    --terramoura-primary: #e74c3c;
    --terramoura-primary-dark: #c0392b;
    --terramoura-secondary: #2c3e50;
    --terramoura-accent: #f39c12;
    --terramoura-light: #ecf0f1;
    --terramoura-dark: #34495e;
    --terramoura-success: #27ae60;
    --terramoura-border: #dfe6e9;
    --terramoura-shadow: rgba(0, 0, 0, 0.1);
}

/* === ESTILOS PARA PÁGINA DE TICKETS === */

/* Los estilos específicos de la página de tickets 
   están en template-tickets.php */

/* === CABECERA DE PÁGINA DE TICKETS === */
/* Los estilos de cabecera están en template-tickets.php */

/* === RESPONSIVE === */
/* Los breakpoints responsive están en template-tickets.php */

/* === OCULTAR ELEMENTOS INNECESARIOS === */
.page-template-template-tickets .woocommerce-breadcrumb,
.page-template-template-tickets .woocommerce-result-count,
.page-template-template-tickets .woocommerce-ordering {
    display: none !important;
}