/* 
Theme Colors for SI KHAN GARMENTS
Primary: #111827
Secondary: #374151
Accent: #B7791F
Light Gold: #D4A72C
Background: #F9FAFB
White: #FFFFFF
Text: #1F2937
*/

:root {
    --primary: #0a58ca;
    --secondary: #495057;
    --accent: #fd7e14;
    --accent-hover: #e8590c;
    --light-gold: #ffc107;
    --bg-main: #f8f9fa;
    --bg-white: #ffffff;
    --text-main: #212529;
    --text-muted: #6c757d;
}

/* Typography */
.font-inter { font-family: 'Inter', sans-serif; }
.font-outfit { font-family: 'Outfit', sans-serif; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    font-weight: 600;
}

/* Utility Classes */
.bg-primary-dark { background-color: var(--primary) !important; color: var(--bg-white); }
.bg-secondary-dark { background-color: var(--secondary) !important; color: var(--bg-white); }
.bg-primary-dark h1, .bg-primary-dark h2, .bg-primary-dark h3, .bg-primary-dark h4, .bg-primary-dark h5, .bg-primary-dark h6,
.bg-secondary-dark h1, .bg-secondary-dark h2, .bg-secondary-dark h3, .bg-secondary-dark h4, .bg-secondary-dark h5, .bg-secondary-dark h6,
.page-header h1, .page-header h2, .page-header h3, .page-header h4, .page-header h5, .page-header h6 {
    color: var(--bg-white) !important;
}
.bg-primary-dark .text-muted, .bg-secondary-dark .text-muted, .page-header .text-muted { color: rgba(255, 255, 255, 0.7) !important; }
.text-accent { color: var(--accent) !important; }
.text-gold { color: var(--light-gold) !important; }
.bg-accent { background-color: var(--accent) !important; }
.bg-light-gold { background-color: var(--light-gold) !important; }
.fs-7 { font-size: 0.875rem; }

/* Buttons */
.btn-accent {
    background-color: var(--accent);
    color: var(--bg-white);
    border: none;
    transition: all 0.3s ease;
    font-weight: 500;
}
.btn-accent:hover {
    background-color: var(--accent-hover);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(183, 121, 31, 0.3);
}
.btn-outline-accent {
    border: 2px solid var(--accent);
    color: var(--accent);
    background: transparent;
    transition: all 0.3s ease;
}
.btn-outline-accent:hover {
    background: var(--accent);
    color: var(--bg-white);
}

.hover-accent:hover {
    color: var(--accent) !important;
    transition: color 0.3s ease;
}

/* Header & Navbar */
.top-bar {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
}
.navbar {
    transition: all 0.4s ease;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.navbar.scrolled {
    background-color: rgba(10, 88, 202, 0.98) !important;
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.navbar-dark .navbar-nav .nav-link {
    color: var(--bg-white);
    position: relative;
    padding: 0.5rem 1rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}
.navbar-dark .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}
.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .nav-link.active::after {
    width: 80%;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-color: var(--primary);
    background-blend-mode: multiply;
}
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: 0;
}
.hero-content {
    color: var(--bg-white);
    z-index: 2;
    position: relative;
}

/* Page Header */
.page-header {
    position: relative;
    background-color: var(--primary);
    background-blend-mode: multiply;
}
.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    z-index: 0;
}
.page-header .container {
    position: relative;
    z-index: 2;
}

/* Product Cards */
.product-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.product-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 300px;
    background: #f0f0f0;
}
.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.product-card:hover .product-img-wrapper img {
    transform: scale(1.1);
}
.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--accent);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.product-meta {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
    padding: 10px 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Category Cards */
.category-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
}
.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.category-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(10, 88, 202, 0.9) 0%, rgba(10, 88, 202, 0.2) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}
.category-card:hover img {
    transform: scale(1.05);
}

/* Trust Badges */
.trust-badge-box {
    padding: 30px;
    border-radius: 8px;
    background: var(--bg-white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    height: 100%;
    transition: transform 0.3s ease;
}
.trust-badge-box:hover {
    transform: translateY(-5px);
}
.trust-icon {
    width: 60px;
    height: 60px;
    background: rgba(183, 121, 31, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 15px;
}

/* Gallery Masonry */
.gallery-item {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 88, 202, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-item:hover img {
    transform: scale(1.05);
}

/* Footer */
footer.bg-primary-dark .text-muted,
footer.bg-primary-dark p.text-muted,
footer.bg-primary-dark ul.text-muted li {
    color: rgba(255, 255, 255, 0.7) !important;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 0.5rem;
}
.footer-legal-links a {
    color: rgba(255, 255, 255, 0.6) !important;
}
.footer-links a:hover, .footer-legal-links a:hover {
    color: var(--accent) !important;
    padding-left: 5px;
}

/* Floating Elements */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}
.floating-whatsapp:hover {
    transform: scale(1.1);
    color: white;
}
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary);
    color: var(--bg-white);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background-color: var(--accent);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    background: var(--bg-white);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    padding: 1.5rem 0;
}

/* Form Check & Checkbox */
.form-check-input:checked {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
}
.form-check-input:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 0.2rem rgba(253, 126, 20, 0.25) !important;
}
.form-check-label {
    line-height: 1.45;
}

/* Micro-interactions & Utility Classes */
.fs-8 { font-size: 0.82rem; }
.fs-9 { font-size: 0.72rem; }
.cursor-pointer { cursor: pointer; }
.hover-lift {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important;
}
.bg-accent-subtle {
    background-color: rgba(253, 126, 20, 0.12) !important;
    color: var(--accent) !important;
}
.bg-primary-subtle {
    background-color: rgba(10, 88, 202, 0.12) !important;
    color: var(--primary) !important;
}
.bg-success-subtle {
    background-color: rgba(25, 135, 84, 0.12) !important;
    color: #198754 !important;
}
.bg-warning-subtle {
    background-color: rgba(255, 193, 7, 0.15) !important;
    color: #997404 !important;
}
.bg-danger-subtle {
    background-color: rgba(220, 53, 69, 0.12) !important;
    color: #dc3545 !important;
}
.gallery-thumb {
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.gallery-thumb:hover {
    opacity: 0.85;
    transform: scale(1.04);
}
@media (max-width: 991.98px) {
    body {
        padding-bottom: 50px;
    }
}
