:root {
    --pink: #EC268F;
    --pink-dark: #D11F7E;
    --yellow: #FFC532;
    --yellow-dark: #E5AF2D;
    --brown: #C36239;
    --dark-brown: #622D2B;
    --cream: #e6d5c3;
    --white: #FFFFFF;
    --border-beige: #622D2B;
    --beige: #fad6a5;
    --section-border: #622D2B;
}

/* Fallback fonts with adjusted metrics to reduce CLS during font swap */
@font-face {
    font-family: 'Nunito Fallback';
    src: local('Arial');
    size-adjust: 100%;
    ascent-override: 100%;
    descent-override: 20%;
    line-gap-override: 0%;
}

@font-face {
    font-family: 'Fredoka Fallback';
    src: local('Arial Black'), local('Arial Bold');
    size-adjust: 95%;
    ascent-override: 105%;
    descent-override: 25%;
    line-gap-override: 0%;
}

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

html {
    scroll-behavior: smooth;
}

/* Visually hidden but accessible to screen readers */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body {
    font-family: 'Nunito', 'Nunito Fallback', sans-serif;
    background-color: #FFFFFF;
    color: var(--dark-brown);
    line-height: 1.7;
    overflow-x: hidden;
}

/* BREADCRUMBS */
.hero-breadcrumb {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.hero-breadcrumb a {
    color: var(--pink);
    text-decoration: none;
}
.hero-breadcrumb a:hover {
    text-decoration: underline;
}

/* HEADER TOP STRIP - Simple solid brown bar */
.header-drip {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    z-index: 1001;
    pointer-events: none;
    background-color: #622D2B;
}

/* FLOATING SOCIAL SIDEBAR */
.social-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.social-sidebar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-sidebar a:hover {
    width: 52px;
}

.social-sidebar a svg {
    width: 22px;
    height: 22px;
    fill: white;
}

.social-sidebar .social-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-radius: 8px 0 0 0;
}

.social-sidebar .social-facebook {
    background: #1877F2;
}

.social-sidebar .social-pinterest {
    background: #E60023;
}

.social-sidebar .social-yelp {
    background: #000000;
    border-radius: 0 0 0 8px;
    /* Force dimensions - prevent collapse */
    min-width: 44px !important;
    min-height: 44px !important;
    width: 44px !important;
    height: 44px !important;
    overflow: hidden !important;
}

.social-sidebar .social-yelp img {
    width: 44px !important;
    height: 44px !important;
    object-fit: cover;
    border-radius: 8px;
}

/* Mobile: reposition social sidebar */
@media (max-width: 768px) {
    .social-sidebar {
        position: fixed;
        top: auto;
        bottom: 20px;
        right: 15px;
        transform: none;
        z-index: 998;
    }

    .social-sidebar a {
        width: 40px;
        height: 40px;
        border-radius: 50% !important;
        margin-bottom: 6px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.25);
    }

    .social-sidebar a:hover {
        width: 40px;
    }

    .social-sidebar a svg {
        width: 18px;
        height: 18px;
    }

    .social-sidebar .social-yelp {
        min-width: 40px !important;
        min-height: 40px !important;
        width: 40px !important;
        height: 40px !important;
    }

    .social-sidebar .social-yelp img {
        width: 40px !important;
        height: 40px !important;
        object-fit: cover;
        border-radius: 50% !important;
    }
}

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

/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    padding: 0.75rem 1.5rem;
    box-shadow: 0 2px 20px rgba(98, 45, 43, 0.1);
    border-bottom: 5px solid var(--border-beige);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    height: 60px;
    width: auto !important;
    object-fit: contain;
}

.logo-text {
    font-family: 'Fredoka One', 'Fredoka Fallback', cursive;
    font-size: 1.9rem;
}

.logo-text .my {
    color: var(--pink);
}

.logo-text .baking {
    color: var(--yellow); /* Brand yellow #FFC532 */
}

.logo-text .creations {
    display: block;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: var(--pink); /* Brand pink */
    text-transform: uppercase;
    margin-top: -3px;
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 1.25rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-brown);
    font-weight: 700;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--yellow);
    border-radius: 2px;
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
    left: 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: #C4206E; /* Darker pink for better contrast */
}

.nav-cta {
    background: var(--yellow);
    color: var(--dark-brown) !important;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--yellow-dark);
    transform: translateY(-2px);
    color: var(--dark-brown) !important;
}

/* DROPDOWN */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(98, 45, 43, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    margin-top: 1rem;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--dark-brown);
    font-weight: 600;
    font-size: 1.19rem;
}

.dropdown-menu a:hover {
    background: var(--cream);
    color: var(--pink);
}

.dropdown-subcategory a {
    padding-left: 2.5rem;
    font-size: 1.13rem;
    font-weight: 500;
}

/* Hide mobile dropdown indicator on desktop */
.mobile-dropdown-indicator {
    display: none !important;
}

.mobile-menu-btn {
    display: none;
    background: var(--pink);
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 10px;
}

/* HERO */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 3rem;
    background: linear-gradient(180deg, #f5f5dc 0%, var(--cream) 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid var(--border-beige);
}

/* Floating beige geometric shapes */
.hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(230, 213, 195, 0.4);
    border-radius: 80px;
    top: 10%;
    right: 5%;
    z-index: 0;
    transform: rotate(-15deg);
    animation: float1 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(230, 213, 195, 0.5);
    border-radius: 60px;
    bottom: 15%;
    left: 8%;
    z-index: 0;
    transform: rotate(25deg);
    animation: float2 18s ease-in-out infinite;
}

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

