/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-pink: #ad006a;
    --soft-pink: #e8a0c9;
    --cream: #FFF8E1;
    --warm-white: #FEFEFE;
    --text-dark: #333;
    --text-light: #666;
    --accent-gold: #FFD700;
    --shadow: rgba(0, 0, 0, 0.1);
    --nav-height: 0px; /* measured at runtime to visually center hero under fixed navbar */
    --gradient-pink: linear-gradient(135deg, #bf177e, #e8a0c9);
    --gradient-cream: linear-gradient(135deg, #FFF8E1, #FEFEFE);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--warm-white);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3 {
    font-family: 'Dancing Script', cursive;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-pink);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-pink);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-pink);
    color: white;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.9);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
    transform: translateY(-2px);
}

.btn-add {
    background: var(--accent-gold);
    color: var(--text-dark);
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-add:hover {
    background: #FFE55C;
    transform: translateY(-1px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-pink);
    font-family: 'Dancing Script', cursive;
}

.logo img {
    width: auto;
    height: 48px; /* control header height without squashing */
    max-height: 56px;
    border-radius: 0; /* remove circular crop so logo displays full */
    object-fit: contain; /* preserve aspect ratio */
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-pink);
    transition: width 0.3s ease;
}

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

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

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary-pink);
    transition: transform 0.3s ease;
}

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

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-gold);
    color: var(--text-dark);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-pink);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #7f586a; /* hero banner requested background */
    position: relative;
    overflow: hidden;
    padding: 0; /* remove horizontal-only padding to avoid vertical offset from scrollbar calculations */
}

/* subtle moving glare / shine */
/* Moving glare removed per request; only the sprinkle overlay remains */

/* Cupcake sprinkle overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 20%, #FFC0CB 2px, transparent 2px),
        radial-gradient(circle at 30% 60%, #FFD700 1.5px, transparent 1.5px),
        radial-gradient(circle at 70% 30%, #FFB6C1 1.8px, transparent 1.8px),
        radial-gradient(circle at 85% 70%, #FFF 1px, transparent 1px);
    background-size: 60px 60px, 90px 90px, 120px 120px, 40px 40px;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

/* glareMove keyframes removed */

.hero-content {
    position: absolute;
    top: calc(50% + (var(--nav-height) / 2));
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    width: calc(100% - 40px);
    max-width: 900px;
    padding: 0 20px;
    z-index: 2; /* ensure text/buttons sit above the sprinkle overlay */
    text-align: center;
}

.hero-title {
    font-size: 3.8rem;
    color: #fff;
    margin: 0; /* remove default bottom margin so vertical centering is accurate */
    line-height: 1.15;
    text-align: center;
    font-weight: 700;
    text-shadow: 0 6px 22px rgba(233,30,99,0.25), 0 1px 0 rgba(255,255,255,0.15);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #fff;
    text-align: center;
    margin: 0.4rem 0 0; /* small spacing above buttons, keep subtitle close to title */
    text-shadow: 0 2px 6px rgba(233,30,99,0.15);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.9rem; /* ensure buttons sit just under the subtitle */
}

.hero-image {
    position: relative;
    height: 400px;
}

.floating-cupcake {
    position: absolute;
    font-size: 4rem;
    animation: float 3s ease-in-out infinite;
}

.cupcake-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.cupcake-2 {
    top: 50%;
    right: 20%;
    animation-delay: 1s;
}

.cupcake-3 {
    bottom: 20%;
    left: 50%;
    animation-delay: 2s;
}

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

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.sprinkles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, var(--primary-pink) 2px, transparent 2px),
        radial-gradient(circle, var(--accent-gold) 1px, transparent 1px),
        radial-gradient(circle, var(--soft-pink) 1.5px, transparent 1.5px);
    background-size: 100px 100px, 150px 150px, 200px 200px;
    background-position: 0 0, 50px 50px, 100px 100px;
    opacity: 0.1;
    animation: sprinkleFloat 20s linear infinite;
}

