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

:root {
  --bg: #FFF7E9;
  --primary: #D9444D;
  --secondary: #563A2B;
  --white: #ffffff;
  --ohra: #E16849;
  --canofea: #536E50;
  --borealia: #92CFC8;
  --besave: #C8D300;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--bg);
  color: var(--secondary);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }

/* ===== HEADER / NAV ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 247, 233, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(86, 58, 43, 0.1);
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(86, 58, 43, 0.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.6rem 1.2rem;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: none;
  list-style: none;
  gap: 1.8rem;
}

.nav-links a {
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--primary); }

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

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--secondary);
  border-radius: 3px;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  background: var(--bg);
  padding: 1.5rem;
  border-bottom: 2px solid rgba(86, 58, 43, 0.1);
  z-index: 99;
}

.mobile-menu.open { display: block; }

.mobile-menu a {
  display: block;
  padding: 0.8rem 0;
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(86, 58, 43, 0.08);
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--primary); }

/* ===== HERO ===== */
.hero {
  padding: 7rem 1.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-doodles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-doodles img {
  position: absolute;
  opacity: 0.6;
}

.doodle-whisk   { top: 8%; left: 3%; width: 65px; transform: rotate(-15deg); }
.doodle-hat     { top: 17%; right: 5%; width: 70px; }
.doodle-roller  { top: 50%; left: 10%; width: 100px; }
.doodle-muffin  { bottom: 20%; right: 4%; width: 60px; }
.doodle-cake    { bottom: 1%; left: -2%; width: 65px; transform: rotate(-10deg); }

@media (min-width: 768px) {
  .doodle-whisk   { width: 90px; }
  .doodle-hat     { width: 95px; }
  .doodle-roller  { width: 130px; }
  .doodle-muffin  { width: 85px; }
  .doodle-cake    { width: 90px; left: 3%; }
}

@media (min-width: 1024px) {
  .doodle-whisk   { width: 110px; }
  .doodle-hat     { width: 115px; }
  .doodle-roller  { width: 160px; }
  .doodle-muffin  { width: 100px; }
  .doodle-cake    { width: 110px; }
}

.hero-greeting {
  font-family: 'Baloo 2', cursive;
  font-size: 3rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  position: relative;
}

.hero-photo-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 1.5rem auto;
}

.hero-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--white);
  box-shadow: 0 8px 30px rgba(86, 58, 43, 0.15);
  position: relative;
  z-index: 2;
}

.hero-photo-wrapper::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px dashed var(--primary);
  opacity: 0.3;
  z-index: 1;
}

.hero-name {
  font-family: 'Baloo 2', cursive;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 1rem;
}

.hero-arrow {
  color: var(--secondary);
  font-size: 1.6rem;
  display: inline-block;
  margin: 0.3rem 0;
  opacity: 0.8;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--secondary);
  opacity: 0.85;
  max-width: 380px;
  margin: 0.3rem auto 0;
}

.hero-logo {
  width: 180px;
  margin: 1.5rem auto 0;
}

.hero-tagline {
  font-size: 0.95rem;
  color: var(--secondary);
  opacity: 0.7;
  margin-top: 0.5rem;
  font-style: italic;
}

.hero-cta {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(217, 68, 77, 0.3);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 68, 77, 0.4);
  color: var(--white);
}

/* ===== SECTIONS ===== */
.section {
  padding: 4rem 1.5rem;
}

.section-title {
  font-family: 'Baloo 2', cursive;
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--secondary);
  opacity: 0.7;
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

/* ===== ABOUT ===== */
.about {
  background: var(--white);
  border-radius: 0;
}

.about-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--secondary);
}

.about-text strong {
  color: var(--primary);
}

.about-highlight {
  display: inline-block;
  margin-top: 1.5rem;
  background: var(--bg);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-weight: 700;
  color: var(--secondary);
  border-left: 4px solid var(--primary);
  text-align: left;
}

/* ===== PRODUCTS ===== */
.products-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  border-radius: 16px;
  padding: 1.5rem 1.2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-3px);
}

.product-card--ohra {
  background: var(--ohra);
  color: var(--white);
}

