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

body {
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.6;
  color: #2b1218;
  background: #ffe8ea;
}

a {
  color: #9e171f;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(184, 88, 74, 0.08);
}

.site-header.alt {
  background: #fff4f2;
  box-shadow: 0 8px 24px rgba(188, 105, 95, 0.08);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: #9e171f;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  color: #6c1b24;
  font-weight: 600;
}

.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  gap: 5px;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #9e171f;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.primary {
  background: #b51a26;
  color: #fff;
  box-shadow: 0 16px 32px rgba(181, 26, 38, 0.18);
}

.whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 16px 32px rgba(37, 211, 102, 0.18);
  margin: 20px auto;
  display: block;
}

.secondary {
  background: #fff;
  color: #b51a26;
  border-color: #b51a26;
}

.tertiary {
  background: #ffe9eb;
  color: #b51a26;
}

.hero {
  padding: 24px 24px 80px;
  background: radial-gradient(circle at top left, #ffd5d7 0%, #ffe8ea 40%, #fff5f4 100%);
}

.hero-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 32px;
}

.hero-copy {
  max-width: 600px;
}

.eyebrow {
  color: #c72531;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  line-height: 1.02;
  margin-bottom: 22px;
}

.hero p {
  color: #5a353f;
  margin-bottom: 28px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  color: #7a2e3b;
  font-weight: 600;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 100%;
  max-width: 560px;
  border-radius: 32px;
  box-shadow: 0 30px 70px rgba(177, 40, 57, 0.18);
}

.section {
  padding: 24px 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.section-heading h2 {
  font-size: 2.3rem;
  margin-bottom: 12px;
}

.section-heading p {
  color: #6b3f45;
  max-width: 720px;
}

.featured-grid,
.build-grid,
.profile-grid,
.order-grid {
  display: grid;
  gap: 20px;
}

.featured-grid {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  margin-top: 32px;
}

.feature-card {
  background: #fff;
  padding: 28px 24px;
  border-radius: 28px;
  border: 1px solid rgba(181, 26, 38, 0.12);
  box-shadow: 0 22px 50px rgba(173, 68, 78, 0.08);
}

.feature-title {
  display: inline-flex;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: #9d1727;
}

.feature-card p {
  color: #5f343d;
  line-height: 1.8;
}

.special-highlight {
  padding-top: 16px;
}

.special-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: center;
  background: linear-gradient(135deg, #fff0f1 0%, #ffd7dc 100%);
  padding: 36px;
  border-radius: 32px;
  box-shadow: 0 30px 60px rgba(206, 74, 84, 0.12);
}

.section-label {
  display: inline-flex;
  background: #b9242f;
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.special-card h2 {
  font-size: 2.2rem;
  margin-bottom: 18px;
  color: #6c1e28;
}

.special-card p {
  max-width: 560px;
  color: #6b3f45;
  margin-bottom: 24px;
}

.special-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
  color: #7b2e39;
  font-weight: 600;
}

.special-image {
  min-height: 320px;
  border-radius: 28px;
  background: url('Cake_theme.jpeg') center/cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22);
}

.special-image-2 {
  min-height: 160px;
  width: 100%;
  border-radius: 28px;
  background: url('Cake_and_more.png') center/cover no-repeat;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22);
}

.special-image {
  width: 100%;
  background-size: cover;
}

@media (max-width: 980px) {
  .special-image-2 {
    min-height: 260px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }
}

@media (max-width: 640px) {
  .special-image,
  .special-image-2 {
    min-height: 240px;
  }
}

.build-copy {
  margin-bottom: 30px;
}

.build-grid {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.build-card {
  background: #fff;
  border-radius: 26px;
  padding: 28px 24px;
  border: 1px solid rgba(181, 26, 38, 0.1);
}

.build-card h3 {
  margin-bottom: 12px;
  color: #9f1725;
}

.build-card p {
  color: #5f343d;
  line-height: 1.8;
}

.profile-section {
  padding-bottom: 44px;
}

.profile-grid {
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  margin-top: 28px;
}

.profile-card {
  background: #fff;
  border-radius: 28px;
  padding: 28px 24px;
  border: 1px solid rgba(181, 26, 38, 0.1);
}

.profile-card p {
  color: #5f343d;
  line-height: 1.8;
}

.rating-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.rating-pill {
  background: #f2d5d8;
  color: #7a2d36;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 700;
}

.order-page {
  padding: 40px 24px 40px;
  max-width: 1180px;
  margin: 0 auto;
}

.order-hero {
  background: linear-gradient(135deg, #ffe8ea 0%, #fff8f6 100%);
  border-radius: 32px;
  padding: 44px 32px;
  margin-bottom: 32px;
  box-shadow: 0 24px 60px rgba(183, 92, 87, 0.09);
}

.order-hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 18px;
}

.order-hero-copy p {
  color: #6b3f45;
  max-width: 720px;
}

.order-grid {
  grid-template-columns: 1.5fr 0.9fr;
  gap: 24px;
}

.order-form-card,
.order-grid
.summary-card {
  background: #fff;
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 28px 60px rgba(183, 92, 87, 0.1);
  
  gap: 24px;
}

.order-form-card {
  display: flex;
  flex-direction: column;
}

.order-form-card form {
  width: 100%;
}

.summary-card h2,
.summary-card h3 {
  color: #8d171f;
  margin-bottom: 16px;
}

.summary-card p,
.summary-card ul {
  color: #5f343d;
  line-height: 1.8;
}

.summary-card ul {
  list-style: disc;
  padding-left: 18px;
  margin-top: 14px;
}

label {
  display: block;
  margin-bottom: 18px;
  color: #4a272e;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #dfc7c8;
  border-radius: 18px;
  padding: 14px 16px;
  margin-top: 10px;
  font-size: 1rem;
  color: #2b1218;
  background: #fff;
}

textarea {
  resize: vertical;
}

.helper-text {
  margin-top: 18px;
  color: #7d4b52;
}

.footer {
  text-align: center;
  padding: 26px 24px 46px;
  color: #6b3f45;
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .special-card,
  .order-grid,
  .featured-grid,
  .build-grid,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .hero-notes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
    box-shadow: 0 8px 24px rgba(184, 88, 74, 0.12);
  }

  .nav-links.active {
    max-height: 500px;
    padding: 16px 0;
  }

  .nav-links a {
    display: block;
    padding: 14px 24px;
    border-bottom: 1px solid #f0e6e4;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links .button {
    margin: 12px 16px;
    width: calc(100% - 32px);
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .logo {
    font-size: 1rem;
  }

  .logo img {
    width: 40px !important;
    height: 40px !important;
    margin-right: 6px !important;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .order-form-card,
  .summary-card {
    padding: 24px;
  }

  .button {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
}

/* In styles.css */
.carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;        
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 16px;
  will-change: transform;
}

.feature-card {
  min-width: calc(100% / 3 - 11px);
  flex-shrink: 0;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-sizing: border-box;  /* add this — prevents padding from overflowing */
  word-wrap: break-word;   /* add this — forces text to wrap */
  overflow-wrap: break-word;
}

/* Show 1 card on mobile */
@media (max-width: 640px) {
  .feature-card {
    min-width: 100%;
    max-width: 100%;

  }
}

/* Show 2 cards on tablet */
@media (min-width: 641px) and (max-width: 1024px) {
  .feature-card {
    min-width: calc(50% - 8px);
  }
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-dots .dot.active {
  background: #8b1a1a; /* match your brand color */
}
