﻿/* === Reset & Custom Properties === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ============================================================
   LOADER — Overhead Pie, slices eaten 1-2-3-4-5
   Timeline:
   0.1s  → pie bounces in
   0.55s → slice 1 eaten
   0.77s → slice 2 eaten
   0.99s → slice 3 eaten
   1.21s → slice 4 eaten
   1.43s → slice 5 eaten
   1.75s → logo fades in
   2.1s  → white flash
   2.5s  → loader fades out
   ============================================================ */

#loader {
    position: fixed; inset: 0; z-index: 9999;
    background: radial-gradient(ellipse at center, #EAF4EE 0%, #C3DFD0 100%);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    overflow: hidden;
    animation: ldr-exit 0.35s ease 2.5s forwards;
}

/* Stacking context: pie SVG and logo occupy the same 260×260 space */
.ldr-stage {
    position: relative;
    width: 260px; height: 260px;
}
@keyframes ldr-exit { to { opacity: 0; pointer-events: none; visibility: hidden; } }

/* SVG pie container */
.ldr-pie {
    animation: pie-bounce-in 0.4s cubic-bezier(.34,1.56,.64,1) 0.1s both;
    filter: drop-shadow(0 12px 32px rgba(0,0,0,.18));
}
@keyframes pie-bounce-in {
    from { transform: scale(0) rotate(-15deg); opacity: 0; }
    to   { transform: scale(1) rotate(0deg);   opacity: 1; }
}

/* Each slice scales to zero from the pie center (eaten) */
.pie-slice {
    transform-box: view-box;
    transform-origin: 50% 50%;
    animation: eat-slice 0.2s cubic-bezier(.55,.055,.675,.19) forwards;
}
@keyframes eat-slice {
    0%   { transform: scale(1);    opacity: 1; }
    40%  { transform: scale(1.1);  opacity: 1; }
    100% { transform: scale(0);    opacity: 0; }
}
.ps1 { animation-delay: 0.55s; }
.ps2 { animation-delay: 0.77s; }
.ps3 { animation-delay: 0.99s; }
.ps4 { animation-delay: 1.21s; }
.ps5 { animation-delay: 1.43s; }

