/* --- CUSTOM VARIABLES --- */
:root {
  --apricot-bg-cream: #FAF7F2;
  --apricot-surface-white: #FFFFFF;
  --apricot-grape-accent: #3D2635;
  --apricot-grape-hover: #5A394F;
  --apricot-peach-soft: #E6BFA6;
  --apricot-ink-dark: #241C20;
  --apricot-border-color: #EADFCE;
  --apricot-muted-text: #605559;
  --apricot-gradient: linear-gradient(135deg, #3D2635 0%, #5E3C51 100%);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --apricot-radius: 16px;
  --apricot-shadow: 0 12px 36px rgba(61, 38, 53, 0.08);
  --apricot-padding: 16dvh;
}

/* --- RESET & BASIC STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--apricot-bg-cream);
  color: var(--apricot-ink-dark);
  font-family: var(--font-body);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

h1, h2, h3, h4, .sugar-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--apricot-grape-accent);
  line-height: 1.25;
}

p {
  line-height: 1.7;
  color: var(--apricot-ink-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* --- HEADER ENGINE (EDITORIAL STYLE) --- */
.sugar-header-wrap {
  background-color: var(--apricot-surface-white);
  border-bottom: 1px solid var(--apricot-border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.sugar-header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sugar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sugar-logo-icon {
  width: 32px;
  height: 32px;
  fill: var(--apricot-grape-accent);
}

.sugar-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Hamburger Navigation Menu */
.sugar-menu-trigger {
  display: none;
}

.sugar-menu-icon {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.sugar-menu-icon span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--apricot-grape-accent);
  transition: 0.3s;
}

.sugar-nav-list {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.sugar-nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  padding: 0.5rem 0;
}

.sugar-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--apricot-peach-soft);
  transition: width 0.3s;
}

.sugar-nav-link:hover::after {
  width: 100%;
}

/* Progress indicator animation */
.sugar-scroll-indicator {
  height: 3px;
  width: 0%;
  background-color: var(--apricot-peach-soft);
  position: absolute;
  bottom: 0;
  left: 0;
  animation: sugar-progress-grow linear;
  animation-timeline: scroll();
}

@keyframes sugar-progress-grow {
  to { width: 100%; }
}

/* --- HERO SECTION (PRESET E: MAGAZINE SPLIT) --- */
.sugar-hero-magazine {
  display: flex;
  min-height: 85vh;
  background-color: var(--apricot-surface-white);
  border-bottom: 1px solid var(--apricot-border-color);
}

.sugar-hero-side-strip {
  width: 10%;
  background-color: var(--apricot-grape-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}

.sugar-hero-vertical-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: var(--apricot-peach-soft);
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0.85;
  white-space: nowrap;
}

.sugar-hero-main-block {
  width: 90%;
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8)), url('img/bg.webp') no-repeat center center/cover;
}

.sugar-hero-content-box {
  max-width: 800px;
  padding: 4rem;
  z-index: 2;
}

.sugar-hero-badge {
  display: inline-block;
  background-color: var(--apricot-peach-soft);
  color: var(--apricot-grape-accent);
  padding: 0.5rem 1.25rem;
  border-radius: var(--apricot-radius);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sugar-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.sugar-hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--apricot-muted-text);
  margin-bottom: 3rem;
  max-width: 650px;
}

/* Button style */
.sugar-button-magazine {
  display: inline-block;
  padding: 1.25rem 2.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: var(--apricot-radius);
  transition: all 0.4s ease;
  cursor: pointer;
  border: 1px solid var(--apricot-grape-accent);
  background-color: var(--apricot-grape-accent);
  color: var(--apricot-surface-white);
  box-shadow: var(--apricot-shadow);
}

.sugar-button-magazine:hover {
  background-color: transparent;
  color: var(--apricot-grape-accent);
  transform: translateY(-2px);
}

.sugar-button-outline {
  background-color: transparent;
  color: var(--apricot-grape-accent);
}

.sugar-button-outline:hover {
  background-color: var(--apricot-grape-accent);
  color: var(--apricot-surface-white);
}

