/* CSS for Pastelitos Popu - Premium Corporate Website */

:root {
    /* Color Palette - Light Mode (Default) */
    --primary: #FFC107; /* Warm Yellow */
    --primary-light: #FFECB3;
    --secondary: #0D47A1; /* Deep Blue */
    --accent: #D32F2F; /* Elegant Red */
    --bg-color: #FAFAFA; /* Clean White/Off-white */
    --surface: #FFFFFF;
    --surface-light: #F5F5F5;
    --text-main: #212121;
    --text-muted: #757575;
    --border-color: rgba(0, 0, 0, 0.08);
    
    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Fonts */
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

/* Dark Mode Automatic */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #121212;
        --surface: #1E1E1E;
        --surface-light: #2C2C2C;
        --text-main: #E0E0E0;
        --text-muted: #Aaa;
        --border-color: rgba(255, 255, 255, 0.1);
        
        --primary: #FFD54F;
        --secondary: #42A5F5;
        --accent: #EF5350;
        
        --glass-bg: rgba(30, 30, 30, 0.7);
        --glass-border: rgba(255, 255, 255, 0.1);
        --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    }
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--secondary);
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

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

.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
}

/* Glassmorphism Classes */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.glass-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.1);
}

.glass-panel-nav {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-heading);
}

.btn-primary {
    background-color: var(--primary);
    color: #212121; /* Dark text for contrast on yellow */
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.btn-primary:hover {
    background-color: #FFB300;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary);
    color: white;
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.4);
}

.btn-secondary:hover {
    background-color: #1565C0;
    color: white;
    transform: translateY(-2px);
}

/* Header & Nav */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--secondary);
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-info {
    display: flex;
    gap: 1.5rem;
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--surface);
    min-width: 220px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    list-style: none;
    padding: 0.5rem 0;
    border: 1px solid var(--border-color);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    padding: 0.7rem 1.5rem;
    display: block;
    font-weight: 500;
}

.dropdown-menu li a:hover {
    background: var(--surface-light);
    color: var(--secondary);
}

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

/* Hero */
.hero {
    padding: 8rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    background: var(--primary);
    color: #212121;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero h1 span {
    color: var(--primary);
}

.hero-sub {
    font-size: 1.5rem;
    max-width: 600px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

/* Grids */
.menu-grid, .blog-grid, .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.menu-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.menu-img-wrapper, .blog-img-wrapper {
    height: 220px;
    width: 100%;
}

.menu-content, .blog-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--surface);
}

.menu-content h3 {
    margin-bottom: 0.5rem;
}

/* Readable Content */
.content-readable {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.content-readable p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-main);
}

.content-readable h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.content-readable ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.content-readable li {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background: var(--surface);
    padding: 4rem 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

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

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-light);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.social-btn:hover {
    background: var(--primary);
    color: #212121;
    border-color: var(--primary);
}

.footer-ads-transparency {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 1.5rem;
    background: var(--surface-light);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.2rem 1.5rem;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-sans);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background: var(--surface-light);
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.2rem;
    max-height: 1000px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-top {
        display: none;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--surface);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-bottom: 1px solid var(--border-color);
    }
    .nav-links.active {
        display: flex;
    }
    .mobile-toggle {
        display: block;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-actions {
        flex-direction: column;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
