/* ========================================
   The Tattooed Willow Co. – Trendy Mix Dark/Light
   ======================================== */

:root {
  /* Palette – dark moody + gold + soft matte pink + whimsical teal/cream from Feral Wives */
  --ink: #111111;
  --ink-soft: #1a1a1a;
  --cream: #f7f3eb;
  --cream-dark: #ebe4d6;
  --paper: #faf8f4;
  --gold: #c5a26f;          /* warm gold from logos */
  --gold-light: #d4c4a8;
  --pink: #c89b9b;          /* soft matte dusty rose */
  --pink-light: #d9b5b5;
  --teal: #5c8a88;          /* whimsical teal from Feral Wives illustrations */
  --teal-light: #7aa3a1;
  --willow: #c89b9b;        /* keep pink as primary accent for now */
  --willow-light: #d9b5b5;
  --accent: #8c5c4a;
  --muted: #6b6560;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(17, 17, 17, 0.12);
  --shadow-hover: 0 20px 50px rgba(17, 17, 17, 0.18);
  --radius: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

/* ========== Header / Nav ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(197, 162, 111, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 1.5rem;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  flex-shrink: 0;
}

.nav-logo {
  height: 56px;
  width: auto;
  border-radius: 50%;
  transition: transform var(--transition);
  object-fit: contain;
}

.nav-logo:hover {
  transform: scale(1.05);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: rgba(247, 243, 235, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.main-nav a:hover {
  color: var(--cream);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  border: 1.5px solid transparent;
  cursor: pointer;
}

.btn-etsy,
.btn-primary {
  background: var(--willow);
  color: var(--cream) !important;
  border-color: var(--willow);
}

.btn-etsy:hover,
.btn-primary:hover {
  background: var(--willow-light);
  border-color: var(--willow-light);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(247, 243, 235, 0.35);
}

.btn-outline:hover {
  border-color: var(--cream);
  background: rgba(255,255,255,0.06);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
  background: var(--ink);
  color: var(--cream) !important;
}

.btn-sm:hover {
  background: var(--willow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  transition: var(--transition);
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: #0a0a0a;
  color: var(--cream);
  overflow: hidden;
  padding-bottom: 4rem;
}

.hero-banner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.15) 0%,
    rgba(10, 10, 10, 0.4) 50%,
    rgba(10, 10, 10, 0.85) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  text-align: center;
  padding: 0 1.5rem;
}

.hero-sub {
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(247, 243, 235, 0.9);
  max-width: 520px;
  margin: 0 auto 2rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ========== Shop ========== */
.shop-section {
  padding: 6rem 0 5rem;
  background: var(--paper);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
}

.section-header::after {
  content: "❦  ❧  ❦";
  display: block;
  margin-top: 0.75rem;
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.4em;
  opacity: 0.7;
}

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4.5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.product-image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream-dark);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.03);
}

/* Carousel styles */
.carousel {
  position: relative;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(17, 17, 17, 0.55);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  opacity: 0;
}

.carousel:hover .carousel-btn {
  opacity: 1;
}

.carousel-btn:hover {
  background: rgba(17, 17, 17, 0.85);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.2s ease;
}

.carousel-dots .dot.active {
  background: white;
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  z-index: 6;
}

.product-image.placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #ebe4d6 0%, #d9d0c0 100%);
}

.placeholder-content {
  text-align: center;
  color: var(--muted);
}

.placeholder-content span {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.5rem;
  opacity: 0.6;
}

.placeholder-content p {
  font-size: 0.95rem;
  line-height: 1.4;
}

.product-info {
  padding: 1.5rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.product-type {
  font-size: 0.8rem;
  color: var(--willow);
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}

.product-desc {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.price {
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
}

.shop-note {
  margin-top: 3.5rem;
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--cream);
  border-radius: var(--radius);
}

.shop-note p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 520px;
  margin-inline: auto;
}

/* ========== About ========== */
.about-section {
  padding: 6rem 0;
  background: var(--ink);
  color: var(--cream);
  position: relative;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

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

.about-content .eyebrow {
  color: rgba(247, 243, 235, 0.55);
}

.about-content h2 {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--gold-light);
}

.about-content p {
  color: rgba(247, 243, 235, 0.8);
  margin-bottom: 1.1rem;
  font-weight: 300;
  font-size: 1.05rem;
}

.signature {
  font-family: 'Great Vibes', cursive;
  font-style: normal;
  font-size: 1.6rem !important;
  color: var(--gold-light) !important;
  margin-top: 1.75rem !important;
  line-height: 1.3;
}

.signature-sub {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.85rem;
  font-style: normal;
  color: rgba(247, 243, 235, 0.6);
  display: block;
  margin-top: 0.25rem;
  letter-spacing: 0.05em;
}

.about-illustration {
  width: 100%;
  max-width: 340px;
  margin: 0 auto 1.75rem;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  object-fit: cover;
}

.about-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cream);
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(247, 243, 235, 0.55);
  letter-spacing: 0.02em;
}

/* ========== Contact ========== */
.contact-section {
  padding: 5.5rem 0;
  background: var(--cream);
  text-align: center;
}

.contact-inner h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 1rem;
}

.contact-inner > p {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.contact-email {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.contact-email a {
  color: var(--willow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-actions .btn-outline {
  color: var(--ink);
  border-color: rgba(26,26,26,0.2);
}

.contact-actions .btn-outline:hover {
  border-color: var(--ink);
  background: rgba(26,26,26,0.04);
}

.domain-note {
  font-size: 0.85rem;
  color: var(--muted);
  opacity: 0.8;
}

/* ========== Newsletter ========== */
.newsletter-section {
  padding: 4.5rem 0 5rem;
  background: var(--cream);
  color: var(--ink);
  text-align: center;
  border-bottom: 1px solid rgba(197, 162, 111, 0.25);
  position: relative;
}

.newsletter-inner {
  max-width: 620px;
  margin: 0 auto;
}

.newsletter-section .eyebrow {
  color: var(--muted);
}

.newsletter-content h2 {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  margin-bottom: 1rem;
  color: var(--ink);
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 2rem 0 1rem;
}

.newsletter-form input {
  flex: 1;
  min-width: 260px;
  padding: 0.85rem 1.25rem;
  border: 2px solid var(--gold);
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-size: 1rem;
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--willow);
}

.newsletter-form .btn {
  padding: 0.85rem 2rem;
  border-radius: 999px;
}

.newsletter-note {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ========== Footer ========== */
.site-footer {
  background: var(--ink-soft);
  color: rgba(247, 243, 235, 0.7);
  padding: 3rem 0 2.5rem;
}

.footer-inner {
  display: grid;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  height: 48px;
  width: auto;
  border-radius: 50%;
}

.footer-brand strong {
  display: block;
  color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
}

.footer-brand p {
  font-size: 0.85rem;
  margin-top: 2px;
}

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

.footer-links a {
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.copyright {
  font-size: 0.8rem;
  opacity: 0.6;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ========== Responsive ========== */
@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .nav-left {
    gap: 1rem;
  }

  .main-nav {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
    order: 3;
  }

  .btn-etsy {
    margin-left: auto;
    margin-right: 0.5rem;
  }

  .hero {
    min-height: 70vh;
    padding-bottom: 3rem;
  }

  .hero-content {
    padding: 0 1rem;
  }
}

@media (max-width: 520px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-ctas .btn {
    width: 100%;
  }
}
