/* ================================================
   WHY'S HOME CARE — Main Stylesheet
   ================================================ */

:root {
    --whc-gold:       #c4993a;
    --whc-gold-dark:  #7a5c1e;
    --whc-gold-light: #f5edd8;
    --whc-cream:      #faf6f0;
    --whc-text:       #2d2525;
    --whc-muted:      #7a6e68;
    --whc-border:     #e8d9c4;
    --whc-radius:     14px;
    --whc-shadow:     0 4px 24px rgba(196,153,58,.10);
}

/* ======= BASE ======= */
* { box-sizing: border-box; }
body {
    font-family: 'Poppins', sans-serif;
    color: var(--whc-text);
    background: #fff;
    line-height: 1.65;
}
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.text-whc  { color: var(--whc-gold-dark) !important; }
.text-whc-gold { color: var(--whc-gold) !important; }
.whc-bg-soft { background: var(--whc-cream); }

/* ======= NAVBAR ======= */
.whc-navbar {
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--whc-border);
    box-shadow: 0 2px 16px rgba(0,0,0,.05);
    padding: 12px 0;
}
.whc-logo-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--whc-gold-dark), var(--whc-gold));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 20px;
    flex-shrink: 0;
}
.whc-logo-icon--light { background: rgba(255,255,255,.2); }
.whc-brand-name { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--whc-gold-dark); line-height: 1; }
.whc-brand-sub  { font-size: 9px; font-weight: 500; letter-spacing: 2px; color: var(--whc-muted); line-height: 1; }
.whc-navbar .nav-link {
    color: var(--whc-text) !important;
    font-weight: 500; font-size: 14px;
    padding: 6px 12px !important;
    border-radius: 8px;
    transition: all .2s;
}
.whc-navbar .nav-link:hover,
.whc-navbar .nav-link.active { color: var(--whc-gold-dark) !important; background: var(--whc-gold-light); }

/* ======= BUTTONS ======= */
.whc-btn-primary {
    background: linear-gradient(135deg, var(--whc-gold-dark), var(--whc-gold));
    color: #fff !important;
    border: none;
    font-weight: 600;
    transition: all .25s;
    box-shadow: 0 4px 14px rgba(196,153,58,.35);
}
.whc-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(196,153,58,.45); }
.whc-btn-outline {
    border: 2px solid var(--whc-gold);
    color: var(--whc-gold-dark);
    font-weight: 600;
    background: transparent;
    transition: all .2s;
}
.whc-btn-outline:hover { background: var(--whc-gold-light); }

/* ======= HERO ======= */
.whc-hero {
    position: relative;
    background: linear-gradient(160deg, #3d2a0a 0%, #7a5c1e 50%, #c4993a 100%);
    overflow: hidden;
    padding: 60px 0 80px;
}
.whc-hero-overlay {
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.whc-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
}
.whc-hero-title em { color: var(--whc-gold); font-style: italic; }
.whc-hero-sub { font-size: 16px; color: rgba(255,255,255,.8); max-width: 480px; }
.min-vh-80 { min-height: 80vh; }

.whc-badge {
    display: inline-block;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,.2);
}

/* Stats */
.whc-stat { text-align: center; }
.whc-stat-num { display: block; font-size: 26px; font-weight: 700; color: var(--whc-gold); }
.whc-stat-label { font-size: 11px; color: rgba(255,255,255,.7); }
.whc-stat-divider { width: 1px; background: rgba(255,255,255,.2); height: 36px; margin-top: 6px; }

/* Hero Card */
.whc-hero-card {
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
}
.whc-hero-icon { font-size: 72px; color: rgba(255,255,255,.85); margin-bottom: 16px; display: block; }
.whc-hero-card-text { color: rgba(255,255,255,.9); font-size: 16px; font-weight: 500; margin-bottom: 20px; }
.whc-hero-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.whc-pill {
    background: rgba(255,255,255,.2);
    color: #fff; font-size: 12px; font-weight: 500;
    padding: 5px 14px; border-radius: 20px;
    border: 1px solid rgba(255,255,255,.3);
}

/* ======= SECTION LABELS ======= */
.whc-section-tag {
    display: inline-block;
    background: var(--whc-gold-light);
    color: var(--whc-gold-dark);
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    margin-bottom: 12px;
}
.whc-section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    color: var(--whc-gold-dark);
    margin-bottom: 8px;
}

/* ======= FEATURE CARDS ======= */
.whc-feature-card {
    background: #fff;
    border: 1px solid var(--whc-border);
    border-radius: var(--whc-radius);
    padding: 28px 24px;
    transition: all .25s;
}
.whc-feature-card:hover {
    border-color: var(--whc-gold);
    box-shadow: var(--whc-shadow);
    transform: translateY(-4px);
}
.whc-feature-icon {
    width: 52px; height: 52px;
    background: var(--whc-gold-light);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: var(--whc-gold-dark);
    margin-bottom: 16px;
}
.whc-feature-title { font-size: 15px; font-weight: 600; color: var(--whc-gold-dark); margin-bottom: 8px; }
.whc-feature-desc { font-size: 13px; color: var(--whc-muted); margin: 0; }

/* ======= PRICE CARDS ======= */
.whc-price-card {
    background: #fff;
    border: 1px solid var(--whc-border);
    border-radius: var(--whc-radius);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: box-shadow .25s;
}
.whc-price-card:hover { box-shadow: var(--whc-shadow); }
.whc-price-card-header {
    background: linear-gradient(135deg, var(--whc-gold-dark), var(--whc-gold));
    color: #fff;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 600;
}
.whc-price-card-body { padding: 16px 20px; flex: 1; }
.whc-price-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 9px 0;
    border-bottom: 1px dashed var(--whc-border);
    font-size: 13px;
    gap: 12px;
}
.whc-price-row:last-child { border-bottom: none; }
.whc-price-name { color: var(--whc-text); flex: 1; }
.whc-price-amount { font-weight: 600; color: var(--whc-gold-dark); white-space: nowrap; }
.whc-price-custom { font-style: italic; font-size: 12px; color: var(--whc-muted); }
.whc-price-card-footer { padding: 16px 20px; border-top: 1px solid var(--whc-border); }

