/* ==========================================================================
   REFINED DESIGN SYSTEM & STYLING - AYAM KEPRABON 11TH ANNIVERSARY
   ========================================================================== */

/* --- Theme Variables --- */
:root {
  --red-primary: #D10000;
  --red-dark: #A50000;
  --yellow-primary: #FCD116;
  --yellow-light: #FFFDF0;
  --yellow-hover: #E6BD0B;
  
  --brown-dark: #222222;
  --brown-muted: #444444;
  --white: #FFFFFF;
  
  --bg-light: #F2F2F2;
  --bg-card: #FFFFFF;
  --bg-card-alt: #F8F9FA;
  
  --gray-border: #E0E0E0;
  --gray-text: #666666;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Poppins', sans-serif;
  
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.12);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.25s ease;
}

/* --- Resets & Base Styles --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 18px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--brown-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-yellow {
  background-color: var(--yellow-primary);
  color: var(--brown-dark);
  box-shadow: 0 4px 12px rgba(252, 209, 22, 0.3);
}

.btn-yellow:hover {
  background-color: var(--yellow-hover);
  transform: translateY(-2px);
}

/* ==================== HEADER ==================== */
.header {
  background-color: var(--red-primary);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-link {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-logo {
  display: block;
  height: 100px;
  width: auto;
  transition: var(--transition-smooth);
}

.logo-link:hover .header-logo {
  transform: scale(1.03);
}

/* ==================== HERO SLIDESHOW ==================== */
/* ==================== HERO SLIDESHOW ==================== */
.hero-section {
  position: relative;
  width: 100%;
  padding: 30px 0 10px 0; /* Elegant spacing above and below the slider */
  background-color: var(--bg-light);
}

.hero-container {
  padding: 0 24px;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  /* aspect-ratio: 1200 / 510; */ /* Premium taller banner aspect-ratio to show detailed artwork */
  overflow: hidden;
  border-radius: 24px; /* Prominent rounded corners matching the visual mockup */
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-border);
  background-color: #ECECEC;
}

.slider-container {
  display: flex;
  width: 200%; /* 2 slides side-by-side = 200% width */
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); /* Ultra-smooth hardware-accelerated glide */
}

.slide {
  width: 50%; /* Each slide occupies exactly 100% of the viewport container wrapper */
  height: 100%;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Slider Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.85);
  border: none;
  color: var(--red-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.slider-btn:hover {
  background-color: var(--white);
  color: var(--red-dark);
  transform: translateY(-50%) scale(1.08);
  box-shadow: var(--shadow-md);
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.dot.active {
  width: 24px;
  border-radius: 5px;
  background-color: var(--yellow-primary);
  box-shadow: 0 0 6px rgba(252, 209, 22, 0.6);
}

/* ==================== STATS ROW SECTION ==================== */
.stats-section {
  padding: 40px 0;
  position: relative;
  z-index: 20;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-border);
  transition: var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 0, 0, 0.15);
}

.stat-icon-wrapper {
  /* width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; */
  margin-right: 10px;
  color: var(--brown-dark);
}
.stat-icon-wrapper .fas{
  font-size: 50px;
}

.stat-icon {
  width: 24px;
  height: 24px;
}

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

.stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--brown-dark);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.stat-desc {
  font-size: 0.8rem;
  color: var(--gray-text);
  line-height: 1.5;
  font-weight: 400;
}

/* ==================== PHILOSOPHY LOGO ==================== */
.philosophy-section {
  padding: 10px 0;
}

.philosophy-card {
  background-color: var(--bg-card-alt);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-border);
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2rem;
  color: var(--brown-dark); /* Changed from red to dark gray to match original design */
  margin-bottom: 30px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
}

.philosophy-logo-graphic {
  max-width: 380px;
  margin: 24px auto;
  display: flex;
  justify-content: center;
}

.philosophy-logo-img {
  width: 100%;
  height: auto;
  display: block;
}

.philosophy-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--brown-dark);
  margin-top: 24px;
  margin-bottom: 20px;
}

.philosophy-body {
  max-width: 840px;
  margin: 0 auto;
  text-align: center; /* Centered layout for reading comfort */
  font-size: 1rem;
  color: var(--brown-muted);
  line-height: 2;
}

