/* ================================
   MELT & SWIRL
   Ice Cream Parlour
================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: #fffaf3;
  color: #35251f;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  width: 100%;
  display: block;
}

button,
select {
  font-family: inherit;
}


/* ================================
   NAVBAR
================================ */

.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 24px 6%;
  color: white;
}

.logo {
  display: flex;
  align-items: center;
  gap: 6px;

  font-size: 19px;
  font-weight: 700;
  letter-spacing: 3px;
}

.logo small {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-style: italic;
}

.navbar nav {
  display: flex;
  gap: 34px;
}

.navbar nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: opacity 0.3s ease;
}

.navbar nav a:hover {
  opacity: 0.65;
}

.nav-button {
  padding: 11px 20px;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 30px;

  font-size: 12px;
  letter-spacing: 1px;

  transition: all 0.3s ease;
}

.nav-button:hover {
  background: white;
  color: #35251f;
}

.menu-toggle {
  display: none;

  border: none;
  background: transparent;
  color: white;

  font-size: 24px;
  cursor: pointer;
}


/* ================================
   HERO
================================ */

.hero {
  min-height: 100vh;
  position: relative;

  display: flex;
  align-items: center;

  padding: 120px 8%;

  color: white;

  background:
    linear-gradient(
      90deg,
      rgba(49, 31, 24, 0.88),
      rgba(49, 31, 24, 0.42),
      rgba(49, 31, 24, 0.18)
    ),
    url("https://images.unsplash.com/photo-1563805042-7684c019e1cb?auto=format&fit=crop&w=2000&q=85");

  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 650px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  margin-bottom: 24px;
  opacity: 0.9;
}

.hero h1 {
  font-family: "Playfair Display", serif;

  font-size: clamp(65px, 10vw, 135px);
  line-height: 0.88;

  font-weight: 500;
}

.hero h1 span {
  display: block;
  font-style: italic;
}

.hero-text {
  max-width: 470px;

  margin-top: 30px;

  font-size: 17px;
  line-height: 1.7;

  color: rgba(255,255,255,0.88);
}

.hero-buttons {
  display: flex;
  gap: 14px;

  margin-top: 35px;
}

.primary-button,
.secondary-button {
  padding: 14px 24px;

  border-radius: 30px;

  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;

  transition: all 0.3s ease;
}

.primary-button {
  background: #fff4df;
  color: #35251f;
}

.primary-button:hover {
  transform: translateY(-3px);
}

.secondary-button {
  border: 1px solid rgba(255,255,255,0.7);
}

.secondary-button:hover {
  background: white;
  color: #35251f;
}

.hero-badge {
  position: absolute;

  right: 8%;
  bottom: 14%;

  width: 120px;
  height: 120px;

  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 50%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  transform: rotate(-10deg);
}

.hero-badge span {
  font-family: "Playfair Display", serif;
  font-size: 28px;
}

.hero-badge small {
  font-size: 8px;
  letter-spacing: 2px;
}

.scroll-text {
  position: absolute;
  bottom: 30px;
  left: 8%;

  font-size: 9px;
  letter-spacing: 2px;
  opacity: 0.7;
}


/* ================================
   GENERAL SECTIONS
================================ */

.section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;

  color: #a87861;

  margin-bottom: 20px;
}

h2 {
  font-family: "Playfair Display", serif;

  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.05;

  font-weight: 500;
}

h2 em {
  font-style: italic;
  font-weight: 400;
}


/* ================================
   INTRO
================================ */

.intro {
  max-width: 850px;

  margin: auto;

  padding: 130px 30px;

  text-align: center;
}

.intro h2 {
  margin-bottom: 30px;
}

.intro > p:last-child {
  max-width: 570px;
  margin: auto;

  color: #806b62;
}


/* ================================
   FLAVOURS
================================ */

.flavours {
  padding: 110px 7%;
  background: #f8eee2;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;

  margin-bottom: 60px;
}

.heading-description {
  max-width: 350px;

  color: #806b62;

  font-size: 14px;
}

.flavour-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 35px;
}

