/*
Theme Name: PAF Atelier
Theme URI: https://pafatelier.com.ar
Description: Tema personalizado para PAF Atelier - Paisaje y Arquitectura
Version: 1.1
Author: PAF Atelier
*/

/* Importar Adobe Fonts - Futura PT */
@import url("https://use.typekit.net/kyd2gzh.css");

/* ==========================================
   RESET Y BASE
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Aplicar Futura PT a todo el sitio */
html, body {
    font-family: 'futura-pt', 'Futura PT', 'Futura', 'Jost', 'Helvetica Neue', 'Arial', sans-serif;
}

/* Forzar tipografía en todos los elementos comunes */
h1, h2, h3, h4, h5, h6, p, a, li, span, div, input, textarea, button {
    font-family: 'futura-pt', 'Futura PT', 'Futura', 'Jost', 'Helvetica Neue', 'Arial', sans-serif;
}

:root {
    /* Fuentes - Adobe Fonts (Futura PT) con múltiples fallbacks */
    --font-primary: 'futura-pt', 'Futura PT', 'Futura', 'Jost', 'Helvetica Neue', 'Arial', sans-serif;
    
    /* Colores basados en tu diseño */
    --color-cream: #F5F1E8;
    --color-rust: #A6523A;
    --color-blue: #8FA9B8;
    --color-olive: #8B9456;
    --color-dark: #2B2B2B;
    --color-white: #FFFFFF;
    
    /* Pesos de fuente disponibles en Futura PT */
    --font-light: 300;
    --font-book: 400;
    --font-medium: 500;
    --font-demi: 600;
    --font-bold: 700;
}

body {
    font-family: var(--font-primary);
    font-weight: 500; /* Peso medium por defecto para todos los textos */
    line-height: 1.25;
    color: var(--color-dark);
    background-color: var(--color-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================
   TIPOGRAFÍA
   ========================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: var(--font-medium);
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 2rem);
}

p {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 500;
    line-height: 1.25;
}

/* ==========================================
   UTILIDADES
   ========================================== */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ==========================================
   IMÁGENES
   ========================================== */

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

/* ==========================================
   FOOTER MENU (Global Styles)
   ========================================== */

.footer-menu-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: #efefed;
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.4s ease;
    cursor: pointer;
}

.footer-menu-overlay:hover {
    height: 310px;
    background: #efefed;
}

.footer-menu-columns {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    padding: 2rem;
    height: calc(100% - 50px);
    width: 100%;
    position: relative;
    box-sizing: border-box;
}

.footer-titles {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    padding: 0 2rem;
    align-items: center;
    z-index: 100;
    box-sizing: border-box;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.footer-title {
    font-family: 'futura-pt', 'Futura PT', 'Futura', 'Jost', 'Helvetica Neue', 'Arial', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-dark);
    text-align: left;
}

.footer-title:last-child {
    text-align: right;
}

.footer-title a {
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-title a:hover {
    color: var(--color-rust);
}

.footer-title.active a {
    color: var(--color-rust);
}

/* Desktop/Mobile text toggle */
.footer-title .mobile-text {
    display: none;
}

.footer-title .desktop-text {
    display: inline;
}

.footer-column ul,
.footer-column .contact-info {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.4s ease 0.1s;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.footer-menu-overlay:hover .footer-column ul,
.footer-menu-overlay:hover .footer-column .contact-info {
    opacity: 1;
}

.footer-column ul li a {
    color: var(--color-dark);
    text-decoration: none;
    font-family: 'futura-pt', 'Futura PT', 'Futura', 'Jost', 'Helvetica Neue', 'Arial', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: block;
}

.footer-column ul li a:hover {
    color: var(--color-rust);
}

.footer-contact .contact-info {
    margin-top: 0;
    text-align: right;
}

.footer-contact .contact-address,
.footer-contact .contact-email {
    margin: 0 0 0.8rem 0;
    font-family: 'futura-pt', 'Futura PT', 'Futura', 'Jost', 'Helvetica Neue', 'Arial', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--color-dark);
    text-align: right;
}

.footer-contact .contact-email {
    margin-bottom: 0;
}

.footer-contact .contact-email a {
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact .contact-email a:hover {
    color: var(--color-rust);
}

/* Footer Menu - Mobile Styles */
@media (max-width: 768px) {
    .footer-menu-overlay {
        height: auto;
        cursor: default;
    }

    /* Disable hover expansion on mobile */
    .footer-menu-overlay:hover {
        height: auto;
    }

    /* Hide expandable content on mobile */
    .footer-menu-columns {
        display: none;
    }

    .footer-titles {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 0.5rem 1rem;
        padding: 0.8rem 1rem;
        height: auto;
    }

    .footer-title {
        font-size: 0.85rem;
        text-align: center;
    }

    .footer-title:last-child {
        text-align: center;
    }

    /* Show mobile text, hide desktop text */
    .footer-title .mobile-text {
        display: inline;
    }

    .footer-title .desktop-text {
        display: none;
    }
}