/* Yolk and Crumb — shared styles and responsive navigation */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --olive: #544F28;
  --gold: #DFAA42;
  --dark-olive: #4D4721;
  --dark-gold: #9E7D31;
  --light-gold: #b7a375;
  --ivory-gold: #FAF1DA;
  --bg-olive: #3B4230;
  --accent-yellow: #E5A912;
  --wood-brown: #8C5830;
  --text-cream: #FBF9F1;
}

body {
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--black);
  background: #faf7f2;
}

.site-header, .site-header2 {
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 0 30px;
  position: relative;
  z-index: 10;
}

.site-header {
  background: var(--olive);
}

.site-header2 {
  background: #543416;
}

.logo {
  max-width: 320px;
  min-width: 200px;
  width: 320px;
  flex: 0 0 auto;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  position: relative;
}

.logo-img {
  width: 100%;
  height: auto;
  display: block;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  position: relative;
  color: var(--ivory-gold);
  text-decoration: none;
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 18px;
  white-space: nowrap;
  transition: 0.2s ease;
  padding-bottom: 5px;
}

.main-nav a span {
  font-size: 16px;
  margin-left: 3px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--gold);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: var(--gold);
}

.main-nav a:hover::after {
  width: 100%;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 0;
}

.header-icons button {
  border: 0;
  background: transparent;
  color: #111;
  width: 22px;
  height: 28px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.social-logo {
  transition: all 0.3s ease;
}

.social-logo:hover {
  box-shadow: 0 0 3px 3px rgba(255, 220, 100, 0.4);
  transform: scale(1.1);
}

.slider-container {
  position: relative;
  max-width: 100%;
  height: 100vh;
  margin-bottom: 0;
  overflow: hidden;
  background-color: #000;
}

.my-slides {
  display: none;
  position: relative;
  width: 100%;
  height: 100%;
}

.my-slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.my-slides::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.fade {
  animation: fadeEffect 1s ease-in-out;
}

@keyframes fadeEffect {
  from {
    opacity: 0.4;
  }

  to {
    opacity: 1;
  }
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  padding: 16px;
  color: #9E7D31;
  font-weight: bold;
  font-size: 24px;
  transition: 0.3s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0,0,0,0.3);
  border: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

.text-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--gold, #d4af37);
  font-size: 48px;
  font-family: "Fraunces", serif;
  font-weight: 700;
  z-index: 10;
  width: 80%;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.9), 

               0 0 15px rgba(0, 0, 0, 0.8), 

               0 0 25px rgba(0, 0, 0, 0.6);
}

.dot-container {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.dot.active, .dot:hover {
  background-color: var(--gold);
  transform: scale(1.2);
}

.classic-flavors-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: center;
}

.section-title {
  font-family: "Fraunces", serif;
  font-size: 2.5rem;
  color: #2b2b2b;
  margin-bottom: 40px;
  letter-spacing: -0.5px;
}


/*********************************************/
/* =========================================
   INFORMATION SECTION
========================================= */

.info-section {
  width: 100%;
  background-color: #544F28;
  color: white;
  padding: 65px 10%;
}

.info-container {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 100px;
}


/* หัวข้อ */
.info-column {
  text-align: center;
}

.info-column h2 {
  font-family: "Fraunces", serif;
  font-size: 28px;
  font-weight: 700;
  color:#DFAA42;

  margin: 0 0 28px;
}


/* ข้อความ */

.info-column p {
  font-family: "Fraunces", serif;
  font-size: 20px;
  line-height: 1;
  color:#ebce93;
  margin: 0;
}


/* =========================================
   LOCATION
========================================= */

.directions-link {
  display: inline-block;

  color: white;
  font-size: 19px;

  margin-top: 8px;

  text-decoration: underline;
}

.directions-link i {
  margin-right: 5px;
}

.directions-link:hover {
  opacity: 0.7;
}


/* Logo */

.info-logo {
  display: block;

  width: 190px;
  height: auto;

  margin-top: 28px;
}


/* =========================================
   HOURS
========================================= */

.second-hours {
  margin-top: 30px !important;
}


/* =========================================
   SOCIAL MEDIA
========================================= */

.info-social {
  display: flex;
  align-items: center;

  gap: 25px;

  margin-bottom: 60px;
}

.info-social a {
  color: white;
  font-size: 25px;
  text-decoration: none;
}

.info-social a:hover {
  opacity: 0.7;
}


/* =========================================
   CONTACT
========================================= */

.contact-us h2 {
  margin-bottom: 28px;
}