/* --- EDITORIAL CONTENT SECTION --- */
.sugar-editorial-section {
  padding: var(--apricot-padding) 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Pull-quote block */
.sugar-pullquote-block {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-style: italic;
  color: var(--apricot-grape-accent);
  text-align: center;
  max-width: 950px;
  margin: 0 auto var(--apricot-padding) auto;
  position: relative;
  padding: 3rem;
  background-color: var(--apricot-surface-white);
  border-radius: var(--apricot-radius);
  box-shadow: var(--apricot-shadow);
  border-left: 6px solid var(--apricot-peach-soft);
}

.sugar-pullquote-block::before {
  content: '“';
  font-size: 6rem;
  position: absolute;
  top: -10px;
  left: 20px;
  color: var(--apricot-peach-soft);
  opacity: 0.3;
}

/* Split content row */
.sugar-editorial-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.sugar-editorial-img-wrap {
  border-radius: var(--apricot-radius);
  overflow: hidden;
  box-shadow: var(--apricot-shadow);
  aspect-ratio: 4/5;
}

.sugar-editorial-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.sugar-editorial-split:hover .sugar-editorial-img {
  transform: scale(1.03);
}

.sugar-editorial-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sugar-editorial-heading {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

/* --- MAGAZINE GRID (FEATURES) --- */
.sugar-features-magazine-wrap {
  background-color: var(--apricot-surface-white);
  border-top: 1px solid var(--apricot-border-color);
  border-bottom: 1px solid var(--apricot-border-color);
  padding: var(--apricot-padding) 2rem;
}

.sugar-features-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem auto;
}

.sugar-features-header h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.sugar-magazine-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.sugar-magazine-card-featured {
  background: linear-gradient(180deg, rgba(61, 38, 53, 0.05) 0%, rgba(61, 38, 53, 0.95) 100%), url('img/bg2.webp') no-repeat center center/cover;
  border-radius: var(--apricot-radius);
  padding: 3.5rem;
  color: var(--apricot-surface-white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 500px;
  box-shadow: var(--apricot-shadow);
}

.sugar-magazine-card-featured h3 {
  color: var(--apricot-peach-soft);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.sugar-magazine-card-featured p {
  color: rgba(255, 255, 255, 0.9);
}

.sugar-magazine-column {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  justify-content: space-between;
}

.sugar-magazine-small-card {
  border-top: 3px solid var(--apricot-peach-soft);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sugar-magazine-small-card svg {
  width: 40px;
  height: 40px;
  fill: var(--apricot-grape-accent);
}

.sugar-magazine-small-card h3 {
  font-size: 1.5rem;
}

.sugar-magazine-small-card p {
  color: var(--apricot-muted-text);
}

/* --- HOW IT WORKS (HORIZONTAL STEPS) --- */
.sugar-steps-section {
  padding: var(--apricot-padding) 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.sugar-steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.sugar-step-card {
  position: relative;
  padding: 2rem;
  background-color: var(--apricot-surface-white);
  border-radius: var(--apricot-radius);
  box-shadow: var(--apricot-shadow);
  z-index: 1;
  overflow: hidden;
}

.sugar-step-number-bg {
  position: absolute;
  top: -20px;
  right: -10px;
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 900;
  color: var(--apricot-peach-soft);
  opacity: 0.15;
  z-index: -1;
  line-height: 1;
}

.sugar-step-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.sugar-step-card p {
  color: var(--apricot-muted-text);
}

/* --- CTA STRIP SECTION --- */
.sugar-cta-magazine-strip {
  background-color: var(--apricot-peach-soft);
  padding: 6rem 2rem;
  text-align: center;
  border-top: 1px solid var(--apricot-border-color);
  border-bottom: 1px solid var(--apricot-border-color);
}

.sugar-cta-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.sugar-cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--apricot-grape-accent);
}

/* --- SCROLL REVEAL STYLES --- */
.sugar-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.sugar-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- STATS DISPLAY GRID --- */
.sugar-stats-strip {
  background-color: var(--apricot-grape-accent);
  color: var(--apricot-surface-white);
  padding: 6rem 2rem;
}

.sugar-stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  text-align: center;
}

.sugar-stat-box {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sugar-stat-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--apricot-peach-soft);
}

.sugar-stat-label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.8);
}

/* --- RESERVATION LAYOUT --- */
.sugar-reserve-layout {
  padding: var(--apricot-padding) 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.sugar-reserve-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: flex-start;
}

.sugar-info-cards-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sugar-info-bullet-card {
  background-color: var(--apricot-surface-white);
  border-radius: var(--apricot-radius);
  padding: 2rem;
  box-shadow: var(--apricot-shadow);
  border-top: 3px solid var(--apricot-peach-soft);
}

.sugar-info-bullet-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.sugar-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sugar-bullet-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.95rem;
}

