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

:root {
  --apricot: #E8956A;
  --apricot-light: #F2B08E;
  --cream: #FFF8F0;
  --cream-dark: #F5EDE3;
  --coffee: #6B4226;
  --coffee-light: #8B6344;
  --brown-warm: #D4A574;
  --brown-soft: #C49A6C;
  --text-dark: #3D2B1F;
  --text-medium: #5C4033;
  --text-light: #8B7355;
  --white: #FFFFFF;
  --shadow: rgba(107, 66, 38, 0.1);
  --shadow-strong: rgba(107, 66, 38, 0.2);
  --radius: 12px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background-color: var(--cream);
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

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

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.3;
  color: var(--coffee);
}

/* ===== HEADER & NAV ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 248, 240, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cream-dark);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: 0 2px 20px var(--shadow);
}

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

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

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--coffee);
  letter-spacing: 1px;
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-medium);
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--apricot);
  transition: width var(--transition);
}

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

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

.lang-switch {
  display: none; /* TODO: enable when TR content is ready */
  /* display: inline-flex; */
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border: 1.5px solid var(--brown-warm);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--coffee);
  transition: all var(--transition);
}

.lang-switch:hover {
  background: var(--coffee);
  color: var(--white);
  border-color: var(--coffee);
}

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

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--coffee);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 2rem 80px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 50%, rgba(232, 149, 106, 0.1) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 149, 106, 0.15) 0%, transparent 70%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.1) 0%, transparent 70%);
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--coffee);
}

.hero-text h1 span {
  color: var(--apricot);
}

.hero-text p {
  font-size: 1.15rem;
  color: var(--text-medium);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-image {
  position: relative;
}

.hero-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--cream-dark);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px var(--shadow-strong);
  overflow: hidden;
}

.hero-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--apricot);
  color: var(--white);
  border-color: var(--apricot);
}

.btn-primary:hover {
  background: var(--coffee);
  border-color: var(--coffee);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow-strong);
}

.btn-outline {
  background: transparent;
  color: var(--coffee);
  border-color: var(--coffee);
}

.btn-outline:hover {
  background: var(--coffee);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== SECTIONS ===== */
.section {
  padding: 6rem 2rem;
}

.section-alt {
  background: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--apricot);
  margin-bottom: 0.75rem;
}

/* ===== CATEGORIES / FEATURES ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all var(--transition);
}

.section-alt .category-card {
  background: var(--cream);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px var(--shadow-strong);
}

.category-image {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--white);
}

.category-image.knitting {
  background: linear-gradient(135deg, var(--apricot), var(--apricot-light));
}

.category-image.sewing {
  background: linear-gradient(135deg, var(--brown-warm), var(--brown-soft));
}

.category-image.embroidery {
  background: linear-gradient(135deg, var(--coffee), var(--coffee-light));
}

.category-body {
  padding: 1.5rem;
}

.category-body h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.category-body p {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* ===== ABOUT PREVIEW ===== */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(145deg, var(--cream-dark), rgba(232, 149, 106, 0.2));
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2rem;
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--text-medium);
  margin-bottom: 1.5rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-medium);
}

.about-feature-icon {
  width: 36px;
  height: 36px;
  background: rgba(232, 149, 106, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ===== STORE LINKS ===== */
.store-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.store-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 3rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px var(--shadow);
  transition: all var(--transition);
  min-width: 280px;
}

.section-alt .store-card {
  background: var(--cream);
}

.store-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow-strong);
}

.store-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  flex-shrink: 0;
}

.store-icon.amazon {
  background: linear-gradient(135deg, #FF9900, #FFB84D);
}

.store-icon.etsy {
  background: linear-gradient(135deg, #F16521, #F4884D);
}

.store-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.store-info p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow-strong);
}

.product-image {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(145deg, var(--cream-dark), rgba(212, 165, 116, 0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--brown-warm);
}

.product-body {
  padding: 1.5rem;
}

.product-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.product-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  background: rgba(232, 149, 106, 0.15);
  color: var(--apricot);
  border-radius: 20px;
  margin-bottom: 0.5rem;
}

.product-body p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===== ABOUT PAGE ===== */
.page-hero {
  padding: 140px 2rem 60px;
  text-align: center;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.page-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto;
}

.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-story.reverse {
  direction: rtl;
}

.about-story.reverse > * {
  direction: ltr;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-card {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px var(--shadow);
}

.section-alt .value-card {
  background: var(--cream);
}

.value-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1rem;
  background: rgba(232, 149, 106, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.value-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px var(--shadow);
}

.section-alt .contact-form {
  background: var(--cream);
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-medium);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--cream);
  transition: border-color var(--transition);
}

.section-alt .form-group input,
.section-alt .form-group textarea,
.section-alt .form-group select {
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--apricot);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(232, 149, 106, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--coffee);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo-text {
  color: var(--white);
  margin-bottom: 1rem;
  display: block;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links a {
  display: block;
  font-size: 0.9rem;
  padding: 0.3rem 0;
  opacity: 0.8;
  transition: opacity var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--apricot-light);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.social-link:hover {
  background: var(--apricot);
}

/* ===== FILTER TABS ===== */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 0.6rem 1.5rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-medium);
  cursor: pointer;
  transition: all var(--transition);
  background: transparent;
  font-family: inherit;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--apricot);
  color: var(--white);
  border-color: var(--apricot);
}

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

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

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: var(--cream);
  padding: 2rem;
  box-shadow: 0 10px 30px var(--shadow-strong);
  z-index: 999;
}

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

.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-medium);
  border-bottom: 1px solid var(--cream-dark);
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    margin: 0 auto 2rem;
  }

  .btn-group {
    justify-content: center;
  }

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

  .about-preview,
  .about-story,
  .about-story.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

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

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

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

  .section-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .section {
    padding: 4rem 1.5rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .store-links {
    flex-direction: column;
    align-items: center;
  }

  .store-card {
    width: 100%;
    max-width: 400px;
  }
}