.contact-us p {
  margin-bottom: 3px;
}

.contact-us a {
  color: white;
  text-decoration: none;
}


/* =========================================
   CAREERS BUTTON
========================================= */

.careers-btn {
  width: 205px;
  height: 58px;

  margin-top: 26px;

  display: flex;
  justify-content: center;
  align-items: center;

  border: 3px solid white;
  border-radius: 7px;

  color: white;

  font-size: 19px;
  font-weight: 700;

  text-decoration: none;
}

.careers-btn:hover {
  background: white;
  color: #21136b;
}


/* =========================================
   TABLET
========================================= */

@media screen and (max-width: 900px) {

  .info-section {
    padding: 55px 7%;
  }

  .info-container {
    grid-template-columns: 1fr 1fr;
    gap: 50px 70px;
  }

  .contact-column {
    grid-column: 1 / -1;
  }

}



/*********************************************/








.flavors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.flavor-card, .flavor-card2 {
  border-radius: 24px;
  /* เดิม 30px 20px */
    padding: 15px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease;
}

.flavor-card {
  background-color: #cfc893;
}

.flavor-card2 {
  background-color: #dec7ad;
}

.flavor-card:hover, .flavor-card2:hover {
  transform: translateY(-5px);
}

.flavor-img-container {
  width: 350px;
   /* เดิม 350px */
    height: 300px;
  /* เดิม 20px */
    margin-bottom: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.flavor-img-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.flavor-card h3 {
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.flavor-card p {
  font-size: 0.95rem;
  color: #4a4a4a;
  line-height: 1.5;
  margin-bottom: 25px;
  flex-grow: 1;
  padding: 0 10px;
}

.ingredients-btn {
  background-color: #e51d3b;
  color: #ffffff;
  font-family: "Fraunces", serif;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.ingredients-btn:hover {
  background-color: #c71531;
}

.ingredients-btn:active {
  transform: scale(0.98);
}

.about-section {
  min-height: calc(100vh - 90px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

.about-content-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 80px;
  background-color: var(--cream-bg);
}

.about-content-box h1, .about-content-box h2 {
  font-family: "Fraunces", serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 24px;
  line-height: 1.15;
  letter-spacing: -1px;
}

.about-content-box .section-tag {
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.about-content-box p {
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333333;
  max-width: 540px;
}

.about-image-box {
  position: relative;
  width: 100%;
  min-height: 500px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
  background-color: #e5ddd3;
}


.about-image-box img {
  width: 85%;
  max-width: 550px;
  height: auto;
  max-height: 500px;

  object-fit: contain;
  display: block;
}

.about-image-box.problem-bg {
  background-color: #8cb4d1;
}

.problem-bg .circle-shape {
  position: absolute;
  width: 120%;
  height: 120%;
  background-color: #2a688f;
  border-radius: 50%;
  opacity: 0.85;
  top: -20px;
  left: -20px;
  transform: rotate(-12deg);
  pointer-events: none;
}

.problem-bg img {
  position: relative;
  z-index: 10;
  max-height: 70%;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.25));
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 25px 0;
  text-align: center;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-icon {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.badge-20 {
  background-color: #2b82e4;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: bold;
  line-height: 1;
}

.badge-20 small {
  font-size: 8px;
}

.feature-item p {
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
}

.subscription-desc {
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-top: 10px;
  max-width: 500px;
}

.bottom-bar, .bottom-bar2 {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  color: #d4af37;
  padding: 6px 14px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 12px;
  box-sizing: border-box;
  z-index: 9999;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.bottom-bar {
  background-color: rgba(61, 55, 36, 0.95);
}

.bottom-bar2 {
  background-color: #492d13;
}

.bottom-bar .footer-content, .bottom-bar2 .footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  text-align: center;
  flex-wrap: wrap;
}

.bottom-bar a, .bottom-bar2 a {
  margin-right: 5px;
  color: #d4af37;
  text-decoration: none;
  transition: color 0.2s ease;
}

.bottom-bar a:hover, .bottom-bar2 a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.bottom-bar .separator, .bottom-bar2 .separator {
  color: #d4af37;
  opacity: 0.6;
}

.mobile-header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.menu-toggle .bar {
  display: block;
  position: absolute;
  width: 28px;
  height: 3px;
  background-color: var(--gold);
  border-radius: 5px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle .bar:nth-child(1) {
  transform: translateY(-8px);
}

.menu-toggle .bar:nth-child(2) {
  transform: translateY(0);
}

.menu-toggle .bar:nth-child(3) {
  transform: translateY(8px);
}

.menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg);
}



/* ==================================================
   RESPONSIVE
================================================== */


/* ==================== ≤ 1200px ==================== */

@media (max-width: 1200px) {

  .site-header,
  .site-header2 {
    gap: 20px;
    padding: 0 20px;
  }

  .main-nav {
    gap: 17px;
  }

  .main-nav a {
    font-size: 15px;
  }

  .header-icons {
    gap: 10px;
  }
}


/* ==================== ≤ 1024px ==================== */

@media (max-width: 1024px) {

  .about-section,
  .subscription-section {
    grid-template-columns: 1fr;
  }

  .about-content-box {
    padding: 40px 30px;
  }

  .about-content-box h1,
  .about-content-box h2 {
    font-size: 2.8rem;
  }

  .about-image-box {
    height: 50vh;
    min-height: 400px;
  }
}


/* ==================== ≤ 850px ==================== */

@media (max-width: 850px) {

  /* ---------- Header ---------- */

  .site-header,
  .site-header2 {
    position: relative;
    z-index: 10000;

    height: 75px;
    padding: 0 15px;
    gap: 15px;
  }

  .logo {
    width: 150px;
    min-width: 120px;
    max-width: 180px;
  }

  .mobile-header-right {
    margin-left: auto;
  }

  .header-icons {
    margin-left: 0;
  }


  /* ---------- Mobile Menu ---------- */

  .menu-toggle {
    display: flex;
    width: 40px;
    height: 40px;
  }

  .menu-toggle .bar {
    width: 28px;
    height: 3px;
  }

  .main-nav {
    display: none;

    position: absolute;
    top: 100%;
    left: 0;
    z-index: 99999;

    width: 100%;
    margin: 0;

    flex-direction: column;
    gap: 0;

    background-color: var(--olive);
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 24px 20px;

    text-align: center;
    font-family: "Fraunces", serif;
    font-size: 28px;
    font-weight: 700;

    color: var(--ivory-gold);

    border-top: 1px solid rgba(223, 170, 66, 0.25);
  }


  /* ---------- Slider ---------- */

  .slider-container {
    position: relative;
    z-index: 1;

    height: 70vh;
  }

  .text-caption {
    z-index: 2;

    width: 90%;
    font-size: 32px;
  }
}


/* ==================== ≤ 768px ==================== */

@media (max-width: 768px) {

  /* ---------- Features ---------- */

  .features-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }


  /* ---------- About ---------- */

  .about-image-box {
    height: auto;
    min-height: 300px;
    padding: 20px;
  }

  .about-image-box img {
    width: 90%;
    max-width: 450px;

    height: auto;
    max-height: 350px;

    object-fit: contain;
  }
}


/* ==================== ≤ 600px ==================== */

@media (max-width: 600px) {

  /* ---------- Header ---------- */

  .site-header,
  .site-header2 {
    height: 70px;
    padding: 0 12px;
  }

  .logo {
    width: 130px;
    min-width: 100px;
    max-width: 150px;
  }

  .mobile-header-right {
    gap: 10px;
  }

  .header-icons {
    gap: 8px;
  }

  .social-logo {
    width: 32px !important;
  }


  /* ---------- Mobile Menu ---------- */

  .menu-toggle {
    width: 34px;
    height: 34px;
  }

  .menu-toggle .bar {
    width: 25px;
    height: 3px;
  }

  .main-nav a {
    padding: 22px 15px;
    font-size: 27px;
  }


  /* ---------- Slider ---------- */

  .text-caption {
    font-size: 24px;
  }


  /* ---------- About ---------- */

  .about-content-box h1,
  .about-content-box h2 {
    font-size: 2.2rem;
  }

  .about-content-box p {
    font-size: 1rem;
  }


  /* ---------- Information Section ---------- */

  .info-section {
    padding: 45px 30px;
  }

  .info-container {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .contact-column {
    grid-column: auto;
  }

  .info-column h2 {
    margin-bottom: 18px;
    font-size: 24px;
  }

  .info-column p {
    font-size: 17px;
  }

  .info-logo {
    width: 150px;
        margin-left: auto;
    margin-right: auto;
  }

  .info-social {
        justify-content: center;
    margin-bottom: 40px;
  }

  .careers-btn {
      width: 100%;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
  }


  /* ---------- Bottom Bar ---------- */

  .bottom-bar .footer-content,
  .bottom-bar2 .footer-content {
    gap: 6px;
    font-size: 11px;
  }

  .separator {
    display: none;
  }
}