/* Logo reveal — absolutely centered inside .ldr-stage, appears where the pie was */
.ldr-logo {
    position: absolute;
    top: 50%; left: 50%;
    display: flex; flex-direction: column; align-items: center; gap: .7rem;
    opacity: 0;
    animation: ldr-logo-in 0.55s cubic-bezier(.34,1.2,.64,1) 1.75s forwards;
}
@keyframes ldr-logo-in {
    from { opacity: 0; transform: translate(-50%, calc(-50% + 8px)) scale(0.88); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.ldr-logo img {
    width: 88px; height: 88px; border-radius: 50%; object-fit: cover;
    box-shadow: 0 8px 30px rgba(0,0,0,.3), 0 0 0 3px rgba(255,255,255,.7);
}
.ldr-tagline {
    font-family: 'Dancing Script', cursive; font-size: 1.3rem;
    color: #124F73; font-weight: 600;
    text-shadow: 0 2px 10px rgba(0,0,0,.1);
}

/* White flash then fade */
.ldr-flash {
    position: absolute; inset: 0; pointer-events: none; opacity: 0;
    background: #fff;
    animation: ldr-flash-anim 0.5s ease 2.1s forwards;
}
@keyframes ldr-flash-anim {
    0%   { opacity: 0; }
    35%  { opacity: 1; }
    100% { opacity: 0; }
}

:root {
    --blue:       #1D6FA0;
    --blue-dark:  #124F73;
    --blue-mid:   #2589BE;
    --blue-light: #D4EAF7;
    --mint:       #EAF4EE;
    --mint-dark:  #C3DFD0;
    --navy:       #0F3349;
    --cream:      #F7FCFA;
    --text:       #1A2E3B;
    --gray:       #5D7A8A;
    --white:      #fff;
    --radius:     18px;
    --shadow:     0 6px 30px rgba(29,111,160,.1);
}

html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; background: var(--white); color: var(--text); overflow-x: hidden; }

/* === Utility === */
.container  { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.bg-mint    { background: var(--mint); }
.center     { text-align: center; }
.label {
    font-size: .74rem; font-weight: 600; color: var(--blue);
    text-transform: uppercase; letter-spacing: 3px; margin-bottom: .6rem; display: block;
}
.section-title {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(2.1rem, 4.5vw, 3rem);
    font-weight: 700; color: var(--blue-dark); line-height: 1.2; margin-bottom: 1.2rem;
}
.body-text  { font-size: .97rem; color: var(--gray); line-height: 1.85; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header .body-text { max-width: 580px; margin: 0 auto; }

/* === Navigation === */
#navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 2.5rem;
    transition: background .35s, box-shadow .35s;
}
#navbar.scrolled {
    background: rgba(247,252,250,.97);
    backdrop-filter: blur(14px);
    box-shadow: 0 2px 20px rgba(29,111,160,.12);
}
.nav-logo img {
    height: 48px; width: 48px; border-radius: 50%; object-fit: cover;
    display: block; box-shadow: 0 2px 12px rgba(0,0,0,.25); transition: transform .3s;
}
.nav-logo img:hover { transform: scale(1.05); }


.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
    color: rgba(255,255,255,.92); text-decoration: none;
    font-size: .87rem; font-weight: 500; letter-spacing: .3px; transition: color .25s;
}
#navbar.scrolled .nav-links a { color: var(--text); }
.nav-links a:hover { color: var(--blue) !important; }
.nav-cta {
    background: rgba(255,255,255,.2) !important; color: #fff !important;
    padding: .45rem 1.3rem; border-radius: 25px; font-weight: 600 !important;
    border: 1px solid rgba(255,255,255,.5); transition: all .25s !important;
}
#navbar.scrolled .nav-cta { background: var(--blue) !important; color: #fff !important; border-color: var(--blue) !important; }
.nav-cta:hover { background: var(--blue-dark) !important; border-color: var(--blue-dark) !important; color: #fff !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: background .3s; }
#navbar.scrolled .hamburger span { background: var(--text); }

.mobile-menu {
    display: none; position: fixed; inset: 0; z-index: 199;
    background: rgba(247,252,250,.98);
    flex-direction: column; align-items: center; justify-content: center; gap: 1.8rem;
}
.mobile-menu.open { display: flex; }
.mobile-close { position: absolute; top: 1.5rem; right: 2rem; font-size: 2.2rem; background: none; border: none; cursor: pointer; color: var(--navy); }
.mobile-link { font-family: 'Dancing Script', cursive; font-size: 2.1rem; font-weight: 700; color: var(--navy); text-decoration: none; transition: color .2s; }
.mobile-link:hover, .mobile-call { color: var(--blue) !important; }

/* === Hero — Video Background === */
#hero {
    position: relative; min-height: 100vh;
    background: #0a0a0a;
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 7rem 2rem 5rem; overflow: hidden;
}
.hero-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover; z-index: 0;
    transform: translateZ(0); backface-visibility: hidden;
}
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to bottom, rgba(0,0,0,.52) 0%, rgba(0,0,0,.2) 50%, rgba(0,0,0,.45) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 820px; }
.hero-logo {
    width: 150px; height: 150px; border-radius: 50%; object-fit: cover;
    margin: 0 auto 1.8rem; display: block;
    box-shadow: 0 10px 50px rgba(0,0,0,.3);
    border: 4px solid rgba(255,255,255,.3);
}
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
    color: #fff; padding: .4rem 1.2rem; border-radius: 20px;
    font-size: .8rem; font-weight: 500; letter-spacing: 1px;
    text-transform: uppercase; margin-bottom: 1.1rem;
}
.hero-title {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(3.5rem, 10vw, 7rem);
    color: #fff; line-height: 1; margin-bottom: .4rem;
    text-shadow: 2px 6px 30px rgba(0,0,0,.3);
}
.hero-title-sub {
    font-size: clamp(.95rem, 2vw, 1.25rem); color: rgba(255,255,255,.75);
    font-weight: 300; letter-spacing: 5px; text-transform: uppercase; margin-bottom: 1.3rem;
}
.hero-subtitle {
    font-size: clamp(.9rem, 2.2vw, 1.08rem); color: rgba(255,255,255,.85);
    font-weight: 300; line-height: 1.75; max-width: 580px; margin: 0 auto 2.5rem;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
    background: var(--white); color: var(--blue-dark); padding: .9rem 2.2rem;
    border-radius: 30px; font-weight: 600; text-decoration: none; font-size: .97rem;
    box-shadow: 0 4px 20px rgba(0,0,0,.2); transition: all .3s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.btn-outline {
    background: transparent; color: #fff; padding: .9rem 2.2rem;
    border-radius: 30px; font-weight: 600; text-decoration: none; font-size: .97rem;
    border: 2px solid rgba(255,255,255,.6); transition: all .3s;
}
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.hero-scroll {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2;
    color: rgba(255,255,255,.65); text-decoration: none;
    animation: bounce 2.2s ease-in-out infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(9px)} }

