:root {
    --primary-color: #1a1a1a;
    --accent-color: #d4af37;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
}

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

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

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

.bg-accent {
    background-color: var(--accent-color) !important;
}

.hover-white:hover {
    color: #fff !important;
    transition: color 0.3s ease;
}

/* Custom Button Overrides */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 0;
    /* Sharp edges for premium feel */
    padding: 0.6rem 1.5rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-outline-dark {
    border-radius: 0;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Product Card */
.product-card {
    transition: all 0.3s ease;
}

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

.product-card a {
    text-decoration: none;
    color: inherit;
}

/* Form Controls */
.form-control,
.form-select {
    border-radius: 0;
    padding: 0.6rem 1rem;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

/* ============================================
   PAGE LOAD ANIMATIONS
   ============================================ */

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Main content animation */
main {
    animation: fadeInUp 0.6s ease-out;
}

/* Staggered animations for cards and list items */
.animate-item {
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}

.animate-item:nth-child(1) {
    animation-delay: 0.1s;
}

.animate-item:nth-child(2) {
    animation-delay: 0.15s;
}

.animate-item:nth-child(3) {
    animation-delay: 0.2s;
}

.animate-item:nth-child(4) {
    animation-delay: 0.25s;
}

.animate-item:nth-child(5) {
    animation-delay: 0.3s;
}

.animate-item:nth-child(6) {
    animation-delay: 0.35s;
}

.animate-item:nth-child(7) {
    animation-delay: 0.4s;
}

.animate-item:nth-child(8) {
    animation-delay: 0.45s;
}

/* Page title animation */
.page-title {
    animation: slideInLeft 0.6s ease-out;
}

/* Hero section animation */
.hero-section {
    animation: fadeIn 0.8s ease-out;
}

/* Card hover with smooth transition */
.card {
    transition: all 0.3s ease;
}

/* Smooth image loading */
img {
    opacity: 0;
    transition: opacity 0.5s ease;
}

img.loaded,
img[src] {
    opacity: 1;
}

/* Button press effect */
.btn {
    transition: all 0.2s ease;
}

.btn:active {
    transform: scale(0.97);
}

/* Navbar animation */
.site-header {
    animation: fadeIn 0.4s ease-out;
}

/* Footer animation */
footer {
    animation: fadeIn 0.6s ease-out 0.3s backwards;
}

/* Toast animation enhancement */
.toast {
    animation: slideInRight 0.4s ease-out;
}

/* Loading skeleton pulse (for future use) */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.skeleton {
    animation: pulse 1.5s infinite;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* ============================================
   RESPONSIVE TYPOGRAPHY & LAYOUT
   ============================================ */

/* Mobile Hero Adjustments */
@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
        /* Smaller hero title on mobile */
    }

    .display-6 {
        font-size: 1.75rem;
        /* Smaller section titles */
    }

    /* Adjust Carousel Height for Mobile */
    .carousel-item {
        height: 50vh !important;
        /* Use viewport height instead of fixed pixels */
        min-height: 400px;
    }

    /* Adjust Card Heights */
    .card-img {
        min-height: 250px !important;
    }
}

/* Base Mobile Adjustments */
@media (max-width: 576px) {
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    /* Make product grid items smaller on very small screens if needed */
    .product-card .card-img-top {
        height: 250px !important;
    }
}