/* VARIABLES DE DISEÑO PREMIUM */
:root {
    --bg-main: #0D0D0D;
    --bg-darker: #050505;
    --bg-card: #1A1A1A;
    --gold-primary: #D4AF37;
    --gold-hover: #F1D570;
    --leather: #3E2723;
    --text-light: #F9F6F0;
    --text-muted: #A8A8A8;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

/* RESET Y ESTILOS BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.text-center { text-align: center; }

/* BOTONES */
.btn-primary {
    display: inline-block;
    background: transparent;
    color: var(--gold-primary);
    border: 2px solid var(--gold-primary);
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 0%; height: 100%;
    background: var(--gold-primary);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-primary:hover::before { width: 100%; }
.btn-primary:hover {
    color: var(--bg-main);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-3px);
}

.btn-large { padding: 20px 50px; font-size: 1.1rem; }

/* SEPARADORES */
.separator-gold, .separator-gold-left {
    height: 2px;
    background: var(--gold-primary);
    margin: 20px auto;
}
.separator-gold { width: 60px; }
.separator-gold-left { width: 60px; margin: 20px 0; }

/* NAVBAR PREMIUM */
.navbar {
    position: absolute; /* Flota sobre la imagen del hero */
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 0;
    z-index: 100; /* Asegura que esté por encima de todo */
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--gold-primary);
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-menu a {
    color: var(--text-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--gold-primary);
}

/* Ajuste Mobile: Centramos la marca y ocultamos el menú para mantenerlo limpio */
@media (max-width: 768px) {
    .nav-container {
        justify-content: center;
    }
    .nav-menu {
        display: none; 
    }
}

/* HERO SECTION */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: url('https://images.unsplash.com/photo-1585747860715-2ba37e788b70?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    /* Imagen genérica de barbería premium */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(13,13,13,0.7), rgba(13,13,13,1));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-kicker {
    color: var(--gold-primary);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* --- REEMPLAZAR LA SECCIÓN DEL CARRUSEL EN STYLE.CSS POR ESTO --- */

.section-title { font-size: 2.5rem; }
.section-desc { color: var(--text-muted); margin-bottom: 50px; }

/* NUEVA CUADRÍCULA DE SERVICIOS */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    /* Flex-grow 1 para que llenen el espacio, pero con un max-width para mantener elegancia */
    flex: 1 1 280px;
    max-width: 320px; 
    
    background: var(--bg-card);
    padding: 40px 30px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 4px; /* Un radio muy sutil suaviza las esquinas */
    
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    text-align: center; /* Centrar el texto dentro de la tarjeta aporta más simetría */
}

/* Efecto hover premium */
.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-primary);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--gold-primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
    flex-grow: 1;
}

.service-card .price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-light);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
    /* Al estar el texto centrado, el precio también se centrará naturalmente */
}

/* Ajustes Responsive */
@media (max-width: 768px) {
    .service-card {
        max-width: 100%; /* En móviles, las tarjetas ocupan todo el ancho disponible */
    }
}

/* EXPERIENCIA */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.experience-list {
    list-style: none;
    margin-top: 30px;
}

.experience-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: var(--text-muted);
}

.experience-list li::before {
    content: '♦';
    color: var(--gold-primary);
    position: absolute;
    left: 0;
    top: 0;
}

.experience-list strong { color: var(--text-light); }

.experience-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 20px 20px 0px var(--leather);
    transition: transform 0.5s ease;
}

.experience-image:hover img { transform: translate(-10px, -10px); }

/* TESTIMONIOS */
.bg-darker { background-color: var(--bg-darker); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.testimonial-card {
    padding: 40px;
    background: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 24 24" fill="rgba(212,175,55,0.1)" xmlns="http://www.w3.org/2000/svg"><path d="M14.017 21v-7.391c0-5.704 3.731-9.57 8.983-10.609l.995 2.151c-2.432.917-3.995 3.638-3.995 5.849h4v10h-9.983zm-14.017 0v-7.391c0-5.704 3.748-9.57 9-10.609l.996 2.151c-2.433.917-3.996 3.638-3.996 5.849h3.983v10h-9.983z"/></svg>') no-repeat top 20px left 20px;
    background-color: var(--bg-card);
    border-top: 3px solid var(--gold-primary);
    text-align: left;
}

.quote {
    font-style: italic;
    color: var(--text-muted);
    margin: 20px 0;
    font-size: 1.05rem;
}

.client-name { color: var(--gold-primary); }

/* FINAL CTA */
.final-cta {
    background: linear-gradient(rgba(13,13,13,0.9), rgba(13,13,13,0.9)), url('https://images.unsplash.com/photo-1593702275687-f8b402bf1fb5?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover fixed;
}

.cta-title { font-size: 3rem; margin-bottom: 20px; }
.cta-subtitle { color: var(--text-muted); margin-bottom: 40px; font-size: 1.2rem; }

/* FOOTER */
.footer {
    background-color: var(--bg-darker);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 80px 0 20px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer h2, .footer h3 {
    color: var(--gold-primary);
    margin-bottom: 20px;
}

.footer p { color: var(--text-muted); margin-bottom: 10px; }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.credits strong { color: var(--gold-primary); font-family: var(--font-heading); letter-spacing: 1px; }
.credits a {
    color: var(--gold-primary);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.credits a:hover {
    color: var(--gold-hover);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

/* ANIMACIONES CLASES UTILITARIAS */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    animation: fadeInUp 1.2s cubic-bezier(0.5, 0, 0, 1) forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE DESIGN (MOBILE FIRST APPROACH) */
@media (max-width: 900px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    .cta-title { font-size: 2.2rem; }
    .footer { text-align: center; }
    .separator-gold-left { margin: 20px auto; }
}