.flavour-card {
  background: #fffaf3;

  border-radius: 4px;

  overflow: hidden;

  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.flavour-card:hover {
  transform: translateY(-8px);

  box-shadow: 0 20px 45px rgba(80, 50, 35, 0.12);
}

.flavour-image {
  height: 390px;
  overflow: hidden;
}

.flavour-image img {
  height: 100%;
  object-fit: cover;

  transition: transform 0.6s ease;
}

.flavour-card:hover img {
  transform: scale(1.06);
}

.flavour-info {
  position: relative;

  padding: 25px 28px 30px;
}

.flavour-info > span {
  position: absolute;
  right: 28px;
  top: 25px;

  color: #b59a8d;

  font-size: 11px;
}

.flavour-info h3 {
  font-family: "Playfair Display", serif;

  font-size: 28px;
  font-weight: 500;

  margin-bottom: 5px;
}

.flavour-info p {
  color: #8b766d;
  font-size: 13px;
}

.flavour-info strong {
  display: block;

  margin-top: 18px;

  font-size: 15px;
}


/* ================================
   BUILD YOUR SCOOP
================================ */

.builder {
  display: grid;
  grid-template-columns: 1fr 1fr;

  min-height: 750px;
}

.builder-content {
  padding: 110px 10%;

  display: flex;
  flex-direction: column;
  justify-content: center;

  background: #dce8d5;
}

.builder-content > p:not(.section-label) {
  max-width: 450px;

  margin-top: 25px;

  color: #63705d;
}

.builder-options {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 15px;

  margin-top: 35px;
}

.option label {
  display: block;

  margin-bottom: 8px;

  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
}

.option select {
  width: 100%;

  padding: 14px;

  border: 1px solid #b8c5b0;
  border-radius: 3px;

  background: rgba(255,255,255,0.5);

  color: #35251f;

  outline: none;

  cursor: pointer;
}

.build-button {
  width: fit-content;

  margin-top: 22px;

  padding: 14px 24px;

  border: none;
  border-radius: 30px;

  background: #35251f;
  color: white;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;

  cursor: pointer;

  transition: transform 0.3s ease;
}

.build-button:hover {
  transform: translateY(-3px);
}

.scoop-result {
  margin-top: 20px;

  font-family: "Playfair Display", serif;

  font-size: 19px;

  color: #59483f;
}

.builder-visual {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  background:
    radial-gradient(circle at center, #fff6ea 0%, #ead9c5 100%);
}

.ice-cream-stack {
  position: relative;

  width: 280px;
  height: 500px;
}

.scoop {
  position: absolute;

  width: 190px;
  height: 190px;

  border-radius: 50%;

  left: 45px;

  box-shadow:
    inset -20px -15px 30px rgba(80,40,20,0.12),
    0 15px 25px rgba(60,40,30,0.15);
}

.scoop-one {
  top: 80px;
  background: #e6a7a7;
}

.scoop-two {
  top: 170px;
  left: 25px;
  background: #f1d29b;
}

.scoop-three {
  top: 260px;
  left: 50px;
  background: #c8d5ad;
}

.cone {
  position: absolute;

  bottom: 0;
  left: 75px;

  width: 130px;
  height: 230px;

  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 15px,
      rgba(100,60,30,0.15) 16px,
      rgba(100,60,30,0.15) 18px
    ),
    #d9a66a;

  clip-path: polygon(15% 0, 85% 0, 50% 100%);
}


/* ================================
   STORY
================================ */

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;

  min-height: 650px;
}

.story-image {
  overflow: hidden;
}

.story-image img {
  height: 100%;
  object-fit: cover;
}

.story-content {
  padding: 100px 11%;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-content h2 {
  margin-bottom: 30px;
}

.story-content p:not(.section-label) {
  max-width: 470px;

  margin-bottom: 18px;

  color: #806b62;
}

.text-link {
  margin-top: 15px;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}


/* ================================
   QUOTE
================================ */

.quote {
  padding: 130px 20px;

  text-align: center;

  background: #35251f;
  color: #fff7ee;
}

.quote-mark {
  font-family: "Playfair Display", serif;

  font-size: 80px;

  line-height: 0.5;

  opacity: 0.35;
}

.quote h2 {
  margin: 30px auto 20px;
}

.quote p {
  font-size: 11px;
  letter-spacing: 2px;
  opacity: 0.6;
}


/* ================================
   VISIT
================================ */

.visit {
  padding: 120px 8%;

  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 80px;

  background: #fffaf3;
}

.visit-details {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 45px;
}

.visit-details div:last-child {
  grid-column: span 2;
}

.visit-details span {
  display: block;

  margin-bottom: 10px;

  color: #a87861;

  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
}

.visit-details p {
  font-size: 14px;
}


/* ================================
   FOOTER
================================ */

footer {
  padding: 55px 7% 35px;

  background: #ead9c5;

  text-align: center;
}

.footer-logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 4px;
}

