/*
Theme Name: Elee's Cakes
Theme URI: https://eleescakes.lk
Author: Antigravity
Author URI: https://eleescakes.lk
Description: A modern, elegant, fully responsive custom cake bakery theme built with Bootstrap 5.
Version: 1.0.0
Text Domain: elees-cakes
*/

/* ----------------------------------------------------
   1. DESIGN SYSTEM & CUSTOM VARIABLES
---------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;1,9..144,500&family=Work+Sans:wght@300;400;500;600&display=swap');

:root {
  --pink: #E8467D;
  --pink-deep: #C4306A;
  --pink-soft: #FBD9E4;
  --blush: #FFF7F9;
  --white: #FFFFFF;
  --ink: #2B1F24;
  --ink-soft: #7A6870;
  --shadow-sm: 0 4px 15px rgba(232, 70, 125, 0.08);
  --shadow-hover: 0 20px 40px -15px rgba(232, 70, 125, 0.22);
}

/* ----------------------------------------------------
   2. GLOBAL & TYPOGRAPHY
---------------------------------------------------- */
html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  background-color: var(--white);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* Ensure main content expands to push footer to bottom */
body > section:not(.site-footer),
body > main,
body > div:not(#wpadminbar):not(.site-footer) {
  flex-shrink: 0;
}

h1, h2, h3, h4, h5, h6, .font-heading, .navbar-brand {
  font-family: 'Fraunces', serif;
  font-weight: 600;
}

/* ----------------------------------------------------
   3. NAVIGATION BAR
---------------------------------------------------- */
.custom-navbar {
  background: #FF46A2 !important;
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(255,255,255,0.15);
  box-shadow: 0 4px 20px rgba(255, 70, 162, 0.3);
  transition: all 0.3s ease;
}

.custom-navbar .navbar-brand {
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 0.5px;
}

.site-header-logo {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.6);
  transition: transform 0.3s ease;
}

.custom-navbar .navbar-brand:hover .site-header-logo {
  transform: rotate(5deg) scale(1.05);
}

.custom-navbar .nav-link {
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 500;
  font-size: 0.95rem;
  margin: 0 8px;
  transition: color 0.25s ease;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
  color: #000000 !important;
}

/* Navbar toggler icon - white on pink background */
.custom-navbar .navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

/* Order Now button on pink navbar - white pill button */
.custom-navbar .btn-cake-primary {
  background-color: #ffffff !important;
  color: var(--pink-deep) !important;
  border: 2px solid #ffffff !important;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.custom-navbar .btn-cake-primary:hover {
  background-color: var(--ink) !important;
  color: var(--white) !important;
  border-color: var(--ink) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}


/* Buttons */
.btn-cake-primary {
  background-color: var(--pink);
  color: var(--white);
  border: 2px solid var(--pink);
  border-radius: 999px;
  padding: 10px 24px;
  font-weight: 500;
  font-size: 0.92rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  width: auto;
  max-width: fit-content;
}

.btn-cake-primary:hover,
.btn-cake-primary:focus {
  background-color: var(--pink-deep);
  border-color: var(--pink-deep);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-cake-outline {
  background-color: transparent;
  color: var(--pink-deep);
  border: 2px solid var(--pink);
  border-radius: 999px;
  padding: 10px 24px;
  font-weight: 500;
  font-size: 0.92rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  width: auto;
  max-width: fit-content;
}

.btn-cake-outline:hover,
.btn-cake-outline:focus {
  background-color: var(--pink);
  color: var(--white);
  transform: translateY(-2px);
}

/* ----------------------------------------------------
   4. HERO / MAIN BANNER SECTION (FULL-WIDTH EDGE-TO-EDGE)
---------------------------------------------------- */
.hero-section {
  position: relative;
  background: var(--white);
  padding: 0;
  text-align: center;
  overflow: hidden;
}

.main-banner-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
}

.main-banner-img {
  width: 100%;
  height: 600px;
  max-height: 650px;
  display: block;
  object-fit: cover;
  transform: scale(1.03);
  animation: heroZoomIn 8s ease forwards;
}

@keyframes heroZoomIn {
  0%   { transform: scale(1.08); }
  100% { transform: scale(1.0); }
}