.hero-logo {
    display: block;
    width: 120px;
    height: auto;
    margin: 0 auto 1.5rem auto;
    animation: bounce 2s ease infinite;
}

@keyframes float1 {
    0%, 100% { 
        transform: rotate(-15deg) translateY(0px); 
    }
    50% { 
        transform: rotate(-15deg) translateY(-30px); 
    }
}

@keyframes float2 {
    0%, 100% { 
        transform: rotate(25deg) translateY(0px); 
    }
    50% { 
        transform: rotate(25deg) translateY(25px); 
    }
}

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

.hero-badge {
    display: inline-block;
    background: var(--yellow);
    color: var(--dark-brown);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: badge-float 3s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(255, 197, 50, 0.4);
}

@keyframes badge-float {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 4px 15px rgba(255, 197, 50, 0.4);
    }
    50% {
        transform: translateY(-6px);
        box-shadow: 0 8px 25px rgba(255, 197, 50, 0.5);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-badge {
        animation: none;
    }
}

.hero h1 {
    font-family: 'Fredoka One', 'Fredoka Fallback', cursive;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--dark-brown);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero h1 .highlight {
    color: var(--pink);
}

.hero h1 .highlight-yellow {
    color: var(--yellow-dark);
}

.hero-subtitle {
    font-size: 1.43rem;
    color: var(--brown);
    margin-bottom: 2rem;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--pink);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(236, 38, 143, 0.4);
}

.btn-primary:hover {
    background: var(--pink-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(236, 38, 143, 0.5);
}

.btn-secondary {
    background: var(--yellow);
    color: var(--dark-brown);
    box-shadow: 0 4px 15px rgba(255, 197, 50, 0.4);
}

.btn-secondary:hover {
    background: var(--yellow-dark);
    transform: translateY(-3px);
}

/* Scroll Down Indicator Arrow */
.scroll-indicator {
    position: fixed;
    bottom: 15px;
    right: 50px;
    left: auto;
    transform: none;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    animation: bounce-scroll 2s ease-in-out infinite;
}

.scroll-indicator-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--pink);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.scroll-indicator-arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink), var(--pink-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(236, 38, 143, 0.4);
    transition: all 0.3s ease;
}

.scroll-indicator-arrow svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.scroll-indicator:hover .scroll-indicator-arrow {
    transform: translateY(5px);
    box-shadow: 0 6px 20px rgba(236, 38, 143, 0.5);
}

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

@keyframes bounce-scroll-mobile {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* Dark hero variant (for carousel pages) */
.hero-carousel .scroll-indicator-text {
    color: var(--pink);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-carousel .scroll-indicator-arrow {
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
    box-shadow: 0 4px 15px rgba(255, 197, 50, 0.5);
}

.hero-carousel .scroll-indicator-arrow svg {
    fill: var(--dark-brown);
}

.hero-carousel .scroll-indicator:hover .scroll-indicator-arrow {
    box-shadow: 0 6px 20px rgba(255, 197, 50, 0.6);
}

@media (max-width: 768px) {
    .scroll-indicator {
        bottom: 12px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        animation: bounce-scroll-mobile 2s ease-in-out infinite;
    }
    .scroll-indicator-text {
        font-size: 0.7rem;
    }
    .scroll-indicator-arrow {
        width: 36px;
        height: 36px;
    }
    .scroll-indicator-arrow svg {
        width: 18px;
        height: 18px;
    }
}

/* Button Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-expand 0.6s ease-out forwards;
    pointer-events: none;
}

.btn-primary .ripple {
    background: rgba(255, 255, 255, 0.4);
}

.btn-secondary .ripple {
    background: rgba(236, 38, 143, 0.25);
}

@keyframes ripple-expand {
    from {
        transform: scale(0);
        opacity: 1;
    }
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ripple {
        animation: none;
        display: none;
    }
}

/* Typewriter Effect */
.typewriter-headline {
    display: block;
}

.typewriter-headline.typing .typewriter-text {
    visibility: visible;
}

.typewriter-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--white);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: cursor-blink 0.6s step-end infinite;
}

.typewriter-cursor.hidden {
    display: none;
}

@keyframes cursor-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Reduced motion: show text immediately, no cursor animation */
@media (prefers-reduced-motion: reduce) {
    .typewriter-cursor {
        display: none;
    }
}

/* SECTION WRAPPER - Wrap-around effect with margins */
.section-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 3rem;
    border-radius: 30px;
}

.section-beige {
    background: var(--cream);
    border: 5px solid var(--section-border);
}

.section-white {
    background: var(--white);
    border: 5px solid var(--section-border);
}

/* Alternating sections container */
.page-content {
    padding: 3rem 2rem;
    background: transparent;
}

.page-content .section-wrapper {
    margin-bottom: 3rem;
}

.page-content .section-wrapper:last-child {
    margin-bottom: 0;
}

/* SECTIONS WITH BEIGE OUTLINES */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: 'Fredoka One', 'Fredoka Fallback', cursive;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark-brown);
    margin-bottom: 1rem;
}