@keyframes sprinkleFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100px); }
}

/* Menu Section */
.menu-section {
    padding: 6rem 0;
    background: var(--warm-white);
}

.menu-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 2.5rem;
    color: var(--primary-pink);
    text-align: center;
    margin-bottom: 2rem;
}

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

.menu-item {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-pink);
    opacity: 0.05;
    transition: left 0.5s ease;
}

.menu-item:hover::before {
    left: 0;
}

.menu-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}

.menu-item-image {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px var(--shadow));
}

.menu-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.menu-item p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-pink);
    margin-bottom: 1rem;
    /* price pill for menu and cards */
    display: inline-block;
    padding: 6px 10px;
    background: rgba(233,30,99,0.08);
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-pink);
}

/* Platter Builder Section */
.platter-builder-section {
    padding: 6rem 0;
    background: var(--gradient-cream);
}

.platter-builder {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.platter-config {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px var(--shadow);
}

.config-group {
    margin-bottom: 2rem;
}

.config-group h3 {
    font-size: 1.5rem;
    color: var(--primary-pink);
    margin-bottom: 1rem;
}

.option-item,
.cake-item {
    margin-bottom: 1rem;
}

/* Card grid for platter options */
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* changed from 3 to 2 per request */
    gap: 1rem;
}

.card-option {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    height: 120px; /* square-ish; will keep consistent visual size */
}

/* When a card-option is also a menu-item, match menu visuals */
.card-option.menu-item {
    border-radius: 20px;
    padding: 1.6rem;
    height: auto;
    box-shadow: 0 10px 30px var(--shadow);
    text-align: center;
}

.card-option.menu-item {
    cursor: pointer;
}

.card-option.menu-item.selected {
    border-color: #ad006a;
    box-shadow: 0 22px 50px rgba(233,30,99,0.09);
}

.card-option.menu-item:focus-within {
    outline: 3px solid rgba(233,30,99,0.08);
}

.card-option:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}

.card-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.card-icon {
    font-size: 2.2rem;
}

.card-text {
    font-size: 0.95rem;
    color: var(--text-dark);
}

.card-text small {
    display: block;
    font-size: 0.82rem;
    color: var(--text-light);
    margin-top: 4px;
}

/* Selected state */
.card-option input:checked + .card-icon,
.card-option input:checked ~ .card-text {
    /* If inputs are next to the visual elements this will help, but JS toggles .selected on the label for full support */
    transform: translateY(-3px);
}

.card-option.selected {
    border-color: #ad006a;
    box-shadow: 0 18px 40px rgba(233,30,99,0.08);
}

@media (max-width: 900px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .card-grid { grid-template-columns: 1fr; }
}

.option-item label,
.cake-item label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.option-item label:hover,
.cake-item label:hover {
    background: var(--soft-pink);
}