/* === Stats Bar === */
.stats-bar {
    background: var(--white); display: flex; justify-content: center;
    gap: 3rem; padding: 2rem; flex-wrap: wrap;
    box-shadow: 0 4px 30px rgba(29,111,160,.1);
}
.stat { text-align: center; }
.stat-number { font-family: 'Dancing Script', cursive; font-size: 2.2rem; font-weight: 700; color: var(--blue); }
.stat-label { font-size: .74rem; color: #999; text-transform: uppercase; letter-spacing: 1px; }

/* === About === */
#about { padding: 5.5rem 2rem; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-photo {
    border-radius: var(--radius); overflow: hidden;
    height: 520px; box-shadow: 0 20px 60px rgba(29,111,160,.15);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1.5rem; margin-top: 2rem; }
.feature-item { font-size: .87rem; font-weight: 500; color: var(--text); }

/* === Menu === */
#menu { padding: 5.5rem 2rem; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 1.5rem; }
.menu-card {
    background: var(--white); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow); transition: all .35s;
}
.menu-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(29,111,160,.18); }
.menu-card-img { height: 230px; overflow: hidden; }
.menu-card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s ease;
    display: block;
}
.menu-card:hover .menu-card-img img { transform: scale(1.07); }
.menu-card-body { padding: 1.3rem 1.6rem 1.7rem; }
.card-tag { font-size: .7rem; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: 1px; margin-bottom: .3rem; }
.card-name { font-family: 'Dancing Script', cursive; font-size: 1.5rem; font-weight: 700; color: var(--blue-dark); margin-bottom: .5rem; }
.card-desc { font-size: .84rem; color: var(--gray); line-height: 1.65; }

/* === Video Strip === */
.video-strip {
    position: relative; height: 520px; overflow: hidden;
    background: #0a0a0a;
}
.video-strip video {
    width: 100%; height: 100%; object-fit: cover; object-position: center 38%; display: block;
    transform: translateZ(0); backface-visibility: hidden;
}
.video-strip-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to bottom, rgba(0,0,0,.3) 0%, rgba(0,0,0,.55) 100%);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center; padding: 2rem;
}
.video-strip-title {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: #fff; line-height: 1.1;
    text-shadow: 2px 4px 20px rgba(0,0,0,.3);
    margin-bottom: .3rem;
}

