/* Barberías Vélez - Enhanced Typography & Styles */

:root {
    --barber-black: #1a1a1a;
    --barber-gold: #d4af37;
    --barber-dark-gold: #b8941f;
    --barber-gray: #6c757d;
    --barber-light-gray: #f8f9fa;
    --barber-white: #ffffff;
    --barber-cream: #faf8f5;
    
    /* Typography Scale - Warm barbershop fonts */
    --font-primary: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-accent: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Font Weights */
    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;
    --fw-black: 900;
}

/* Base Typography */
body {
    font-family: var(--font-primary);
    font-weight: var(--fw-regular);
    line-height: 1.6;
    color: var(--barber-black);
    background-color: var(--barber-cream);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Add subtle warmth to text rendering */
    text-rendering: optimizeLegibility;
}

/* Enhanced Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--barber-black);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--fw-extrabold);
    line-height: 1.1;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--fw-bold);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: var(--fw-semibold);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: var(--fw-semibold);
}

h5 {
    font-size: 1.25rem;
    font-weight: var(--fw-medium);
}

h6 {
    font-size: 1rem;
    font-weight: var(--fw-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-accent);
}

/* Paragraph and Text Styles */
p {
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.7;
}

.lead {
    font-size: 1.25rem;
    font-weight: var(--fw-regular);
    line-height: 1.6;
    color: rgba(26, 26, 26, 0.8);
}

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: var(--font-display);
    font-weight: var(--fw-extrabold);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

/* Accent Text */
.text-accent {
    font-family: var(--font-accent);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
}

/* Gold Text */
.text-gold {
    color: var(--barber-gold);
}

/* Button Typography */
.btn {
    font-family: var(--font-accent);
    font-weight: var(--fw-semibold);
    letter-spacing: 0.025em;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.btn-lg {
    font-size: 1rem;
    letter-spacing: 0.05em;
}

/* Card Typography */
.card-title {
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--barber-black);
}

.card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(26, 26, 26, 0.7);
}

/* Hero Section */
.barber-hero {
    background: linear-gradient(135deg, var(--barber-black) 0%, var(--barber-gray) 100%);
    color: var(--barber-white);
    padding: 100px 0;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: var(--fw-black);
    color: var(--barber-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-family: var(--font-primary);
    font-weight: var(--fw-regular);
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.calendario-hero {
    margin-top: -80px;
    padding-top: 100px;
}

@media (max-width: 576px) {
    .calendario-hero {
        margin-top: 0;
        padding-top: 120px;
    }
}

/* Enhanced Cards */
.barber-card {
    border: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 20px;
    overflow: hidden;
    background: var(--barber-white);
}

.barber-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.barber-card .card-body {
    padding: 2rem;
}

/* Navigation Typography */
.navbar-brand {
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: 1.75rem;
    color: var(--barber-gold) !important;
}

.navbar-nav .nav-link {
    font-family: var(--font-accent);
    font-weight: var(--fw-medium);
    font-size: 0.95rem;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

/* Footer Typography */
.footer-title {
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--barber-gold);
}

.footer-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

/* Form Typography */
.form-label {
    font-family: var(--font-accent);
    font-weight: var(--fw-medium);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--barber-black);
    margin-bottom: 0.5rem;
}

.form-control {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 12px;
    border: 2px solid rgba(26, 26, 26, 0.1);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--barber-gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

/* Responsive Typography */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn {
        font-size: 0.8rem;
    }
    
    .btn-lg {
        font-size: 0.9rem;
    }
}

/* Utility Classes */
.font-display {
    font-family: var(--font-display) !important;
}

.font-accent {
    font-family: var(--font-accent) !important;
}

.fw-light { font-weight: var(--fw-light) !important; }
.fw-regular { font-weight: var(--fw-regular) !important; }
.fw-medium { font-weight: var(--fw-medium) !important; }
.fw-semibold { font-weight: var(--fw-semibold) !important; }
.fw-bold { font-weight: var(--fw-bold) !important; }
.fw-extrabold { font-weight: var(--fw-extrabold) !important; }
.fw-black { font-weight: var(--fw-black) !important; }

/* =================================
   BARBERSHOP SPECIFIC TYPOGRAPHY
   ================================= */

/* Barbershop Titles - Elegant and sophisticated */
.barbershop-title {
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    color: var(--barber-gold);
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Barbershop Subtitle */
.barbershop-subtitle {
    font-family: var(--font-display);
    font-weight: var(--fw-medium);
    color: var(--barber-black);
    letter-spacing: 0.25px;
}

/* Barbershop Card Titles */
.barbershop-card-title {
    font-family: var(--font-display);
    font-weight: var(--fw-semibold);
    color: var(--barber-black);
    font-size: 1.25rem;
    line-height: 1.3;
}

/* Barbershop Body Text */
.barbershop-text {
    font-family: var(--font-primary);
    font-weight: var(--fw-regular);
    color: var(--barber-black);
    line-height: 1.6;
}

/* Barbershop Accent Text */
.barbershop-accent {
    font-family: var(--font-display);
    font-weight: var(--fw-medium);
    color: var(--barber-gold);
    font-style: italic;
}

/* Barbershop Navigation */
.barbershop-nav {
    font-family: var(--font-primary);
    font-weight: var(--fw-medium);
    letter-spacing: 0.5px;
}

/* Barbershop Button Text */
.barbershop-btn {
    font-family: var(--font-primary);
    font-weight: var(--fw-semibold);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Services and Features */
.barbershop-service {
    font-family: var(--font-primary);
    font-weight: var(--fw-medium);
    font-size: 0.95rem;
}

/* Address and Contact Info */
.barbershop-contact {
    font-family: var(--font-primary);
    font-weight: var(--fw-regular);
    font-size: 0.9rem;
}

/* Override Bootstrap and inline styles */
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: var(--font-display) !important;
}

.card-title {
    font-family: var(--font-display) !important;
    font-weight: var(--fw-semibold) !important;
}

.navbar-brand {
    font-family: var(--font-display) !important;
    font-weight: var(--fw-bold) !important;
}

.btn {
    font-family: var(--font-primary) !important;
    font-weight: var(--fw-medium) !important;
}