.quantity-selector {
    margin-top: 1rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.quantity-controls button {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--primary-pink);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.quantity-controls button:hover {
    background: #ad006a;
    transform: scale(1.1);
}

.quantity-controls input {
    width: 80px;
    padding: 0.5rem;
    text-align: center;
    border: 2px solid var(--soft-pink);
    border-radius: 10px;
    font-size: 1rem;
}

.platter-summary {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.platter-summary h3 {
    font-size: 1.5rem;
    color: var(--primary-pink);
    margin-bottom: 1rem;
}

.platter-total {
    font-size: 1.3rem;
    margin: 1rem 0;
    padding: 1rem;
    background: var(--gradient-cream);
    border-radius: 10px;
    text-align: center;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: var(--warm-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr; /* give the image column slightly more space */
    align-items: center; /* vertically center the image relative to contact blocks */
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2.2rem; /* increase padding so contact blocks are taller and image can match height */
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-pink);
}

/* Contact image placement: center and contain within the contact column height */
.contact-image {
    /* place the image in the right column and let it grow to the available space */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: transparent;
    padding: 0;
    margin: 0;
}
.contact-image img {
    display: block;
    max-width: 100%; /* always respect column width */
    width: auto;
    height: auto;
    object-fit: contain; /* preserve aspect ratio */
    border-radius: 0;
    box-shadow: none;
    /* remove hard max-height here; JS will clamp to match contact column height */
}

/* Snackbar / toast styles used by showMessage */
.success-message, .info-message, .error-message {
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    font-weight: 600;
}
.success-message { background: #28a745; }
.info-message { background: #17a2b8; }
.error-message { background: #dc3545; }

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
}

.contact-form h3 {
    font-size: 1.5rem;
    color: var(--primary-pink);
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid var(--soft-pink);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-pink);
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: white;
    z-index: 2000;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px var(--shadow);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    background: var(--gradient-pink);
    color: white;
}

.close-cart {
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-cart:hover {
    transform: scale(1.1);
}

.cart-items {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    background: white;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 5px var(--shadow);
}

.cart-item-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.cart-item-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-item-controls button {
    width: 30px;
    height: 30px;
    border: none;
    background: var(--primary-pink);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cart-item-controls button:hover {
    background: #ad006a;
    transform: scale(1.1);
}

.cart-item-quantity {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.remove-item {
    background: #b82015 !important;
    font-size: 0.8rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
    background: var(--cream);
}

.cart-total {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
    padding: 0.5rem;
    background: white;
    border-radius: 10px;
}

.btn-checkout {
    width: 100%;
}

.empty-cart {
    text-align: center;
    color: var(--text-light);
    padding: 2rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    background: var(--gradient-pink);
    color: white;
    border-radius: 20px 20px 0 0;
}

.close-modal {
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-modal:hover {
    transform: scale(1.1);
}

.modal-body {
    padding: 2rem;
}

.checkout-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.checkout-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #eee;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0 1rem;
    z-index: 2;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eee;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: var(--primary-pink);
    color: white;
}

.step.completed .step-number {
    background: var(--accent-gold);
    color: var(--text-dark);
}

.checkout-step h4 {
    font-size: 1.3rem;
    color: var(--primary-pink);
    margin-bottom: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    border-bottom: 1px solid #eee;
}

.order-total {
    font-size: 1.2rem;
    text-align: center;
    padding: 1rem;
    background: var(--gradient-cream);
    border-radius: 10px;
    margin: 1rem 0;
}

.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    border: 2px solid #eee;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: var(--primary-pink);
}

.payment-method.active {
    border-color: var(--primary-pink);
    background: var(--soft-pink);
}

.payment-method i {
    font-size: 2rem;
    color: var(--primary-pink);
}

.payment-details {
    background: var(--cream);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.payment-details h5 {
    color: var(--primary-pink);
    margin-bottom: 1rem;
}

.bank-details p {
    margin-bottom: 0.5rem;
}

.payment-instructions {
    margin-top: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--primary-pink);
}

/* Overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
}

.overlay.active {
    display: block;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-size: 1.8rem;
    color: var(--primary-pink);
    margin-bottom: 0.5rem;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--primary-pink);
    margin-bottom: 1rem;
}

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

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-pink);
}

.footer-contact p {
    margin-bottom: 0.5rem;
    color: #ccc;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Additional card & cart polish */
.price {
    /* price pill for menu and cards */
    display: inline-block;
    padding: 6px 10px;
    background: rgba(233,30,99,0.08);
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-pink);
}

.card-text small {
    display: block;
    font-size: 0.82rem;
    color: var(--text-light);
    margin-top: 4px;
}

/* Make add-to-cart prominent and readable */
.btn-add {
    background: var(--primary-pink);
    color: #fff;
    padding: 8px 14px;
    font-size: 0.95rem;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(233,30,99,0.12);
    border: none;
}

.btn-add:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(233,30,99,0.14);
}

/* Cart item visuals to match cards */
.cart-item {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem;
    border-bottom: 1px solid #f4f4f4;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}

.cart-item-info small {
    display: block;
    color: var(--text-light);
    font-size: 0.85rem;
}

.cart-item .item-price {
    margin-left: auto;
    background: rgba(233,30,99,0.06);
    color: var(--primary-pink);
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: right 0.3s ease;
        box-shadow: 0 5px 20px var(--shadow);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .platter-builder {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .checkout-steps {
        flex-direction: column;
        gap: 1rem;
    }
    
    .checkout-steps::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .menu-item,
    .platter-config,
    .platter-summary,
    .contact-form,
    .contact-item {
        padding: 1.5rem;
    }
    
    .floating-cupcake {
        font-size: 3rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.6s ease forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.6s ease forwards;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success Message */
.success-message {
    background: #4CAF50;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    margin: 1rem 0;
}

.error-message {
    background: #f44336;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    margin: 1rem 0;
}


/* Enhanced Hero Section Alignment */
.hero {
    padding: 0 20px !important;
}

.hero-content {
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* Enhanced Form Styling */
#customer-form input,
#customer-form textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    margin-bottom: 1.5rem;
    border: 3px solid var(--soft-pink);
    border-radius: 15px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 10px rgba(233, 30, 99, 0.1);
    font-weight: 500;
}

#customer-form input:focus,
#customer-form textarea:focus {
    outline: none;
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.2);
    transform: translateY(-2px);
}

/* Creative Date Label */
.delivery-date-section {
    margin-bottom: 1.5rem;
}

.delivery-date-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-pink);
    margin-bottom: 0.5rem;
    font-family: 'Dancing Script', cursive;
    font-size: 1.3rem;
}

.delivery-date-sublabel {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.8rem;
    font-style: italic;
}

/* Enhanced form rows - FIXED PHONE FIELD HEIGHT */
.form-row input {
    padding: 1.2rem 1.5rem !important;
    border: 3px solid var(--soft-pink) !important;
    border-radius: 15px !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    box-shadow: 0 2px 10px rgba(233, 30, 99, 0.1) !important;
    height: 60px !important; /* EXACT HEIGHT MATCH FOR ALL FIELDS */
    line-height: 1.4 !important;
    box-sizing: border-box !important;
}

.form-row input:focus {
    border-color: var(--primary-pink) !important;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.2) !important;
    transform: translateY(-2px) !important;
}

/* Force phone field to match other fields exactly */
#customer-phone {
    padding: 1.2rem 1.5rem !important;
    height: 60px !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
    border: 3px solid var(--soft-pink) !important;
    border-radius: 15px !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
}

/* Fix number input field spacing */
#cupcake-quantity {
    padding: 0.5rem !important;
    height: 40px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

/* Delivery Date Row Layout */
.delivery-date-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
}

