@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Poppins:wght@300;400;500;600&display=swap');

:root {
  --primary: #ff6f91;
  --secondary: #ffc2d1;
  --accent: #f9c74f;
  --bg: #fff9fb;
  --text: #333333;
  --shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  --radius: 14px;
  --transition: all 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(12px);
  background: rgba(255, 249, 251, 0.85);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  position: relative;
  font-weight: 500;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.active::after {
  width: 100%;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(255, 111, 145, 0.3);
  transition: var(--transition);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 111, 145, 0.35);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: 10px;
  transition: var(--transition);
}

.hero {
  position: relative;
  min-height: 90vh;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
  gap: 2rem;
  padding: 5rem 1.25rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('assets/images/hero.jpg') center/cover no-repeat;
  opacity: 0.22;
  filter: blur(2px);
  z-index: -2;
}

.hero-card {
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 111, 145, 0.08), rgba(249, 199, 79, 0.08));
  pointer-events: none;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4vw, 3.3rem);
  margin: 0 0 1rem;
}

.hero p.lead {
  font-size: 1.05rem;
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.ghost-btn {
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  background: #fff;
  box-shadow: 0 10px 22px rgba(255, 111, 145, 0.15);
  transition: var(--transition);
}

.ghost-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.yarn {
  position: absolute;
  border-radius: 999px;
  filter: blur(0px);
  opacity: 0.55;
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}

.yarn.pink {
  background: radial-gradient(circle at 30% 30%, #ffd3e0, #ff6f91);
}

.yarn.gold {
  background: radial-gradient(circle at 30% 30%, #ffeaa7, #f9c74f);
}

.yarn.mint {
  background: radial-gradient(circle at 30% 30%, #d1fff2, #9be7c4);
}

.yarn.y1 { width: 120px; height: 120px; top: -40px; right: -20px; animation-duration: 11s; }
.yarn.y2 { width: 80px; height: 80px; bottom: -20px; left: 30px; animation-duration: 9s; }
.yarn.y3 { width: 60px; height: 60px; top: 30%; left: -10px; animation-duration: 10s; }

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-12px) translateX(6px); }
}

.section {
  padding: 4.5rem 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 0.5rem;
  text-align: center;
}

.section .sub {
  text-align: center;
  color: #555;
  margin-bottom: 2rem;
}

.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: center;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about .highlight {
  color: var(--primary);
  font-weight: 600;
}

.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.step {
  padding: 1.5rem;
  background: linear-gradient(145deg, rgba(255, 111, 145, 0.08), rgba(255, 194, 209, 0.15));
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.step strong {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card.product {
  padding: 0.9rem;
}

.product {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product img {
  border-radius: var(--radius);
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product:hover img {
  transform: scale(1.04);
}

.product-content {
  position: static;
  margin-top: 0.85rem;
  background: #fff;
  padding: 0.9rem 1rem 1rem;
  border-radius: var(--radius);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.06);
}

.badge {
  display: inline-block;
  background: var(--secondary);
  color: #9c3856;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  border: none;
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 10px 24px rgba(255, 111, 145, 0.25);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(255, 111, 145, 0.32);
}

.btn.outline {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: none;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.quote {
  position: relative;
}

.quote::before {
  content: '“';
  font-size: 3rem;
  color: var(--secondary);
  position: absolute;
  top: -14px;
  left: 12px;
}

.cta-banner {
  background: linear-gradient(120deg, rgba(255, 111, 145, 0.16), rgba(249, 199, 79, 0.18));
  padding: 2rem;
  border-radius: 18px;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-banner h3 {
  margin: 0 0 0.5rem;
  font-family: 'Playfair Display', serif;
}

footer {
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 2.5rem 1.25rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

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

.footer-logo img {
  width: 50px;
  height: 50px;
  border-radius: 12px;
}

.footer-links a {
  display: block;
  margin: 0.35rem 0;
  color: #555;
  font-weight: 500;
}

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

.copyright {
  text-align: center;
  margin-top: 1.5rem;
  color: #777;
  font-size: 0.95rem;
}

.pill-nav {
  display: inline-flex;
  gap: 0.75rem;
  background: #fff;
  padding: 0.4rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.pill {
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: transparent;
  color: #555;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.pill.active {
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 111, 145, 0.3);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 68px;
    right: 0;
    background: rgba(255, 249, 251, 0.98);
    flex-direction: column;
    padding: 1rem 1.5rem;
    align-items: flex-start;
    width: 240px;
    box-shadow: -6px 12px 32px rgba(0, 0, 0, 0.08);
    transform: translateX(110%);
    transition: transform 0.3s ease;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links a {
    padding: 0.35rem 0;
  }

  .hero {
    padding-top: 5.5rem;
  }
}

@media (max-width: 600px) {
  .hero-card {
    padding: 1.75rem;
  }

  .product img {
    height: 200px;
  }
}