.philosophy-body p {
  margin-bottom: 16px;
}

.philosophy-body p:last-child {
  margin-bottom: 0;
}

/* ==================== PROMO SPECIAL ANNIVERSARY ==================== */
.promo-section {
  padding: 50px 0;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
  margin-top: 40px;
}

.promo-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-border);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

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

.promo-img-wrapper {
  position: relative;
  overflow: hidden;
  background-color: #ECECEC;
  /*aspect-ratio: 540 / 340; /* Fit image nicely without cropping */
}

.promo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.promo-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--brown-dark); /* Set to dark gray/black to match provided design */
  margin-bottom: 12px;
  line-height: 1.35;
}

.promo-desc {
  font-size: 0.88rem;
  color: var(--gray-text);
  margin-bottom: 20px;
  line-height: 1.6;
}

.promo-terms {
  background-color: var(--bg-card-alt);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  border: 1px solid var(--gray-border);
}

.terms-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brown-dark);
  margin-bottom: 8px;
}

.terms-list {
  font-size: 0.8rem;
  color: var(--brown-muted);
  padding-left: 16px;
  line-height: 1.6;
}

.terms-list li {
  margin-bottom: 4px;
}

.terms-list li:last-child {
  margin-bottom: 0;
}

/* Order Buttons Grid */
.promo-order {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: auto;
}

.order-btn {
  border: none;
  background-color: var(--red-primary);
  color: var(--white);
  padding: 12px 6px;
  border-radius: 14px; /* Square/slightly rounded corners to match the mockup */
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
  letter-spacing: 0.5px;
}

.order-btn:hover {
  background-color: var(--red-dark);
  transform: translateY(-1px);
}

.order-btn:active {
  transform: translateY(0);
}

/* ==================== FOOTER ==================== */
.footer {
  background-color: var(--red-primary);
  color: var(--white);
  padding: 60px 0 40px 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.brand-col {
  padding-right: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-logo {
  height: 150px;
  width: auto;
  margin-bottom: 20px;
  align-self: flex-start;
}

.copyright-text {
  font-size: 0.82rem;
  opacity: 0.9;
  margin-top: 20px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: capitalize;
}

.contact-list {
  list-style: none;
}

.contact-list li {
  margin-bottom: 12px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  opacity: 0.9;
  font-weight: 400;
}

.contact-link:hover {
  opacity: 1;
  color: var(--yellow-primary);
  transform: translateX(2px);
}

.contact-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.contact-link:hover .contact-icon {
  background-color: var(--white);
  color: var(--red-primary);
}

/* ==================== TOAST SYSTEM ==================== */
.toast-notification {
  position: fixed;
  bottom: 30px;
  right: -350px; /* Hidden initially */
  background-color: #333333;
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  z-index: 2000;
  transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.15);
  border-left: 4px solid var(--yellow-primary);
}

.toast-notification.show {
  right: 30px;
}

.toast-body {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast-icon {
  color: var(--yellow-primary);
  font-weight: bold;
  font-size: 1.1rem;
}

.toast-message {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
}

/* ==================== RESPONSIVE MEDIA QUERIES ==================== */

/* Tablet Viewports */
@media (max-width: 992px) {
  .slider-wrapper {
    aspect-ratio: 1200 / 510; /* Keep aspect ratio consistent to avoid stretching */
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .philosophy-card {
    padding: 35px 20px;
  }
  
  .promo-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .brand-col {
    padding-right: 0;
  }
  .header-logo{
    height:65px;
  }
}

/* Mobile Viewports */
@media (max-width: 576px) {
  html {
    font-size: 14px;
  }
  
  .slider-wrapper {
    aspect-ratio: 1200 / 600; /* Slightly taller aspect ratio on mobile to keep banner content clear */
  }
  
  .slider-btn {
    width: 35px;
    height: 35px;
  }
  
  .prev-btn {
    left: 8px;
  }
  
  .next-btn {
    right: 8px;
  }
  
  .philosophy-logo-graphic {
    max-width: 100%;
  }
  
  .promo-info {
    padding: 20px;
  }
  
  .promo-order {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .order-btn {
    padding: 14px 10px;
    font-size: 0.88rem;
  }
  .header-logo{
    height: 65px;
  }
}