.delivery-date-text {
    flex: 1;
    text-align: left;
}

.delivery-date-text p {
    font-size: 1.1rem;
    color: var(--primary-pink);
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.delivery-date-field {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.delivery-date-field input {
    width: 100% !important;
    max-width: 250px !important;
    height: 60px !important;
    padding: 1.2rem 1.5rem !important;
    border: 3px solid var(--soft-pink) !important;
    border-radius: 15px !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    box-sizing: border-box !important;
    text-align: center;
}

.delivery-date-field input:focus {
    border-color: var(--primary-pink) !important;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.2) !important;
    transform: translateY(-2px) !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .delivery-date-row {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .delivery-date-text {
        text-align: center;
    }
    
    .delivery-date-field {
        justify-content: center;
    }
}

/* FIXED: Delivery Date Section with proper styling and icons */
.delivery-date-section {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--gradient-cream);
    border-radius: 15px;
    border: 2px solid var(--soft-pink);
}

.delivery-date-label {
    display: block;
    font-size: 1.2rem;
    color: var(--primary-pink);
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-family: 'Dancing Script', cursive;
}

.delivery-date-sublabel {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-style: italic;
    font-size: 0.95rem;
}

.delivery-date-section input[type="date"] {
    width: 100% !important;
    height: 60px !important;
    padding: 1.2rem 1.5rem !important;
    border: 3px solid var(--soft-pink) !important;
    border-radius: 15px !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    box-sizing: border-box !important;
    background: white;
    text-align: center;
}

.delivery-date-section input[type="date"]:focus {
    border-color: var(--primary-pink) !important;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.2) !important;
    transform: translateY(-2px) !important;
}



