/*
Theme Name: Together
Author: Tu Nombre
Description: Tema a medida desarrollado desde cero. Estilos Globales, Header y Menú Hamburguesa.
Version: 1.0
Text Domain: together
*/

@font-face {
    font-family: 'BiroScript';
    src: url('fonts/Biro_Script_reduced.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden; 
}

/* ==========================================
   HEADER EN ESTADO INICIAL (Transparente)
   ========================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: transparent; 
    padding: 25px 40px;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 35px;
    width: auto;
    display: block;
    filter: invert(1); 
    transition: filter 0.3s ease;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 15px;
}

.main-navigation a {
    color: #ffffff;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.main-navigation .separator {
    color: #ffffff;
    opacity: 0.6;
    font-size: 16px;
    pointer-events: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.btn-contact {
    background-color: #0013c7; 
    color: #ffffff !important;
    text-decoration: none !important; 
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 16px;
    display: inline-block;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

.btn-contact:hover {
    opacity: 0.9;
    text-decoration: none !important; 
}

.menu-toggle {
    display: none;
}

/* ==========================================
   HEADER EN ESTADO SCROLL (.scrolled)
   ========================================== */
.main-header.scrolled {
    background-color: #ffffff;
    padding: 15px 40px; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.main-header.scrolled .main-navigation a,
.main-header.scrolled .main-navigation .separator {
    color: #2222FF;
    opacity: 1;
}

.main-header.scrolled .logo img {
    filter: invert(13%) sepia(80%) saturate(6295%) hue-rotate(243deg) brightness(97%) contrast(116%);
}

/* Responsive Menú Hamburguesa */
@media (max-width: 991px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 10000; 
    }

    .menu-toggle span {
        width: 100%;
        height: 3px;
        background-color: #ffffff; 
        border-radius: 2px;
        transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
    }

    .main-header.scrolled .menu-toggle span {
        background-color: #2222FF;
    }

    .menu-toggle.open span {
        background-color: #ffffff !important;
    }

    .menu-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.open span:nth-child(2) { opacity: 0; }
    .menu-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .main-navigation {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #2222FF; 
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s;
    }

    .main-navigation.open { opacity: 1; visibility: visible; }
    .main-navigation ul { flex-direction: column; gap: 25px; text-align: center; }
    .main-navigation a { color: #ffffff; font-size: 2.5rem; font-weight: bold; }
    .main-navigation .separator { display: none; }
    .header-actions { display: none; }
}


/* ==========================================
   FOOTER PREMIUM MINIMALISTA
   ========================================== */
.site-footer {
    background-color: #000000; /* Negro absoluto */
    border-top: 1px solid rgba(255, 255, 255, 0.05); /* Línea divisoria imperceptible */
    padding: 40px 0;
    width: 100%;
    box-sizing: border-box;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright p,
.footer-heartbeat p {
    font-family: 'Arial', sans-serif;
    font-size: 0.85rem;
    color: #606070; /* Gris apagado elegante */
    margin: 0;
    letter-spacing: 0.5px;
}

.footer-brand {
    font-family: 'Arial Black', sans-serif;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
}

/* Animación y detalle del ícono */
.heart-icon {
    color: #2222FF; /* Tu azul de marca en el destello */
    display: inline-block;
    font-size: 1rem;
    margin: 0 2px;
    animation: footerGlow 3s ease-in-out infinite;
}

html {
    scroll-behavior: smooth;
}

@keyframes footerGlow {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.2) rotate(15deg); opacity: 1; color: #00A5E6; } /* Cambia sutilmente a tu cyan */
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 767px) {
    .footer-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 0 25px;
    }
}