:root {
    /* Color Palette - Blue Theme */
    --bg-base: #FFFFFF;

    /* Blues replacing Pinks */
    --blue-primary: #3B82F6;
    /* Main brand blue */
    --blue-light: #DBEAFE;
    /* Top area background */
    --blue-dark: #1E3A8A;
    /* Dark text */
    --blue-hover: #2563EB;
    --blue-accent-1: #93C5FD;
    --blue-accent-2: #EFF6FF;
    --cream: #fff9ea;
    /* Soft background contrasting blob */

    --text-main: #1E40AF;
    --text-muted: #64748B;
    --text-light: #94A3B8;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-script: 'Yellowtail', cursive;
    --font-body: 'Poppins', sans-serif;

    /* Styling */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    --shadow-md: 0 10px 15px -3px rgba(30, 58, 138, 0.1), 0 4px 6px -2px rgba(30, 58, 138, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(30, 58, 138, 0.1), 0 10px 10px -5px rgba(30, 58, 138, 0.04);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

.blue-text {
    color: var(--blue-dark);
}

.light-blue-text {
    color: var(--blue-accent-1);
}

.white-text {
    color: #FFF;
}

/* Top Wavy Background */
.top-wave-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: -2;
    overflow: hidden;
}

.top-wave-bg svg {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 400px;
    /* Base height for the wave */
}

/* Navbar */
.navbar {
    padding: 24px 0;
    position: relative;
    z-index: 100;
}

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

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.logo-script {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: #FFF;
    text-decoration: none;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.1);
}

.logo-sub {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: #FFF;
    text-transform: lowercase;
    letter-spacing: 1px;
}

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

.nav-links a {
    text-decoration: none;
    color: #FFF;
    /* Assuming links are on light blue background, white might need text-shadow */
    color: var(--blue-dark);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active-link {
    color: var(--blue-primary);
}

/* Logos */
.nav-logo {
    height: 70px;
    width: auto;
    display: block;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 8px;
    filter: invert(1) brightness(10);
    /* Keeps footer logo white against dark background */
    display: inline-block;
}

/* General Layout Tweaks */
.top-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--blue-light);
    z-index: -2;
}

.top-bg-short {
    height: 130px;
    /* Shorter top background for non-home pages */
}

.p-top-large {
    padding-top: 60px;
    /* Offset the missing hero wave spacing on inner pages */
}

.mb-4 {
    margin-bottom: 24px;
}

.body-text {
    font-size: 1.15rem;
    color: var(--text-main);
    line-height: 1.8;
}

/* Buttons */
.btn-primary-small,
.btn-primary {
    background-color: var(--blue-accent-1);
    color: #FFF;
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-pill);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary-small {
    padding: 8px 24px;
    font-size: 0.9rem;
    background-color: #F87171;
    /* Kept a warm accent for primary buttons like the image */
    background-color: var(--blue-primary);
}

.btn-primary-small:hover {
    background-color: var(--blue-dark);
}

.btn-primary {
    background-color: var(--blue-primary);
    padding: 14px 32px;
    font-size: 1.1rem;
    color: #FFF;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    background-color: var(--blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
    color: white;
}

/* Subtle periodic shine effect */
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    animation: shine 5s infinite;
    z-index: -1;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.btn-primary .divider {
    margin: 0 12px;
    opacity: 0.5;
    font-weight: 400;
}

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

.btn-block {
    width: 100%;
}

.btn-large {
    padding: 18px 32px;
    font-size: 1.2rem;
}


/* Split Hero Section */
.hero-split {
    position: relative;
    padding-top: 60px;
    padding-bottom: 60px;
    z-index: 10;
}

.hero-content-split {
    display: flex;
    flex-direction: row;
    /* Text on left, image on right */
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-text.text-left {
    text-align: left;
    max-width: 500px;
    flex: 1;
    transform: translate(20px, 90px) scale(1) rotate(0deg);
}

.hero-image-wrap {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    /* Align right side */
    position: relative;
}

/* Clean image for transparent PNG */
.hero-treat-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    /* ensures a transparent PNG isn't cropped weirdly */
    transform: translate(40px, 30px) scale(1.65) rotate(7deg);
    animation: float 6s ease-in-out infinite;
    /* subtle float */
}