/* TEXTAREA FIELDS STYLING TO MATCH INPUT FIELDS */
#delivery-address,
#special-instructions {
    width: 100% !important;
    padding: 1.2rem 1.5rem !important;
    margin-bottom: 1.5rem !important;
    border: 3px solid var(--soft-pink) !important;
    border-radius: 15px !important;
    background: white !important;
    box-shadow: 0 2px 10px rgba(233, 30, 99, 0.1) !important;
    font-weight: 500 !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 1rem !important;
    resize: vertical !important;
    min-height: 80px !important;
    box-sizing: border-box !important;
}

#delivery-address:focus,
#special-instructions:focus {
    outline: none !important;
    border-color: var(--primary-pink) !important;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.2) !important;
    transform: translateY(-2px) !important;
}

/* Ensure delivery address has proper height */
#delivery-address {
    min-height: 100px !important;
}

/* Special instructions can be smaller */
#special-instructions {
    min-height: 80px !important;
}

/* MAKE DELIVERY DATE HEADING MORE READABLE AND VISIBLE */
.delivery-date-label {
    display: block !important;
    font-size: 1.5rem !important;
    color: var(--primary-pink) !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    font-family: 'Dancing Script', cursive !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1) !important;
    letter-spacing: 0.5px !important;
}

.delivery-date-sublabel {
    color: var(--text-dark) !important;
    margin-bottom: 1.2rem !important;
    font-style: italic !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
}

/* FORCE ORDER DETAILS SECTION TO ONLY SHOW ORDER ITEMS */
#step-1 {
    display: block;
}

#step-1 h4 {
    font-size: 1.4rem;
    color: var(--primary-pink);
    margin-bottom: 1.5rem;
}



/* Make sure checkout-items only shows cart items */
#checkout-items {
    padding: 1rem 0;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    background: white;
    border-radius: 10px;
    margin-bottom: 0.5rem;
}



/* ENSURE CUSTOMER FORM IS VISIBLE */
#step-2 {
    display: none;
}

#step-2.active {
    display: block !important;
}

#customer-form {
    display: block !important;
    visibility: visible !important;
}

#customer-form input,
#customer-form textarea {
    display: block !important;
    visibility: visible !important;
}

/* Make sure delivery date section is visible */
.delivery-date-section {
    display: block !important;
    visibility: visible !important;
}

/* BIGGER LOGO FIX */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 2rem !important;
    font-weight: 700;
    color: var(--primary-pink);
    font-family: 'Dancing Script', cursive;
}

.logo img {
    width: auto !important;
    height: 56px !important;
    max-height: 64px !important;
    border-radius: 0 !important;
    object-fit: contain !important;
}

.logo span {
    font-size: 2rem !important;
    font-weight: 700 !important;
}

/* MOBILE BANNER FULL WIDTH FIX */
@media (max-width: 768px) {
    .hero {
        padding: 0 20px !important;
        min-height: 90vh;
    }
    
    .hero-content {
        max-width: 100% !important;
        margin: 0 auto !important;
        text-align: center !important;
        padding: 2rem 0;
    }
    
    .hero-text {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
        margin-bottom: 2rem !important;
    }
    
    .hero-buttons {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: center !important;
    }
    
    .hero-buttons .btn {
        width: 80% !important;
        max-width: 300px !important;
        padding: 1rem 2rem !important;
        font-size: 1rem !important;
    }
}

