/*
Theme Name: Baja Cali Barber Pro
Author: Junior Conde
Description: Desarrollo a medida basado en la estructura visual de Baja Cali Barber.
Version: 1.0.0
Text Domain: bajacalibarber
*/

:root {
    --color-primario: #d4af37;
    --color-fondo: #0a0a0a;
    --color-texto: #ffffff;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--color-fondo);
    color: var(--color-texto);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    overflow-x: hidden; /* Previene scroll horizontal indeseado en móviles */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.site-header {
    background-color: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid var(--color-primario);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    margin: 0;
}

.site-title a {
    color: var(--color-primario);
    text-decoration: none;
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.nav-list a {
    color: var(--color-texto);
    text-decoration: none;
    font-size: 0.95rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: var(--color-primario);
}

.hero-section {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1503951914875-452162b0f3f1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero-title {
    font-size: 4.5rem;
    color: var(--color-primario);
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin: 0 auto 40px auto;
    font-weight: 300;
    max-width: 650px;
    line-height: 1.6;
}

.btn-cta {
    display: inline-block;
    padding: 18px 45px;
    background-color: var(--color-primario);
    color: var(--color-fondo);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-cta:hover {
    background-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.site-footer {
    background-color: #050505;
    border-top: 1px solid #1a1a1a;
    padding: 40px 0;
    text-align: center;
}

.footer-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.services-section {
    padding: 100px 0;
    background-color: var(--color-fondo);
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-title {
    font-size: 2.8rem;
    color: var(--color-texto);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 20px 0;
}

.title-separator {
    width: 100px;
    height: 4px;
    background-color: var(--color-primario);
    margin: 0 auto;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background: #111111;
    padding: 50px 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #222222;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-12px);
    border-color: var(--color-primario);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
}

.service-name {
    color: var(--color-primario);
    font-size: 1.6rem;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-desc {
    color: #a0a0a0;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 25px 0;
}

.service-price {
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-texto);
    padding-top: 15px;
    border-top: 1px solid #333333;
    width: 80%;
}

.contact-section {
    padding: 100px 0;
    background-color: #070707;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.contact-info {
    background: #111111;
    padding: 45px 40px;
    border-radius: 8px;
    border-left: 5px solid var(--color-primario);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.contact-heading {
    color: var(--color-primario);
    font-size: 1.8rem;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-text {
    color: #cccccc;
    font-size: 1.1rem;
    margin-bottom: 12px;
    line-height: 1.6;
}

.contact-text strong {
    color: var(--color-texto);
}

.hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    color: #cccccc;
    padding: 12px 0;
    border-bottom: 1px solid #222222;
    font-size: 1.1rem;
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-list li .closed {
    color: #e74c3c;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-map {
    height: 100%;
    min-height: 400px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #222222;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

@media screen and (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-map {
        min-height: 350px;
    }

    .hero-title {
        font-size: 3rem;
    }
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 30px;
    height: 3px;
    margin: 6px auto;
    background-color: var(--color-primario);
    transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        height: 100dvh; /* Soporte moderno para móviles */
        background-color: rgba(10, 10, 10, 0.98);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.4s ease;
        z-index: 1000;
        border-left: 2px solid var(--color-primario);
    }

    .main-navigation.toggled {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .nav-list a {
        font-size: 1.5rem;
    }

    .menu-toggle.is-active .hamburger-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.is-active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.is-active .hamburger-line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}
/* =========================================
 *  Sección de Reservas (Banner CTA)
 *  ========================================= */
.booking-section {
    /* Degradado utilizando tu color dorado primario */
    background: linear-gradient(135deg, var(--color-primario) 0%, #9c8022 100%);
    padding: 80px 0;
    text-align: center;
    border-top: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
}

.booking-content {
    max-width: 800px;
}

.booking-title {
    color: #000000; /* Texto oscuro para contrastar con el fondo dorado */
    font-size: 2.8rem;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.booking-desc {
    color: #1a1a1a;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0 auto 35px auto;
    line-height: 1.6;
}

/* Diseño del Botón de WhatsApp */
.btn-whatsapp-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #25D366; /* Verde oficial de WhatsApp */
    color: #ffffff;
    padding: 16px 40px;
    border-radius: 50px; /* Bordes totalmente redondeados */
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp-large:hover {
    transform: scale(1.05); /* Efecto de crecimiento al pasar el mouse */
    background-color: #20bd5a;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

/* Ajuste móvil */
@media screen and (max-width: 768px) {
    .booking-title {
        font-size: 2rem;
    }
    .btn-whatsapp-large {
        width: 100%;
        box-sizing: border-box;
    }
}