/* === Chocolate Feature === */
.choc-feature { padding: 5.5rem 2rem; background: var(--white); }
.choc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.choc-photo {
    border-radius: var(--radius); overflow: hidden;
    height: 500px; box-shadow: 0 20px 60px rgba(29,111,160,.12);
}
.choc-photo img { width: 100%; height: 100%; object-fit: cover; }
.choc-pills { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.choc-pills span {
    background: var(--blue-light); color: var(--blue-dark);
    padding: .35rem .9rem; border-radius: 20px;
    font-size: .8rem; font-weight: 600;
}

/* === Gallery Masonry === */
#gallery { padding: 5.5rem 2rem; }
.gallery-masonry {
    columns: 3 280px; column-gap: 1rem; margin-bottom: 2rem;
}
.g-item {
    break-inside: avoid; margin-bottom: 1rem;
    border-radius: 14px; overflow: hidden; cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,.08); transition: transform .35s, box-shadow .35s;
}
.g-item:hover { transform: translateY(-4px); box-shadow: 0 12px 35px rgba(29,111,160,.18); }
.g-item img { width: 100%; display: block; transition: transform .4s ease; }
.g-item:hover img { transform: scale(1.04); }

.insta-btn {
    display: inline-flex; align-items: center; gap: .65rem;
    background: linear-gradient(135deg,#E1306C,#833AB4,#F77737);
    color: #fff; padding: .9rem 2rem; border-radius: 30px;
    font-weight: 600; text-decoration: none; font-size: .95rem;
    box-shadow: 0 4px 20px rgba(131,58,180,.3); transition: all .3s;
}
.insta-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(131,58,180,.4); }