/* Dark gradient overlay on the banner */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(30, 10, 20, 0.82) 0%,
    rgba(30, 10, 20, 0.45) 45%,
    rgba(0,0,0,0.08) 100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 40px;
}

/* Animated content block */
.hero-overlay-content {
  text-align: center;
  padding: 0 20px;
  animation: heroSlideUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.15s;
}

@keyframes heroSlideUp {
  0%   { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Eyebrow label */
.hero-eyebrow {
  display: inline-block;
  color: var(--pink-soft);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0;
  animation: heroSlideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
}

/* Hero heading */
.hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 12px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.3);
  opacity: 0;
  animation: heroSlideUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--pink-soft);
}

/* Hero subtitle */
.hero-lead {
  color: rgba(255,255,255,0.85);
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  max-width: 540px;
  margin: 0 auto 24px;
  line-height: 1.55;
  opacity: 0;
  animation: heroSlideUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

/* CTA buttons on overlay */
.hero-cta-group {
  opacity: 0;
  animation: heroSlideUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

.btn-hero {
  background-color: var(--pink) !important;
  color: #fff !important;
  border: 2px solid var(--pink) !important;
  border-radius: 999px;
  padding: 10px 26px;
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(232,70,125,0.4);
  transition: all 0.3s ease;
}

.btn-hero:hover {
  background-color: var(--pink-deep) !important;
  border-color: var(--pink-deep) !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(196,48,106,0.45);
}

.btn-hero-outline {
  background-color: rgba(255,255,255,0.12);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 999px;
  padding: 10px 26px;
  font-weight: 500;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

.btn-hero-outline:hover {
  background-color: rgba(255,255,255,0.25);
  border-color: #fff;
  color: #fff;
  transform: translateY(-3px);
}


/* Sub-page hero (slightly shorter than homepage) */
.page-hero-section {
  position: relative;
  overflow: hidden;
}

.page-hero-img {
  width: 100%;
  height: 520px;
  display: block;
  object-fit: cover;
  object-position: center;
  animation: heroZoomIn 8s ease forwards;
}

@media (max-width: 768px) {
  .page-hero-img {
    height: 380px;
  }
}

/* ----------------------------------------------------
   5. MENU / PRODUCTS SECTION
---------------------------------------------------- */
.menu-section {
  padding: 80px 0 40px;
  background-color: var(--blush);
}

.section-head {
  text-align: center;
  margin-bottom: 60px;
}

.section-head .eyebrow {
  color: var(--pink-deep);
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
}

.section-head h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-top: 8px;
  color: var(--ink);
}

.cake-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid #F4E4EA;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.cake-card .card-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--blush);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--pink);
  font-size: 1.8rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.cake-card:hover .card-icon-wrapper {
  background: var(--pink);
  color: var(--white);
}

.cake-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--ink);
}

.cake-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ----------------------------------------------------
   5.1 DEEP PINK SURPRISE BANNER BOX
---------------------------------------------------- */
.surprise-banner-box {
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-deep) 100%);
  border-radius: 24px;
  padding: 36px 32px;
  color: var(--white);
  box-shadow: 0 15px 35px rgba(196, 48, 106, 0.28);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  text-decoration: none;
  display: block;
}

.surprise-banner-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 50px rgba(196, 48, 106, 0.38);
  color: var(--white);
}

.surprise-banner-box h3 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-weight: 600;
  line-height: 1.25;
}

/* ----------------------------------------------------
   6. ORDER / CONTACT SECTION
---------------------------------------------------- */
.order-section {
  padding: 50px 0;
  background-color: var(--white);
  text-align: center;
}

.order-box {
  background: linear-gradient(135deg, var(--blush) 0%, #FFF0F5 100%);
  border-radius: 28px;
  padding: 50px 36px;
  border: 1px solid #F4E4EA;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.order-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}

.custom-navbar .nav-link.active {
    color: #ffffff !important;
    font-weight: 700 !important;
    border-bottom: 2px solid #ffffff;
}

.custom-navbar .dropdown-item.active {
    background-color: #dc3545 !important;
    color: #ffffff !important;
}

.order-section p {
  color: var(--ink-soft);
  max-width: 480px;
  margin: 0 auto 30px;
  font-size: 1.05rem;
}

/* Bottom banner card fills col width in 2-col layout */
.bottom-banner-card {
  background: var(--white);
  padding: 10px;
  border-radius: 24px;
  border: 1px solid #F4E4EA;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  max-width: 100%;
}

.bottom-banner-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover) !important;
}