.sugar-bullet-dot {
  width: 8px;
  height: 8px;
  background-color: var(--apricot-peach-soft);
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

/* Form block */
.sugar-form-card {
  background-color: var(--apricot-surface-white);
  border-radius: var(--apricot-radius);
  padding: 3.5rem;
  box-shadow: var(--apricot-shadow);
}

.sugar-form-group {
  margin-bottom: 1.5rem;
}

.sugar-form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--apricot-grape-accent);
}

.sugar-form-input {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--apricot-border-color);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: var(--apricot-bg-cream);
  color: var(--apricot-ink-dark);
}

.sugar-form-input:focus {
  outline: none;
  border-color: var(--apricot-peach-soft);
}

.sugar-form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--apricot-muted-text);
  cursor: pointer;
}

.sugar-form-checkbox {
  margin-top: 0.2rem;
  cursor: pointer;
}

/* FAQ Accordion */
.sugar-faq-section {
  padding: var(--apricot-padding) 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.sugar-faq-heading {
  text-align: center;
  margin-bottom: 4rem;
  font-size: 2.5rem;
}

.sugar-faq-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sugar-faq-item {
  background-color: var(--apricot-surface-white);
  border-radius: var(--apricot-radius);
  padding: 2rem;
  box-shadow: var(--apricot-shadow);
}

.sugar-faq-question {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--apricot-grape-accent);
  margin-bottom: 1rem;
}

.sugar-faq-answer {
  color: var(--apricot-muted-text);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- FOOTER ENGINE --- */
.sugar-footer-wrap {
  background-color: var(--apricot-grape-accent);
  color: var(--apricot-surface-white);
  padding: 5rem 2rem 2rem 2rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sugar-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.sugar-footer-upper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.sugar-footer-brand {
  max-width: 350px;
}

.sugar-footer-logo-text {
  color: var(--apricot-surface-white);
}

.sugar-footer-logo-icon {
  fill: var(--apricot-peach-soft);
}

.sugar-footer-links {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

.sugar-footer-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sugar-footer-column h4 {
  color: var(--apricot-peach-soft);
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sugar-footer-column-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sugar-footer-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.sugar-footer-link:hover {
  color: var(--apricot-surface-white);
}

.sugar-footer-disclaimer {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.sugar-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.sugar-footer-copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* --- COOKIE BANNER --- */
.sugar-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--apricot-grape-accent);
  color: var(--apricot-surface-white);
  padding: 1.5rem 2rem;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.15);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.sugar-cookie-banner.active {
  transform: translateY(0);
}

.sugar-cookie-text {
  font-size: 0.9rem;
  line-height: 1.5;
}

.sugar-cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.sugar-cookie-btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.sugar-cookie-btn-accept {
  background-color: var(--apricot-peach-soft);
  color: var(--apricot-grape-accent);
}

.sugar-cookie-btn-accept:hover {
  background-color: var(--apricot-surface-white);
}

.sugar-cookie-btn-decline {
  background-color: transparent;
  color: var(--apricot-surface-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.sugar-cookie-btn-decline:hover {
  border-color: var(--apricot-surface-white);
}

/* --- RESPONSIVENEES --- */
@media (max-width: 992px) {
  :root {
    --apricot-padding: 10dvh;
  }

  .sugar-hero-magazine {
    flex-direction: column;
  }

  .sugar-hero-side-strip {
    width: 100%;
    padding: 1rem;
  }

  .sugar-hero-vertical-text {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    font-size: 0.85rem;
  }

  .sugar-hero-main-block {
    width: 100%;
  }

  .sugar-hero-content-box {
    padding: 3rem 1.5rem;
  }

  .sugar-editorial-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .sugar-editorial-img-wrap {
    aspect-ratio: 16/10;
  }

  .sugar-magazine-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .sugar-steps-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sugar-reserve-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .sugar-menu-icon {
    display: flex;
    z-index: 1001;
  }

  .sugar-nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--apricot-surface-white);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    transition: right 0.4s ease;
    z-index: 1000;
  }

  .sugar-menu-trigger:checked ~ .sugar-nav-list {
    right: 0;
  }

  .sugar-menu-trigger:checked ~ .sugar-menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }

  .sugar-menu-trigger:checked ~ .sugar-menu-icon span:nth-child(2) {
    opacity: 0;
  }

  .sugar-menu-trigger:checked ~ .sugar-menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
  }

  .sugar-cookie-banner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
}