/*
Theme Name: Fotógrafo Eventos - Tema
Description: Tema mínimo y liviano a medida para el sitio de venta de fotografías por evento. Sin builder, pensado para cargar muchas imágenes sin sumar peso extra.
Author: Tu estudio
Version: 1.0.0
Text Domain: fe-tema
*/


/* =========================================================
   VARIABLES
========================================================= */

:root {
    --fe-color-texto: #111;
    --fe-color-fondo: #fff;
    --fe-color-muted: #666;
    --fe-color-borde: #e5e5e5;
    --fe-fuente: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --fe-fuente-titulos: "Axiforma", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --fe-ancho-maximo: 1400px;
}


/* =========================================================
   TIPOGRAFÍAS
========================================================= */

@font-face {
    font-family: "Axiforma";
    src: url("assets/fonts/Axiforma-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Axiforma";
    src: url("assets/fonts/Axiforma-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Axiforma";
    src: url("assets/fonts/Axiforma-Black.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}


/* =========================================================
   RESET BÁSICO
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;

    font-family: var(--fe-fuente);
    color: var(--fe-color-texto);
    background: var(--fe-color-fondo);

    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--fe-fuente-titulos);
    font-weight: 600;
}

.fe-hero h1 {
    font-weight: 900;
}

.fe-site-logo,
.fe-boton-cta,
.fe-boton-principal,
.fe-boton-outline,
.fe-evento-badge {
    font-family: var(--fe-fuente-titulos);
}

.fe-contenedor {
    width: min(var(--fe-ancho-maximo), 92%);
    margin: 0 auto;
}


/* =========================================================
   HEADER DEL SITIO
========================================================= */

.fe-site-header {
    padding: 22px 0;
    border-bottom: 1px solid var(--fe-color-borde);
}

.fe-site-header-contenido {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.fe-site-logo {
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
}

.fe-site-logo img {
    max-height: 48px;
    width: auto;
}

.fe-nav-principal ul {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.fe-nav-principal a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.fe-nav-principal a:hover {
    opacity: 0.7;
}


/* Header flotando sobre la foto, solo en portada */

.fe-header-transparente {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;

    border-bottom: 0;
    background: transparent;
}

.fe-header-transparente .fe-site-logo,
.fe-header-transparente .fe-nav-principal a {
    color: #fff;
}


/* =========================================================
   HERO / PORTADA
========================================================= */

.fe-hero {
    padding: 70px 0 50px;
    text-align: center;
}

.fe-hero h1 {
    margin: 0 0 15px;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.1;
}

.fe-hero p {
    margin: 0 auto;
    max-width: 560px;
    color: var(--fe-color-muted);
    font-size: 17px;
}


/* =========================================================
   LANDING DE PORTADA (front-page.php)
========================================================= */

.fe-landing {
    min-height: 100vh;
}

.fe-hero-landing {
    position: relative;

    width: 100%;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px 0;

    background-color: #111;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: #fff;

    text-align: center;
}

.fe-hero-landing-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.45) 50%,
        rgba(0, 0, 0, 0.65) 100%
    );
}

.fe-hero-landing-contenido {
    position: relative;
    z-index: 1;

    max-width: 720px;
}

.fe-hero-landing-contenido h1 {
    margin: 0 0 18px;
    font-size: clamp(30px, 5vw, 52px);
    line-height: 1.15;
    color: #fff;
}

.fe-hero-landing-contenido p {
    margin: 0 auto;
    max-width: 520px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
}

.fe-landing-ctas {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.fe-boton-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 16px 34px;
    line-height: 1;

    border-radius: 6px;
    border: 2px solid #fff;

    font-size: 16px;
    font-weight: 600;
    text-decoration: none;

    transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.fe-boton-cta-principal {
    background: #fff;
    color: #111;
}

.fe-boton-cta-principal:hover {
    opacity: 0.85;
}

.fe-boton-cta-secundario {
    background: transparent;
    color: #fff;
}

.fe-boton-cta-secundario:hover {
    background: #fff;
    color: #111;
}

.fe-boton-cta-proximamente {
    cursor: default;
    opacity: 0.5;
    border-style: dashed;
}

.fe-boton-cta-proximamente:hover {
    background: transparent;
    color: #fff;
}

@media (max-width: 600px) {

    .fe-landing-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .fe-boton-cta {
        text-align: center;
    }

}


/* =========================================================
   SECCIÓN DE EVENTOS (PORTADA)
========================================================= */

.fe-seccion-eventos {
    padding: 20px 0 80px;
}

.fe-ver-todos {
    text-align: center;
    margin-top: 40px;
}


/* =========================================================
   BUSCADOR DE EVENTOS (archive-fe_evento.php)
========================================================= */

.fe-hero-archivo {
    padding-bottom: 30px;
}

.fe-buscador-eventos {
    max-width: 420px;
    margin: 25px auto 0;
}

.fe-buscador-eventos input {
    width: 100%;
    padding: 14px 18px;

    border: 1px solid var(--fe-color-borde);
    border-radius: 8px;

    font-size: 16px;
    font-family: var(--fe-fuente);
}

.fe-buscador-eventos input:focus {
    outline: 2px solid var(--fe-color-texto);
    outline-offset: 1px;
}


/* =========================================================
   BLOQUE "CONOCÉ AL FOTÓGRAFO"
========================================================= */

.fe-bloque-cta {
    padding: 60px 0;
    margin-top: 20px;
    border-top: 1px solid var(--fe-color-borde);
    text-align: center;
}

.fe-bloque-cta h2 {
    margin: 0 0 12px;
    font-size: 26px;
}

.fe-bloque-cta p {
    margin: 0 0 22px;
    color: var(--fe-color-muted);
}

.fe-boton-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 13px 26px;
    line-height: 1;

    border: 2px solid var(--fe-color-texto);
    border-radius: 6px;

    text-decoration: none;
    font-weight: 600;
    font-size: 15px;

    transition: background 0.2s ease, color 0.2s ease;
}

.fe-boton-outline:hover {
    background: var(--fe-color-texto);
    color: #fff;
}


/* =========================================================
   PÁGINAS DE CONTENIDO (page.php)
========================================================= */

.fe-pagina-contenido {
    padding: 60px 0 90px;
}

.fe-pagina-contenido .fe-contenedor {
    max-width: 800px;
}

.fe-pagina-contenido h1 {
    margin: 0 0 25px;
    font-size: clamp(28px, 4vw, 42px);
}

.fe-pagina-contenido img {
    border-radius: 10px;
}

.fe-pagina-contenido p {
    margin: 0 0 18px;
}


/* =========================================================
   FOOTER DEL SITIO
========================================================= */

.fe-site-footer {
    padding: 30px 0;
    border-top: 0;
    text-align: center;

    background: #111;
}

.fe-site-footer p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
}

.fe-site-footer-creditos {
    margin-top: 6px !important;
}

.fe-site-footer-creditos a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
}

.fe-site-footer-creditos a:hover {
    color: #fff;
    text-decoration-color: #fff;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .fe-site-header-contenido {
        flex-direction: column;
        gap: 14px;
    }

    .fe-hero {
        padding: 40px 0 30px;
    }

    .fe-bloque-cta {
        padding: 40px 0;
    }

}
