/* =============================================
   Chapuzas.cat — Custom Styles
   Bootstrap 5 base + overrides
   ============================================= */

:root {
    --brand-primary: #E67E22;
    --brand-dark:    #2C3E50;
    --brand-light:   #FDF3E7;
    --star-color:    #F39C12;
}

/* ---- Layout ---- */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

main { flex: 1; }

/* ---- Navbar ---- */
.bg-brand { background-color: var(--brand-dark) !important; }

.nav-lang { font-size: .85rem; letter-spacing: .05em; padding: .3rem .5rem !important; }
.nav-lang.active { color: #fff !important; text-decoration: underline; }

/* ---- Hero ---- */
.hero {
    background: linear-gradient(135deg, var(--brand-dark) 0%, #34495e 100%);
    color: #fff;
    padding: 4rem 0 3rem;
}
.hero h1 { font-size: 2.4rem; font-weight: 700; }
.hero p   { font-size: 1.15rem; opacity: .85; }

/* ---- Category cards ---- */
.cat-card {
    border: 2px solid transparent;
    border-radius: 1rem;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}
.cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    color: inherit;
}
.cat-card .cat-icon {
    font-size: 2.8rem;
    margin-bottom: .5rem;
}
.cat-card .card-title { font-weight: 600; font-size: 1rem; }

/* ---- Pro cards ---- */
.pro-card {
    border: none;
    border-radius: .75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    transition: box-shadow .2s;
}
.pro-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.13); }

.pro-card .card-header {
    background: var(--brand-dark);
    color: #fff;
    border-radius: .75rem .75rem 0 0 !important;
}

/* ---- Stars ---- */
.stars .bi-star-fill { color: var(--star-color); }
.stars .bi-star       { color: #ccc; }
.stars { font-size: .95rem; }

/* ---- Price badge ---- */
.price-badge {
    background: var(--brand-primary);
    color: #fff;
    border-radius: .5rem;
    padding: .25rem .6rem;
    font-weight: 700;
    font-size: .95rem;
}

/* ---- Booking form ---- */
.booking-card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0,0,0,.1);
    max-width: 560px;
    margin: 0 auto;
}
.booking-card .card-header {
    background: var(--brand-dark);
    color: #fff;
    border-radius: 1rem 1rem 0 0 !important;
    font-size: 1.1rem;
    font-weight: 600;
}

/* ---- Auth forms ---- */
.auth-card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
    max-width: 420px;
    margin: 2rem auto;
}
.auth-card .card-header {
    background: var(--brand-dark);
    color: #fff;
    border-radius: 1rem 1rem 0 0 !important;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    padding: 1.2rem;
}

/* ---- Confirmation ---- */
.confirm-card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
    max-width: 520px;
    margin: 0 auto;
}
.confirm-card .confirm-header {
    background: #27ae60;
    color: #fff;
    border-radius: 1rem 1rem 0 0;
    padding: 1.5rem;
    text-align: center;
}
.confirm-card .confirm-header i { font-size: 2.5rem; }

/* ---- Table citas ---- */
.table-citas thead { background: var(--brand-dark); color: #fff; }

/* ---- Buttons ---- */
.btn-brand {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
    font-weight: 600;
}
.btn-brand:hover {
    background-color: #cf6d17;
    border-color: #cf6d17;
    color: #fff;
}

/* ---- Section title ---- */
.section-title {
    font-weight: 700;
    color: var(--brand-dark);
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}
.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--brand-primary);
    margin-top: .3rem;
    border-radius: 2px;
}

/* ---- Breadcrumb ---- */
.breadcrumb { font-size: .9rem; }

/* ---- Footer ---- */
.footer { border-top: 1px solid #444; }

/* ---- Responsive tweaks ---- */
@media (max-width: 576px) {
    .hero h1 { font-size: 1.8rem; }
    .cat-icon { font-size: 2rem !important; }
}
