/* 
 * Southern Bread & Food Mart - Custom Styles
 * Premium Dark Luxury Theme
 */

:root {
    --color-bg: #0f1a16;
    --color-bg-alt: #14221d;
    --color-text: #f5f5f0;
    --color-text-muted: #a8a89e;
    --color-accent: #d4af37;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b8962e;
}

/* Typography */
h1, h2, h3, h4, .font-serif {
    font-family: var(--font-serif);
}

/* Selection Color */
::selection {
    background: var(--color-accent);
    color: var(--color-bg);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Gold Gradient Text */
.text-gold-gradient {
    background: linear-gradient(135deg, #d4af37 0%, #f4e5a3 50%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Image Hover Effects */
img {
    transition: transform 0.5s ease;
}

/* Focus Styles for Accessibility */
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

#mobile-menu.open {
    transform: translateX(0);
}

#mobile-menu.closed {
    transform: translateX(100%);
}

/* Navbar Scroll State */
.navbar-scrolled {
    background-color: rgba(15, 26, 22, 0.95) !important;
    backdrop-filter: blur(10px);
}

/* Decorative Lines */
.gold-line {
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent) 0%, transparent 100%);
    width: 60px;
}

/* Card Hover Effects */
.product-card {
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.1);
}

/* Loading State */
.page-loaded #hero {
    opacity: 1;
}

#hero {
    opacity: 0;
    transition: opacity 0.6s ease;
}
