@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800;900&display=swap');

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #6366f1;
    --accent: #f59e0b;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-100: #f1f5f9;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #fafafa;
    color: var(--slate-800);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4, .brand-name {
    font-family: 'Outfit', sans-serif;
}

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

section {
    padding: 100px 0;
    position: relative;
}

/* Typography Helpers */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-slow);
    padding: 24px 0;
}

#navbar.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.nav-logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
    transition: var(--transition-fast);
}

#navbar.scrolled .brand-name {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 12px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 20px;
    border-radius: 14px;
    transition: var(--transition-fast);
}

#navbar.scrolled .nav-menu a {
    color: var(--slate-700);
}

.nav-menu a:hover, .nav-menu a.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

#navbar.scrolled .nav-menu a:hover, #navbar.scrolled .nav-menu a.active {
    background: var(--primary);
    color: var(--white);
}

.hamburger {
    display: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.3);
}

#navbar.scrolled .hamburger {
    background: var(--slate-100);
    border-color: rgba(0,0,0,0.05);
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    margin: 5px 0;
    transition: var(--transition-fast);
}

#navbar.scrolled .hamburger span {
    background: var(--primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    padding-top: 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.4)), 
                url('sppg_hero_bg_1774703140584.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -1;
}

.hero-shapes::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, transparent 70%);
    filter: blur(60px);
}

.hero-content {
    max-width: 800px;
}

.hero .badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 950;
    line-height: 1.1;
    margin-bottom: 32px;
    letter-spacing: -0.04em;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255,255,255,0.8);
    margin-bottom: 48px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Combined Stats/Bento Section */
.stats-bento {
    margin-top: 0;
    position: relative;
    z-index: 10;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 40px;
}

.bento-item {
    transition: var(--transition-slow);
}

.bento-item:hover {
    transform: translateY(-8px);
}

.stat-card {
    grid-column: span 1;
    padding: 32px;
    text-align: center;
}

.stat-card .val {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card .lab {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sections */
.bg-subtle { background-color: #f8fafc; }

.section-header {
    max-width: 700px;
    margin-bottom: 64px;
}

.section-header.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.sub-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}

/* Feature Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 48px 40px;
    transition: var(--transition-slow);
}

.feature-card:hover {
    background: var(--white);
    transform: translateY(-12px);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: var(--primary);
    color: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 32px;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--slate-900);
}

.feature-card p {
    color: var(--slate-600);
    font-size: 1rem;
}

/* Daily Menu Carousel */
.menu-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 20px 0 40px;
    scrollbar-width: none; /* Firefox */
    scroll-snap-type: x mandatory;
}

.menu-carousel::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.menu-card-v2 {
    flex: 0 0 350px;
    background: var(--white);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition-slow);
    border: 1px solid rgba(0,0,0,0.03);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

@media (max-width: 480px) {
    .menu-card-v2 {
        flex: 0 0 280px;
    }
}

.menu-card-v2:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
}

.menu-card-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.menu-card-body {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.menu-card-date {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.menu-card-title {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--slate-900);
}

.menu-card-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.stat-pill {
    padding: 4px 12px;
    background: var(--slate-100);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate-700);
}

.menu-card-items {
    list-style: none;
    font-size: 0.9rem;
    color: var(--slate-600);
    margin-top: auto;
}

.menu-card-items li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-card-items i {
    color: var(--accent);
    font-size: 0.8rem;
}

/* News Section */
.news-slider {
    position: relative;
    padding-bottom: 24px;
}

.news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-slow);
    overflow: hidden;
}

.news-img {
    height: 240px;
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 20px;
}

.news-meta {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.news-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--slate-900);
}

.news-card p {
    color: var(--slate-600);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

/* Buttons */
.btn {
    padding: 16px 32px;
    border-radius: 18px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

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

/* Footer */
footer {
    background: var(--slate-900);
    color: var(--white);
    padding: 100px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 64px;
    margin-bottom: 80px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 24px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 24px;
    font-weight: 800;
}

.footer-col p { opacity: 0.7; }

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: var(--white);
    opacity: 0.7;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-col ul a:hover {
    opacity: 1;
    color: var(--primary);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.5;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero h1 { font-size: 4rem; }
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 40px;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -20px 0 60px rgba(0,0,0,0.1);
        z-index: 2000;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-btns .btn {
        width: 100%;
        justify-content: center;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu a {
        color: var(--slate-900) !important;
        font-size: 1.5rem;
        display: block;
        margin-bottom: 12px;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        text-align: center;
        justify-content: center;
    }
    
    .hero-btns {
        flex-direction: column;
        width: 100%;
        justify-content: center;
        margin-top: 20px;
    }

    .section-title { font-size: 2.8rem; }
}

@media (max-width: 480px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 { font-size: 3rem; }
}
