/*---------------------------------------
   THE CAKE MELTS - brand layer
   Loaded after templatemo-style.css
-----------------------------------------*/

:root {
  --brand: #c2185b;          /* logo pink, darkened for AA contrast with white text */
  --brand-bright: #e91e7a;   /* closest to the logo pink, for accents */
  --brand-soft: #fde8f1;
  --cream: #fff8f4;
  --ink: #2b1d24;
  --muted: #6b5a62;
  --line: #f1dde6;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(120, 20, 60, 0.12);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-script: 'Dancing Script', cursive;
}

body {
  color: var(--ink);
  background: #ffffff;
}

h1, h2, h3,
.hero-title {
  font-family: var(--font-display);
  letter-spacing: 0.2px;
}

h2 { color: var(--ink); }

p { color: var(--muted); font-size: 15px; line-height: 26px; }

a:hover, a:active, a:focus { color: var(--brand); }

::-webkit-scrollbar-thumb { background: var(--brand); }

/* The template removes focus outlines; give keyboard users a clear one back. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--brand-bright) !important;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100000;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
}
.skip-link:focus { top: 12px; color: #fff; }

html { scroll-padding-top: 80px; }


/*---------------------------------------
   SECTION TITLES
-----------------------------------------*/

.section-title h4 {
  font-family: var(--font-script);
  font-size: 24px;
  color: var(--brand);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
  margin: 0 0 6px;
}

.section-title h2 {
  font-size: 2.4em;
}

.section-lead {
  max-width: 560px;
  margin: 12px auto 0;
}

#about .section-lead { margin-left: 0; }


/*---------------------------------------
   BUTTONS
-----------------------------------------*/