/* MOBILE CART ICON POSITIONING */
@media (max-width: 768px) {
    .nav-container {
        justify-content: space-between !important;
        padding: 0 20px !important;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: right 0.3s ease;
        box-shadow: 0 5px 20px var(--shadow);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    /* Cart and hamburger container */
    .nav-right {
        display: flex !important;
        align-items: center !important;
        gap: 1rem !important;
    }
    
    .cart-icon {
        order: 1 !important;
        margin-right: 1rem !important;
    }
    
    .hamburger {
        display: flex !important;
        order: 2 !important;
    }
}

/* CONTACT LINKS STYLING */
.contact-link {
    text-decoration: none !important;
    color: inherit !important;
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    padding: 1.5rem !important;
    background: white !important;
    border-radius: 15px !important;
    box-shadow: 0 5px 15px var(--shadow) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.contact-link:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.2) !important;
    color: inherit !important;
}

.contact-link i {
    font-size: 2rem !important;
    color: var(--primary-pink) !important;
}

.contact-link h4 {
    font-size: 1.1rem !important;
    margin-bottom: 0.25rem !important;
    color: var(--text-dark) !important;
}

.contact-link p {
    color: var(--text-light) !important;
    margin: 0 !important;
}

/* FORCE MOBILE BANNER FULL WIDTH - FINAL FIX */
@media (max-width: 768px) {
    .hero {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .hero .container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 20px !important;
        display: flex !important;
        justify-content: center !important;
    }
    
    .hero-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 2rem 0 !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .hero-text {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        margin: 0 auto !important;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
        text-align: center !important;
        width: 100% !important;
        margin: 0 auto 1rem auto !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
        text-align: center !important;
        width: 100% !important;
        margin: 0 auto 2rem auto !important;
    }
    
    .hero-buttons {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* FIX BLUE LINK COLOR IN FOOTER ON MOBILE */
.footer a,
.footer-content a,
.footer p a {
    color: white !important;
    text-decoration: none !important;
}

.footer a:hover,
.footer-content a:hover {
    color: var(--soft-pink) !important;
}

/* Fix phone number link specifically */
.footer a[href^="tel:"],
.footer-content a[href^="tel:"] {
    color: white !important;
    text-decoration: none !important;
}

.footer a[href^="tel:"]:hover,
.footer-content a[href^="tel:"]:hover {
    color: var(--soft-pink) !important;
}

/* Ensure all footer text is white */
.footer,
.footer * {
    color: white !important;
}

.footer h4 {
    color: white !important;
    margin-bottom: 1rem !important;
}

.footer p {
    color: white !important;
}

/* Mobile footer fix */
@media (max-width: 768px) {
    .footer a,
    .footer-content a,
    .footer p a,
    .footer a[href^="tel:"] {
        color: white !important;
        background: none !important;
        text-decoration: none !important;
        -webkit-text-fill-color: white !important;
    }
    
    .footer a:visited,
    .footer a:link {
        color: white !important;
        -webkit-text-fill-color: white !important;
    }
}

/* MOBILE BANNER FIXES - VISIBLE HEADING AND LESS EMPTY SPACE */
@media (max-width: 768px) {
    .hero {
        min-height: 70vh !important; /* Reduce height to remove empty space */
        max-height: 70vh !important;
        padding: 2rem 20px !important;
    }
    
    .hero-content {
        padding: 1rem 0 !important; /* Less padding to reduce space */
        height: auto !important;
        min-height: auto !important;
    }
    
    .hero-title {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 2.5rem !important;
        color: var(--primary-pink) !important;
        text-align: center !important;
        margin: 0 auto 1rem auto !important;
        font-family: 'Dancing Script', cursive !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        z-index: 10 !important;
        position: relative !important;
    }
    
    .hero-subtitle {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 1rem !important;
        color: var(--text-light) !important;
        text-align: center !important;
        margin: 0 auto 2rem auto !important;
        line-height: 1.4 !important;
    }
    
    .hero-buttons {
        margin-top: 1rem !important;
        margin-bottom: 0 !important;
    }
    
    .hero-text {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}



/* SIMPLE MOBILE BANNER FIX */
@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
        display: block !important;
        visibility: visible !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
        display: block !important;
        visibility: visible !important;
    }
    
    .hero-content {
        text-align: center;
        padding: 2rem 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 80%;
        max-width: 300px;
    }
}

/* CART ICON NEXT TO HAMBURGER FIX */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 768px) {
    .nav-right {
        display: flex !important;
        align-items: center !important;
        gap: 1rem !important;
    }
    
    .cart-icon {
        display: block !important;
        position: relative !important;
        margin-right: 0 !important;
    }
    
    .hamburger {
        display: flex !important;
    }
    
    /* Ensure cart icon is NOT in the mobile menu */
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: right 0.3s ease;
        box-shadow: 0 5px 20px var(--shadow);
    }
    
    .nav-menu.active {
        right: 0;
    }
}