.bottom-banner-img {
  width: 100%;
  height: auto;
  border-radius: 18px !important;
  display: block;
}


/* ----------------------------------------------------
   7. FOOTER
---------------------------------------------------- */
.site-footer {
  background: #FF46A2;
  color: rgba(255,255,255,0.9);
  padding: 70px 0 30px;
  margin-top: auto !important;
  width: 100%;
  box-shadow: inset 0 4px 30px rgba(0,0,0,0.08);
}

.site-footer .footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.site-footer a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.25s ease;
}

.site-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 24px;
  margin-top: 40px;
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
}

/* ----------------------------------------------------
   8. BLOG & SINGLE POST STYLES
---------------------------------------------------- */
.cake-blog-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #F4E4EA;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.cake-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.blog-thumbnail-wrapper {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.blog-thumbnail-wrapper .blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cake-blog-card:hover .blog-thumbnail-wrapper .blog-img {
  transform: scale(1.05);
}

.blog-placeholder-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--blush) 0%, #FFF0F5 100%);
}

.blog-category-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  color: var(--pink-deep);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.5px;
}

.blog-title {
  font-size: 1.25rem;
  line-height: 1.4;
  transition: color 0.25s ease;
}

.blog-title a:hover {
  color: var(--pink) !important;
}

.blog-read-more {
  color: var(--pink);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  transition: gap 0.2s ease, color 0.2s ease;
}

.blog-read-more:hover {
  color: var(--pink-deep);
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  margin: 0 4px;
  border-radius: 999px;
  border: 1px solid #F4E4EA;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  background: var(--white);
  transition: all 0.25s ease;
}

.blog-pagination ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  background: var(--pink);
  color: var(--white);
  border-color: var(--pink);
}

/* Single Post Content Styling */
.single-post-content {
  font-size: 1.1rem;
  line-height: 1.85;
  color: #382d33;
}

.single-post-content p {
  margin-bottom: 1.5rem;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
  font-family: 'Fraunces', serif;
  color: var(--ink);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.single-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 1.5rem 0;
}

.single-post-content blockquote {
  border-left: 4px solid var(--pink);
  padding: 1rem 1.5rem;
  background: var(--blush);
  border-radius: 0 16px 16px 0;
  font-style: italic;
  margin: 1.5rem 0;
}

/* Bottom Showcase Banner Card (25% Size) */
.bottom-banner-card {
  max-width: 25%;
  min-width: 280px;
  background: var(--white);
  padding: 10px;
  border-radius: 24px;
  border: 1px solid #F4E4EA;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.bottom-banner-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover) !important;
}

.bottom-banner-img {
  width: 100%;
  height: auto;
  border-radius: 18px !important;
  display: block;
}

/* ----------------------------------------------------
   8.1 PACKAGES SECTION STYLING
---------------------------------------------------- */
.packages-section {
  background-color: var(--blush);
}

.package-card {
  background: var(--white);
  border-radius: 24px;
  border: 1px solid #F4E4EA;
  padding: 30px;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

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

.package-card.package-featured {
  border: 2px solid var(--pink);
  box-shadow: 0 12px 30px rgba(232, 70, 125, 0.15);
}

.package-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-deep) 100%);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
}

.package-img-wrapper {
  margin: -30px -30px 20px -30px;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.package-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.package-card:hover .package-img {
  transform: scale(1.05);
}

.package-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.package-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.package-price-wrap {
  margin-bottom: 14px;
}

.package-price {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--pink-deep);
  font-family: 'Fraunces', serif;
}

.package-description {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

.package-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  border-top: 1px dashed #F4E4EA;
  padding-top: 15px;
}

.package-features-list li {
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  line-height: 1.4;
}

.package-features-list li i {
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--pink) !important;
}

/* ----------------------------------------------------
   9. RESPONSIVE MEDIA QUERIES
---------------------------------------------------- */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 50px 0;
    text-align: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-img-wrapper {
    margin-top: 40px;
  }
}

@media (max-width: 575.98px) {
  .btn-cake-primary,
  .btn-cake-outline {
    width: auto;
    margin-bottom: 8px;
  }
  .order-box {
    padding: 30px 18px;
  }
}