/* ======= STEPS ======= */
.whc-step { padding: 20px 12px; }
.whc-step-num {
    width: 36px; height: 36px;
    background: var(--whc-gold-light);
    color: var(--whc-gold-dark);
    border-radius: 50%;
    font-weight: 700; font-size: 16px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px;
}
.whc-step-icon { font-size: 32px; color: var(--whc-gold); margin-bottom: 10px; }
.whc-step-title { font-size: 14px; font-weight: 600; color: var(--whc-gold-dark); margin-bottom: 6px; }
.whc-step-desc { margin: 0; }

/* ======= CTA STRIP ======= */
.whc-cta-strip {
    background: linear-gradient(135deg, var(--whc-gold-dark), var(--whc-gold));
}

/* ======= AREA CARDS ======= */
.whc-area-card {
    background: #fff;
    border: 2px solid var(--whc-border);
    border-radius: var(--whc-radius);
    padding: 40px 24px;
    transition: all .25s;
}
.whc-area-card:hover {
    border-color: var(--whc-gold);
    box-shadow: var(--whc-shadow);
}
.whc-area-icon { font-size: 42px; color: var(--whc-gold); }

/* ======= PAGE HEADER ======= */
.whc-page-header {
    background: linear-gradient(135deg, var(--whc-gold-dark), var(--whc-gold));
    padding: 48px 0 32px;
}
.whc-page-header--success {
    background: linear-gradient(135deg, #1a6b3a, #28a745);
    text-align: center;
    padding: 48px 0 40px;
}
.whc-page-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700; color: #fff; margin-bottom: 8px;
}
.whc-page-header .breadcrumb-item a,
.whc-page-header .breadcrumb-item.active { color: rgba(255,255,255,.7); }
.whc-page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }

/* Success icon */
.whc-success-icon {
    width: 72px; height: 72px;
    background: rgba(255,255,255,.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 36px; color: #fff;
    margin: 0 auto 16px;
}

/* ======= FORM CARD ======= */
.whc-form-card {
    background: #fff;
    border: 1px solid var(--whc-border);
    border-radius: var(--whc-radius);
    overflow: hidden;
    box-shadow: var(--whc-shadow);
}
.whc-form-card-header {
    background: linear-gradient(135deg, var(--whc-gold-dark), var(--whc-gold));
    color: #fff;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 600;
}
.whc-form-section-title {
    display: flex; align-items: center; gap: 10px;
    font-size: 15px; font-weight: 600; color: var(--whc-gold-dark);
    margin-bottom: 16px; margin-top: 4px;
}
.whc-form-section-title span {
    width: 26px; height: 26px;
    background: var(--whc-gold-light);
    color: var(--whc-gold-dark);
    border-radius: 50%; font-size: 13px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* Inputs */
.whc-input, .whc-select {
    border: 1.5px solid var(--whc-border) !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    font-size: 14px;
    transition: border-color .2s, box-shadow .2s;
}
.whc-input:focus, .whc-select:focus {
    border-color: var(--whc-gold) !important;
    box-shadow: 0 0 0 3px rgba(196,153,58,.15) !important;
    outline: none;
}

/* Price preview */
.whc-price-preview {
    background: var(--whc-gold-light);
    border: 1px solid var(--whc-gold);
    color: var(--whc-gold-dark);
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 14px;
}

/* ======= INFO CARD ======= */
.whc-info-card {
    background: #fff;
    border: 1px solid var(--whc-border);
    border-radius: var(--whc-radius);
    overflow: hidden;
    box-shadow: var(--whc-shadow);
}
.whc-info-card-header {
    background: var(--whc-gold-light);
    color: var(--whc-gold-dark);
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
}
.whc-info-list li {
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--whc-border);
}
.whc-info-list li:last-child { border: none; }

/* ======= BOOKING CODE BOX ======= */
.whc-booking-code-box {
    background: linear-gradient(135deg, #fffdf0, #fff9e6);
    border: 2px solid var(--whc-gold);
    border-radius: 16px;
    padding: 24px;
}
.whc-booking-code {
    font-size: 28px; font-weight: 700;
    color: var(--whc-gold-dark);
    letter-spacing: 3px;
    font-family: 'Courier New', monospace;
}

/* ======= DETAIL TABLE ======= */
.whc-detail-table td { padding: 6px 8px; vertical-align: top; }
.whc-detail-label { color: var(--whc-muted); width: 140px; font-size: 13px; }

/* ======= ALERT ======= */
.whc-alert-info {
    background: #e8f4fd;
    border: 1px solid #b8daff;
    color: #0c5080;
}

/* ======= FOOTER ======= */
.whc-footer {
    background: linear-gradient(160deg, #2d1e08, #4a3010);
}
.whc-footer-link {
    color: rgba(255,255,255,.65);
    text-decoration: none;
    font-size: 13px;
    display: block;
    margin-bottom: 8px;
    transition: color .2s;
}
.whc-footer-link:hover { color: var(--whc-gold); }
.whc-social-btn {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 !important;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 576px) {
    .whc-hero { padding: 40px 0 60px; }
    .whc-detail-label { width: 110px; }
    .whc-booking-code { font-size: 20px; letter-spacing: 2px; }
}