@keyframes float {
    0% {
        transform: translate(40px, 30px) scale(1.65) rotate(7deg);
    }

    50% {
        transform: translate(40px, 15px) scale(1.65) rotate(7deg);
    }

    100% {
        transform: translate(40px, 30px) scale(1.65) rotate(7deg);
    }
}

/* Organic Blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(4px);
    z-index: -1;
}

/* Creamy blob bottom left */
.blob-3 {
    top: 50%;
    right: -15%;
    width: 40vw;
    height: 40vw;
    background: var(--blue-accent-2);
    border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    transform: translateY(-50%);
}

.p-large {
    padding: 100px 0;
}

.relative {
    position: relative;
}

.overflow-hidden {
    overflow: hidden;
}

/* Showcase Grid */
.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.showcase-content {
    max-width: 500px;
}

.showcase-image .blob-image {
    width: 100%;
    max-width: 500px;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    /* Image clipped as a blob */
    box-shadow: var(--shadow-lg);
}

/* Typography Overrides for Hero */
.hero-title {
    line-height: 1.1;
    margin-bottom: 24px;
}

.title-sans {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3rem;
    color: var(--blue-primary);
}

.title-script {
    font-family: var(--font-script);
    font-size: 4.5rem;
    color: var(--blue-primary);
    margin-left: -5px;
}

.title-sans-block {
    display: block;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 4rem;
    color: var(--blue-primary);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 600;
    max-width: 600px;
    margin-bottom: 32px;
}

/* About Section & Badges */
.about-section {
    padding: 100px 0 140px;
    position: relative;
}

.shape-bg-1::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20%;
    width: 40vw;
    height: 40vw;
    background-color: var(--blue-accent-2);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: -1;
    transform: translate(-50%, -50%);
}

.shape-bg-1::after {
    content: '';
    position: absolute;
    top: 60%;
    right: -10%;
    width: 30vw;
    height: 30vw;
    background-color: var(--blue-light);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    z-index: -1;
}

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

.quote-title {
    font-size: 3rem;
    line-height: 1.1;
    color: var(--blue-dark);
    font-family: var(--font-heading);
    font-weight: 900;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.quote-script {
    font-family: var(--font-script);
    color: var(--blue-primary);
    font-size: 5rem;
    text-transform: none;
    line-height: 0.8;
    display: inline-block;
    transform: rotate(-5deg);
    margin: 10px 0;
}

.badges {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.badge-item {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
    border-radius: 50%;
    padding: 8px;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-alt {
    background: linear-gradient(135deg, #3B82F6 0%, #93C5FD 100%);
}

.badge-inner {
    border: 2px dashed rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.badge-year {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.badge-text {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2px;
}

.badge-sub {
    font-size: 0.8rem;
    font-weight: 600;
}

.award-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--blue-primary);
    font-style: italic;
}


/* Menu Section */
.menu-section {
    padding: 80px 0;
    background-color: var(--bg-base);
}

.subtitle-text {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 16px;
    margin-bottom: 40px;
}

.menu-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 28px;
    background: #FFF;
    border: 2px solid var(--blue-light);
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--blue-dark);
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--blue-primary);
}

.filter-btn.active {
    background: var(--blue-primary);
    color: white;
    border-color: var(--blue-primary);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.2);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}

.menu-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--blue-accent-2);
}

.menu-card.is-hidden {
    opacity: 0.5;
    filter: grayscale(100%);
}

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

.menu-card-img {
    height: 240px;
    background-color: var(--blue-accent-2);
    background-size: cover;
    background-position: center;
    position: relative;
}

.menu-card-price-pill {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: #3B82F6;
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    border: 3px solid white;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

.menu-card-price-pill.circle {
    padding: 0 12px;
    min-width: 56px;
    width: auto;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
}

.admin-card-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
}

.admin-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: transform 0.2s;
    text-decoration: none;
    padding: 0;
}

