/* Root Variables */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #f7f5f0;
    --accent-color: #c9a265; /* Elegant gold/bronze */
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --border-color: #e5e5e5;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Jost', sans-serif;
    
    --transition-speed: 0.3s;
}

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

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

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

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

a:hover {
    color: var(--accent-color);
}

button {
    cursor: pointer;
    font-family: var(--font-body);
    border: none;
    background: none;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 28px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid var(--primary-color);
    transition: all var(--transition-speed);
}

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

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 12px 28px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid var(--primary-color);
    transition: all var(--transition-speed);
}

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

.btn-full {
    width: 100%;
    margin-top: 15px;
}

/* Top Banner */
.top-banner {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    font-size: 12px;
    padding: 8px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Header */
.navbar {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.menu-btn {
    font-size: 20px;
    color: var(--primary-color);
}

.brand {
    text-align: center;
}

.brand a {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary-color);
    display: block;
}

.sub-brand {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
}

.cart-btn {
    font-size: 20px;
    color: var(--primary-color);
    position: relative;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background: url('https://images.unsplash.com/photo-1595777457583-95e059d581b8?w=1200&h=800&fit=crop') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    font-weight: 300;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px 20px;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    white-space: nowrap;
}

.tab-btn {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 0;
    color: var(--text-light);
    border-bottom: 2px solid transparent;
    transition: all var(--transition-speed);
}

.tab-btn:hover, .tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Products Section */
.products-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

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

.product-img-wrapper {
    position: relative;
    padding-top: 133%; /* 3:4 aspect ratio */
    overflow: hidden;
}

.product-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

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

.product-title {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.product-price {
    color: var(--accent-color);
    font-weight: 500;
    font-size: 15px;
}

.quick-view-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: rgba(255,255,255,0.95);
    padding: 15px;
    text-align: center;
    transform: translateY(100%);
    transition: transform var(--transition-speed);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.product-card:hover .quick-view-overlay {
    transform: translateY(0);
}

/* Features Bar */
.features-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    background-color: var(--white);
    padding: 40px 20px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 200px;
}

.feature-item i {
    font-size: 24px;
    color: var(--accent-color);
}

.feature-item h4 {
    font-size: 14px;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-item p {
    font-size: 12px;
    color: var(--text-light);
}

/* Section Heading */
.section-heading {
    margin-bottom: 40px;
}

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

.section-heading h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.section-heading p {
    color: var(--text-light);
    font-size: 16px;
}

/* Story Section */
.story-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.story-container {
    display: flex;
    align-items: center;
    gap: 50px;
    background-color: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.story-image {
    flex: 1;
    min-height: 400px;
    position: relative;
}

.story-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-content {
    flex: 1;
    padding: 40px;
}

.story-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.story-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 16px;
}

/* Testimonials */
.testimonials {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    text-align: center;
}

.review-card .stars {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 14px;
}

.review-card p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 15px;
}

.review-card h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Newsletter */
.newsletter {
    background: var(--primary-color) url('https://images.unsplash.com/photo-1595777457583-95e059d581b8?w=1200&h=400&fit=crop') center/cover;
    position: relative;
    color: var(--white);
    text-align: center;
    padding: 80px 20px;
    margin-top: 80px;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
}

.newsletter-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.newsletter-content p {
    margin-bottom: 30px;
    font-size: 16px;
    font-weight: 300;
}

.newsletter form {
    display: flex;
    gap: 10px;
}

.newsletter input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    font-family: var(--font-body);
    border-radius: 4px;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 20px 20px;
    margin-top: 60px;
}

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

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--accent-color);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-col p {
    color: #cccccc;
    font-size: 14px;
}

.footer-col a {
    display: block;
    color: #cccccc;
    margin-bottom: 10px;
    font-size: 14px;
}

.social-links a {
    display: inline-block;
    margin-right: 15px;
    font-size: 18px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 12px;
    color: #999;
}

/* Product Modal (Pop-out) */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    width: 100%;
    max-width: 900px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: var(--primary-color);
    z-index: 10;
    background: var(--white);
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.modal-body {
    display: flex;
    flex-wrap: wrap;
}

.modal-image {
    flex: 1;
    min-width: 300px;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-details {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-details h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.modal-price {
    font-size: 22px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.modal-desc {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 15px;
}

.size-selector {
    margin-bottom: 30px;
}

.size-selector label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.size-options {
    display: flex;
    gap: 10px;
}

.size-btn {
    width: 45px;
    height: 45px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.2s;
}

.size-btn.active, .size-btn:hover {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: var(--white);
}

/* Cart Drawer */
.cart-drawer-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0; right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: var(--white);
    z-index: 1100;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 25px rgba(0,0,0,0.1);
}

.cart-drawer.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 16px;
}

.close-cart {
    font-size: 20px;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.empty-cart-msg {
    text-align: center;
    color: var(--text-light);
    margin-top: 50px;
}

.cart-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cart-item img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-title {
    font-size: 14px;
    font-weight: 500;
}

.cart-item-price {
    color: var(--accent-color);
    font-size: 14px;
}

.cart-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.remove-item {
    color: #e74c3c;
    font-size: 12px;
    text-transform: uppercase;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    background: var(--secondary-color);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.shipping-note {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 15px;
    text-align: center;
}

/* Checkout Modal Mock */
.checkout-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--secondary-color);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.checkout-modal.active {
    display: flex;
}

.checkout-container {
    background: var(--white);
    width: 100%;
    max-width: 600px;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    position: relative;
}

.close-checkout {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 24px;
    color: var(--text-light);
}

.checkout-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
}

.progress-step {
    color: var(--text-light);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
}

.progress-step.active {
    color: var(--primary-color);
    font-weight: 600;
}

.checkout-step {
    display: none;
}

.checkout-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.checkout-step h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.checkout-form input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 14px;
}

.checkout-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-row {
    display: flex;
    gap: 15px;
}

.payment-methods {
    margin-bottom: 20px;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 10px;
    cursor: pointer;
}

.payment-option input {
    margin-right: 15px;
}

.payment-option span {
    flex: 1;
}

.payment-option i {
    font-size: 20px;
    color: var(--primary-color);
}

.credit-card-mock {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.credit-card-mock input {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
}

.mock-back {
    margin-top: 10px;
}

#step-success {
    text-align: center;
}

.success-icon {
    font-size: 60px;
    color: #2ecc71;
    margin-bottom: 20px;
}

.success-note {
    font-size: 13px;
    color: var(--text-light);
    margin: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-body {
        flex-direction: column;
    }
    
    .modal-details {
        padding: 20px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .checkout-container {
        padding: 20px;
    }

    .story-container {
        flex-direction: column;
        gap: 0;
    }

    .story-image {
        width: 100%;
        min-height: 250px;
    }

    .newsletter form {
        flex-direction: column;
    }
}