/* WORKING MOBILE FIXES */
@media (max-width: 768px) {
    /* HERO BANNER - FORCE ALL CONTENT VISIBLE */
    .hero {
        min-height: 70vh !important;
        display: flex !important;
        align-items: center !important;
        padding: 0 20px !important;
    }
    
    .hero-content {
        display: block !important;
        text-align: center !important;
        width: 100% !important;
        padding: 2rem 0 !important;
    }
    
    .hero-text {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
    }
    
    .hero-title {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 2.5rem !important;
        color: var(--primary-pink) !important;
        margin: 0 auto 1rem auto !important;
        text-align: center !important;
    }
    
    .hero-subtitle {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 1.1rem !important;
        margin: 0 auto 2rem auto !important;
        text-align: center !important;
    }
    
    .hero-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: center !important;
        width: 100% !important;
    }
    
    /* CART ICON NEXT TO HAMBURGER - NOT INSIDE MENU */
    .nav-container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    .nav-right {
        display: flex !important;
        align-items: center !important;
        gap: 1rem !important;
        order: 3 !important;
    }
    
    .cart-icon {
        display: block !important;
        position: relative !important;
        font-size: 1.2rem !important;
        color: var(--primary-pink) !important;
        cursor: pointer !important;
    }
    
    .hamburger {
        display: flex !important;
        flex-direction: column !important;
        cursor: pointer !important;
    }
    
    /* MOBILE MENU - ONLY NAVIGATION LINKS */
    .nav-menu {
        position: fixed !important;
        top: 70px !important;
        right: -100% !important;
        width: 100% !important;
        height: calc(100vh - 70px) !important;
        background: white !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        padding-top: 2rem !important;
        transition: right 0.3s ease !important;
        box-shadow: 0 5px 20px var(--shadow) !important;
        z-index: 1000 !important;
    }
    
    .nav-menu.active {
        right: 0 !important;
    }
    
    .nav-link {
        padding: 1rem 2rem !important;
        border-bottom: 1px solid #eee !important;
        width: 100% !important;
        text-align: left !important;
    }
}

/* Mobile hero final override: force hero content visible and readable on small screens */
@media (max-width: 768px) {
    .hero-content {
        /* remove any absolute centering that can push content offscreen on small viewports */
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        display: block !important;
        width: 100% !important;
        padding: 1rem 0 !important;
        margin: 0 auto !important;
    }

    .hero-title {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #fff !important; /* white text for contrast on pink banner */
        text-shadow: 0 6px 22px rgba(0,0,0,0.18) !important;
        font-size: 2.2rem !important;
        line-height: 1.15 !important;
        margin: 0 0 0.5rem 0 !important;
    }

    .hero-subtitle {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #fff !important;
        text-shadow: 0 2px 6px rgba(0,0,0,0.12) !important;
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
    }

    /* Make sure the sprinkle overlay doesn't obscure text on tiny devices */
    .hero::after {
        opacity: 0.08 !important;
    }
}