.admin-icon-btn .material-symbols-outlined {
    font-size: 18px;
}

.admin-icon-btn:hover {
    transform: scale(1.1);
}

.admin-icon-btn.btn-hide { background: #3B82F6; }
.admin-icon-btn.btn-hide.inactive { background: #9ca3af; }

.admin-icon-btn.btn-special { background: #eab308; }
.admin-icon-btn.btn-special.inactive { background: #9ca3af; }

.admin-icon-btn.btn-delete { background: #ef4444; }

.menu-card-content {
    padding: 24px;
}

.menu-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.menu-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--blue-dark);
    line-height: 1.2;
}

.menu-card-price {
    display: none; /* Replaced by the price pill */
}

.menu-card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.loading-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 64px 0;
    color: var(--blue-primary);
    font-weight: 700;
}


/* Order Section */
.order-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.shape-bg-2::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50vw;
    height: 100%;
    background-color: var(--blue-dark);
    border-radius: 100px 0 0 100px;
    z-index: -1;
}

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

.order-info {
    padding-right: 40px;
}

.order-info h2 {
    margin-bottom: 24px;
    line-height: 1.1;
}

.order-info p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
}

.order-form-container {
    background: white;
    padding: 48px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--blue-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--blue-accent-2);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    background-color: #F8FAFC;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    background-color: white;
}

/* Footer */
footer {
    background-color: var(--blue-dark);
    color: white;
    padding: 60px 0 40px;
}

.footer-brand {
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--blue-accent-1);
    font-weight: 600;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94A3B8;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Variants & Mix-Match Styles */
.variant-radio-container {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.variant-radio-container:hover {
    border-color: var(--blue-accent-1);
    background: #f8fafc;
}

.variant-radio-container.selected {
    border-color: var(--blue-primary);
    background: #eff6ff;
}

.variant-radio-container input[type="radio"] {
    margin-right: 12px;
    transform: scale(1.2);
    accent-color: var(--blue-primary);
}

.variant-radio-label {
    flex-grow: 1;
    font-weight: 600;
    color: var(--blue-dark);
}

.variant-radio-price {
    font-weight: 800;
    color: var(--blue-primary);
}

.flavor-counter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
}

.flavor-name {
    font-weight: 600;
    color: var(--blue-dark);
}

.flavor-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.flavor-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--blue-primary);
    background: white;
    color: var(--blue-primary);
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.flavor-btn:hover:not(:disabled) {
    background: var(--blue-primary);
    color: white;
}

.flavor-btn:disabled {
    border-color: #cbd5e1;
    color: #cbd5e1;
    cursor: not-allowed;
    background: white;
}

.flavor-qty {
    width: 20px;
    text-align: center;
    font-weight: 700;
    color: var(--blue-dark);
}

/* Responsive */
@media (max-width: 992px) {

    .hero-content-split {
        flex-direction: column;
        text-align: center;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .showcase-content {
        margin: 0 auto;
    }

    .hero-image-wrap,
    .showcase-image {
        display: none;
    }

    .order-info {
        padding-right: 0;
    }

    .nav-logo {
        max-height: 50px;
        width: auto;
    }

    .hero-treat-img {
        transform: translate(0px, 80px) scale(1.25) rotate(-36deg);
    }

    .hero-text.text-left {
        text-align: center;
        transform: none;
        margin-top: 80px;
    }

    .hero-box-img {
        width: 100%;
        transform: rotate(2deg) translateX(0);
        margin-top: 20px;
    }

    .hero-title .title-sans,
    .hero-title .title-sans-block {
        font-size: 2.8rem;
    }

    .hero-title .title-script {
        font-size: 3.5rem;
    }

    .about-grid,
    .order-container,
    .form-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .shape-bg-2::before {
        width: 100%;
        border-radius: 40px 40px 0 0;
        top: 20%;
    }

    .quote-title {
        font-size: 2.5rem;
    }

    .badges {
        justify-content: center;
    }

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

    .nav-links {
        display: none;
    }
}

@media (max-width: 600px) {
    .order-form-container {
        padding: 32px 24px;
    }
}