/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #161616;
    --bg-card-hover: #1e1e1e;
    --gold: #c8a55a;
    --gold-light: #e0c882;
    --gold-dark: #a8863a;
    --gold-glow: rgba(200, 165, 90, 0.25);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #707070;
    --border-color: #222222;
    --border-light: #333333;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.text-gold {
    color: var(--gold);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.8rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    color: var(--gold);
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-cta {
    background: var(--gold);
    color: #0a0a0a;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-gold {
    background: var(--gold);
    color: #0a0a0a;
}

.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--gold-glow);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}

.btn-outline-gold:hover {
    background: rgba(200, 165, 90, 0.1);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-sm {
    padding: 0.55rem 1.2rem;
    font-size: 0.72rem;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    /* ... otros estilos ... */
    background: linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.7)), 
                url('/imag/barberia.jpg'); /* Usa el nombre exacto de tu archivo */
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 750px;
    padding: 2rem 1.5rem;
}

.hero-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 1rem;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-accent {
    color: var(--gold);
    font-style: italic;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 500px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold);
}

.stat-number small {
    font-size: 1rem;
}

.stat-number i {
    font-size: 1rem;
    margin-left: 2px;
}

.stat-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-light);
}

/* ===== SECTION STYLES ===== */
section {
    padding: 5rem 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header-left {
    text-align: left;
}

.section-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--gold);
    margin-bottom: 0.6rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    font-size: 0.9rem;
}

.section-subtitle-left {
    color: var(--text-secondary);
    max-width: 400px;
    font-size: 0.9rem;
}

/* ===== SERVICES ===== */
.services {
    background: var(--bg-primary);
    padding-bottom: 0;
}

.services-container {
    max-width: 1100px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.3rem;
    margin-top: 2.5rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(200, 165, 90, 0.08);
}

.service-image {
    height: 180px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-info {
    padding: 1.2rem;
}

.service-icon {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.service-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.service-info p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-tag {
    background: rgba(200, 165, 90, 0.12);
    color: var(--gold);
    padding: 0.25rem 0.7rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.service-tag:hover {
    background: var(--gold);
    color: #0a0a0a;
}

.service-price {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.9rem;
}

/* ===== HOURS BAR ===== */
.hours-bar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    max-width: 1100px;
    margin: 2.5rem auto 0;
    padding: 1rem 1.5rem;
}

.hours-bar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.hours-info {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
}

.hours-info i {
    color: var(--gold);
    font-size: 1rem;
}

.hours-schedule {
    display: flex;
    gap: 1.5rem;
}

.hour-item {
    background: var(--bg-primary);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-primary);
}

.hour-item small {
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 0.3rem;
}

.hours-actions {
    display: flex;
    gap: 0.5rem;
}

/* ===== GALLERY ===== */
.gallery {
    background: var(--bg-secondary);
}

.gallery-container {
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: 1rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-tall {
    grid-row: span 2;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background: var(--bg-primary);
}

.testimonials-container {
    max-width: 1000px;
    margin: 0 auto;
}

.testimonials-quote {
    text-align: center;
    margin-bottom: 1rem;
}

.testimonials-quote i {
    font-size: 2.5rem;
    color: var(--gold);
    opacity: 0.5;
}

.testimonials-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 0.8rem;
}

.stars i {
    color: var(--gold);
    font-size: 0.85rem;
}

.rating-number {
    font-weight: 800;
    font-size: 1rem;
}

.rating-source {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.rating-source i {
    margin-right: 0.2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.3rem;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--gold);
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-header h4 {
    font-size: 0.85rem;
    font-weight: 700;
}

.testimonial-stars i {
    color: var(--gold);
    font-size: 0.65rem;
}

.testimonial-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
}

/* ===== BOOKING ===== */
.booking {
    background: var(--bg-secondary);
    padding: 0;
}

.booking-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 650px;
}

.booking-left {
    position: relative;
    background: url('https://images.unsplash.com/photo-1621605815971-fbc98d665033?w=800&h=800&fit=crop') center/cover no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 3rem;
}

.booking-left-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.85) 100%);
}

.booking-left-content {
    position: relative;
    z-index: 1;
}

.booking-left-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.booking-contact-info p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.booking-contact-info i {
    color: var(--gold);
}

.booking-right {
    background: var(--bg-card);
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.booking-scissors {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.booking-right h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.booking-desc {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.82rem;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px var(--gold-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23707070' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* ===== MAP ===== */
.map-section {
    background: var(--bg-primary);
    padding: 3rem 1.5rem;
}

.map-container {
    max-width: 1100px;
    margin: 0 auto;
}

.map-embed {
    margin-top: 1.5rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer-top {
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    text-align: center;
}

.footer-top p {
    color: var(--text-muted);
    font-size: 0.72rem;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem 2rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
}

.footer-logo {
    font-size: 1.5rem;
    color: var(--gold);
    display: inline-block;
    margin-bottom: 0.8rem;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    max-width: 250px;
}

.footer-socials {
    display: flex;
    gap: 0.5rem;
}

.footer-socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-socials a:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(200, 165, 90, 0.1);
}

.footer-col h4 {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.78rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--gold);
}

.footer-newsletter-text {
    color: var(--text-muted);
    font-size: 0.78rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.5rem 0.8rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.78rem;
    outline: none;
    font-family: inherit;
}

.newsletter-form input:focus {
    border-color: var(--gold);
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        padding: 1rem 1.5rem;
        gap: 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li a {
        display: block;
        padding: 0.7rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-cta {
        display: none;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hours-bar-container {
        flex-direction: column;
        text-align: center;
    }

    .hours-schedule {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hours-actions {
        justify-content: center;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item-tall {
        grid-row: span 1;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .booking-container {
        grid-template-columns: 1fr;
    }

    .booking-left {
        min-height: 350px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .booking-right {
        padding: 2rem 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .stat-divider {
        display: none;
    }
}

