/* ============================================================
   IDOU HANDMADE – Tibi Idou Leather Artist
   Color Palette:
     Dark background: #1a1410
     Warm brown:      #3d2b1f
     Leather tan:     #8b6347
     Gold accent:     #c9a96e
     Red stitch:      #c0392b
     Light text:      #f5f0e8
     Muted text:      #a89880
   ============================================================ */

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

:root {
  --bg-dark:     #1a1410;
  --bg-medium:   #231c16;
  --bg-warm:     #2e2218;
  --brown:       #3d2b1f;
  --leather:     #8b6347;
  --gold:        #c9a96e;
  --red:         #c0392b;
  --light:       #f5f0e8;
  --muted:       #a89880;
  --white:       #ffffff;
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Lato', Arial, sans-serif;
  --transition:  0.3s ease;
  --shadow:      0 4px 24px rgba(0,0,0,0.4);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--light);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

/* Primary button: dark background → gold text */
.btn-primary {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--bg-dark);
}
.btn-primary:hover {
  background-color: transparent;
  color: var(--gold);
}

/* Outline button: transparent → gold border, gold text */
.btn-outline {
  background-color: transparent;
  border-color: var(--gold);
  color: var(--gold);
}
.btn-outline:hover {
  background-color: var(--gold);
  color: var(--bg-dark);
}

/* Outline dark: for use on light backgrounds */
.btn-outline-dark {
  background-color: transparent;
  border-color: var(--brown);
  color: var(--brown);
}
.btn-outline-dark:hover {
  background-color: var(--brown);
  color: var(--light);
}

/* Small button */
.btn-sm {
  padding: 10px 22px;
  font-size: 0.78rem;
  background-color: var(--leather);
  border-color: var(--leather);
  color: var(--light);
}
.btn-sm:hover {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--bg-dark);
}

/* ============================================================
   SECTION LABELS & HEADERS
   ============================================================ */

.section-label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--light);
  margin-bottom: 16px;
}

.section-header-light h2 {
  color: var(--light);
}

.section-desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background-color 0.4s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(26, 20, 16, 0.97);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

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

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-idou {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.logo-handmade {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light);
  transition: color var(--transition);
  position: relative;
}

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

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

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

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

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

/* ============================================================
   HERO SLIDER
   ============================================================ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}

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

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 6s ease;
}

.slide.active .slide-bg {
  transform: scale(1);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 20, 16, 0.82) 0%,
    rgba(26, 20, 16, 0.45) 60%,
    rgba(26, 20, 16, 0.2) 100%
  );
}

.slide-content {
  position: absolute;
  bottom: 15%;
  left: 8%;
  max-width: 560px;
  z-index: 2;
}

.slide-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.slide-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--light);
  margin-bottom: 20px;
}

.slide-sub {
  font-size: 1.05rem;
  color: rgba(245, 240, 232, 0.85);
  margin-bottom: 32px;
  max-width: 420px;
  line-height: 1.6;
}

/* Slider Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(201, 169, 110, 0.15);
  border: 1px solid rgba(201, 169, 110, 0.4);
  color: var(--gold);
  width: 52px;
  height: 52px;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: rgba(201, 169, 110, 0.35);
}

.slider-prev {
  left: 24px;
}

.slider-next {
  right: 24px;
}

.slider-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */

.about {
  padding: 100px 0;
  background-color: var(--bg-dark);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: top center;
  filter: sepia(15%) contrast(1.05);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--gold);
  color: var(--bg-dark);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.badge-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.badge-text {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 4px;
}

.about-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--light);
  line-height: 1.2;
  margin-bottom: 28px;
}

.about-text h2 em {
  color: var(--gold);
  font-style: italic;
}

.about-text blockquote {
  border-left: 3px solid var(--gold);
  padding: 16px 24px;
  margin: 0 0 28px 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--muted);
  background: rgba(201, 169, 110, 0.06);
}

.about-text blockquote cite {
  display: block;
  font-size: 0.85rem;
  font-style: normal;
  margin-top: 8px;
  color: var(--gold);
  font-family: var(--font-sans);
  letter-spacing: 0.05em;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 20px;
  font-size: 1rem;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin: 36px 0;
  padding: 28px 0;
  border-top: 1px solid rgba(201, 169, 110, 0.2);
  border-bottom: 1px solid rgba(201, 169, 110, 0.2);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

/* ============================================================
   PRODUCTS SECTION
   ============================================================ */

.products {
  padding: 100px 0;
  background-color: var(--bg-medium);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  background-color: var(--bg-warm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.product-image {
  position: relative;
  overflow: hidden;
  height: 260px;
}

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

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

.product-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: var(--gold);
  color: var(--bg-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
}

.product-info {
  padding: 28px;
}

.product-info h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--light);
  margin-bottom: 12px;
}

.product-info p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ============================================================
   PROCESS SECTION
   ============================================================ */

.process {
  padding: 100px 0;
  background-color: var(--bg-warm);
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 20px;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}

.step-icon {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(201, 169, 110, 0.25);
  line-height: 1;
  margin-bottom: 20px;
}

.step h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--light);
  margin-bottom: 12px;
}

