/* Template-5 Styles - Playful Colorful Theme */
:root {
    --t5-coral: #ff6b6b;
    --t5-coral-dark: #ee5a52;
    --t5-teal: #4ecdc4;
    --t5-teal-dark: #3dbdb5;
    --t5-yellow: #ffe66d;
    --t5-yellow-dark: #ffd93d;
    --t5-text: #2d3436;
    --t5-text-light: #636e72;
    --t5-bg-light: #fff9f0;
    --t5-border: #ffeaa7;
    --t5-shadow: rgba(255, 107, 107, 0.15);
}

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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--t5-text);
    line-height: 1.7;
    background: linear-gradient(135deg, #fff9f0 0%, #fff 100%);
}

/* Import Poppins Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* Bouncy Animation Helper */
@keyframes bouncyIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes wiggle {
    0%, 100% {
        transform: rotate(-3deg);
    }
    50% {
        transform: rotate(3deg);
    }
}

@keyframes rainbowPulse {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(255, 107, 107, 0.3);
    }
    33% {
        box-shadow: 0 8px 32px rgba(78, 205, 196, 0.3);
    }
    66% {
        box-shadow: 0 8px 32px rgba(255, 230, 109, 0.3);
    }
}

/* Navbar Styles */
.navbar-custom {
    background: linear-gradient(135deg, var(--t5-coral) 0%, var(--t5-teal) 100%);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px var(--t5-shadow);
    border-radius: 0 0 30px 30px;
}

.navbar-custom .nav-link {
    color: #fff !important;
    font-weight: 700;
    padding: 12px 24px !important;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.navbar-custom .nav-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1) rotate(-2deg);
}

.navbar-custom .navbar-brand {
    color: #fff !important;
    font-weight: 900;
    font-size: 1.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 0 0 50px 50px;
    margin-bottom: 3rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.85) 0%, rgba(78, 205, 196, 0.75) 100%);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: floatAnimation 3s ease-in-out infinite;
}

.hero h1 {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

.hero p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    font-weight: 500;
}

/* Hero Buttons */
.btn-hero {
    background: var(--t5-yellow);
    color: var(--t5-text);
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 12px 40px rgba(255, 230, 109, 0.4);
    border: 3px solid #fff;
}

.btn-hero:hover {
    background: var(--t5-yellow-dark);
    color: var(--t5-text);
    transform: scale(1.1) rotate(3deg);
    box-shadow: 0 16px 48px rgba(255, 230, 109, 0.5);
}

.btn-hero-outline {
    background: transparent;
    color: #fff;
    border: 3px solid #fff;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.btn-hero-outline:hover {
    background: #fff;
    color: var(--t5-coral);
    transform: scale(1.1) rotate(-3deg);
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--t5-coral) 0%, var(--t5-teal) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 50px 50px;
    margin-bottom: 3rem;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: floatAnimation 6s ease-in-out infinite;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    animation: floatAnimation 8s ease-in-out infinite reverse;
}

.page-hero h1 {
    color: #fff;
    font-weight: 900;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.page-hero-eyebrow {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
}

.breadcrumb-custom {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 1.5rem;
}

.breadcrumb-custom a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.breadcrumb-custom a:hover {
    color: #fff;
    transform: translateX(3px);
}

.breadcrumb-custom .breadcrumb-active {
    color: #fff;
    font-weight: 800;
}

.breadcrumb-custom .breadcrumb-separator {
    color: rgba(255, 255, 255, 0.5);
}

/* Cards */
.branch-card {
    border: none;
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.branch-card:hover {
    transform: translateY(-8px) rotate(1deg);
    box-shadow: 0 20px 60px rgba(255, 107, 107, 0.2);
}

.branch-icon {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--t5-coral), var(--t5-teal));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.3);
}

.contact-branch-card {
    border: 3px solid var(--t5-border);
    border-radius: 30px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    height: 100%;
    background: linear-gradient(135deg, #fff 0%, var(--t5-bg-light) 100%);
}

.contact-branch-card:hover {
    border-color: var(--t5-coral);
    box-shadow: 0 16px 48px rgba(255, 107, 107, 0.2);
    transform: translateY(-5px) rotate(-1deg);
}

.info-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--t5-bg-light), #fff);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid var(--t5-border);
}

