@import url("https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/css/bootstrap.min.css");
@import url('https://fonts.googleapis.com/css2?family=Italianno&family=Tangerine:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
    --primary-gold: #FFD700;
    --primary-orange: #FF8C00;
    --primary-red: #8B0000;
    --dark-bg: #0a0a0a;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --text-light: #f5f5f5;
    --text-muted: #b0b0b0;
    --transition-speed: 0.4s;
}

/* --- Base Styles (Mobile First) --- */
body {
    background-color: var(--dark-bg);
    margin: 0;
    padding: 0;
    color-scheme: dark;
    font-family: 'Open Sans', sans-serif;
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    font-size: 1rem;
    font-family: 'Lora', serif;
    margin-bottom: 1.25rem;
}

.text-muted {
    color: var(--text-muted) !important;
}

/* --- Layout --- */
.content-wrapper {
    padding-top: 80px;
    min-height: 100vh;
}

.section-padding {
    padding: 60px 0;
}

/* --- Components --- */
.glass-panel {
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 20px;
    padding: 2rem;
    transition: all var(--transition-speed) ease;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #FFD700 0%, #FF8C00 50%, #FFD700 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.btn-primary-custom {
    background: linear-gradient(45deg, var(--primary-orange), var(--primary-red));
    border: none;
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-speed);
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.5);
    color: white;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1050;
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 0;
    transition: background 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(5, 5, 5, 0.98);
    padding: 8px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
    font-family: 'Italianno', cursive;
    font-size: 2rem;
    color: var(--primary-gold) !important;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    padding: 0 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
}

/* --- Product Cards --- */
.product-card {
    background: rgba(30, 30, 30, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    background: rgba(40, 40, 40, 0.8);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.product-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
}

/* --- Forms --- */
.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 12px 18px;
    border-radius: 12px;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.15);
    color: white;
}

/* --- Footer --- */
.footer {
    background: #000;
    padding: 60px 0 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-brand {
    font-family: 'Italianno', cursive;
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-right: 20px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-gold);
}

.social-icons a {
    color: white;
    font-size: 1.4rem;
    margin-right: 15px;
    transition: transform 0.3s;
    display: inline-block;
}

.social-icons a:hover {
    transform: translateY(-3px);
    color: var(--primary-gold);
}

/* --- Desktop Styles --- */
@media (min-width: 992px) {
    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 3rem;
    }

    h3 {
        font-size: 2rem;
    }

    .navbar {
        padding: 18px 0;
    }

    .navbar-brand {
        font-size: 2.8rem;
    }

    .nav-link {
        margin: 0 15px;
        position: relative;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: var(--primary-gold);
        transition: width 0.3s;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 100%;
    }

    .hero-section {
        min-height: 85vh;
        background-attachment: fixed;
    }

    .section-padding {
        padding: 100px 0;
    }

    .glass-panel {
        padding: 4rem;
    }

    .product-img {
        height: 280px;
    }
}

/* --- Tablet Styles --- */
@media (min-width: 768px) and (max-width: 991px) {
    h1 {
        font-size: 3.5rem;
    }

    .hero-section {
        min-height: 70vh;
    }
}

/* --- Utilities --- */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}