/* ============================================
   INDIAN CLOTHES RENTAL - MAIN STYLESHEET
   Rich, elegant Indian aesthetic
   ============================================ */

:root {
  /* Elegant luxury palette — refined Indian boutique aesthetic */
  --primary-gold: #C9A96E;
  --primary-burgundy: #4A1535;
  --primary-saffron: #C9A96E;
  --secondary-navy: #4A1535;
  --secondary-emerald: #4A1535;
  --neutral-cream: #FDFAF5;
  --neutral-dark: #1A1A1A;
  --neutral-light-gray: #F5F0E8;
  
  /* Typography */
  --font-serif: 'Playfair Display', 'Georgia', serif;
  --font-sans: 'Inter', 'Segoe UI', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--neutral-dark);
  background-color: var(--neutral-cream);
  line-height: 1.6;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1 {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-burgundy);
  margin-bottom: var(--spacing-lg);
  letter-spacing: 1px;
}

h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--secondary-navy);
  margin-bottom: var(--spacing-lg);
  letter-spacing: 0.5px;
}

h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-burgundy);
  margin-bottom: var(--spacing-md);
}

p {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
  color: var(--neutral-dark);
}

a {
  color: var(--primary-burgundy);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-saffron);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
  background: #1C1C1C;
  color: var(--neutral-cream);
  padding: var(--spacing-md) 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--spacing-lg);
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-gold);
  letter-spacing: 1px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
}

nav a {
  color: var(--neutral-cream);
  font-weight: 500;
  font-size: 1rem;
}

nav a:hover {
  color: var(--primary-gold);
  border-bottom: 2px solid var(--primary-gold);
  padding-bottom: 2px;
}

nav a.active {
  color: var(--primary-gold);
  border-bottom: 2px solid var(--primary-gold);
  padding-bottom: 2px;
}

/* Hamburger toggle button — hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--primary-gold);
  display: block;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  background: linear-gradient(135deg, rgba(74, 21, 53, 0.97) 0%, rgba(28, 20, 24, 0.97) 100%),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path fill="%23C9A96E" opacity="0.06" d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z"/></svg>');
  background-size: cover, cover;
  background-position: center, center;
  color: var(--neutral-cream);
  padding: 2.2rem var(--spacing-lg);
  text-align: center;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero h1 {
  color: var(--primary-gold);
  font-size: 2.8rem;
  margin-bottom: var(--spacing-md);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: var(--spacing-lg);
  max-width: 560px;
  color: var(--neutral-cream);
}

.cta-button {
  background: #1C1C1C;
  color: #C9A96E;
  padding: var(--spacing-md) var(--spacing-xl);
  border: 2px solid #C9A96E;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  display: inline-block;
}

.cta-button:hover {
  background: #C9A96E;
  color: #1C1C1C;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.35);
}

/* ============================================
   SECTIONS & CONTAINERS
   ============================================ */

section {
  padding-top: var(--spacing-xxl);
  padding-bottom: var(--spacing-xxl);
  /* Full-bleed backgrounds: padding scales so content stays ≤1200px wide */
  padding-left: max(var(--spacing-lg), calc(50% - 600px));
  padding-right: max(var(--spacing-lg), calc(50% - 600px));
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-xxl);
  position: relative;
  padding-bottom: var(--spacing-lg);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #C9A96E;
}

/* ============================================
   FEATURED ITEMS GRID
   ============================================ */

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.item-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.item-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(74, 21, 53, 0.12);
}

.item-image {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, #D4AF37, #1B5E3F);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
  font-weight: bold;
  position: relative;
  overflow: hidden;
}

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

.carousel-images {
  display: flex;
  width: 100%;
  height: 100%;
}

.carousel-image {
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.carousel-image.active {
  display: flex;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: #4A1535;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-arrow:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.left {
  left: 10px;
}

.carousel-arrow.right {
  right: 10px;
}

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

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: white;
  width: 24px;
  border-radius: 4px;
}

.item-details {
  padding: var(--spacing-lg);
}

.item-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-burgundy);
  margin-bottom: var(--spacing-sm);
}

.item-category {
  color: var(--primary-saffron);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: var(--spacing-sm);
}