.info-chip:hover {
    background: linear-gradient(135deg, var(--t5-yellow), #fff);
    border-color: var(--t5-coral);
    transform: scale(1.05);
}

.hero-card {
    background: #fff;
    border-radius: 40px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--t5-border);
}

/* Menu Category Navigation */
.sticky-cat {
    position: sticky;
    top: 90px;
    z-index: 999;
    background: linear-gradient(135deg, #fff 0%, var(--t5-bg-light) 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border-radius: 30px;
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.cat-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem 1rem;
    scrollbar-width: none;
}

.cat-scroll::-webkit-scrollbar {
    display: none;
}

.cat-pill {
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 3px solid var(--t5-border);
    background: #fff;
    color: var(--t5-text);
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.cat-pill:hover {
    background: linear-gradient(135deg, var(--t5-teal), var(--t5-coral));
    color: #fff;
    border-color: transparent;
    transform: scale(1.1) rotate(-3deg);
}

.cat-pill.active {
    background: linear-gradient(135deg, var(--t5-coral), var(--t5-teal));
    color: #fff;
    border-color: transparent;
    transform: scale(1.15);
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.4);
}

/* Food Item Cards */
.t5-item-card {
    background: #fff;
    border: 3px solid var(--t5-border);
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.t5-item-card:hover {
    box-shadow: 0 20px 60px rgba(255, 107, 107, 0.25);
    transform: translateY(-8px) rotate(1deg);
    border-color: var(--t5-coral);
}

.t5-item-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 3px solid var(--t5-border);
}

.t5-item-img-ph {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--t5-bg-light), var(--t5-border));
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 3px solid var(--t5-border);
}

.t5-badge {
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 2px solid #fff;
}

.t5-add-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--t5-coral), var(--t5-teal));
    color: #fff;
    border: 3px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.4);
    font-size: 1.2rem;
}

.t5-add-btn:hover {
    background: linear-gradient(135deg, var(--t5-teal), var(--t5-coral));
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 12px 32px rgba(78, 205, 196, 0.5);
}

.t5-add-btn:active {
    transform: scale(0.95);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--t5-coral) 0%, var(--t5-teal) 50%, var(--t5-yellow) 100%);
    padding: 3rem 0;
    border-radius: 50px;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: floatAnimation 8s ease-in-out infinite;
}

.stat-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-value {
    color: #fff;
    font-weight: 900;
    font-size: 3rem;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    margin-top: 0.75rem;
    font-weight: 600;
}

/* Footer */
.footer-custom {
    background: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
    color: #fff;
    padding: 80px 0 40px;
    border-radius: 50px 50px 0 0;
    margin-top: 4rem;
}

.footer-custom h5 {
    color: var(--t5-yellow);
    font-weight: 800;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-custom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-block;
}

.footer-custom a:hover {
    color: var(--t5-yellow);
    transform: translateX(5px);
}

/* Section Styling */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-eyebrow {
    background: linear-gradient(135deg, var(--t5-coral), var(--t5-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.section-title h2 {
    font-weight: 900;
    color: var(--t5-text);
    font-size: 2.5rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--t5-coral) 0%, var(--t5-teal) 50%, var(--t5-yellow) 100%);
    padding: 5rem 0;
    text-align: center;
    border-radius: 50px;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: floatAnimation 10s ease-in-out infinite;
}

.cta-section h2 {
    color: #fff;
    font-weight: 900;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    font-weight: 600;
}

/* Cart Toggle */
.cart-toggle {
    position: relative;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

.cart-toggle:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: scale(1.15) rotate(10deg);
}

.cart-badge {
    animation: rainbowPulse 2s infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .hero {
        min-height: 450px;
    }

    .stat-value {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .navbar-custom .nav-link {
        padding: 10px 16px !important;
        font-size: 0.9rem;
    }

    .branch-card,
    .contact-branch-card,
    .t5-item-card {
        border-radius: 24px;
    }

    .cat-pill {
        padding: 0.75rem 1.5rem;
    }
}

/* Notification Animation */
@keyframes slideIn {
    from {
        transform: translateX(100%) scale(0.3);
        opacity: 0;
    }
    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
    to {
        transform: translateX(100%) scale(0.3);
        opacity: 0;
    }
}