/* 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 */
}

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 {
    background-color: var(--primary-color) !important;
    padding: 0.8rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.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.85rem;
    /* Reduced slightly */
    text-transform: uppercase;
    margin-left: 10px;
    /* Reduced spacing */
    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;
}

.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);
}