.item-price {
  font-size: 1.1rem;
  color: var(--secondary-emerald);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

.item-button {
  background: #1C1C1C;
  color: #C9A96E;
  padding: var(--spacing-sm) var(--spacing-lg);
  border: 2px solid #C9A96E;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  font-size: 0.95rem;
}

.item-button:hover {
  background: #C9A96E;
  color: #1C1C1C;
}

/* ============================================
   HOW IT WORKS - STEPS
   ============================================ */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.step-card {
  text-align: center;
  padding: var(--spacing-lg);
  border-radius: 12px;
  background: white;
  border-left: 5px solid #C9A96E;
  transition: all 0.3s ease;
}

.step-card:hover {
  background: var(--neutral-light-gray);
  transform: translateY(-4px);
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #4A1535, #C9A96E);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto var(--spacing-md);
}

.step-card h3 {
  margin-bottom: var(--spacing-md);
}

.step-card p {
  color: var(--neutral-dark);
}

/* ============================================
   FORM STYLING
   ============================================ */

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: var(--spacing-xl);
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: var(--spacing-lg);
}

label {
  display: block;
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
  color: var(--secondary-navy);
}

input,
textarea,
select {
  width: 100%;
  padding: var(--spacing-md);
  border: 2px solid var(--neutral-light-gray);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-burgundy);
  box-shadow: 0 0 0 3px rgba(139, 21, 56, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-button {
  background: #1C1C1C;
  color: #C9A96E;
  padding: var(--spacing-md) var(--spacing-xl);
  border: 2px solid #C9A96E;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
}

.submit-button:hover {
  background: #C9A96E;
  color: #1C1C1C;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201, 169, 110, 0.3);
}

/* ============================================
   COLLECTION PAGE - CATEGORY FILTERS
   ============================================ */

.filter-section {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  padding: var(--spacing-sm) var(--spacing-lg);
  border: 2px solid #4A1535;
  background: transparent;
  color: #4A1535;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: #4A1535;
  color: white;
}

/* ============================================
   SIZE BADGES
   ============================================ */

.item-sizes {
  display: flex;
  gap: 6px;
  margin: 6px 0 10px;
  flex-wrap: wrap;
}

.size-badge {
  display: inline-block;
  padding: 2px 10px;
  border: 1.5px solid #4A1535;
  border-radius: 20px;
  font-size: 0.72rem;
  color: #4A1535;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Size filter row */
.filter-row-size {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-btn.size-btn {
  padding: 6px 20px;
  font-size: 0.85rem;
  border-color: #7A3B5C;
  color: #7A3B5C;
}

.filter-btn.size-btn.active,
.filter-btn.size-btn:hover {
  background: #7A3B5C;
  color: white;
}

/* ============================================
   LIGHTBOX
   ============================================ */

#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

#lightbox img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 12px 60px rgba(0,0,0,0.6);
  cursor: default;
}

#lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  color: white;
  font-size: 2.2rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}

#lightbox-close:hover {
  opacity: 1;
}

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

footer {
  background: #1C1C1C;
  color: var(--neutral-cream);
  padding: var(--spacing-xl) var(--spacing-lg);
  margin-top: var(--spacing-xxl);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-section h4 {
  color: var(--primary-gold);
  margin-bottom: var(--spacing-md);
  font-size: 1.1rem;
}

.footer-section a {
  color: var(--neutral-cream);
  display: block;
  margin-bottom: var(--spacing-sm);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-lg);
  text-align: center;
  color: var(--neutral-cream);
}

.social-links {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  margin-top: var(--spacing-md);
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-gold);
  color: var(--primary-burgundy);
}

/* ============================================
   ORNAMENTAL DIVIDER
   ============================================ */

.ornamental-divider {
  text-align: center;
  padding: var(--spacing-md) 0;
  background: var(--neutral-cream);
  line-height: 0;
}

.ornamental-divider svg {
  width: 320px;
  max-width: 90vw;
  height: 28px;
}

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

.fade-in-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

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

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.8rem;
  }

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

  .hero p {
    font-size: 1.1rem;
  }

  .header-container {
    flex-direction: row;
    flex-wrap: wrap;
    position: relative;
  }

  .hamburger {
    display: flex;
  }

  nav {
    width: 100%;
    order: 3;
  }

  nav ul {
    display: none;
    flex-direction: column;
    gap: var(--spacing-sm);
    text-align: center;
    padding: var(--spacing-md) 0;
    border-top: 1px solid rgba(201,169,110,0.2);
  }

  nav ul.open {
    display: flex;
  }

  section {
    padding: var(--spacing-xl) var(--spacing-md);
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
  }

  .featured-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  :root {
    --spacing-xl: 2rem;
    --spacing-xxl: 2.5rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero {
    padding: var(--spacing-xl) var(--spacing-md);
    min-height: 280px;
  }

  .cta-button {
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1rem;
  }

  nav ul {
    gap: var(--spacing-xs);
  }

  nav a {
    font-size: 0.9rem;
  }
}