/* === Take Home Pints === */
.take-home { padding: 5.5rem 2rem; background: var(--navy); }
.take-home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.take-home-text .label { color: var(--mint-dark); }
.take-home-text .section-title { color: var(--white); }
.take-home-text .body-text { color: rgba(255,255,255,.72); }
.flavor-tags { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.8rem; }
.flavor-tags span {
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
    color: rgba(255,255,255,.85); padding: .35rem .9rem;
    border-radius: 20px; font-size: .79rem; font-weight: 500;
}
.take-home-photo {
    border-radius: var(--radius); overflow: hidden;
    height: 480px; box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.take-home-photo img { width: 100%; height: 100%; object-fit: cover; }

/* === Reviews === */
#reviews { padding: 5.5rem 2rem; }
.reviews-header { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 3rem; }
.rating-badge { display: flex; align-items: center; gap: 1rem; background: var(--white); padding: 1rem 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.rating-num { font-family: 'Dancing Script', cursive; font-size: 2.6rem; font-weight: 700; color: var(--blue); }
.stars { color: #F5A623; font-size: 1.1rem; letter-spacing: 2px; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1.5rem; }
.review-card { background: var(--white); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); transition: transform .3s; }
.review-card:hover { transform: translateY(-4px); }
.review-stars { color: #F5A623; font-size: .95rem; letter-spacing: 2px; margin-bottom: 1rem; }
.review-text { font-size: .92rem; line-height: 1.7; color: #555; font-style: italic; margin-bottom: 1.2rem; }
.reviewer { display: flex; align-items: center; gap: .8rem; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--blue-light); color: var(--blue); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.reviewer-name { font-weight: 600; font-size: .88rem; }
.reviewer-src   { font-size: .75rem; color: #aaa; }
.read-more-link { color: var(--blue); font-weight: 600; text-decoration: none; font-size: .93rem; }
.read-more-link:hover { text-decoration: underline; }

/* === Visit === */
#visit { padding: 5.5rem 2rem; background: var(--white); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.info-card { background: var(--mint); border-radius: var(--radius); padding: 1.8rem; margin-bottom: 1.5rem; }
.info-title { font-family: 'Dancing Script', cursive; font-size: 1.3rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 1rem; }
.hours-list { list-style: none; }
.hours-list li { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px solid rgba(29,111,160,.1); font-size: .9rem; }
.hours-list li:last-child { border-bottom: none; }
.time-val { color: var(--blue); font-weight: 600; }
.open-badge { display: inline-flex; align-items: center; gap: .4rem; background: #E8F5E9; color: #2E7D32; padding: .3rem .8rem; border-radius: 20px; font-size: .78rem; font-weight: 600; }
.open-dot { width: 8px; height: 8px; border-radius: 50%; background: #4CAF50; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
.contact-row { display: flex; align-items: flex-start; gap: .8rem; color: var(--text); text-decoration: none; margin-bottom: .9rem; font-size: .88rem; transition: color .2s; }
.contact-row:hover { color: var(--blue); }
.contact-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--blue-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.map-wrap { border-radius: var(--radius); overflow: hidden; height: 440px; box-shadow: 0 12px 40px rgba(29,111,160,.15); }
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* === Social CTA === */
.social-cta { background: linear-gradient(145deg, #0F3349 0%, #1D6FA0 55%, #124F73 100%); padding: 4.5rem 2rem; }
.cta-title { font-family: 'Dancing Script', cursive; font-size: clamp(2rem, 4.5vw, 2.8rem); color: #fff; margin-bottom: .7rem; }
.cta-sub { color: rgba(255,255,255,.8); margin-bottom: 2rem; font-size: 1.05rem; }
.social-links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.social-btn { display: inline-flex; align-items: center; gap: .6rem; background: rgba(255,255,255,.15); border: 2px solid rgba(255,255,255,.4); color: #fff; padding: .7rem 1.5rem; border-radius: 30px; font-weight: 600; text-decoration: none; font-size: .93rem; transition: all .3s; }
.social-btn:hover { background: var(--white); color: var(--blue-dark); border-color: var(--white); }

/* === Footer === */
footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 3rem 2rem 2rem; text-align: center; }
.footer-logo-img { height: 90px; width: 90px; border-radius: 50%; object-fit: cover; margin: 0 auto 1.2rem; display: block; box-shadow: 0 4px 24px rgba(0,0,0,.35); }
.footer-tag { font-family: 'Dancing Script', cursive; font-size: 1.2rem; color: rgba(255,255,255,.55); margin-bottom: 1.8rem; }
.footer-nav { display: flex; gap: 1.8rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.footer-nav a { color: rgba(255,255,255,.6); text-decoration: none; font-size: .87rem; transition: color .2s; }
.footer-nav a:hover { color: var(--mint-dark); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; font-size: .78rem; opacity: .5; line-height: 1.8; }
.webmart-credit {
    margin-top: 1.5rem; padding-top: 1.2rem;
    border-top: 1px solid rgba(255,255,255,.07);
    text-align: center;
}
.webmart-credit a {
    display: inline-flex; align-items: center; gap: .45rem;
    color: rgba(255,255,255,.35); text-decoration: none;
    font-size: .73rem; letter-spacing: .3px; transition: color .2s;
}
.webmart-credit img {
    height: 16px; width: auto; opacity: .45; transition: opacity .2s;
    filter: brightness(0) invert(1);
}
.webmart-credit a:hover img { opacity: .8; }
.webmart-credit a:hover { color: var(--mint-dark); }
.webmart-credit strong { font-weight: 600; }
.webmart-credit span { color: rgba(255,255,255,.5); }

/* === Fade-in animation === */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* === Responsive === */
@media (max-width: 1000px) {
    .about-grid     { grid-template-columns: 1fr; gap: 3rem; }
    .choc-grid      { grid-template-columns: 1fr; gap: 3rem; }
    .take-home-grid { grid-template-columns: 1fr; gap: 3rem; }
    .visit-grid     { grid-template-columns: 1fr; }
    .choc-photo, .about-photo { height: 360px; }
    .take-home-photo { height: 340px; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .reviews-header { flex-direction: column; align-items: flex-start; }
    .stats-bar { gap: 1.5rem; }
    .video-strip { height: 380px; }
    .gallery-masonry { columns: 2 200px; }
    section, .choc-feature, .take-home { padding: 3.5rem 1.5rem; }
}
@media (max-width: 480px) {
    .gallery-masonry { columns: 1; }
    .feature-grid    { grid-template-columns: 1fr; }
    .hero-buttons    { flex-direction: column; align-items: center; }
    .hero-logo       { width: 110px; height: 110px; }
    .video-strip     { height: 300px; }
}
