/* ==========================================================================
   DealClub.pk Brand Stylesheet
   Primary Colors: Deep Navy (#0b1c3d), Red (#dc2626), Green (#16a34a)
   ========================================================================== */

:root {
    --dc-navy: #0b1c3d;
    --dc-navy-dark: #071228;
    --dc-navy-light: #162a56;
    --dc-red: #dc2626;
    --dc-red-hover: #b91c1c;
    --dc-green: #16a34a;
    --dc-green-hover: #15803d;
    --dc-gold: #f59e0b;
    --dc-silver: #64748b;
    --dc-platinum: #2563eb;
    --dc-bg-light: #f8fafc;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1e293b;
    background-color: var(--dc-bg-light);
}

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-weight: 700;
}

/* Announcement Bar */
.dc-announcement-bar {
    background-color: var(--dc-red);
    font-size: 0.85rem;
    letter-spacing: 0.3px;
}

/* Header & Search */
.dc-main-logo {
    max-height: 52px;
    object-fit: contain;
}

.dc-search-bar .form-control {
    border-color: #cbd5e1;
    border-radius: 50px 0 0 50px;
    padding-left: 20px;
}
.dc-search-bar .form-control:focus {
    box-shadow: none;
    border-color: var(--dc-red);
}
.dc-search-bar .btn {
    border-radius: 0 50px 50px 0;
    background-color: var(--dc-red);
    border-color: var(--dc-red);
}

/* Sub-nav */
.bg-navy {
    background-color: var(--dc-navy) !important;
}
.bg-navy-light {
    background-color: var(--dc-navy-light) !important;
}
.text-navy {
    color: var(--dc-navy) !important;
}
.hover-bg:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Category Dropdown */
.dc-category-dropdown {
    width: 320px;
    max-height: 480px;
    overflow-y: auto;
    border-radius: 8px;
    border: none;
}

/* Hero Section */
.dc-hero-banner {
    background: linear-gradient(135deg, var(--dc-navy) 0%, var(--dc-navy-light) 60%, #1e1b4b 100%);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

/* Product & Deal Cards */
.dc-deal-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    background: #ffffff;
}
.dc-deal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -6px rgba(11, 28, 61, 0.12);
}
.dc-deal-card .card-img-top {
    height: 200px;
    object-fit: cover;
    background-color: #f1f5f9;
}
.dc-discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--dc-red);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.3);
}

/* Membership Tiers */
.plan-card {
    border-radius: 16px;
    transition: transform 0.2s ease;
    overflow: hidden;
}
.plan-card:hover {
    transform: translateY(-5px);
}
.plan-card.silver {
    border: 2px solid #94a3b8;
}
.plan-card.gold {
    border: 2px solid var(--dc-gold);
}
.plan-card.platinum {
    border: 2px solid var(--dc-platinum);
    position: relative;
}
.plan-card.platinum::before {
    content: "MOST POPULAR — UP TO 95% OFF";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--dc-platinum);
    color: #fff;
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 0;
}

/* Category Grid Card */
.category-card {
    text-align: center;
    padding: 16px 10px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    text-decoration: none;
    color: var(--dc-navy);
    display: block;
}
.category-card:hover {
    background: #ffffff;
    border-color: var(--dc-red);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.1);
    color: var(--dc-red);
    transform: translateY(-3px);
}
.category-card .icon-wrapper {
    width: 54px;
    height: 54px;
    margin: 0 auto 10px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #fee2e2;
    color: var(--dc-red);
    font-size: 1.5rem;
    transition: background-color 0.2s;
}
.category-card:hover .icon-wrapper {
    background-color: var(--dc-red);
    color: #ffffff;
}

/* Tier Pricing Badge Pill */
.tier-pill {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    display: inline-block;
}
.tier-pill.silver { background: #e2e8f0; color: #334155; }
.tier-pill.gold { background: #fef3c7; color: #92400e; }
.tier-pill.platinum { background: #dbeafe; color: #1e40af; }

/* Footer Links */
.footer-link {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.15s;
}
.footer-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Coupon Voucher Card */
.coupon-ticket {
    background: #fff;
    border: 2px dashed #dc2626;
    border-radius: 12px;
    position: relative;
    padding: 24px;
}
.coupon-code-box {
    background: #f8fafc;
    border: 2px solid #0b1c3d;
    color: #dc2626;
    font-family: monospace;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: 3px;
    padding: 12px 20px;
    border-radius: 8px;
    display: inline-block;
}