.section-btn,
#contact button#cf-submit {
  background: var(--brand);
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.section-btn:hover,
.section-btn:focus { background: var(--ink); color: #fff; }

.btn-ghost,
.btn-outline,
.btn-whatsapp {
  display: inline-block;
  border-radius: 999px;
  padding: 10px 25px;
  font-weight: 700;
  transition: 0.3s;
  cursor: pointer;
}

.btn-ghost {
  border: 2px solid rgba(255,255,255,0.85);
  color: #fff;
}
.btn-ghost:hover, .btn-ghost:focus { background: #fff; color: var(--brand); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--brand);
  color: var(--brand);
}
.btn-outline:hover, .btn-outline:focus { background: var(--brand); color: #fff; }

.btn-whatsapp {
  background: #1fa855;
  border: 2px solid #1fa855;
  color: #fff;
}
.btn-whatsapp .fa { font-size: 1.3em; vertical-align: -2px; margin-right: 6px; }
.btn-whatsapp:hover, .btn-whatsapp:focus { background: #178a45; border-color: #178a45; color: #fff; }

.text-link {
  color: var(--brand);
  font-weight: 700;
  display: inline-block;
  margin-top: 8px;
}
.text-link .fa { transition: transform 0.3s; }
.text-link:hover .fa { transform: translateX(4px); }


/*---------------------------------------
   NAVBAR
-----------------------------------------*/

.custom-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  height: auto;
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* The template colours the brand span red; keep it the same colour as the link. */
.custom-navbar .navbar-brand span { color: inherit; }

/* Over the hero (transparent nav) the brand pink disappears, so use light pink there. */
.custom-navbar .nav li a:hover,
.custom-navbar .nav li.active > a { color: #ffd1e3; }
.custom-navbar .nav li.active > a { box-shadow: inset 0 -2px 0 currentColor; }

.top-nav-collapse .nav li.active > a,
.top-nav-collapse .nav li a:hover { color: var(--brand); }

.custom-navbar .navbar-nav.navbar-nav-first { margin-left: 3em; }

.custom-navbar .nav li a.nav-call { text-transform: none; }

.custom-navbar .navbar-nav.navbar-right .nav-cta > a.section-btn {
  display: inline-block;
  margin: 0.4em 0 0 0.5em;
  padding: 10px 22px;
  color: #fff;
  text-transform: none;
  font-size: 13px;
}
.custom-navbar .navbar-nav.navbar-right .nav-cta > a.section-btn:hover { background: var(--ink); color: #fff; }

/* Scrollspy marks this button "active" on the Contact section (it links to #contact);
   the template's active style would clear its background and hide the button. */
.custom-navbar .navbar-nav.navbar-right .nav-cta.active > a.section-btn {
  background: var(--brand);
  color: #fff;
  box-shadow: none;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .custom-navbar .navbar-nav.navbar-nav-first { margin-left: 1em; }
  .custom-navbar .nav li a { padding-left: 9px; padding-right: 9px; }
  .custom-navbar .nav li a.nav-call { display: none; }
}

@media (max-width: 767px) {
  .custom-navbar .nav li.active > a,
  .custom-navbar .nav li a:hover { color: var(--brand); }
  .custom-navbar .navbar-brand { font-size: 18px; }
  .brand-mark { width: 34px; height: 34px; }
  .custom-navbar .navbar-collapse { max-height: calc(100vh - 70px); }
  .custom-navbar .navbar-nav.navbar-right .nav-cta { display: block; }
  .custom-navbar .navbar-nav.navbar-right .nav-cta > a.section-btn {
    display: block;
    width: 70%;
    margin: 8px auto 12px;
  }
}


/*---------------------------------------
   HERO
-----------------------------------------*/

.slider .item-first  { background-image: url("../cake_images/Website-hero-image4.jpg"); }
.slider .item-second { background-image: url("../cake_images/Website-hero-image.jpg"); }
.slider .item-third  { background-image: url("../cake_images/order.png"); }

.slider .item { height: 100vh; min-height: 560px; max-height: 820px; }

.slider .caption {
  cursor: default;
  background: linear-gradient(90deg, rgba(43,10,25,0.78) 0%, rgba(43,10,25,0.45) 55%, rgba(43,10,25,0.1) 100%);
}

#home h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  letter-spacing: 3px;
  color: #ffd1e3;
}

#home .hero-title {
  color: #fff;
  font-size: 3.4em;
  line-height: 1.15;
  margin: 14px 0 18px;
  padding: 0;
  font-weight: 700;
  text-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.hero-lead {
  color: #fbe9f1;
  font-size: 18px;
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 28px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .section-btn { padding: 12px 28px; }
.slider .item-second .section-btn { background: var(--brand); }
.slider .item-second .section-btn:hover { background: #fff; color: var(--brand); }
.slider .item-third .section-btn { border-width: 2px; }
.slider .item-third .section-btn:hover,
.slider .item-third .section-btn:focus { background: var(--brand); }

.slider .owl-dots { right: 1.2em; transform: translateY(-50%); }

/* Polaroid stack of real cakes */
#home > .row { position: relative; margin: 0; }

.hero-stack {
  display: none;
  position: absolute;
  right: 6%;
  top: 50%;
  width: 380px;
  height: 440px;
  transform: translateY(-44%);
  z-index: 5;
  pointer-events: none;
}

.hero-polaroid {
  position: absolute;
  width: 210px;
  height: 270px;
  object-fit: cover;
  border: 8px solid #fff;
  border-bottom-width: 30px;
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  animation: float 6s ease-in-out infinite;
}
.hero-polaroid.p1 { left: 0;    top: 60px;  transform: rotate(-9deg); animation-delay: -2s; }
.hero-polaroid.p2 { right: 0;   top: 0;     transform: rotate(7deg);  animation-delay: -4s; }
.hero-polaroid.p3 { left: 80px; top: 150px; transform: rotate(-1deg); z-index: 2; }

@keyframes float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}

@media (min-width: 1100px) { .hero-stack { display: block; } }

@media (max-width: 767px) {
  .slider .item { height: 88vh; min-height: 520px; }
  .slider .caption { padding: 70px 20px 0; background: rgba(43,10,25,0.55); }
  #home .hero-title { font-size: 2.2em; }
  .hero-lead { font-size: 16px; }
  .slider .owl-dots { top: auto; bottom: 18px; right: 0; left: 0; transform: none; display: flex; }
}


/*---------------------------------------
   TRUST STRIP
-----------------------------------------*/

.trust-strip {
  padding: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 26px 18px;
}
.trust-list li + li { border-left: 1px solid var(--line); }

.trust-list .fa {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 18px;
}
.trust-list strong { color: var(--ink); font-size: 15px; }
.trust-list span { color: var(--muted); font-size: 13px; }

@media (max-width: 991px) {
  .trust-list { grid-template-columns: repeat(2, 1fr); }
  .trust-list li:nth-child(3) { border-left: 0; }
  .trust-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .trust-list li { padding: 18px 8px; grid-template-columns: 36px 1fr; column-gap: 8px; }
  .trust-list .fa { width: 36px; height: 36px; line-height: 36px; font-size: 15px; }
  .trust-list strong { font-size: 14px; }
  .trust-list span { font-size: 12px; }
}


/*---------------------------------------
   ABOUT
-----------------------------------------*/

#about { padding-bottom: 100px; }
.about-image { position: relative; }
.about-image img { border-radius: var(--radius); box-shadow: var(--shadow); }

@media (max-width: 991px) {
  #about { padding-bottom: 60px; }
  .about-info { margin-bottom: 30px; }
}


/*---------------------------------------
   MENU (Our Cakes)
-----------------------------------------*/

#menu { background: var(--cream); padding-bottom: 0; }

.menu-thumb img { aspect-ratio: 4 / 5; object-fit: cover; }
.menu-thumb:hover .menu-info { background: linear-gradient(0deg, rgba(43,10,25,0.85), rgba(43,10,25,0.2)); }
.menu-info .menu-price span { color: #ffd1e3 !important; font-family: var(--font-script); font-size: 24px; }

/* Touch screens have no hover: keep captions visible so people know what each tile is. */
@media (hover: none) {
  .menu-thumb .menu-info {
    top: auto;
    padding: 50px 20px 16px;
    background: linear-gradient(0deg, rgba(43,10,25,0.85), rgba(43,10,25,0));
  }
  .menu-thumb .menu-info h3,
  .menu-thumb .menu-info p,
  .menu-thumb .menu-info span { opacity: 1; transform: none; }
  .menu-thumb:hover img { transform: none; }
}


/*---------------------------------------
   GALLERY
-----------------------------------------*/

#gallery { text-align: center; }

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
}

.filter-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  transition: 0.25s;
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--brand-soft);
  aspect-ratio: 3 / 4;
  box-shadow: 0 4px 14px rgba(120, 20, 60, 0.08);
  animation: pop-in 0.4s ease both;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item::after {
  content: "\f00e"; /* fa-search-plus */
  font-family: FontAwesome;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  background: rgba(194, 24, 91, 0.35);
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover img, .gallery-item:focus img { transform: scale(1.07); }
.gallery-item:hover::after, .gallery-item:focus::after { opacity: 1; }

.gallery-item.is-hidden,
.gallery-item.is-collapsed { display: none; }

@keyframes pop-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.gallery-more { margin-top: 34px; }
.gallery-more[hidden] { display: none; }

@media (max-width: 991px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* Lightbox caption */
.mfp-title { font-family: 'Montserrat', sans-serif; font-size: 14px; line-height: 1.5; }


/*---------------------------------------
   VIDEOS (reels)
-----------------------------------------*/

#videos {
  text-align: center;
  background: linear-gradient(180deg, var(--cream), #fff);
}

.reel-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.reel {
  position: relative;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #1a0f14;
  box-shadow: var(--shadow);
  aspect-ratio: 478 / 850;
}

.reel video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.reel figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 16px 16px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-align: left;
  background: linear-gradient(0deg, rgba(0,0,0,0.6), transparent);
  pointer-events: none;
}

.reel-toggle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: var(--brand);
  font-size: 22px;
  padding-left: 5px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: opacity 0.3s, transform 0.3s;
}
.reel-toggle:hover { transform: scale(1.08); }
.reel.is-playing .reel-toggle { opacity: 0; }
.reel.is-playing:hover .reel-toggle,
.reel.is-playing .reel-toggle:focus-visible { opacity: 1; }
.reel.is-playing .reel-toggle { padding-left: 0; }

@media (max-width: 991px) {
  .reel-row {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 60%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
  }
  .reel { scroll-snap-align: center; }
}
@media (min-width: 600px) and (max-width: 991px) {
  .reel-row { grid-auto-columns: 38%; }
}


/*---------------------------------------
   HOW TO ORDER
-----------------------------------------*/

#how-to-order { text-align: center; background: #fff; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  counter-reset: none;
}

.step {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 22px 26px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
  box-shadow: 0 6px 16px rgba(194, 24, 91, 0.3);
}

.step h3 { font-size: 1.3em; color: var(--ink); margin: 0 0 8px; }
.step p { margin: 0; font-size: 14px; }

.steps-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }
.steps-note { width: 100%; margin: 10px 0 0; font-size: 14px; }
.steps-note .fa { color: var(--brand); margin-right: 4px; }

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


/*---------------------------------------
   TESTIMONIALS
-----------------------------------------*/

#testimonial .overlay { background: rgba(43, 10, 25, 0.72); }
#testimonial p { color: #f6e6ee; font-family: var(--font-display); font-style: italic; font-size: 21px; }
.tst-author h4 { color: #ffd1e3; }
.testimonial-avatar { height: 110px; max-width: 110px; }


/*---------------------------------------
   CONTACT
-----------------------------------------*/

.contact-list {
  list-style: none;
  padding-left: 15px;
  margin: 10px 0 25px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  margin-bottom: 12px;
}

.contact-list .fa {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  line-height: 38px;
  text-align: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 17px;
}
.contact-list .fa-whatsapp { background: #e3f6ea; color: #1fa855; }

.contact-list a { color: var(--ink); word-break: break-word; }
.contact-list a:hover { color: var(--brand); }
.map-link { border-bottom: 1px dashed var(--brand); }

#contact .form-control { font-size: 15px; color: var(--ink); }
#contact .form-control:focus { border-bottom-color: var(--brand); }
#contact select.form-control { height: 55px; color: var(--muted); -webkit-appearance: none; appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b5a62' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 8px center; }
#contact select.form-control:valid { color: var(--ink); }

#contact .date-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
  position: relative;
  top: 6px;
}
#contact .date-label span { text-transform: none; font-weight: 400; letter-spacing: 0; }
#contact input[type="date"] { height: 44px; margin-top: 0; }

#contact button#cf-submit { height: 54px; margin-top: 8px; }
#contact button#cf-submit:disabled { opacity: 0.7; cursor: wait; }

#contact .text-success,
#contact .text-danger {
  padding: 12px 15px;
  margin: 0 15px 15px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}
#contact .text-success { background: #e3f6ea; color: #17673a; }
#contact .text-danger  { background: #fdecec; color: #a12020; }

#location-image img { border-radius: var(--radius); }


/*---------------------------------------
   FOOTER
-----------------------------------------*/

footer { background: var(--cream); }
footer h2 { font-family: var(--font-display); }
footer a, footer p { color: var(--muted); }
.footer-location { font-size: 15px; color: var(--brand) !important; font-weight: 700; margin-top: 10px !important; }
.footer-open-hour a strong { color: #fff; }
.footer-open-hour a:hover strong { color: #ffd1e3; }
.social-icon li a { color: var(--brand); }
.social-icon li a:hover { background: var(--brand); }
.social-tiktok svg { vertical-align: -2px; }


/*---------------------------------------
   FLOATING ACTIONS
-----------------------------------------*/

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 20px 0 16px;
  border-radius: 999px;
  background: #1fa855;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(31, 168, 85, 0.4);
  transition: transform 0.3s, background 0.3s;
}
.whatsapp-float .fa { font-size: 28px; }
.whatsapp-float:hover,
.whatsapp-float:focus { background: #178a45; color: #fff; transform: translateY(-3px); }

@media (max-width: 600px) {
  .whatsapp-float { width: 56px; padding: 0; justify-content: center; }
  .whatsapp-float-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 86px;
  z-index: 998;
  width: 40px;
  height: 40px;
  line-height: 38px;
  text-align: center;
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  font-size: 22px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--brand); color: #fff; }


/*---------------------------------------
   PRELOADER
-----------------------------------------*/

.spinner:before { border-color: var(--brand-soft); border-top-color: var(--brand); }


/*---------------------------------------
   MOTION PREFERENCES
-----------------------------------------*/

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/*---------------------------------------
   FOLLOW US (contact section)
-----------------------------------------*/

.follow-us { margin: -5px 0 30px; }
.follow-us .follow-title { margin: 0 0 10px; font-size: 14px; }
.follow-us .follow-title strong { color: var(--ink); }

.follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 6px 8px 0;
  padding: 8px 16px;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.2s, opacity 0.2s;
}
.follow-btn .fa, .follow-btn svg { font-size: 16px; }
.follow-btn:hover, .follow-btn:focus { color: #fff; opacity: 0.9; transform: translateY(-2px); }
.follow-ig { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); }
.follow-tt { background: #111; }
.follow-fb { background: #1877f2; }
