/* Theme Variables */
:root[data-theme="dark"] {
    --bg-main: #0c0706;           /* Softer, neutral deep dark */
    --bg-card: rgba(30, 20, 18, 0.6); /* Reduced red tint and opacity */
    --text-primary: #ffffff;
    --text-secondary: #ebd5cd;     /* Softer text */
    
    --accent-primary: #e4523c;   /* Red-Orange from logo */
    --accent-secondary: #ee965b; /* Orange from logo */
    
    --glass-border: rgba(238, 150, 91, 0.08); /* Less visible border */
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    --hover-bg: rgba(238, 150, 91, 0.06); /* Softer highlight */
}

:root[data-theme="light"] {
    --bg-main: #f8f9fa;
    --bg-card: rgba(255, 255, 255, 0.85);
    --text-primary: #1f080a;
    --text-secondary: #4a2b28;
    
    --accent-primary: #e4523c;
    --accent-secondary: #ee965b;
    
    --glass-border: rgba(228, 82, 60, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(228, 82, 60, 0.08);
    --hover-bg: rgba(228, 82, 60, 0.05);
}

:root {
    --whatsapp-color: #25D366;
    --whatsapp-hover: #128C7E;
    --container-width: 1200px;
    --nav-height: 80px;
    --backdrop-blur: blur(16px);
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-bento: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy hover */
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Outfit', 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    transition: background-color var(--transition-base), color var(--transition-base);
}

body { overflow-x: hidden; }

/* Utilities */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }
.gradient-text {
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; }
p { line-height: 1.6; color: var(--text-secondary); }
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; padding: 12px 24px; border-radius: 12px;
    font-weight: 700; cursor: pointer; transition: var(--transition-base);
    border: none; outline: none; font-size: 1rem;
}
.btn-sm { padding: 10px 18px; font-size: 0.875rem; }
.btn-primary {
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
    color: #fff;
}
.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 20px rgba(228, 82, 60, 0.3);
}
.btn-outline {
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
    background: transparent;
}
.btn-outline:hover {
    background: var(--hover-bg);
}

/* Navbar */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; height: var(--nav-height);
    background: transparent; z-index: 1000; transition: var(--transition-base);
}
.navbar.scrolled {
    background: var(--bg-card);
    backdrop-filter: var(--backdrop-blur);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}
.nav-content { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo .header-logo { height: 45px; object-fit: contain; }

.nav-controls { display: flex; align-items: center; gap: 16px; margin-left: auto; margin-right: 20px; }
.theme-toggle-btn {
    background: var(--hover-bg); border: 1px solid var(--glass-border);
    color: var(--accent-primary); border-radius: 50%; width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--transition-base); font-size: 1.2rem;
}
.theme-toggle-btn:hover { background: var(--glass-border); transform: rotate(15deg); }
.icon-moon { display: none; }
:root[data-theme="light"] .icon-moon { display: block; }
:root[data-theme="light"] .icon-sun { display: none; }

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

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-item { font-weight: 500; font-size: 1.05rem; }
.nav-item:hover { color: var(--accent-secondary); }

/* Glass Panels */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-base);
}
.hover-lift:hover {
    transform: translateY(-8px);
    border-color: var(--accent-secondary);
}

/* Hero Section */
.hero {
    position: relative; padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 60px; min-height: 90vh; display: flex; align-items: center;
}
.hero-bg-glow {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 80vw; height: 600px;
    background: radial-gradient(circle, rgba(228,82,60,0.06) 0%, rgba(12,7,6,0) 70%);
    border-radius: 50%; z-index: -1;
}
.bento-hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
}
.main-hero-box {
    grid-row: 1 / span 2;
    padding: 60px 40px;
    display: flex; flex-direction: column; justify-content: center;
}
.badge {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px;
    background: var(--hover-bg); border: 1px solid var(--glass-border);
    color: var(--accent-secondary); border-radius: 20px; font-weight: 700;
    margin-bottom: 30px; width: fit-content;
}
.hero-title { font-size: 4.5rem; margin-bottom: 24px; letter-spacing: -1px; }
.hero-subtitle { font-size: 1.3rem; margin-bottom: 40px; font-weight: 400; max-width: 600px; }
.hero-buttons { display: flex; gap: 16px; }