.footer-logo span {
  font-family: "Playfair Display", serif;
  font-style: italic;
}

footer > p {
  margin-top: 10px;

  color: #806b62;

  font-family: "Playfair Display", serif;
  font-style: italic;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;

  margin: 30px 0;
}

.footer-links a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
}

footer small {
  color: #806b62;
  font-size: 10px;
}


/* ================================
   MOBILE
================================ */

@media screen and (max-width: 760px) {

  .navbar {
    padding: 20px 6%;
  }

  .navbar nav {
    display: none;

    position: absolute;

    top: 70px;
    left: 5%;
    right: 5%;

    padding: 25px;

    flex-direction: column;
    gap: 20px;

    background: #35251f;

    border-radius: 5px;
  }

  .navbar nav.active {
    display: flex;
  }

  .nav-button {
    display: none;
  }

  .menu-toggle {
    display: block;
  }


  .hero {
    padding: 120px 7% 80px;
  }

  .hero h1 {
    font-size: 70px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-badge {
    display: none;
  }


  .intro {
    padding: 90px 25px;
  }


  .flavours {
    padding: 80px 6%;
  }

  .section-heading {
    display: block;
  }

  .heading-description {
    margin-top: 25px;
  }

  .flavour-grid {
    grid-template-columns: 1fr;
  }

  .flavour-image {
    height: 330px;
  }


  .builder {
    grid-template-columns: 1fr;
  }

  .builder-content {
    padding: 80px 7%;
  }

  .builder-options {
    grid-template-columns: 1fr;
  }

  .builder-visual {
    min-height: 550px;
  }


  .story {
    grid-template-columns: 1fr;
  }

  .story-image {
    height: 450px;
  }

  .story-content {
    padding: 80px 8%;
  }


  .visit {
    grid-template-columns: 1fr;

    padding: 85px 8%;

    gap: 50px;
  }

  .visit-details {
    grid-template-columns: 1fr;
  }

  .visit-details div:last-child {
    grid-column: auto;
  }


  .footer-links {
    flex-wrap: wrap;
  }

}
/* ================================
   STORY ENHANCEMENTS
================================ */

.story {
  position: relative;
  background: #fffaf3;
}

.story-image {
  position: relative;
}

.story-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(53, 37, 31, 0.25),
    transparent 45%
  );
  pointer-events: none;
}

.story-image-note {
  position: absolute;
  bottom: 30px;
  left: 30px;
  z-index: 2;

  display: flex;
  flex-direction: column;

  color: white;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
}

.story-content {
  padding: 100px 11%;
}

.story-content h2 {
  font-size: clamp(45px, 5vw, 68px);
  margin-bottom: 30px;
}

.story-content p:not(.section-label) {
  max-width: 480px;
  margin-bottom: 18px;

  color: #806b62;
  font-size: 14px;
  line-height: 1.8;
}

.story-content .story-intro {
  color: #59483f !important;
  font-size: 16px !important;
}

.story-content .text-link {
  display: inline-block;
  margin-top: 12px;

  color: #35251f;

  border-bottom: 1px solid #35251f;
  padding-bottom: 4px;

  transition: opacity 0.3s ease;
}

.story-content .text-link:hover {
  opacity: 0.55;
}


/* Mobile story */

@media screen and (max-width: 760px) {

  .story-image-note {
    bottom: 22px;
    left: 22px;
  }

  .story-content {
    padding: 75px 8%;
  }

}
/* Strawberry image - keep exactly the same card layout */
.flavour-card.strawberry .flavour-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}