/* 
 * Quetapas - Modern Corporate Café & Bar Website
 * Palette: Charcoal (#1a1a1a), Coral (#ff6b6b), Neutral (#f4f4f4)
 */

:root {
    --color-charcoal: #1a1a1a;
    --color-charcoal-light: #2d2d2d;
    --color-coral: #ff6b6b;
    --color-coral-dark: #e05252;
    --color-white: #ffffff;
    --color-off-white: #f9f9f9;
    --color-gray: #888888;
    --color-light-gray: #e0e0e0;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --spacing-container: 1200px;
    --spacing-section: 100px;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-charcoal);
    background-color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-charcoal);
}

.lead {
    font-size: 1.125rem;
    color: var(--color-gray);
    margin-bottom: 1.5rem;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--spacing-section) 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 900px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--color-coral-dark);
    border-color: var(--color-coral-dark);
    transform: translateY(-2px);
}

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

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

.btn-full {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background-color: rgba(26, 26, 26, 0.95);
    padding: 12px 0;
    backdrop-filter: blur(10px);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.5px;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--color-coral);
}

.btn-nav {
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 20px;
    border-radius: 2px;
}

.btn-nav:hover {
    background-color: var(--color-white);
    color: var(--color-charcoal);
    border-color: var(--color-white);
}

.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-white);
    padding: 8px;
}

@media (min-width: 900px) {
    .nav-links {
        display: flex;
    }
    .mobile-menu-btn {
        display: none;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--color-charcoal);
    z-index: 1001;
    padding: 80px 40px;
    transition: var(--transition);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    display: block;
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 24px;
    font-family: var(--font-heading);
}

.mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('https://images.pexels.com/photos/34831568/pexels-photo-34831568.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26,26,26,0.7), rgba(26,26,26,0.85));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    max-width: 800px;
    padding: 0 24px;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255,255,255,0.9);
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
    40% {transform: translateX(-50%) translateY(-10px);}
    60% {transform: translateX(-50%) translateY(-5px);}
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
}

/* Fade In Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

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

/* About Section */
.about-image img {
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-text p {
    margin-bottom: 1.25rem;
    color: #555;
}

/* Menu Section */
.menu-section {
    background-color: var(--color-off-white);
}

.section-header {
    margin-bottom: 60px;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.menu-card {
    background: var(--color-white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.card-img {
    height: 240px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-card:hover .card-img img {
    transform: scale(1.05);
}

.card-content {
    padding: 24px;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--color-charcoal);
}

.card-content p {
    color: var(--color-gray);
    font-size: 0.95rem;
}

@media (min-width: 900px) {
    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Stats Section */
.stats {
    background-color: var(--color-charcoal);
    color: var(--color-white);
    padding: 60px 0;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 32px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 3rem;
    font-family: var(--font-heading);
    color: var(--color-coral);
    font-weight: 700;
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 4px;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 250px);
    }
    
    .gallery-item.tall {
        grid-row: span 2;
    }
    
    .gallery-item.wide {
        grid-column: span 2;
    }
}

/* Contact Section */
.contact {
    background-color: var(--color-off-white);
}

.contact-wrapper {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    display: grid;
    grid-template-columns: 1fr;
}

.contact-info {
    background-color: var(--color-charcoal);
    color: var(--color-white);
    padding: 60px 40px;
}

.contact-info .section-title {
    color: var(--color-white);
}

.contact-info .lead {
    color: rgba(255,255,255,0.7);
}

.contact-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: rgba(255,255,255,0.9);
}

.contact-list a {
    color: rgba(255,255,255,0.9);
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.contact-list a:hover {
    color: var(--color-coral);
    border-color: var(--color-coral);
}

.contact-form-wrapper {
    padding: 60px 40px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-charcoal);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-light-gray);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-coral);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.form-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 20px;
    border-radius: 4px;
    text-align: center;
}

.hidden {
    display: none;
}

@media (min-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

/* Footer */
.footer {
    background-color: var(--color-charcoal);
    color: var(--color-white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
}

.footer-brand .logo {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--color-coral);
}

.footer-copy {
    margin-top: 32px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

/* Animation Utilities */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal-up.active, .reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);
}
