/* ROOT VARIABLES & RESET */
:root {
    --primary: #c86d7c;
    --primary-hover: #b05867;
    --secondary: #4a3b32;
    --bg-warm: #fcf8f5;
    --bg-card: #ffffff;
    --text-main: #2d2522;
    --text-muted: #6e645e;
    --accent: #e8a598;
    --border: #eeded7;
    --whatsapp: #25d366;
    --whatsapp-hover: #1eb855;
    --shadow: 0 10px 30px rgba(74, 59, 50, 0.08);
    --radius: 16px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-warm);
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--primary);
}

.logo i {
    font-size: 2rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.1;
}

.tagline {
    font-family: 'Caveat', cursive;
    font-size: 1.1rem;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-btn {
    position: relative;
    background: var(--bg-warm);
    border: 1px solid var(--border);
    padding: 10px 14px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--secondary);
    transition: var(--transition);
}

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

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}

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

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

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

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

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

.btn-full {
    width: 100%;
    justify-content: center;
}

/* SPA PAGES */
.page-section {
    display: none;
}

.page-section.active {
    display: block;
}

/* HERO */
.hero {
    position: relative;
    background: url('https://images.unsplash.com/photo-1517433670267-08bbd4be890f?auto=format&fit=crop&w=1600&q=80') center/cover;
    padding: 120px 0;
    color: white;
    text-align: center;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-subtitle {
    font-family: 'Caveat', cursive;
    font-size: 1.8rem;
    color: var(--accent);
}

.hero h1 {
    font-size: 3rem;
    margin: 15px 0;
    line-height: 1.2;
}

.hero .highlight {
    color: var(--accent);
    font-family: 'Caveat', cursive;
    font-size: 3.5rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

/* FEATURES */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: -40px auto 60px;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

/* PRODUCTS GRID */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--secondary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

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

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 8px;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    flex-grow: 1;
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.add-btn {
    background: var(--bg-warm);
    border: 1px solid var(--border);
    color: var(--secondary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

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

.center-btn {
    text-align: center;
    margin-top: 20px;
}

/* MENU PAGE STYLES */
.menu-header {
    padding: 60px 0;
    text-align: center;
    background: #f7ebe6;
}

.filter-controls {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.search-box input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border-radius: 50px;
    border: 1px solid var(--border);
    outline: none;
    font-size: 1rem;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.category-tabs {
    display: flex;
    gap: 10px;
}

.tab-btn {
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: white;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

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

.menu-content-area {
    padding: 60px 20px;
}

/* CART SIDEBAR */
.cart-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 200;
}

.cart-overlay.active { display: block; }

.cart-sidebar {
    position: fixed;
    top: 0; right: -400px; width: 380px; height: 100%;
    background: white;
    z-index: 201;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

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

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

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

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

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

/* MODAL */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 300;
}

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

.modal-box {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    max-width: 500px;
    width: 90%;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 15px; right: 20px;
    background: none; border: none;
    font-size: 1.8rem; cursor: pointer;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group select, .form-group input {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.form-price-est {
    margin: 20px 0;
    text-align: right;
    font-size: 1.1rem;
}

/* ABOUT & CONTACT */
.about-section {
    padding: 80px 0;
    background: white;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-img img {
    width: 100%;
    border-radius: var(--radius);
}

.contact-section {
    padding: 80px 20px;
}

.contact-grid {
    max-width: 600px;
    margin: 0 auto;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
    background: white;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.info-item i {
    font-size: 1.8rem;
    color: var(--primary);
}

/* FOOTER */
.footer {
    background: var(--secondary);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-links a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-top: 5px;
}

.footer-copy {
    width: 100%;
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .mobile-toggle { display: block; }
    .about-wrapper { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.2rem; }
}