.visual-box { padding: 40px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.modern-icon { font-size: 4.5rem; color: var(--accent-primary); margin-bottom: 20px; }

.floating-image-box {
    border-radius: 24px; overflow: hidden; position: relative;
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
}
.brand-visual-pattern {
    width: 100%; height: 100%; min-height: 200px;
    background-image: radial-gradient(#fff 2px, transparent 2px);
    background-size: 20px 20px; opacity: 0.2;
}

/* Sections Base */
section { padding: 100px 0; }
.section-header { margin-bottom: 60px; max-width: 600px; }
.section-header h2 { font-size: 3rem; margin-bottom: 16px; }

/* Bento Categories */
.bento-grid-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 24px;
}
.bento-card { padding: 30px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.large-bento { grid-column: span 2; grid-row: span 2; justify-content: space-between; }
.bento-icon {
    width: 60px; height: 60px; background: var(--hover-bg);
    border-radius: 16px; display: flex; align-items: center; justify-content: center;
    margin-bottom: auto;
}
.bento-icon .ph-fill { font-size: 2rem; color: var(--accent-primary); }
.large-bento .bento-icon { width: 80px; height: 80px; }
.large-bento .bento-icon .ph-fill { font-size: 3rem; }
.bento-card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.large-bento h3 { font-size: 2.5rem; }
.accent-bento {
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
    color: white; border: none;
}
.accent-bento h3, .accent-bento p { color: white; }
.bento-bottom-icon { position: absolute; bottom: 30px; right: 30px; font-size: 2rem; opacity: 0.5; }

/* Locations Section */
.locations-section { position: relative; }
.locations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.location-card { padding: 32px; }
.loc-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.loc-icon-wrapper {
    width: 50px; height: 50px; background: var(--hover-bg);
    border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--accent-secondary); font-size: 1.5rem;
}
.loc-status { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.9rem; }
.loc-status.open { color: #10b981; }
.loc-status.closed { color: #ef4444; }
.pulse-dot { width: 10px; height: 10px; border-radius: 50%; }
.loc-status.open .pulse-dot { background-color: #10b981; animation: pulse 2s infinite; }
.loc-status.closed .pulse-dot { background-color: #ef4444; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.location-card h4 { font-size: 1.6rem; margin-bottom: 12px; }
.loc-address { margin-bottom: 8px; font-size: 1.1rem; }
.loc-hours-info { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 24px; display: flex; align-items: center; gap: 6px; }
.loc-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-primary); font-weight: 700; }
.loc-link:hover { color: var(--accent-secondary); gap: 12px; }

/* Contact Section */
.contact-section { position: relative; }
.contact-bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
}
.contact-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.contact-icon {
    width: 60px; height: 60px; background: var(--hover-bg);
    border-radius: 16px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px; color: var(--accent-primary);
}
.contact-icon .ph-fill { font-size: 2.2rem; }
.alternate-icon {
    background: rgba(16, 185, 129, 0.1); /* Green tint */
    color: #10b981;
}
.contact-info { margin-bottom: 32px; flex: 1; }
.contact-info h3 { font-size: 2rem; margin-bottom: 16px; }
.contact-info p { font-size: 1.1rem; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Footer */
.footer { border-top: 1px solid var(--glass-border); padding: 80px 0 24px; margin-top: 40px; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-logo { height: 50px; object-fit: contain; margin-bottom: 20px; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 16px; }
.footer h4 { font-size: 1.2rem; margin-bottom: 8px; }
.footer-links a:hover { color: var(--accent-secondary); padding-left: 5px; }
.social-icons { display: flex; gap: 12px; margin-top: 8px; }
.social-icons a {
    width: 45px; height: 45px; background: var(--hover-bg);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--accent-primary);
}
.social-icons a:hover { background: var(--accent-primary); color: #fff; transform: translateY(-3px); }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid var(--glass-border); font-size: 0.9rem; }

/* FAB */
.fab {
    position: fixed; bottom: 30px; right: 30px; width: 65px; height: 65px;
    background: var(--whatsapp-color); color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 2.2rem;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4); z-index: 99; transition: var(--transition-base);
}
.fab:hover { transform: scale(1.1) rotate(10deg); background: var(--whatsapp-hover); }

/* Responsive */
@media (max-width: 1024px) {
    .bento-hero { grid-template-columns: 1fr; }
    .bento-grid-categories { grid-template-columns: repeat(2, 1fr); }
    .contact-bento-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .menu-toggle { display: block; }
    .nav-controls { margin-right: 0; }
    .nav-links {
        position: absolute; top: 100%; left: 0; width: 100%;
        background: var(--bg-card); backdrop-filter: var(--backdrop-blur);
        flex-direction: column; padding: 24px; gap: 20px;
        clip-path: circle(0% at top right); transition: clip-path 0.4s ease-in-out;
        border-bottom: 1px solid var(--glass-border);
    }
    .nav-links.active { clip-path: circle(150% at top right); }
    .bento-grid-categories { grid-template-columns: 1fr; }
    .large-bento { grid-column: span 1; }
    .footer-content { grid-template-columns: 1fr; gap: 40px; }
}
