/* ==================== 
   Reset & Base Styles 
   ==================== */

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

:root {
    --gold: #A38957;
    --brown: #2D0F0B;
    --dark-brown: #73431F;
    --light-brown: #B9895B;
    --beige: #F5F0EB;
    --tan: #D3B2AB;
    --white: #FFFFFF;
    --black: #000000;
    --red: #E00101;
}

body {
    font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--brown);
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.container {
    max-width: 1435px;
    margin: 0 auto;
    padding: 0 150px;
}

/* ==================== 
   Typography 
   ==================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Doulos SIL', serif;
}

/* ==================== 
   Buttons 
   ==================== */

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 40px;
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

.btn-primary:hover {
    background: #8d7547;
}

.btn-secondary {
    background: var(--white);
    color: var(--black);
}

.btn-secondary:hover {
    background: var(--beige);
}

/* ==================== 
   Header/Navigation 
   ==================== */

.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 150px;
    max-width: 1435px;
    margin: 0 auto;
}

.header-logo {
    font-family: 'Doulos SIL', serif;
    font-size: 32px;
    font-weight: bold;
    color: var(--gold);
}

.header-nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.header-nav a {
    font-family: 'Figtree', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.12px;
    color: var(--dark-brown);
    transition: color 0.3s ease;
}

.header-nav a:hover {
    color: var(--gold);
}

.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-count {
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    position: absolute;
    top: -8px;
    right: -8px;
}

/* ==================== 
   Footer 
   ==================== */

.footer {
    background: var(--black);
    padding: 100px 0;
}

.footer-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.footer-logo-text {
    font-family: 'Doulos SIL', serif;
    font-size: 36px;
    font-weight: bold;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-center: center;
    height: 113px;
    width: 123px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.footer-link-item {
    text-align: left;
}

.footer-link {
    font-family: 'Figtree', sans-serif;
    font-weight: 600;
    font-size: 13.959px;
    text-transform: uppercase;
    letter-spacing: 2.5126px;
    color: var(--white);
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--gold);
}

.footer-policies {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
}

.footer-policy {
    font-family: 'Figtree', sans-serif;
    font-weight: 600;
    font-size: 13.959px;
    text-transform: uppercase;
    letter-spacing: 2.5126px;
    color: var(--white);
    text-align: center;
}

.footer-copyright {
    font-family: 'Figtree', sans-serif;
    font-size: 15.953px;
    line-height: 1.37;
    letter-spacing: -0.1595px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

/* ==================== 
   Product Cards 
   ==================== */

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

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

.product-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--light-brown);
    margin-bottom: 8px;
}

.product-name {
    font-family: 'Figtree', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: var(--dark-brown);
    margin-bottom: 12px;
}

.product-price {
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--gold);
}

.product-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

/* ==================== 
   Forms 
   ==================== */

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-family: 'Figtree', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--dark-brown);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--beige);
    border-radius: 8px;
    font-family: 'Figtree', sans-serif;
    font-size: 16px;
    color: var(--dark-brown);
    background: var(--white);
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--gold);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* ==================== 
   Utility Classes 
   ==================== */

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

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 40px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 40px; }

.py-1 { padding-top: 8px; padding-bottom: 8px; }
.py-2 { padding-top: 16px; padding-bottom: 16px; }
.py-3 { padding-top: 24px; padding-bottom: 24px; }
.py-4 { padding-top: 32px; padding-bottom: 32px; }
.py-5 { padding-top: 40px; padding-bottom: 40px; }

/* ==================== 
   Responsive Design 
   ==================== */

@media (max-width: 1200px) {
    .container {
        padding: 0 80px;
    }
    
    .header-container {
        padding: 20px 80px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 40px;
    }
    
    .header-container {
        padding: 20px 40px;
    }
    
    .header-nav {
        gap: 20px;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-policies {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .header-container {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
    
    .header-nav {
        flex-direction: column;
        gap: 12px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}
