/* Design System */
:root {
    --color-primary: #4A0E18; /* Deep Berry Red */
    --color-primary-light: #7A1F2E;
    --color-secondary: #8C9A8E; /* Moss Green */
    --color-text: #2C2C2C;
    --color-text-light: #F4F4F4;
    --color-background: #FAFAF8; /* Limestone White */
    --color-surface: #FFFFFF;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    --border-radius: 4px;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--color-primary);
    color: var(--color-text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border: 1px solid var(--color-primary);
    transition: all 0.3s ease;
}

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

.btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--color-text);
    color: var(--color-text);
    background: transparent;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: var(--color-text);
    color: var(--color-surface);
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    position: absolute;
    width: 100%;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
}

.logo {
    font-family: var(--font-heading);
    color: var(--color-text-light);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-links a {
    color: var(--color-text-light);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links .btn-primary {
    border-color: var(--color-text-light);
    padding: 0.8rem 1.5rem;
}

.nav-links .btn-primary:hover {
    background-color: var(--color-text-light);
    color: var(--color-primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--color-text-light);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('assets/images/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3); /* Darken image slightly */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-left: var(--spacing-lg);
    max-width: 600px;
    color: var(--color-text-light);
    animation: fadeIn 1.5s ease-out;
}

.eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
    color: #E0E0E0;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.1;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

/* About Section */
.about-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-background);
    text-align: center;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-primary);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    color: #555;
}

/* Products Section */
.products-section {
    padding: var(--spacing-xl) 0;
    background-color: #F0F0EE; /* Slightly darker limestone */
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: var(--spacing-xs);
}

.section-header p {
    font-size: 1rem;
    color: #666;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.product-card {
    background: var(--color-surface);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.product-image {
    height: 300px;
    overflow: hidden;
}

.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: var(--spacing-md);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-info p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background-color: #1A1A1A;
    color: #888;
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    border-bottom: 1px solid #333;
    padding-bottom: var(--spacing-md);
}

.footer-brand h3 {
    color: var(--color-text-light);
    margin-bottom: 0.2rem;
}

.footer-links a {
    margin-left: var(--spacing-md);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--color-text-light);
}

.copyright {
    text-align: center;
    font-size: 0.8rem;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(20, 20, 20, 0.95);
        flex-direction: column;
        padding: var(--spacing-md);
    }

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

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-content {
        padding-left: var(--spacing-sm);
        padding-right: var(--spacing-sm);
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .footer-links a {
        margin: 0 var(--spacing-sm);
    }
}
