@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --primary: #5D001E;
    /* Rich Burgundy */
    --gold: #D4AF37;
    /* Metallic Gold */
    --gold-hover: #b5952f;
    --light: #F9F7F2;
    /* Cream/Off-white */
    --dark: #1A1A1A;
    /* Charcoal */
    --text: #333333;
    --grey-light: #f4f4f4;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--light);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235d001e' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    color: var(--text);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--primary);
    background-color: transparent;
    color: var(--primary);
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

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

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

.btn-gold:hover {
    background-color: var(--gold);
    color: white;
}

.btn-primary-filled {
    background-color: var(--primary);
    color: white;
}

.btn-primary-filled:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: white;
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid var(--primary);
    /* Gold/Primary border for emphasis */
    border-top: 5px solid var(--primary);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 120px;
    /* Increased height for bigger logo */
    border-bottom: 1px solid #daebf2;
    /* Subtle inner border */
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    padding: 10px 0;
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--dark);
    position: relative;
    font-family: var(--font-body);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:not(.btn-gold-outline):hover {
    color: var(--gold);
}

/* Antique/Ornate underlining */
.nav-links a:not(.btn-gold-outline)::after {
    content: '♦';
    /* Decorative symbol */
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: var(--gold);
    opacity: 0;
    transition: all 0.3s ease;
}

.nav-links a:not(.btn-gold-outline):hover::after,
.nav-links a.active::after {
    opacity: 1;
    bottom: -10px;
}

.btn-gold-outline {
    padding: 8px 20px;
    border: 1px solid var(--gold);
    color: var(--gold) !important;
    /* Override standard link color */
    transition: all 0.3s;
}

.btn-gold-outline:hover {
    background-color: var(--gold);
    color: white !important;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p,
.footer-col a {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

.copyright {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.8rem;
    color: #888;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}

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

.product-image {
    height: 350px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 5px;
}

.product-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.product-price {
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 15px;
}

/* Media Queries */
@media (max-width: 768px) {
    .container {
        padding: 0 25px;
        /* Increased padding */
    }

    .section-padding {
        padding: 30px 0;
    }

    .product-gallery {
        margin-bottom: 30px;
        /* Space between slider and text */
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: var(--shadow);
        text-align: center;
        border-top: 1px solid #eee;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .logo {
        font-size: 1.2rem;
        max-width: 200px;
    }

    .product-detail-wrapper {
        gap: 20px;
    }

    .product-info-detail h1 {
        font-size: 2rem;
    }
}