.section-header h2 .highlight {
    /* Gradient text effect - pink to darker pink */
    background: linear-gradient(135deg, var(--pink) 0%, #C4206E 50%, var(--pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    color: #5A3020; /* Darker brown for 4.5:1 contrast on beige */
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 600;
}

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

/* Consistent tile grid layouts */
.tile-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.tile-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.tile-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* Contact page two-column layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

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

@media (max-width: 768px) {
    .tile-grid-4,
    .tile-grid-3,
    .tile-grid-2,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 5px solid var(--section-border);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--pink);
    box-shadow: 0 20px 60px rgba(236, 38, 143, 0.25), 0 0 30px rgba(236, 38, 143, 0.15);
    background: linear-gradient(135deg, #fff 0%, #fff9f9 100%);
}

.service-card:hover h3 {
    color: var(--pink);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-family: 'Fredoka One', 'Fredoka Fallback', cursive;
    font-size: 1.5rem;
    color: var(--dark-brown);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-card p {
    color: #5A3020; /* Darker brown for 4.5:1 contrast on beige */
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-decoration: none;
}

/* When service-card is a link, remove link styling from text */
a.service-card {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.service-card p {
    color: #5A3020; /* Darker brown for 4.5:1 contrast on beige */
    text-decoration: none;
}

a.service-card h3 {
    color: var(--dark-brown);
}

/* Center images inside service cards */
.service-card img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.service-card .price {
    display: inline-block;
    background: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 800;
    color: var(--pink); /* Brand pink */
    margin-top: auto;
    margin-bottom: 1.5rem;
    border: 2px solid var(--border-beige);
}

.service-card .btn {
    white-space: nowrap;
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
}

/* Gallery grid for category tiles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(98, 45, 43, 0.9));
    padding: 2rem 1.5rem 1.5rem;
    color: var(--white);
}

.gallery-item-overlay h3 {
    font-family: 'Fredoka One', 'Fredoka Fallback', cursive;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.gallery-item-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 2rem;
    border: 2px solid var(--border-beige);
    border-radius: 30px;
    background: var(--white);
}

/* FOOTER */
footer {
    background: linear-gradient(135deg, var(--dark-brown) 0%, #4a2220 100%);
    color: var(--white);
    padding: 3rem 2rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Fredoka One', 'Fredoka Fallback', cursive;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.footer-logo .my {
    color: var(--pink);
}

.footer-logo .baking {
    color: var(--yellow);
}

.footer-tagline {
    margin-bottom: 2rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    filter: brightness(1.15);
}

.social-links a svg {
    width: 24px;
    height: 24px;
    fill: white;
}

/* Footer social brand colors */
.social-links a[aria-label="Instagram"] {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-links a[aria-label="Facebook"] {
    background: #1877F2;
}

.social-links a[aria-label="Pinterest"] {
    background: #E60023;
}

.social-links a[aria-label="Yelp"] {
    background: #000000;
    overflow: hidden;
}

.social-links a[aria-label="Yelp"] img {
    width: 50px !important;
    height: 50px !important;
    object-fit: cover;
    border-radius: 50%;
}

.footer-contact {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.footer-contact a {
    color: var(--yellow);
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

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

/* ==================== ORDER FORM MODAL ==================== */
.modal,
.order-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    padding: 20px;
}

.modal-content {
    background: var(--cream);
    border-radius: 30px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
    border: 3px solid var(--border-beige);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: bold;
    color: var(--dark-brown);
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--pink);
}

.modal-header {
    background: linear-gradient(135deg, var(--pink), var(--pink-dark));
    color: var(--white);
    padding: 40px 40px 30px;
    border-radius: 30px 30px 0 0;
    text-align: center;
}

.modal-header h2 {
    font-family: 'Fredoka One', 'Fredoka Fallback', cursive;
    font-size: 2rem;
    margin: 0 0 10px;
}

.modal-header p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.95;
}

#orderForm {
    padding: 40px;
}

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

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

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-beige);
    border-radius: 15px;
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(236, 38, 143, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group small {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: var(--brown);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border: 2px solid var(--border-beige);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--white);
}

.radio-option:hover {
    border-color: var(--pink);
    background: rgba(236, 38, 143, 0.05);
}

.radio-option input[type="radio"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.radio-option input[type="radio"]:checked + span {
    font-weight: 700;
    color: var(--pink);
}

.radio-option span {
    font-size: 1rem;
    font-weight: 600;
}

.form-group input[type="file"] {
    padding: 10px;
    border: 2px dashed var(--border-beige);
    border-radius: 12px;
    width: 100%;
    cursor: pointer;
    background: var(--white);
    font-family: 'Nunito', sans-serif;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--pink);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(236, 38, 143, 0.4);
}

.submit-btn:hover {
    background: var(--pink-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(236, 38, 143, 0.5);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    color: var(--brown);
    font-size: 0.9rem;
}

.form-footer strong {
    color: var(--pink);
}

/* ==================== ABOUT PAGE GRIDS ==================== */
.about-founder {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.about-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* ==================== RESPONSIVE - MOBILE FIXES ==================== */
@media (max-width: 968px) {
    .about-founder {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-services-grid {
        grid-template-columns: 1fr;
    }

    .about-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        max-height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 1rem 1.5rem 2rem;
        gap: 0.5rem;
        transition: left 0.3s ease;
        box-shadow: 0 10px 30px rgba(98, 45, 43, 0.15);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    /* Mobile nav links - ensure clickability */
    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 0.75rem 1rem;
        font-size: 1.1rem;
        width: 100%;
        border-radius: 10px;
        transition: background 0.2s ease, color 0.2s ease;
    }

    .nav-links a:hover,
    .nav-links a:active {
        background: var(--cream);
        color: var(--pink);
    }

    .nav-links a::after {
        display: none;
    }

    /* Mobile CTA button */
    .nav-links .nav-cta {
        margin-top: 0.5rem;
        width: auto;
        padding: 0.8rem 2rem;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    /* Mobile dropdown - hidden by default, shown when expanded */
    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        box-shadow: none;
        margin-top: 0;
        background: var(--cream);
        border-radius: 10px;
        padding: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    }

    .dropdown.expanded .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        padding: 0.5rem 0;
    }

    .dropdown-menu a {
        padding: 0.6rem 1rem;
        font-size: 1rem;
    }

    .dropdown-subcategory a {
        padding-left: 1.5rem;
        font-size: 0.95rem;
    }

    /* Mobile dropdown toggle - parent link with +/- indicator */
    .dropdown > a {
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
    }

    /* Plus/minus indicator on right side - override desktop hide */
    .dropdown > a .mobile-dropdown-indicator,
    .mobile-dropdown-indicator {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: var(--pink);
        color: white;
        font-size: 1.1rem;
        font-weight: 700;
        line-height: 1;
        flex-shrink: 0;
    }

    /* Highlight parent when expanded */
    .dropdown.expanded > a {
        background: var(--cream);
        color: var(--pink);
    }

    .dropdown.expanded > a .mobile-dropdown-indicator {
        background: var(--dark-brown);
    }

    /* Expanded submenu styling with separators */
    .dropdown.expanded .dropdown-menu {
        background: var(--white);
        margin: 0.5rem 1rem;
        border-radius: 12px;
        box-shadow: inset 0 2px 8px rgba(98, 45, 43, 0.08);
    }

    /* Dropdown menu items with separators */
    .dropdown-menu li {
        border-bottom: 1px solid rgba(98, 45, 43, 0.1);
    }

    .dropdown-menu li:last-child {
        border-bottom: none;
    }

    .dropdown-menu a {
        padding: 0.75rem 1.25rem;
        color: var(--dark-brown);
    }

    .dropdown-menu a:hover,
    .dropdown-menu a:active {
        background: var(--light-pink);
        color: var(--pink);
    }

    /* Subcategory items - slightly indented */
    .dropdown-subcategory {
        background: rgba(98, 45, 43, 0.03);
    }

    .dropdown-subcategory a {
        padding-left: 2rem;
        font-size: 0.95rem;
        color: var(--brown);
    }

    /* HERO MOBILE FIX */
    .hero {
        min-height: auto;
        padding: 7rem 1.5rem 3rem;
    }

    .hero-logo {
        width: 100px;
        height: auto;
        animation: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .client-logos {
        gap: 1.5rem;
    }

    .client-logos img {
        height: 40px !important;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0.8rem 1.5rem;
    }

    .logo-icon {
        height: 50px;
        width: auto !important;
    }

    .logo-text {
        font-size: 1.63rem;
    }

    .hero {
        padding: 6.5rem 1.5rem 2.5rem;
    }

    .hero-logo {
        width: 90px;
        height: auto;
        margin-bottom: 1rem;
        animation: none;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    /* CRITICAL FIX: Fixed height container for typewriter to prevent layout shift */
    .hero h1.typewriter-headline {
        height: 3.9rem;
        min-height: 3.9rem;
        max-height: 3.9rem;
        overflow: hidden;
        display: flex;
        flex-wrap: wrap;
        align-content: flex-start;
        justify-content: center;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle br {
        display: none;
    }
    
    .floating-order-btn {
        bottom: 20px;
        left: 20px;
        padding: 15px 25px;
        font-size: 1rem;
    }
    
    .modal-content {
        max-height: 95vh;
        border-radius: 20px;
    }
    
    .modal-header {
        padding: 30px 25px 25px;
    }
    
    .modal-header h2 {
        font-size: 1.6rem;
    }
    
    #orderForm {
        padding: 30px 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .close-modal {
        top: 15px;
        right: 20px;
        font-size: 35px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 6rem 1rem 2rem;
    }

    .hero-logo {
        width: 80px;
        height: auto;
        animation: none;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    /* CRITICAL FIX: Fixed height for smaller screens to prevent layout shift */
    .hero h1.typewriter-headline {
        height: 3.4rem;
        min-height: 3.4rem;
        max-height: 3.4rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .services-preview {
        padding: 3rem 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .client-logos {
        flex-direction: column;
        gap: 1rem;
    }
    
    .client-logos img {
        height: 35px !important;
    }
    
    .floating-order-btn {
        bottom: 15px;
        left: 15px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* CONTACT FORM IFRAME RESPONSIVE */
@media (max-width: 968px) {
    .contact-form-iframe {
        height: 1000px !important;
    }
}

@media (max-width: 768px) {
    .contact-form-iframe {
        height: 800px !important;
    }
}

/* ===========================================
   HERO CAROUSEL STYLES (Consolidated)
   =========================================== */
.hero-carousel {
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.hero-carousel::before,
.hero-carousel::after {
    display: none;
}

.hero-subpage {
    min-height: 600px;
    padding: 6rem 2rem 3rem;
}

.carousel-track-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s ease-in-out;
}

.carousel-slide {
    flex: 0 0 33.333%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-sizing: border-box;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #ffffff;
}

.hero-carousel .hero-content {
    position: relative;
    z-index: 2;
}

.hero-text-box {
    background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.45) 100%);
    padding: 2rem 2.5rem;
    border-radius: 20px;
    max-width: 850px;
    margin: 0 auto;
}

.hero-carousel h1 {
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero-carousel h1 .highlight {
    color: var(--pink); /* Brand pink */
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero-carousel h1 .highlight-yellow {
    color: var(--yellow); /* Brand yellow */
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero-carousel .hero-subtitle {
    font-size: 1.43rem;
    color: white;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 4;
    background: var(--yellow); /* Brand yellow #FFC532 */
    padding: 10px 16px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid white;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-dot:hover {
    background: var(--pink);
    border-color: var(--pink);
    transform: scale(1.1);
}

.hero-dot.active {
    background: var(--pink);
    border-color: var(--pink);
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(255, 107, 139, 0.6);
}

@media (max-width: 768px) {
    .carousel-slide {
        flex: 0 0 100%;
    }

    .hero-subpage {
        min-height: auto;
        padding: 5rem 1rem 2.5rem;
        margin-top: 70px;
    }

    .hero-text-box {
        padding: 1.25rem 1rem;
        margin: 0 0.5rem;
        border-radius: 15px;
    }

    .hero-text-box h1 {
        font-size: 1.4rem !important;
        line-height: 1.3;
        margin-bottom: 0.5rem;
        min-height: 2em !important; /* Smaller text keeps most titles on single line */
    }

    .hero-carousel .hero-description {
        font-size: 0.95rem !important;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    .hero-carousel .hero-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.8rem;
        margin-bottom: 0.75rem;
    }

    .hero-carousel .hero-logo {
        width: 60px;
        height: auto;
        margin-bottom: 0.75rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.6rem;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero-dots {
        bottom: 10px;
        gap: 5px;
        padding: 6px 10px;
        border-radius: 14px;
    }

    .hero-dot {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    .hero-subpage {
        padding: 4.5rem 0.75rem 2rem;
    }

    .hero-text-box {
        padding: 1rem 0.75rem;
        margin: 0 0.25rem;
    }

    .hero-text-box h1 {
        font-size: 1.3rem !important;
        min-height: 3.5em !important; /* Reserve space for 2 lines to prevent layout shift */
    }

    .hero-carousel .hero-description {
        font-size: 0.85rem !important;
    }
}

/* ===========================================
   GALLERY GRID STYLES (Consolidated)
   =========================================== */
.cake-gallery-grid,
.cupcakes-gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .cake-gallery-grid,
    .cupcakes-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

.cake-thumb,
.gallery-item {
    cursor: pointer;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1;
    transition: box-shadow 0.3s ease;
}

.cake-thumb:hover,
.gallery-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.cake-thumb img,
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.cake-thumb:hover img,
.gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

/* Gallery image parallax hover effect - desktop only */
@media (hover: hover) and (pointer: fine) {
    .cake-thumb,
    .gallery-item {
        perspective: 1000px;
    }

    .cake-thumb img,
    .gallery-item img {
        transition: transform 0.15s ease-out, filter 0.3s ease;
    }

    .cake-thumb:hover img,
    .gallery-item:hover img {
        /* Base transform, JS will add parallax via inline style */
        transform: scale(1.08);
    }
}

/* ===========================================
   LIGHTBOX STYLES (Consolidated)
   =========================================== */
.lightbox,
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    box-sizing: border-box;
}

.lightbox.active,
.lightbox-modal.active {
    display: flex;
}

.lightbox img,
.lightbox-modal img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.5);
    touch-action: pan-y pinch-zoom;
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
    font-weight: 300;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--pink);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: white;
    background: rgba(255,255,255,0.1);
    border: none;
    cursor: pointer;
    padding: 1rem;
    border-radius: 50%;
    transition: background 0.3s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.3);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .carousel-track {
        transition: none;
    }

    .hero-dot,
    .cake-thumb,
    .gallery-item,
    .cake-thumb img,
    .gallery-item img,
    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        transition: none;
    }
}

/* ===========================================
   ORDER FORM DISCLAIMER NOTICE
   =========================================== */
.order-disclaimer {
    font-style: italic;
    font-size: 0.9rem;
    color: rgba(139, 90, 43, 0.85);
    text-align: center;
    padding: 0.75rem 1rem 1.25rem;
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

/* ===========================================
   CONSOLIDATED UTILITY CLASSES
   =========================================== */

/* Gallery CTA Section */
.gallery-cta {
    text-align: center;
}

.gallery-cta h3 {
    font-family: 'Fredoka One', 'Fredoka Fallback', cursive;
    font-size: 2rem;
    color: var(--dark-brown);
    margin-bottom: 1rem;
}

.gallery-cta p {
    font-size: 1.1rem;
    color: var(--brown);
    margin-bottom: 2rem;
    font-weight: 600;
}

.gallery-cta .btn {
    font-size: 1.1rem;
}

/* Gallery Category Card Images */
.category-card-image {
    width: 100%;
    max-width: 280px;
    height: 180px;
    object-fit: contain;
    background-color: #FFFFFF;
    border-radius: 15px;
    margin-bottom: 1rem;
}

/* Back to Gallery Link */
.back-link {
    color: white;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
}

.back-link:hover {
    text-decoration: underline;
}

/* Section Description Text */
.section-description {
    text-align: center;
    font-size: 1.15rem;
    color: var(--brown);
    font-weight: 600;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

/* Gallery Page CTA Container */
.gallery-order-cta {
    text-align: center;
    margin-top: 3rem;
}

.gallery-order-cta p {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-brown);
    margin-bottom: 1.5rem;
}

.gallery-order-cta .btn {
    font-size: 1.1rem;
}

/* Service Card Button Spacing */
.service-card .btn-secondary {
    display: inline-block;
    margin-top: 1rem;
}

/* Related Categories Section */
.related-categories {
    max-width: 900px;
    margin: 0 auto;
}

/* Section with bottom margin */
.section-mb {
    margin-bottom: 3rem;
}

/* ===========================================
   COMPREHENSIVE MOBILE RESPONSIVE FIXES
   =========================================== */
@media (max-width: 768px) {
    /* 1. CONTAINERS - Full width, centered */
    .page-content {
        padding: 1.5rem 1rem;
    }

    .section-wrapper {
        padding: 2rem 1.25rem;
        margin: 0 -0.5rem;
        border-radius: 15px;
    }

    /* 2. TEXT - Proper word breaks for long strings */
    .footer-contact,
    .footer-contact a,
    a[href^="mailto:"],
    a[href^="tel:"] {
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .footer-contact p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* 3. FOOTER - Better mobile layout */
    footer {
        padding: 2rem 1rem 1.5rem;
    }

    .footer-logo {
        font-size: 1.5rem;
    }

    .footer-tagline {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .footer-links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem 1rem;
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    .footer-links a {
        font-size: 0.9rem;
        padding: 0.3rem 0;
    }

    .social-links {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .social-links a {
        width: 40px;
        height: 40px;
    }

    .social-links a svg {
        width: 20px;
        height: 20px;
    }

    .social-links a[aria-label="Yelp"] img {
        width: 40px !important;
        height: 40px !important;
    }

    .footer-contact {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .footer-contact p {
        margin-bottom: 0.25rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
        padding-top: 1rem;
    }

    /* 4. CONTACT PAGE - Social buttons wrap properly */
    .contact-social-row {
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
    }

    .contact-social-row .btn {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 120px;
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
        justify-content: center;
    }

    /* 5. SECTION HEADERS - Scale down */
    .section-header h2 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .section-header p {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }

    /* 6. SERVICE CARDS - Full width, less padding */
    .service-card {
        padding: 1.5rem 1.25rem !important;
        border-radius: 20px !important;
    }

    .service-card h3 {
        font-size: 1.1rem !important;
    }

    .service-card p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }

    .service-card .price {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    /* Service card images on mobile */
    .service-card img {
        height: 100px !important;
        max-width: 180px !important;
        margin-bottom: 0.75rem !important;
    }

    /* Corporate cookies grid - single column on mobile */
    .corporate-cookies-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Corporate logos grid mobile */
    .corporate-logos-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        padding: 0.75rem !important;
        gap: 0 !important;
        border-radius: 15px !important;
    }

    .corporate-logos-grid img {
        height: 50px !important;
        padding: 0.5rem !important;
    }

    /* Logo tagline mobile */
    .logo-tagline {
        font-size: 1rem !important;
        padding: 0.5rem 1rem !important;
    }

    /* Corporate tile links - override inline styles */
    .corporate-tile-link .service-card p,
    .section-wrapper .service-card p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }

    .corporate-tile-link span,
    .service-card span {
        font-size: 0.9rem !important;
        margin-top: 0.75rem !important;
    }

    /* Section header h2 smaller on mobile */
    .section-header h2 {
        font-size: 1.4rem !important;
        line-height: 1.3 !important;
    }

    /* Gallery category tiles - scale down images */
    .tile-grid-2 .service-card img,
    .tile-grid-3 .service-card img,
    .tile-grid-4 .service-card img {
        height: 120px !important;
        margin-bottom: 0.75rem !important;
    }

    /* Hero subtitle mobile */
    .hero-subtitle {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }

    /* Override any inline font-size on paragraphs */
    .page-content p[style*="font-size"] {
        font-size: 0.95rem !important;
    }

    /* 7. BUTTONS - Touch-friendly sizing */
    .btn {
        min-height: 44px;
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }

    .btn-secondary {
        padding: 0.6rem 1rem;
    }

    /* 8. ABOUT FOUNDER SECTION */
    .about-founder {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .about-founder img {
        width: 150px !important;
        height: 150px !important;
    }

    /* 9. ABOUT PROCESS GRID */
    .about-process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* 10. LIGHTBOX - Full screen on mobile */
    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 2.5rem;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 1.8rem;
        padding: 0.75rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    /* 11. GALLERY CTA */
    .gallery-cta h3 {
        font-size: 1.5rem;
    }

    .gallery-cta p {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    /* 12. CATEGORY CARD IMAGES */
    .category-card-image {
        max-width: 200px;
        height: 130px;
    }

    /* 13. GALLERY ORDER CTA */
    .gallery-order-cta p {
        font-size: 1rem;
    }

    /* 14. SECTION DESCRIPTION */
    .section-description {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
}

/* ===========================================
   SCROLL REVEAL ANIMATIONS
   =========================================== */
.reveal {
    opacity: 0;
    /* Use opacity-only animation to prevent layout shifts (CLS) */
    transition: opacity 0.6s ease-out;
}

.reveal.visible {
    opacity: 1;
}

/* Staggered delays for items in a row */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transition: none;
    }

    .reveal.visible {
        opacity: 1;
    }
}

/* ===========================================
   BLUR-UP LAZY LOADING EFFECT
   Premium progressive image loading
   =========================================== */
.blur-up-container {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cream) 0%, var(--beige) 100%);
}

.blur-up-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 3px solid var(--pink);
    border-top-color: transparent;
    border-radius: 50%;
    animation: blur-up-spin 0.8s linear infinite;
    opacity: 0.5;
    z-index: 1;
}

@keyframes blur-up-spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.blur-up-container.loaded::before {
    display: none;
}

.blur-up-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(20px);
    transform: scale(1.1);
    transition: opacity 0.4s ease-out;
    z-index: 2;
}

.blur-up-full {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease-out;
    z-index: 3;
    position: relative;
}

.blur-up-container.loaded .blur-up-placeholder {
    opacity: 0;
}

.blur-up-container.loaded .blur-up-full {
    opacity: 1;
}

/* Shimmer effect while loading */
.blur-up-container:not(.loaded)::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: blur-up-shimmer 1.5s infinite;
    z-index: 4;
}

@keyframes blur-up-shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .blur-up-container::before,
    .blur-up-container::after {
        animation: none;
    }

    .blur-up-placeholder,
    .blur-up-full {
        transition: none;
    }

    .blur-up-full {
        opacity: 1;
    }

    .blur-up-placeholder {
        display: none;
    }
}

/* ===========================================
   TESTIMONIAL CAROUSEL WITH STAR RATINGS
   =========================================== */
.testimonial-section {
    padding: 3rem 0;
}

.testimonial-carousel-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    flex: 0 0 100%;
    padding: 0 0.75rem;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .testimonial-card {
        flex: 0 0 50%;
    }
}

@media (min-width: 1024px) {
    .testimonial-card {
        flex: 0 0 33.333%;
    }
}

.testimonial-content {
    background: var(--white);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--cream);
    height: 280px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.testimonial-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink), var(--yellow));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.testimonial-meta {
    flex: 1;
}

.testimonial-name {
    font-family: 'Fredoka One', 'Fredoka Fallback', cursive;
    font-size: 1rem;
    color: var(--dark-brown);
    margin: 0;
}

.testimonial-source {
    font-size: 0.8rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.testimonial-source svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.testimonial-source.yelp svg {
    fill: #FF1A1A;
}

.testimonial-source.google svg {
    fill: #4285F4;
}

.star-rating {
    display: flex;
    gap: 2px;
    margin-bottom: 0.5rem;
}

.star-rating .star {
    color: var(--yellow);
    font-size: 1rem;
}

.star-rating .star.empty {
    color: #ddd;
}

.testimonial-text {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--dark-brown);
    flex: 1;
}

.testimonial-text::before {
    content: '"';
    font-size: 1.5rem;
    color: var(--pink);
    font-family: Georgia, serif;
    line-height: 0;
    vertical-align: -0.3rem;
    margin-right: 0.15rem;
}

.testimonial-text::after {
    content: '"';
    font-size: 1.5rem;
    color: var(--pink);
    font-family: Georgia, serif;
    line-height: 0;
    vertical-align: -0.3rem;
    margin-left: 0.15rem;
}

.testimonial-card-link {
    flex: 0 0 100%;
    padding: 0 0.75rem;
    box-sizing: border-box;
    text-decoration: none !important;
    color: inherit;
    display: block;
}

.testimonial-card-link * {
    text-decoration: none !important;
}

@media (min-width: 768px) {
    .testimonial-card-link {
        flex: 0 0 50%;
    }
}

@media (min-width: 1024px) {
    .testimonial-card-link {
        flex: 0 0 33.333%;
    }
}

.testimonial-card-link .testimonial-card {
    flex: 0 0 100%;
    padding: 0;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0.75rem;
}

.testimonial-date {
    font-size: 0.75rem;
    color: #999;
}

.testimonial-view-link {
    font-size: 0.75rem;
    color: var(--pink);
    font-weight: 600;
}

.testimonial-card-link:hover .testimonial-view-link {
    text-decoration: underline !important;
}

/* Carousel Navigation */
.testimonial-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--pink);
    background: white;
    color: var(--pink);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-nav-btn:hover {
    background: var(--pink);
    color: white;
}

.testimonial-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--yellow);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.testimonial-dot.active {
    background: var(--yellow);
    border-color: var(--yellow);
    transform: scale(1.3);
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.6);
}

.testimonial-dot:hover {
    background: var(--yellow);
    border-color: var(--yellow);
    transform: scale(1.1);
}

/* Overall Rating Badge */
.testimonial-rating-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.rating-source {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rating-source:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.rating-source svg {
    width: 28px;
    height: 28px;
}

.rating-source.yelp svg {
    fill: #FF1A1A;
}

.rating-source.google svg {
    fill: #4285F4;
}

.rating-info {
    display: flex;
    flex-direction: column;
}

.rating-stars {
    display: flex;
    gap: 2px;
    color: var(--yellow);
    font-size: 1rem;
}

.rating-count {
    font-size: 0.75rem;
    color: #666;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .testimonial-content {
        padding: 1.25rem;
        height: auto;
        min-height: 240px;
    }

    .testimonial-header {
        margin-bottom: 0.5rem;
    }

    .testimonial-avatar {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .testimonial-name {
        font-size: 0.9rem;
    }

    .testimonial-source {
        font-size: 0.75rem;
    }

    .testimonial-text {
        font-size: 0.85rem;
        line-height: 1.55;
    }

    .star-rating .star {
        font-size: 0.9rem;
    }

    .testimonial-nav {
        margin-top: 1.5rem;
    }

    .testimonial-nav-btn {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .testimonial-dots {
        gap: 6px;
    }

    .testimonial-dot {
        width: 10px;
        height: 10px;
    }

    .testimonial-rating-badge {
        gap: 0.75rem;
        flex-direction: column;
        margin-bottom: 1.5rem;
    }

    .rating-source {
        padding: 0.5rem 1rem;
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }

    .rating-source svg,
    .rating-source img {
        width: 22px;
        height: 22px;
    }

    .rating-stars {
        font-size: 0.9rem;
    }

    .rating-count {
        font-size: 0.7rem;
    }
}

/* ===========================================
   SEARCH BAR STYLES - COMPREHENSIVE FIX
   =========================================== */
.search-container {
    position: relative;
    margin-left: 0.75rem;
    overflow: visible;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    overflow: visible;
}

/* BULLETPROOF: Search icon size constraints */
.search-icon,
.search-wrapper .search-icon,
.search-container .search-icon,
header .search-icon,
header nav .search-icon,
header nav .search-container .search-icon,
header nav .search-wrapper .search-icon,
svg.search-icon {
    position: absolute !important;
    left: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;
    fill: var(--brown) !important;
    pointer-events: none !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    z-index: 2 !important;
}

/* Also target any SVG inside search wrapper */
.search-wrapper svg,
.search-container svg,
header nav .search-wrapper svg,
header nav .search-container svg {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;
    flex-shrink: 0 !important;
}

.search-input {
    width: 160px;
    padding: 0.4rem 0.75rem 0.4rem 2.25rem;
    border: 2px solid var(--border-beige);
    border-radius: 25px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-brown);
    background: var(--white);
    transition: all 0.3s ease;
    outline: none;
    position: relative;
    z-index: 1;
}

.search-input:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(236, 38, 143, 0.1);
    width: 200px;
}

.search-input::placeholder {
    color: #7D5A4A; /* Darker brown for better contrast */
    opacity: 1;
}

/* Typewriter placeholder styles */
.search-input.typewriter-active::placeholder {
    color: transparent;
}

.typewriter-placeholder,
#search-typewriter {
    position: absolute !important;
    left: 2.25rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #7D5A4A !important; /* Darker brown for better contrast */
    opacity: 1 !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    font-family: 'Nunito', sans-serif !important;
    pointer-events: none !important;
    white-space: nowrap !important;
    overflow: visible !important;
    z-index: 3 !important;
    display: block !important;
}

