/* 
    Marale - Cuidado Esencial
    Design System & Core Styles
    Author: Antigravity AI
*/

:root {
    --primary-green: #1b3022;
    --accent-gold: #c5a059;
    --bg-cream: #fbfaef;
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --white: #ffffff;
    --earth-tone: #f3ece0;
    --transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    --glass: rgba(255, 255, 255, 0.7);
}

/* Typography */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .serif-font {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Navbar */
.navbar {
    background: rgba(27, 48, 34, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar-brand img {
    height: 60px;
    object-fit: contain;
}

.nav-link {
    color: var(--white) !important;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin: 0 10px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--accent-gold);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(to right, rgba(27, 48, 34, 0.8), rgba(27, 48, 34, 0.3)), url('../img/hero-natural.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    animation: fadeInRight 1.5s ease;
}

.hero-content h1 {
    font-size: 5.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Buttons */
.btn-marale {
    background: var(--accent-gold);
    color: var(--white);
    padding: 12px 35px;
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid var(--accent-gold);
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-marale:hover {
    background: transparent;
    color: var(--accent-gold);
}

.btn-outline-marale {
    background: transparent;
    color: var(--primary-green);
    padding: 12px 35px;
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid var(--primary-green);
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

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

/* Sections */
.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-green);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--accent-gold);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Category Headers */
.category-header {
    background: var(--earth-tone);
    padding: 40px;
    margin-bottom: 40px;
    border-left: 5px solid var(--accent-gold);
}

/* Product Cards */
.product-card {
    background: var(--white);
    border: none;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-bottom: 30px;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-img-container {
    height: 350px;
    overflow: hidden;
    position: relative;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.badge-natural {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-green);
    color: var(--white);
    padding: 5px 15px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.product-category {
    font-size: 0.75rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.product-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--primary-green);
}

.product-price {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--primary-green);
}

/* Shopping Cart Buttons */
.add-to-cart {
    width: 100%;
    background: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 10px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: var(--transition);
}

.add-to-cart:hover {
    background: var(--accent-gold);
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    right: -450px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: var(--white);
    z-index: 2000;
    transition: var(--transition);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.close-cart {
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-green);
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #f9f9f9;
    padding-bottom: 15px;
}

.cart-item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    margin-right: 15px;
}

.cart-item-details h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
}

.cart-item-price {
    font-weight: 700;
    color: var(--accent-gold);
}

.cart-footer {
    border-top: 2px solid var(--earth-tone);
    padding-top: 20px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

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

.footer-logo {
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: white;
}

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

/* Responsive */
@media (max-width: 768px) {
    .cart-sidebar { width: 100%; right: -100%; }
    .hero-content h1 { font-size: 2.8rem; }
}
