/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Playfair+Display:wght@400;700&family=Roboto:wght@300;400;500;700&display=swap');

:root {
    --primary-color: #2C003E;
    /* Deep Purple */
    --secondary-color: #D4AF37;
    /* Gold */
    --light-color: #FFFDD0;
    /* Cream */
    --dark-color: #0a192f;
    --bs-primary: #2C003E;
    /* Overriding Bootstrap Primary */
}

.bg-theme {
    background-color: var(--primary-color) !important;
    color: #fff;
}

.text-theme {
    color: var(--primary-color) !important;
}

html,
body {
    overflow-x: clip;
    width: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #fdfaf6;
    color: #333;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
}

.font-cinzel {
    font-family: 'Cinzel', serif;
}

/* Ensure Form Elements match Body Font */
input,
textarea,
select,
button,
label,
.form-control {
    font-family: 'Roboto', sans-serif !important;
}

/* Navbar Styling */
.navbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 1030 !important;
    background-color: var(--primary-color) !important;
    padding: 0.8rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.navbar-brand {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    color: var(--secondary-color) !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    font-size: 0.8rem;
    /* Slightly smaller to fit all items */
    text-transform: uppercase;
    padding-left: 6px !important;
    /* Tightened horizontal padding */
    padding-right: 6px !important;
    margin-left: 2px !important;
    transition: color 0.3s ease;
    white-space: nowrap;
    /* Prevent wrapping */
}

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

@media (min-width: 1200px) and (max-width: 1400px) {
    .navbar-nav .nav-link {
        font-size: 0.72rem;
        padding-left: 4px !important;
        padding-right: 4px !important;
        margin-left: 1px !important;
    }

    .navbar-brand {
        font-size: 1.3rem;
    }
}

.cart-count {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: bold;
    border-radius: 50%;
    padding: 0.25em 0.6em;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.btn-primary:hover {
    background-color: #1a0025;
    /* Darker Purple */
    border-color: #1a0025;
    color: var(--secondary-color);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* Cards */
.card {
    border: none;
    border-radius: 8px;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    border: 1px solid var(--secondary-color);
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.underline {
    height: 3px;
    width: 60px;
    background-color: var(--secondary-color);
    margin: 10px auto;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: #fff;
    border-top: 4px solid var(--secondary-color);
    padding: 2rem 0;
}

/* Hero Carousel Overlay */
.carousel-caption {
    background: rgba(44, 0, 62, 0.7);
    /* Primary with opacity */
    padding: 20px;
    border-radius: 5px;
    border: 1px solid var(--secondary-color);
}

/* Custom Static Hero Section */
.hero-section {
    background:
        linear-gradient(90deg, rgba(15, 0, 22, 0.98) 0%, rgba(15, 0, 22, 0.8) 50%, rgba(15, 0, 22, 0.1) 150%),
        radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        url('/assets/images/pexels-photo-1169754.jpg');
    background-size: cover, 40px 40px, cover;
    background-position: right center;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    color: #fff;
    border-bottom: 2px solid rgba(212, 175, 55, 0.15);
}

/* Ambient glow containers behind content */
.hero-glow-1 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(44, 0, 62, 0.6) 0%, rgba(10, 0, 15, 0) 70%);
    filter: blur(100px);
    top: -10%;
    left: -10%;
    z-index: 1;
    pointer-events: none;
}

.hero-glow-2 {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(44, 0, 62, 0) 70%);
    filter: blur(120px);
    bottom: -20%;
    right: -10%;
    z-index: 1;
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 4px;
    color: var(--secondary-color);
    text-transform: uppercase;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.hero-subtitle::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background-color: var(--secondary-color);
    position: absolute;
    right: -55px;
    top: 50%;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 700;
    color: #fff;
    margin-top: 25px;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    margin-bottom: 35px;
    max-width: 600px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

/* Concentric Rings Styling with Animations */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.outer-glow-circle {
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.01);
    border: 1px dashed rgba(212, 175, 55, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 50px rgba(44, 0, 62, 0.4);
    margin: 0 auto;
    position: relative;
    animation: spin-slow 80s linear infinite;
}

.middle-glow-circle {
    width: 390px;
    height: 390px;
    border-radius: 50%;
    background: rgba(26, 0, 37, 0.85);
    border: 2px solid #D4AF37;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.35), inset 0 0 25px rgba(212, 175, 55, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-glow 4s ease-in-out infinite alternate, spin-reverse 120s linear infinite;
}

.inner-logo-circle {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, #2C003E 0%, #15001f 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.inner-logo-circle::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.inner-logo-circle img {
    width: 75%;
    height: 75%;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes spin-reverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.3), inset 0 0 20px rgba(212, 175, 55, 0.1);
    }

    100% {
        box-shadow: 0 0 55px rgba(212, 175, 55, 0.55), inset 0 0 35px rgba(212, 175, 55, 0.3);
    }
}

/* Circular Buttons styling */
.btn-circle-gold {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: #D4AF37;
    border: none;
    color: #1a0025;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.btn-circle-gold:hover {
    background-color: #f7d054;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    color: #1a0025;
}

.btn-circle-outline {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(5px);
}

.btn-circle-outline:hover {
    border-color: #D4AF37;
    background-color: rgba(212, 175, 55, 0.05);
    color: #D4AF37;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
}

.hero-footer-text {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 1.5px;
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Custom SVG Icons Hover Effects */
.custom-hero-icon {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-circle-gold:hover .custom-hero-icon {
    transform: scale(1.15) rotate(5deg);
}

.btn-circle-outline:hover .custom-hero-icon {
    transform: scale(1.15) rotate(-5deg);
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .hero-section {
        padding: 70px 0;
        text-align: center;
    }

    .hero-subtitle::after {
        display: none;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image-wrapper {
        margin-top: 60px;
    }

    .outer-glow-circle {
        width: 340px;
        height: 340px;
    }

    .middle-glow-circle {
        width: 290px;
        height: 290px;
    }

    .inner-logo-circle {
        width: 240px;
        height: 240px;
    }
}