.typewriter-placeholder .cursor,
#search-typewriter .cursor {
    display: inline-block !important;
    width: 2px !important;
    height: 1em !important;
    background: var(--pink) !important;
    margin-left: 1px !important;
    vertical-align: text-bottom !important;
    animation: search-cursor-blink 0.6s step-end infinite !important;
}

@keyframes search-cursor-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Search Results Dropdown */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(98, 45, 43, 0.2);
    border: 2px solid var(--border-beige);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    min-width: 300px;
}

.search-results.active {
    display: block;
}

.search-results-empty {
    padding: 1.5rem;
    text-align: center;
    color: var(--brown);
    font-weight: 600;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--dark-brown);
    transition: background 0.2s ease;
    border-bottom: 1px solid var(--cream);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--cream);
}

.search-result-image {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dark-brown);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-category {
    font-size: 0.75rem;
    color: var(--pink);
    font-weight: 600;
}

/* Blog result icon */
.search-result-blog-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--pink), var(--pink-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.search-result-blog-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

/* Search section header in results */
.search-section-header {
    padding: 0.5rem 1rem;
    background: var(--cream);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--dark-brown);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile search styles */
@media (max-width: 968px) {
    .search-container {
        display: none;
    }

    .search-container.mobile-search {
        display: block !important;
        width: 100%;
        margin: 1rem 0 0.5rem;
        padding: 0;
        order: -1; /* Put search at top of mobile menu */
    }

    .search-container.mobile-search .search-wrapper {
        width: 100%;
    }

    .search-container.mobile-search .search-input {
        width: 100%;
        padding: 0.75rem 1rem 0.75rem 2.5rem;
        font-size: 1rem;
        border-radius: 30px;
        background: var(--cream);
        border: 2px solid var(--border-beige);
    }

    .search-container.mobile-search .search-input:focus {
        width: 100%;
        background: var(--white);
        border-color: var(--pink);
    }

    .search-container.mobile-search .search-results {
        position: fixed;
        left: 1rem;
        right: 1rem;
        top: auto;
        width: auto;
        max-height: 50vh;
        z-index: 1001;
        border-radius: 15px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    }

    /* Mobile: ensure search icon stays small */
    .search-container.mobile-search .search-icon,
    .search-container.mobile-search svg {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        max-width: 18px !important;
        min-height: 18px !important;
        max-height: 18px !important;
        left: 14px !important;
    }

    /* Mobile: typewriter placeholder */
    .search-container.mobile-search .typewriter-placeholder,
    .search-container.mobile-search #search-typewriter {
        left: 2.5rem !important;
        font-size: 1rem !important;
    }
}