.product-card--canofea {
  background: var(--canofea);
  color: var(--white);
}

.product-card--borealia {
  background: var(--borealia);
  color: black;
}

.product-card--besave {
  background: var(--besave);
  color: black;
}

.product-visual {
  flex-shrink: 0;
  width: 60%;
  max-width: 200px;
  order: 2;
}

.product-img {
  width: 100%;
  border-radius: 10px;
  object-fit: contain;
}

.product-content {
  display: contents;
}

.product-content > a {
  order: 1;
}

.product-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.product-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.95;
  margin: 0;
  order: 3;
}

/* ===== PROMO ===== */
.promo {
  text-align: center;
  background: var(--white);
}

.promo-box {
  max-width: 500px;
  margin: 0 auto;
  background: var(--bg);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  border: 2px dashed var(--primary);
  position: relative;
}

.promo-box::before {
  content: '\1F381';
  font-size: 2.5rem;
  position: absolute;
  top: -1.3rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  padding: 0 0.5rem;
  border-radius: 20px;
}

.promo-title {
  font-family: 'Baloo 2', cursive;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.promo-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
}

.promo-text {
  margin: 0.5rem 0 1.2rem;
  color: var(--secondary);
  opacity: 0.8;
}

.promo-code {
  display: inline-block;
  background: var(--secondary);
  color: var(--white);
  font-family: 'Baloo 2', cursive;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.6rem 2rem;
  border-radius: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.promo-code:hover {
  color: var(--white);
  background: var(--primary);
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(217, 68, 77, 0.3);
}

.promo-note {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ===== ATELIER ===== */
.atelier {
  text-align: center;
}

.atelier-content {
  max-width: 600px;
  margin: 0 auto;
}

.atelier-text {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.atelier-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(217, 68, 77, 0.3);
}

.atelier-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 68, 77, 0.4);
  color: var(--white);
}

/* ===== CONTACT ===== */
.contact {
  background: var(--secondary);
  color: var(--white);
  text-align: center;
}

.contact .section-title { color: var(--white); }
.contact .section-subtitle { color: rgba(255,255,255,0.7); }

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 400px;
  margin: 0 auto;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.contact-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

.contact-info {
  font-size: 1rem;
}

.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.6;
  margin-bottom: 0.15rem;
}

.contact-value {
  font-weight: 700;
  font-size: 1.1rem;
}

.contact-value a {
  color: var(--white);
  transition: opacity 0.2s;
}

.contact-value a:hover { opacity: 0.8; }

/* ===== FOOTER ===== */
.footer {
  background: var(--secondary);
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding: 1.5rem;
}

.footer-logo {
  width: 60px;
  margin: 0 auto 0.5rem;
  opacity: 0.8;
}

.footer-text {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
}

/* ===== DESKTOP ===== */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .hamburger, .mobile-menu {
    display: none !important;
  }

  .hero {
    padding: 9rem 2rem 4rem;
  }

  .hero-greeting { font-size: 4rem; }

  .hero-photo-wrapper { width: 240px; height: 240px; }
  .hero-photo { width: 240px; height: 240px; }

  .section { padding: 5rem 2rem; }
  .section-title { font-size: 2.5rem; }

  .product-card {
    flex-direction: row;
    text-align: center;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 2rem;
  }

  .product-visual {
    width: 180px;
    max-width: none;
    order: unset;
  }

  .product-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 0;
  }

  .product-content > a { order: unset; }
  .product-desc { order: unset; font-size: 1rem; }

  .product-logo {
    height: 50px;
  }

  .contact-items {
    flex-direction: row;
    max-width: 700px;
    gap: 2rem;
    justify-content: center;
  }

  .contact-item { flex-direction: column; text-align: center; }
}

@media (min-width: 1024px) {
  .hero-greeting { font-size: 4.5rem; }

  .hero-photo-wrapper { width: 260px; height: 260px; }
  .hero-photo { width: 260px; height: 260px; }

  .product-card {
    gap: 2.5rem;
    padding: 2rem 2.5rem;
  }

  .product-visual {
    width: 220px;
  }

  .product-logo {
    height: 70px;
  }
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
