/* ============================================
   ROYAL STITCH PUNJAB — SECTION STYLES
   Hero, Services, Gallery, Calculator, etc.
   ============================================ */

/* ══════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════ */
#home {
  display: block;
  opacity: 1;
  padding: 0;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: var(--space-4xl) var(--space-xl);
  margin-left: 8%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 6px 18px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--border-radius-xl);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: #D4AF37;
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  animation: fadeInDown 0.8s ease forwards;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: #FFFFFF;
  margin-bottom: var(--space-lg);
  line-height: 1.1;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 .accent {
  color: #D4AF37;
}

.hero .hero-subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-2xl);
  line-height: var(--line-height-relaxed);
  max-width: 550px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-cta .btn-primary {
  background: linear-gradient(135deg, #D4AF37 0%, #F5D060 100%);
  color: #1A1A1A;
  border-color: #D4AF37;
  font-weight: var(--weight-bold);
}

.hero-cta .btn-secondary {
  border-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
}

.hero-cta .btn-secondary:hover {
  border-color: #D4AF37;
  color: #D4AF37;
  background: rgba(212, 175, 55, 0.1);
}

/* Decorative gold line */
.hero-decoration {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, #D4AF37, transparent);
}

/* ══════════════════════════════════════════════
   SERVICES SECTION
   ══════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

/* ══════════════════════════════════════════════
   FABRIC-TO-FINISH PROCESS
   ══════════════════════════════════════════════ */
.process-section {
  background: var(--bg-tertiary);
  border-radius: var(--border-radius-xl);
  padding: var(--space-3xl);
  margin-top: var(--space-3xl);
}

/* ══════════════════════════════════════════════
   TESTIMONIALS CAROUSEL
   ══════════════════════════════════════════════ */
.testimonials-carousel {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s ease;
}

.testimonials-track .testimonial-card {
  min-width: 100%;
  flex-shrink: 0;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--border-radius-full);
  background: var(--border-color);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

.carousel-dot.active {
  background: var(--accent);
  width: 32px;
  border-radius: 6px;
}

/* ══════════════════════════════════════════════
   GALLERY SECTION
   ══════════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  cursor: pointer;
  aspect-ratio: 3/4;
  transition: all var(--transition-base);
}

.gallery-item.hidden {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.gallery-item .gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--space-lg);
  background: var(--gradient-overlay);
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

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

.gallery-overlay .gallery-title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: #FFFFFF;
}

.gallery-overlay .gallery-category {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
}

/* ══════════════════════════════════════════════
   CALCULATOR SECTION
   ══════════════════════════════════════════════ */
.calculator-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
}

.calculator-result {
  margin-top: var(--space-xl);
  padding: var(--space-xl);
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  border-radius: var(--border-radius-lg);
  text-align: center;
  display: none;
}

.calculator-result.show {
  display: block;
  animation: scaleIn 0.4s ease forwards;
}

.calculator-result .result-value {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--weight-extrabold);
  color: var(--accent);
  margin-bottom: var(--space-xs);
}

.calculator-result .result-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* ══════════════════════════════════════════════
   NRI / STUDENT SECTIONS
   ══════════════════════════════════════════════ */
.package-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.package-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.package-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-accent);
}

.package-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.package-card .package-name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-md);
}

.package-card .package-items {
  text-align: left;
  margin: var(--space-lg) 0;
}

.package-card .package-items li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.package-card .package-items li svg {
  width: 18px;
  height: 18px;
  color: var(--icon-color);
  filter: var(--icon-glow);
  flex-shrink: 0;
}

.package-card .package-price {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-extrabold);
  color: var(--accent);
  margin: var(--space-lg) 0;
}

.package-card.featured {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-glow);
}

.package-card.featured::before {
  height: 4px;
}

/* ══════════════════════════════════════════════
   MEASUREMENT GUIDE
   ══════════════════════════════════════════════ */
.measure-guide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.measure-step {
  text-align: center;
  padding: var(--space-lg);
}

.measure-step .step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  color: var(--icon-color);
  filter: var(--icon-glow);
}

.measure-step h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-xs);
}

.measure-step p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* ══════════════════════════════════════════════
   BOOKING / CONTACT SECTION
   ══════════════════════════════════════════════ */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact-item .contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-md);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item .contact-icon svg {
  width: 24px;
  height: 24px;
  color: var(--icon-color);
  filter: var(--icon-glow);
}

.contact-item h4 {
  font-size: var(--text-base);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* Map container */
.map-container {
  width: 100%;
  height: 300px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-top: var(--space-xl);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand .brand-name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-sm);
}

.footer-brand .brand-name span {
  color: var(--accent);
}

.footer-brand p {
  font-size: var(--text-sm);
  max-width: 300px;
}

.footer-column h4 {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.footer-column ul li {
  margin-bottom: var(--space-xs);
}

.footer-column ul li a {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-column ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--border-radius-full);
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  border: 1px solid var(--border-color);
}

.footer-social a:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-glow);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
  color: var(--icon-color);
  filter: var(--icon-glow);
}

/* ══════════════════════════════════════════════
   SHOP TIMINGS CARD
   ══════════════════════════════════════════════ */
.timings-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  margin-top: var(--space-xl);
}

.timings-card h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.timings-card h4 svg {
  width: 20px;
  height: 20px;
  color: var(--icon-color);
  filter: var(--icon-glow);
}

.timing-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-xs) 0;
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--border-color);
}

.timing-row:last-child {
  border-bottom: none;
}

.timing-row .day {
  color: var(--text-primary);
  font-weight: var(--weight-medium);
}

.timing-row .hours {
  color: var(--text-secondary);
}

.timing-row .closed {
  color: var(--crimson);
}
