/* GeneJoshua - Main Stylesheet */

:root {
    --primary: #8B7355;
    --primary-dark: #6B5A45;
    --cream: #F5F5DC;
    --gold: #D4AF37;
    --dark: #3D2914;
    --light: #FAF8F5;
    --white: #FFFFFF;
    --gray: #666666;
    --border: #E0E0E0;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Lato', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.6;
    background: var(--light);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.logo span { color: var(--gold); }

.nav { display: flex; gap: 2rem; }

.nav a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.header-actions { display: flex; align-items: center; gap: 1rem; }
#currency-select { 
    padding: 0.5rem; 
    border: 1px solid var(--border); 
    border-radius: 4px; 
    background: var(--white);
    font-size: 0.9rem;
    cursor: pointer;
}
#currency-select:focus {
    outline: none;
    border-color: var(--primary);
}

.cart-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* Main Content */
.main { min-height: calc(100vh - 70px - 200px); }

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--light) 0%, var(--cream) 100%);
    padding: 100px 2rem;
    text-align: center;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* Products Section */
.section { padding: 80px 0; }

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--dark);
    text-align: center;
    margin-bottom: 3rem;
}

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

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

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

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

.product-image {
    height: 350px;
    overflow: hidden;
    background: #f5f5f5;
}

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

.product-info { padding: 1.5rem; }

.product-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 700;
}

/* Product Page */
.product-page { padding: 60px 0; }

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.product-gallery {
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
}

.product-gallery img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.product-details { padding: 20px 0; }

.product-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.product-price-large {
    font-size: 1.75rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.product-description {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: #ccc;
    margin: 1rem 0;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    color: #ccc;
    transition: color 0.3s;
}

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

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #999;
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a,
.footer-legal a:link,
.footer-legal a:visited {
    color: #ccc !important;
    text-decoration: none !important;
    transition: color 0.3s;
}

.footer-legal a:hover,
.footer-legal a:active {
    color: var(--white) !important;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Features Bar */
.features-bar { background: var(--white); padding: 40px 0; border-bottom: 1px solid var(--border); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.feature-item { display: flex; align-items: center; gap: 1rem; }
.feature-item svg { color: var(--primary); }
.feature-text h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.feature-text p { color: var(--gray); font-size: 0.875rem; }

/* Section Subtitle */
.section-subtitle { text-align: center; color: var(--gray); margin-bottom: 2rem; }

/* Product Badge */
.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gold);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}
.product-image { position: relative; }
.product-noimage { background: #f5f5f5; height: 350px; display: flex; align-items: center; justify-content: center; color: var(--gray); }

/* Price Styles */
.price-sale { color: var(--primary); font-weight: 700; }
.price-regular { text-decoration: line-through; color: var(--gray); margin-left: 0.5rem; font-size: 0.875rem; }
.price-current { color: var(--primary); font-weight: 700; }

/* Category Showcase */
.section-cream { background: var(--cream); }
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.category-card { position: relative; border-radius: 8px; overflow: hidden; height: 300px; display: block; }
.category-card img { width: 100%; height: 100%; object-fit: cover; }
.category-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.3); }
.category-title {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
}

