:root {
    --gold: #C8A97E;
    --gold-light: #E8D5B5;
    --gold-dark: #A68B5E;
    --dark: #1a1a1a;
    --darker: #111;
    --cream: #f8f5f0;
    --cream-dark: #e8e0d5;
    --white: #ffffff;
    --text: #333;
    --text-light: #777;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.section { padding: 80px 0; }
.section-dark { background: var(--cream); }
.section-header { text-align: center; margin-bottom: 50px; }
.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 10px;
    display: block;
}
.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 10px;
}
.section-header p { color: var(--text-light); }

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

.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--gold);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-primary {
    background: var(--gold);
    color: var(--white);
}
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--dark); }
.btn-small {
    padding: 8px 20px;
    font-size: 0.8rem;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--dark);
    font-weight: 600;
}
.logo span { color: var(--gold); font-style: italic; font-weight: 400; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text);
    transition: color 0.3s;
    position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.dropdown { position: relative; }
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 10px 0;
    border: 1px solid var(--cream-dark);
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li { padding: 0; }
.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.9rem;
}
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover { background: var(--cream); }

.nav-icons { display: flex; align-items: center; gap: 15px; }
.admin-link { font-size: 1.3rem; color: var(--text-light); transition: color 0.3s; }
.admin-link:hover { color: var(--gold); }

.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--dark); }

.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at center, rgba(200,169,126,0.15) 0%, transparent 70%);
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23C8A97E" opacity="0.3"/></svg>') repeat;
    background-size: 60px 60px;
    opacity: 0.5;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; padding: 0 20px; }
.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 20px;
}
.hero-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}
.hero-content p { color: rgba(255,255,255,0.7); font-size: 1.1rem; margin-bottom: 35px; }
.hero-actions { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

.features-bar {
    background: var(--dark);
    padding: 20px 0;
    border-top: 1px solid rgba(200,169,126,0.2);
    border-bottom: 1px solid rgba(200,169,126,0.2);
}
.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}
.feature-item { display: flex; align-items: center; gap: 12px; color: var(--cream); }
.feature-icon { color: var(--gold); font-size: 1.2rem; }
.feature-item strong { font-size: 0.9rem; display: block; }
.feature-item p { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}
.category-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/4;
    background: var(--cream);
}
.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.category-card:hover img { transform: scale(1.08); }
.category-card .cat-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
}
.category-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.category-card p { font-size: 0.8rem; opacity: 0.8; }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}
.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--cream-dark);
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.product-card .prod-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: var(--cream);
}
.product-card .prod-info { padding: 18px; }
.product-card .prod-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    margin-bottom: 4px;
}
.product-card h3 { font-size: 1rem; margin-bottom: 4px; }
.product-card .prod-price {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--gold-dark);
    margin-bottom: 10px;
}
.product-card .prod-actions { display: flex; gap: 8px; }
.product-card .stock-badge {
    display: inline-block;
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}
.stock-in { background: #e8f5e9; color: #2e7d32; }
.stock-out { background: #fbe9e7; color: #c62828; }

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 35px;
}
.filter-btn {
    padding: 8px 24px;
    border: 1px solid var(--cream-dark);
    background: var(--white);
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 30px;
    color: var(--text);
}
.filter-btn:hover, .filter-btn.active {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.feature-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--cream-dark);
    transition: transform 0.3s;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-card-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 15px;
}
.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.feature-card p { color: var(--text-light); font-size: 0.9rem; }

footer {
    background: var(--darker);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}
.footer-col h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 15px;
}
.footer-col h3 span { color: var(--gold); font-style: italic; }
.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 15px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { transition: color 0.3s; }
.footer-col a:hover { color: var(--gold); }
.newsletter-form { display: flex; gap: 0; }
.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #333;
    background: transparent;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form button {
    padding: 12px 20px;
    background: var(--gold);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.85rem;
    transition: background 0.3s;
}
.newsletter-form button:hover { background: var(--gold-dark); }
.footer-bottom {
    border-top: 1px solid #222;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 0.85rem;
}

.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}
.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37,211,102,0.5);
}

.modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}
.modal.active { display: flex; }
.modal-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
}
.modal-content {
    position: relative;
    background: var(--white);
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
}
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    z-index: 1;
    line-height: 1;
}
.modal-body { padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.modal-body .modal-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; background: var(--cream); }
.modal-body .modal-info h2 { font-size: 1.6rem; margin-bottom: 10px; }
.modal-body .modal-price { font-size: 1.5rem; color: var(--gold-dark); font-family: var(--font-heading); margin-bottom: 15px; }
.modal-body .modal-desc { color: var(--text-light); margin-bottom: 15px; line-height: 1.8; }
.modal-body .modal-category { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin-bottom: 5px; }

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--cream-dark);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .nav-links.open { display: flex; }
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 20px;
    }
    .dropdown:hover .dropdown-menu { display: none; }
    .dropdown.open .dropdown-menu { display: block; }
    .hero-content h1 { font-size: 2.2rem; }
    .section { padding: 50px 0; }
    .section-header h2 { font-size: 1.8rem; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-card .prod-info { padding: 12px; }
    .product-card h3 { font-size: 0.85rem; }
    .product-card .prod-price { font-size: 1rem; }
    .modal-body { grid-template-columns: 1fr; padding: 25px; }
    .features-container { flex-direction: column; align-items: center; text-align: center; }
    .feature-item { flex-direction: column; }
    .hero { min-height: 500px; }
    .hero-content h1 { font-size: 2rem; }
    .footer-container { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 480px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .btn { padding: 12px 24px; font-size: 0.8rem; }
}
