/* ===================================
   Rise and Dine - Restaurant Website
   Color Palette: Charcoal + Coral
   =================================== */

:root {
    --primary: #FF6B6B;
    --primary-dark: #E85555;
    --primary-light: #FF8E8E;
    --secondary: #2D3436;
    --secondary-light: #636E72;
    --background: #FFF9F5;
    --background-alt: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-light: #4A4A4A;
    --text-muted: #888888;
    --border: #FFE8E8;
    --shadow-sm: 0 2px 8px rgba(255, 107, 107, 0.08);
    --shadow-md: 0 8px 30px rgba(255, 107, 107, 0.12);
    --shadow-lg: 0 20px 60px rgba(255, 107, 107, 0.15);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--background);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

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

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

ul {
    list-style: none;
}

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

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 249, 245, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.logo .highlight {
    color: var(--primary);
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

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

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-lg);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

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

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

.btn-secondary {
    background: white;
    color: var(--text-dark);
    border-color: white;
}

.btn-secondary:hover {
    background: var(--background);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-white:hover {
    background: var(--background);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

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

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E8E 25%, #FFB4B4 50%, #FFD4D4 75%, #FFE8E8 100%);
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 107, 107, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 180, 180, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-icon svg {
    color: #FFD700;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: white;
    margin-bottom: 24px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-buttons .btn {
    padding: 16px 32px;
    font-size: 1rem;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
}

.trust-item svg {
    color: rgba(255, 255, 255, 0.8);
}

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

.scroll-indicator svg {
    color: rgba(255, 255, 255, 0.7);
}

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

/* ===================================
   Section Styles
   =================================== */
.section {
    padding: 100px 0;
}

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

.text-center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    background: var(--border);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: var(--radius-lg);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.lead {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

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

/* ===================================
   About Section
   =================================== */
.about {
    background: var(--background-alt);
}

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

.about-image-wrapper {
    position: relative;
}

.about-img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-img {
    height: 500px;
}

.secondary-img {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    border-radius: var(--radius-md);
    border: 6px solid var(--background-alt);
    box-shadow: var(--shadow-md);
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.feature-list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--text-dark);
}

.feature-list li svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* ===================================
   Menu Section
   =================================== */
.menu {
    background: var(--background);
}

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

.menu-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.menu-img {
    height: 220px;
    overflow: hidden;
}

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

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

.menu-body {
    padding: 24px;
}

.menu-body h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.menu-body p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.menu-tag {
    display: inline-block;
    background: var(--border);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: var(--radius-lg);
    font-size: 0.8rem;
    font-weight: 600;
}

/* ===================================
   Community Section
   =================================== */
.community {
    background: linear-gradient(135deg, var(--secondary) 0%, #3D4446 100%);
    padding: 100px 0;
}

.community-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.community-content {
    color: white;
}

.community-content .section-title {
    color: white;
    margin-bottom: 24px;
}

.community-content .lead {
    color: rgba(255, 255, 255, 0.8);
}

.community-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 16px;
}

.contact-row {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.contact-row .btn {
    padding: 14px 28px;
}

.community-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.community-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* ===================================
   Location Section
   =================================== */
.location {
    background: var(--background-alt);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.location-info .section-title {
    margin-bottom: 40px;
}

.info-block {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.info-icon {
    width: 56px;
    height: 56px;
    background: var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

.info-block h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.info-block p {
    color: var(--text-light);
    line-height: 1.6;
}

.info-block a {
    color: var(--primary);
    font-weight: 500;
}

.info-block a:hover {
    text-decoration: underline;
}

.map-wrapper {
    height: 450px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

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

.footer-content {
    text-align: center;
}

.footer .logo {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 16px;
    display: inline-block;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 4px;
}

/* ===================================
   Animations
   =================================== */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* These are progressive enhancement - content is visible by default */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal-left {
        opacity: 0;
        transform: translateX(-30px);
    }
    
    .reveal-right {
        opacity: 0;
        transform: translateX(30px);
    }
    
    .reveal-up.visible,
    .reveal-left.visible,
    .reveal-right.visible {
        opacity: 1;
        transform: none;
    }
}

/* ===================================
   Mobile Menu
   =================================== */
.nav-links.mobile-open {
    display: flex;
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 1024px) {
    .about-grid,
    .community-card,
    .location-grid {
        gap: 40px;
    }
    
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 249, 245, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }
    
    .nav-links.mobile-open {
        display: flex;
    }
    
    .nav-links a {
        font-size: 1.1rem;
    }
    
    .hero {
        padding: 100px 20px 60px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .trust-indicators {
        gap: 20px;
    }
    
    .about-grid,
    .community-card,
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image-wrapper {
        order: -1;
    }
    
    .secondary-img {
        width: 150px;
        height: 150px;
        right: -10px;
        bottom: -20px;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .community-image img {
        height: 300px;
    }
    
    .contact-row {
        flex-direction: column;
    }
    
    .contact-row .btn {
        width: 100%;
        justify-content: center;
    }
    
    .map-wrapper {
        height: 300px;
    }
    
    .section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero h1 {
        font-size: 1.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}