/* Promo Banner */
.promo-banner { position: relative; height: 500px; display: flex; align-items: center; }
.promo-bg { position: absolute; inset: 0; }
.promo-bg img { width: 100%; height: 100%; object-fit: cover; }
.promo-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.promo-content { position: relative; z-index: 1; width: 100%; text-align: center; color: var(--white); }
.promo-label { display: block; color: var(--gold); font-weight: 600; margin-bottom: 1rem; }
.promo-content h2 { font-family: var(--font-heading); font-size: 3rem; margin-bottom: 1rem; }
.promo-content p { font-size: 1.25rem; margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.btn-light { background: var(--white); color: var(--dark); }
.btn-light:hover { background: var(--cream); }

/* About Section */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-image { border-radius: 8px; overflow: hidden; }
.about-image img { width: 100%; height: auto; }
.about-content p { margin-bottom: 1rem; color: var(--gray); }
.section-label { color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 0.875rem; }
.text-left { text-align: left; }

/* Instagram */
.instagram-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.instagram-item { aspect-ratio: 1; overflow: hidden; border-radius: 8px; }
.instagram-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.instagram-item:hover img { transform: scale(1.05); }

/* Utility */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.hero-label { color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 0.875rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; margin-top: 2rem; }

/* Cart */
.cg { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.1); margin-bottom: 2rem; }
.ci { display: grid; grid-template-columns: 100px 1fr auto auto auto; gap: 1rem; align-items: center; padding: 1.5rem; border-bottom: 1px solid var(--border); }
.cig { width: 100px; height: 100px; overflow: hidden; border-radius: 4px; }
.cig img { width: 100%; height: 100%; object-fit: cover; }
.cnm { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 0.5rem; }
.cv { color: var(--gray); font-size: 0.875rem; margin-bottom: 0.5rem; }
.cp { color: var(--primary); font-weight: 700; }
.cq { width: 60px; padding: 0.5rem; border: 1px solid var(--border); border-radius: 4px; text-align: center; }
.cit { font-weight: 700; font-size: 1.1rem; }
.cr { color: #dc3545; text-decoration: none; }
.cs { display: flex; justify-content: flex-end; }
.csi { width: 100%; max-width: 400px; }
.csp { font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.csn { color: var(--gray); margin: 1rem 0; }
.ce { text-align: center; padding: 4rem 2rem; }

/* Checkout */
.cl { display: grid; grid-template-columns: 1fr 400px; gap: 3rem; }
.clf { background: var(--white); padding: 2rem; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.clf h2 { font-family: var(--font-heading); margin-bottom: 1.5rem; }
.cfg { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cfi { margin-bottom: 1rem; }
.cfi label { display: block; margin-bottom: 0.5rem; font-weight: 600; }
.cfi input, .cfi select { width: 100%; padding: 0.75rem; border: 1px solid var(--border); border-radius: 4px; }
.cfi textarea { width: 100%; padding: 0.75rem; border: 1px solid var(--border); border-radius: 4px; resize: vertical; }
.clo { background: var(--white); padding: 2rem; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); height: fit-content; }
.clo h2 { font-family: var(--font-heading); margin-bottom: 1.5rem; }
.col { margin-bottom: 1.5rem; }
.coi { display: flex; justify-content: space-between; padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.cot p { display: flex; justify-content: space-between; margin-bottom: 0.5rem; }
.cota { font-size: 1.25rem; font-weight: 700; color: var(--primary); margin-top: 1rem; padding-top: 1rem; border-top: 2px solid var(--border); }

/* Contact */
.cg { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.cf { background: var(--white); padding: 2rem; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.cf h2 { font-family: var(--font-heading); margin-bottom: 1.5rem; }
.ci { background: var(--white); padding: 2rem; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); height: fit-content; }
.ci h2 { font-family: var(--font-heading); margin-bottom: 1.5rem; }
.cii { margin-bottom: 1.5rem; }
.cii h4 { color: var(--primary); margin-bottom: 0.5rem; }
.cii p { color: var(--gray); }

/* About */
.av { margin-top: 3rem; }
.avi { background: var(--white); padding: 2rem; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.avi h3 { font-family: var(--font-heading); margin-bottom: 1rem; }
.avi ul { list-style: none; }
.avi li { padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.avi li:last-child { border-bottom: none; }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .product-layout { grid-template-columns: 1fr; gap: 2rem; }
    .product-gallery img { height: 350px; }
    .nav { display: none; }
    .ag { grid-template-columns: 1fr; }
    .ig { grid-template-columns: repeat(3, 1fr); }
    .pmc h2 { font-size: 2rem; }
    .cl { grid-template-columns: 1fr; }
    .cg { grid-template-columns: 1fr; }
    .ci { grid-template-columns: 1fr; text-align: center; }
    .cig { margin: 0 auto; }
}
