/* style.css - Web completa de barbería (RESPONSIVE) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #1e293b;
    line-height: 1.6;
}

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

/* ===== NAVBAR ===== */
.navbar {
    background: #0a0a0a;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #d4af37;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo {
    color: #d4af37;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 2px;
}
.nav-logo .logo-icon { margin-right: 8px; }
.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}
.nav-menu a {
    color: #e0dcd5;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}
.nav-menu a:hover { color: #d4af37; }
.nav-cta {
    background: #d4af37;
    color: #0a0a0a !important;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
}
.nav-cta:hover { background: #e5c35a !important; color: #0a0a0a !important; }
.nav-toggle { display: none; color: #fff; font-size: 1.8rem; cursor: pointer; }

/* ===== HERO ===== */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1585747860715-2ba37e788b70?w=1600');
    background-size: cover;
    background-position: center;
    min-height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
}
.hero-content { max-width: 700px; margin: 0 auto; }
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: #d4af37;
    letter-spacing: 6px;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 15px;
    margin-bottom: 15px;
}
.hero-subtitle {
    font-size: 1.6rem;
    font-style: italic;
    color: #d4af37;
    margin-bottom: 15px;
}
.hero-desc { font-size: 1.2rem; color: #ccc; margin-bottom: 30px; }
.btn-hero {
    background: #d4af37;
    color: #0a0a0a;
    padding: 16px 45px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 2px;
    border-radius: 30px;
    transition: 0.3s;
    display: inline-block;
}
.btn-hero:hover { background: #fff; transform: scale(1.03); }

/* ===== SECCIONES GENERALES ===== */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    text-align: center;
    color: #d4af37;
    margin-bottom: 5px;
}
.section-subtitle {
    text-align: center;
    color: #888;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* ===== SERVICIOS ===== */
.services { padding: 80px 0; background: #f8f6f2; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}
.service-card {
    background: #fff;
    border-radius: 20px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: 0.3s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 15px;
}
.service-card h3 { font-size: 1.4rem; color: #0a0a0a; }
.service-card .price { color: #d4af37; font-weight: 700; font-size: 1.4rem; }

/* ===== EQUIPO ===== */
.team { padding: 80px 0; background: #0a0a0a; }
.team .section-title { color: #d4af37; }
.team .section-subtitle { color: #aaa; }
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}
.team-card {
    background: #1a1a1a;
    border-radius: 20px;
    padding: 25px 15px;
    text-align: center;
    border: 1px solid #333;
    transition: 0.3s;
}
.team-card:hover { border-color: #d4af37; transform: translateY(-5px); }
.team-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
}
.team-card h3 { color: #fff; font-size: 1.2rem; }
.team-card p { color: #aaa; }

/* ===== RESERVAS ===== */
.booking-section {
    padding: 80px 0;
    background: #f8f6f2;
}
.booking-section .section-title { color: #0a0a0a; }
.booking-section .section-subtitle { color: #666; }

/* IFRAME */
.booking-section iframe {
    width: 100%;
    min-height: 750px;
    border: none;
    border-radius: 20px;
    background: transparent;
}

/* ===== CONTACTO ===== */
.contact { padding: 80px 0; background: #0a0a0a; }
.contact .section-title { color: #d4af37; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    color: #e0dcd5;
}
.contact-info p { margin-bottom: 12px; }
.social-links a {
    color: #d4af37;
    text-decoration: none;
    margin-right: 20px;
    font-weight: 600;
}
.contact-map { background: #1a1a1a; border-radius: 16px; padding: 30px; text-align: center; }

/* ===== FOOTER ===== */
.footer {
    background: #050505;
    color: #777;
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid #222;
}
.footer-credits { color: #d4af37; margin-top: 5px; }

/* ============================================
   RESPONSIVE - TODOS LOS DISPOSITIVOS
   ============================================ */

/* TABLETS Y PANTALLAS MEDIANAS (menos de 1024px) */
@media (max-width: 1024px) {
    .container { padding: 0 30px; }
    .hero-title { font-size: 3.8rem; }
    .section-title { font-size: 2.4rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .booking-section iframe { min-height: 650px; }
}

/* TABLETS PEQUEÑAS (menos de 768px) */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        background: #0a0a0a;
        padding: 20px;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        gap: 15px;
        border-bottom: 2px solid #d4af37;
    }
    .nav-menu.active { display: flex; }
    .nav-toggle { display: block; }
    
    .hero { min-height: 70vh; }
    .hero-title { font-size: 2.8rem; letter-spacing: 3px; }
    .hero-subtitle { font-size: 1.2rem; }
    .hero-desc { font-size: 1rem; }
    .btn-hero { padding: 14px 30px; font-size: 1rem; }
    
    .section-title { font-size: 2rem; }
    .section-subtitle { font-size: 1rem; }
    
    .services-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .service-card { padding: 20px 15px; }
    .service-card img { height: 140px; }
    .service-card h3 { font-size: 1.1rem; }
    
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .team-card img { height: 140px; }
    
    .contact-grid { grid-template-columns: 1fr; gap: 20px; }
    
    .booking-section { padding: 50px 0; }
    .booking-section iframe { min-height: 600px; }
    
    .services, .team, .contact { padding: 50px 0; }
}

/* MÓVILES (menos de 480px) */
@media (max-width: 480px) {
    body { font-size: 14px; }
    .container { padding: 0 15px; }
    
    .nav-logo { font-size: 1.2rem; }
    .nav-cta { padding: 6px 14px; font-size: 0.8rem; }
    .nav-toggle { font-size: 1.5rem; }
    
    .hero { min-height: 60vh; }
    .hero-title { font-size: 2rem; letter-spacing: 2px; padding-bottom: 10px; }
    .hero-subtitle { font-size: 1rem; }
    .hero-desc { font-size: 0.9rem; }
    .btn-hero { padding: 12px 25px; font-size: 0.9rem; }
    
    .section-title { font-size: 1.6rem; }
    .section-subtitle { font-size: 0.9rem; margin-bottom: 25px; }
    
    .services-grid { grid-template-columns: 1fr; gap: 15px; }
    .service-card { padding: 15px; }
    .service-card img { height: 120px; }
    .service-card h3 { font-size: 1rem; }
    .service-card .price { font-size: 1.1rem; }
    
    .team-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
    .team-card { padding: 15px 10px; }
    .team-card img { height: 100px; }
    .team-card h3 { font-size: 0.9rem; }
    .team-card p { font-size: 0.8rem; }
    
    .contact { padding: 40px 0; }
    .contact-info p { font-size: 0.9rem; }
    .social-links a { font-size: 0.9rem; margin-right: 12px; }
    .contact-map { padding: 20px; }
    
    .booking-section { padding: 40px 0; }
    .booking-section iframe { min-height: 550px; }
    
    .services, .team { padding: 40px 0; }
    
    .footer p { font-size: 0.8rem; }
}

/* MÓVILES MUY PEQUEÑOS (menos de 380px) */
@media (max-width: 380px) {
    .hero-title { font-size: 1.6rem; }
    .hero-subtitle { font-size: 0.9rem; }
    .btn-hero { padding: 10px 20px; font-size: 0.8rem; }
    .team-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .booking-section iframe { min-height: 500px; }
}