/* Custom styles for EatClub clone */

/* Base styles */
:root {
    --primary-color: #FF6B00;
    --primary-dark: #E65C00;
    --text-dark: #1A1A1A;
    --text-light: #E6E8EB; /* Lighter text for dark backgrounds */
    --background-light: #F8F8F8;
    --white: #FFFFFF;

    /* Lighter dark-mode palette (soft greys) */
    /* Background: overall page */
    --bg-background: #1D2229; /* slightly lighter than pure dark */
    /* Surface: cards, header, sections */
    --bg-surface: #242A33; /* soft slate */
    /* Sub-surface: subtle panels, inputs */
    --bg-subtle: #2B313C;
    /* Borders on dark */
    --border-light: rgba(230, 232, 235, 0.16);
}

/* Utility classes to support lighter dark mode across the site */
.bg-background { background-color: var(--bg-background) !important; }
.bg-surface { background-color: var(--bg-surface) !important; }
.bg-subtle { background-color: var(--bg-subtle) !important; }
.text-light { color: var(--text-light) !important; }
.border-light { border-color: var(--border-light) !important; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.5;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Custom button styles */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.2);
}

/* Custom card hover effects */
.hover-card {
    transition: all 0.3s ease;
    border-radius: 16px;
    overflow: hidden;
}

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

/* Custom gradient backgrounds */
.gradient-orange {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

/* Section styles */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

/* Card styles */
.card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 24px;
}

/* Navigation */
.nav-link {
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, #FFF5EB 0%, #FFE5D6 100%);
    padding: 120px 0 80px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

/* Features section */
.feature-card {
    text-align: center;
    padding: 32px;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    color: var(--primary-color);
}

/* Stats section */
.stat-card {
    text-align: center;
    padding: 32px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

/* Footer */
.footer {
    background-color: #1A1A1A;
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-link {
    color: #999;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--white);
}

/* Responsive text sizes */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Custom container padding */
@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Mobile menu */
.mobile-menu {
    display: none;
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        z-index: 50;
        padding: 24px;
    }
}

/* Image overlay */
.image-overlay {
    position: relative;
    overflow: hidden;
}

.image-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
}

/* Grid layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
} 