/* =====================================================
   ESTILOS GLOBALES - styles.css
   ===================================================== */

/* =====================
   FUENTES PERSONALIZADAS
   ===================== */

@font-face {
    font-family: 'Bake Script';
    src: url('../fonts/BakeScript.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

/* =====================
   VARIABLES DE COLOR
   ===================== */

:root {
    --verde-oliva: #535839;
    --azul-gris-claro: #97a6bb;
    --azul-gris-medio: #79879b;
    --dorado: #d0bb7d;
    --cafe-oscuro: #26120f;
    --crema: #f5dfac;
    --blanco: #ffffff;
}

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

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Armany', Georgia, serif;
    color: var(--cafe-oscuro);
    background-color: var(--blanco);
    line-height: 1.8;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* =====================
   HEADER (BARRA SUPERIOR)
   ===================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(38, 18, 15, 0.08);
    transition: all 0.3s ease;

    /* ✅ tipografía del header */
    font-family: 'Armany', Georgia, serif;
}
.header {
    transform: translateY(0);
    transition: transform 0.35s ease;
}

.header--hidden {
    transform: translateY(-100%);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
}

/* LOGO */
.logo img {
    height: 90px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img { transform: scale(1.05); }

/* NAVEGACIÓN */
.nav {
    display: flex;
    gap: 45px;
}

/* ✅ aquí queda la tipografía “subtítulo” del header */
.nav-link {
    font-family: 'Armany', Georgia, serif; 
    color: var(--cafe-oscuro);
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.6px;
    text-transform: uppercase;

    position: relative;
    transition: color 0.3s ease;
}

/* LÍNEA ANIMADA DEBAJO DEL LINK */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--dorado);
    transition: width 0.3s ease;
}

/* ESTADO HOVER Y ACTIVO */
.nav-link:hover,
.nav-link.active {
    color: var(--verde-oliva);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* MENÚ HAMBURGUESA (solo móvil) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--cafe-oscuro);
    transition: all 0.3s ease;
}

/* =====================
   BOTONES
   ===================== */

.btn-primary {
    display: inline-block;
    padding: 16px 48px;
    background-color: var(--verde-oliva);
    color: var(--blanco);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(83, 88, 57, 0.25);
}

.btn-primary:hover {
    background-color: var(--cafe-oscuro);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(38, 18, 15, 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 16px 48px;
    background-color: transparent;
    color: var(--verde-oliva);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 2px solid var(--verde-oliva);
    border-radius: 50px;
    transition: all 0.4s ease;
}

.btn-secondary:hover {
    background-color: var(--verde-oliva);
    color: var(--blanco);
    transform: translateY(-2px);
}

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

/* ✅ títulos del sitio (no header) */
h1, h2, h3 {
    font-family: 'Bake Script', cursive;
    font-weight: normal;
}

.section-title {
    font-size: 56px;
    color: var(--cafe-oscuro);
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.2;
}

.section-title-dark {
    font-size: 56px;
    color: var(--cafe-oscuro);
    text-align: center;
    margin-bottom: 70px;
    line-height: 1.2;
}
/* =====================
   VISIT ADDRESS LINK
   ===================== */

.visit-address-link {
    color: inherit;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s ease;
}

.visit-address-link:hover {
    color: var(--dorado);
}

.address-icon {
    margin-right: 6px;
}
/* =====================
   FOOTER ISOTIPO
   ===================== */

.footer-isotipo {
    margin-top: 4px;
    display: flex;
    justify-content: center;
}

.footer-isotipo-img {
    height: 400px;      /* ajusta si lo quieres más grande */
    width: auto;
    display: block;
    object-fit: contain;

}

/* =====================
   FOOTER
   ===================== */

.footer {
    background-color: var(--cafe-oscuro);
    color: var(--crema);
    padding: 48px 0 24px;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 23px;
}

.footer-section h4 {
    font-family: 'Bake Script', cursive;
    font-size: 29px;
    margin-bottom: 15px;
    color: var(--dorado);
    font-weight: normal;
}

.footer-section p {
    margin-bottom: 12px;
    line-height: 1.8;
    font-size: 18px;
    
}

.footer-section strong {
    color: var(--dorado);
    font-weight: 600;
}

.footer-address { opacity: 0.85; }

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

.footer-section a:hover { color: var(--dorado); }

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo { height: 150px; width: auto; object-fit: contain;}

.footer-tagline {
    font-style: italic;
    color: var(--azul-gris-claro);
    font-size: 16px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    padding: 10px 0;
}

.social-link svg { transition: transform 0.3s ease; }
.social-link:hover svg { transform: scale(1.15); }

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(245, 223, 172, 0.15);
    color: var(--azul-gris-claro);
    font-size: 14px;
}

/* =====================
   RESPONSIVE
   ===================== */

@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    .section-title,
    .section-title-dark { font-size: 42px; }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background-color: var(--blanco);
        flex-direction: column;
        align-items: center;
        padding: 60px 0;
        transition: left 0.3s ease;
        box-shadow: 0 4px 20px rgba(38, 18, 15, 0.1);
    }

    .nav.active { left: 0; }

    .nav-link { font-size: 18px; }

    .menu-toggle { display: flex; }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .footer-brand { align-items: center; }

    .section-title,
    .section-title-dark { font-size: 36px; }
}
