/* Global Variables & Reset */
:root {
    --bg-color: #FFF9F0;
    /* Warm Cream / Ivory */
    --primary-color: #C41E3A;
    /* Festive Red */
    --secondary-color: #FF9933;
    /* Marigold Orange */
    --accent-color: #DAA520;
    /* Metallic Gold */
    --text-color: #2C1810;
    /* Dark Slate */
    --text-muted: #5D4037;
    /* Warm Brown */
    --card-bg: #FFFFFF;
    --card-shadow: 0 4px 20px rgba(196, 30, 58, 0.08);
    --font-heading: 'Cinzel', serif;
    --font-body: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    /* Subtle rangoli/mandala pattern overlay */
    background-image: radial-gradient(#DAA520 0.5px, transparent 0.5px), radial-gradient(#DAA520 0.5px, #FFF9F0 0.5px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    background-blend-mode: multiply;
    opacity: 0.98;
    /* Soften the pattern */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
}

a {
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Utilities */
.text-red {
    color: var(--primary-color) !important;
}

.text-gold {
    color: var(--accent-color) !important;
}

.text-orange {
    color: var(--secondary-color) !important;
}

.bg-festive {
    background: linear-gradient(135deg, #FFF9F0, #FFECD2);
}

.shadow-card {
    box-shadow: var(--card-shadow);
}

/* Navbar */
.navbar {
    background: rgba(255, 249, 240, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 2px solid var(--accent-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand img {
    border: 2px solid var(--primary-color);
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Buttons */
.btn-primary-festive {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.btn-primary-festive:hover {
    background-color: #a01830;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
}

.btn-outline-festive {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 600;
}

.btn-outline-festive:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.cursor-pointer {
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 140px;
    padding-bottom: 80px;
    overflow: hidden;
    background: linear-gradient(rgba(255, 249, 240, 0.7), rgba(255, 249, 240, 0.9)), url('images/banner.jpg');
    background-size: cover;
    background-position: center;
}

.hero-section::before {
    /* Garland decoration top */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: repeating-linear-gradient(45deg, var(--primary-color), var(--primary-color) 10px, var(--accent-color) 10px, var(--accent-color) 20px);
    z-index: 10;
}

.legal-banner {
    background: #FFF0F0;
    border-left: 5px solid var(--primary-color);
    color: var(--text-color);
    padding: 15px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-title {
    color: var(--primary-color);
    text-shadow: none;
    /* Clean look for light theme */
}

.hero-subtitle {
    color: var(--text-color);
    font-weight: 500;
}

/* About Section */
.about-card {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid rgba(218, 165, 32, 0.2);
    box-shadow: var(--card-shadow);
    position: relative;
}

.about-card::after {
    /* Corner decoration */
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    border-top: 3px solid var(--accent-color);
    border-right: 3px solid var(--accent-color);
}

.about-card::before {
    /* Corner decoration */
    content: '';
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 50px;
    height: 50px;
    border-bottom: 3px solid var(--accent-color);
    border-left: 3px solid var(--accent-color);
}

/* Products */
.product-card {
    background: var(--card-bg);
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(196, 30, 58, 0.1);
}

.img-container img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s;
}

/* Category Sprites */
.category-sprite {
    width: 100%;
    height: 220px;
    background-image: url('images/categories.jpg');
    background-size: 300% 200%;
    background-repeat: no-repeat;
    transition: transform 0.5s;
}

.product-card:hover .category-sprite {
    transform: scale(1.05);
}

.cat-sparklers {
    background-position: 0% 0%;
}

.cat-flower-pots {
    background-position: 50% 0%;
}

.cat-sky-rockets {
    background-position: 100% 0%;
}

.cat-ground-chakras {
    background-position: 0% 100%;
}

.cat-sky-shots {
    background-position: 50% 100%;
}

.cat-fire-crackers {
    background-position: 100% 100%;
}

.product-card .card-body {
    padding: 1.5rem;
    text-align: center;
}

.product-card h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Gift Boxes */
.gift-box-section {
    background-color: #FFF0E6;
    /* Light Orange Tint */
    position: relative;
}

.gift-list li {
    color: var(--text-color);
    font-weight: 500;
}

/* Contact / Enquiry */
.contact-panel {
    background: white;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.contact-info-block {
    background: var(--primary-color);
    color: white;
    padding: 3rem;
}

.contact-form-block {
    padding: 3rem;
}

.contact-icon-circle {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.form-control {
    background-color: #F8F9FA;
    border: 1px solid #E9ECEF;
    color: var(--text-color);
}

.form-control:focus {
    background-color: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(196, 30, 58, 0.1);
}

/* Footer */
footer {
    background-color: #2C1810;
    color: #FFE4B5;
    /* Moccasin text */
    padding-top: 3rem;
    padding-bottom: 1rem;
    border-top: 4px solid var(--accent-color);
}

.footer-social a {
    color: #FFE4B5;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 10px;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* Mobile */
@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }

    .hero-section {
        padding-top: 110px;
    }
}