.step p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.step-divider {
  width: 1px;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: 0.4;
  flex-shrink: 0;
  align-self: center;
}

/* ============================================================
   GALLERY SECTION
   ============================================================ */

.gallery {
  padding: 100px 0;
  background-color: var(--bg-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
  margin-bottom: 40px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item-large {
  grid-column: span 2;
}

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

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 20, 16, 0);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  transition: background var(--transition);
}

.gallery-item:hover .gallery-overlay {
  background: rgba(26, 20, 16, 0.65);
}

.gallery-overlay span {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition);
}

.gallery-item:hover .gallery-overlay span {
  opacity: 1;
  transform: translateY(0);
}

.gallery-cta {
  text-align: center;
}

/* ============================================================
   REVIEWS SECTION
   ============================================================ */

.reviews {
  padding: 100px 0;
  background-color: var(--bg-medium);
}

.reviews-summary {
  margin-top: 16px;
}

.stars-large {
  font-size: 1.8rem;
  color: var(--gold);
  letter-spacing: 4px;
  margin-bottom: 8px;
}

.reviews-summary p {
  color: var(--muted);
  font-size: 0.95rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.review-card {
  background-color: var(--bg-warm);
  padding: 36px;
  border-top: 3px solid var(--gold);
  position: relative;
}

.review-stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.review-card blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.97rem;
  color: var(--light);
  line-height: 1.7;
  margin-bottom: 24px;
  position: relative;
}

.review-card blockquote::before {
  content: '\201C';
  font-size: 4rem;
  color: rgba(201, 169, 110, 0.2);
  position: absolute;
  top: -20px;
  left: -10px;
  font-family: var(--font-serif);
  line-height: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--leather);
  color: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.review-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--light);
}

.review-author span {
  font-size: 0.78rem;
  color: var(--muted);
}

.review-reply {
  background: rgba(201, 169, 110, 0.08);
  border-left: 2px solid var(--gold);
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

.review-reply strong {
  color: var(--gold);
  font-style: normal;
}

.reviews-cta {
  text-align: center;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */

.contact {
  padding: 100px 0;
  background-color: var(--bg-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-info h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--light);
  margin-bottom: 20px;
}

.contact-info > p {
  color: var(--muted);
  margin-bottom: 40px;
  font-size: 1rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.contact-item a {
  color: var(--light);
  font-size: 1rem;
  transition: color var(--transition);
}

.contact-item a:hover {
  color: var(--gold);
}

.contact-note {
  background: rgba(201, 169, 110, 0.08);
  border-left: 3px solid var(--gold);
  padding: 16px 20px;
}

.contact-note p {
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
}

.contact-image {
  position: relative;
}

.contact-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  filter: sepia(10%) contrast(1.05);
}

.contact-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(26,20,16,0.9), transparent);
  padding: 24px 20px 16px;
}

.contact-image-caption p {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background-color: var(--brown);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(201, 169, 110, 0.2);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity var(--transition);
}

.social-link:hover {
  opacity: 0.75;
}

.footer h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-links ul,
.footer-products ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.footer-links a:hover,
.footer-products a:hover {
  color: var(--gold);
}

.footer-contact p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer-contact a {
  color: var(--muted);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--gold);
}

.footer-hashtags {
  margin-top: 16px;
  font-size: 0.8rem !important;
  color: rgba(168, 152, 128, 0.6) !important;
  line-height: 1.8;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(168, 152, 128, 0.5);
  font-size: 0.8rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about-grid,
  .contact-grid {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(26, 20, 16, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    order: -1;
  }

  .about-image img {
    height: 380px;
  }

  .about-badge {
    right: 0;
    bottom: -16px;
  }

  .about-stats {
    gap: 24px;
  }

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

  .process-steps {
    flex-direction: column;
    gap: 40px;
  }

  .step-divider {
    width: 60px;
    height: 1px;
    align-self: center;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .gallery-item-large {
    grid-column: span 2;
  }

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

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

  .slide-content {
    left: 5%;
    right: 5%;
    bottom: 18%;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .slider-prev {
    left: 12px;
  }

  .slider-next {
    right: 12px;
  }

  .contact-image {
    display: none;
  }
}

/* ============================================================
   FADE-IN ANIMATION
   ============================================================ */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .gallery-item-large {
    grid-column: span 1;
  }

  .about-stats {
    flex-wrap: wrap;
    justify-content: center;
  }
}
