/* ============================================================
   DECOR BY SHUBHAM — Responsive & Polish Overrides
   Final layer — loads last
   ============================================================ */

/* ===== ABOUT SECTION — 3-column layout overrides ===== */
#about {
  margin: 0;
  padding: 0;
}

/* Ambient gold glow background */
#about::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 10% 60%, rgba(201,168,76,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 90% 20%, rgba(201,168,76,0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.about-inner {
  position: relative;
  z-index: 1;
}

/* Tablet: collapse stats col, image stays left */
@media (max-width: 1280px) {
  .about-inner {
    grid-template-columns: 36% 1fr 240px;
  }
}

/* ≤1024px: stack to 2-column then single column */
@media (max-width: 1024px) {
  .about-inner {
    grid-template-columns: 1fr;
    min-height: unset;
  }

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

  .about-main-photo {
    min-height: 380px;
  }

  .about-text-col {
    padding: 60px 40px;
  }

  .about-stats-col {
    border-left: none;
    border-top: 1px solid rgba(201,168,76,0.15);
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
    padding: 30px 40px;
  }

  .about-stat-item {
    width: 50%;
    padding: 20px 16px;
    border-bottom: 1px solid rgba(201,168,76,0.1);
    border-right: 1px solid rgba(201,168,76,0.1);
  }

  .about-stat-item:nth-child(even) {
    border-right: none;
  }

  .about-stat-item:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .about-image-col {
    height: 300px;
  }

  .about-main-photo {
    min-height: 300px;
    object-position: center 20%;
  }

  .about-text-col {
    padding: 40px 20px;
  }

  .about-stats-col {
    padding: 20px;
  }

  .about-stat-item {
    width: 100%;
    border-right: none !important;
  }

  .about-stat-item:nth-last-child(-n+2) {
    border-bottom: 1px solid rgba(201,168,76,0.1);
  }

  .about-stat-item:last-child {
    border-bottom: none !important;
  }
}


#hero {
  background: #faf6f0;
}

.hero-content {
  padding-bottom: 80px;
}


/* ===== STAT CARDS DARK LOOK ===== */
.about-stats {
  position: relative;
  z-index: 2;
}

/* ===== SERVICES SECTION LIGHT BG TEXTURE ===== */
#services {
  background: linear-gradient(180deg, #fdfaf5 0%, #f5ead8 100%);
}

/* ===== PORTFOLIO SECTION POLISH ===== */
#portfolio {
  background: linear-gradient(180deg, #0d0b08 0%, #150f07 100%);
}

.portfolio-grid {
  grid-template-rows: auto;
}

/* ===== WHY-US SECTION ===== */
#why-us {
  /* No background override needed, keeping it dark */
}

@media (max-width: 1024px) {
  .why-layout {
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
  }
  .why-header {
    flex: none;
    width: 100%;
  }
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 16px;
  }
}

/* ===== TESTIMONIALS BG TEXTURE ===== */
#testimonials {
  background: linear-gradient(180deg, #faf6f0 0%, #f0e8d8 100%);
  position: relative;
}

#testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.025'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* ===== INSTAGRAM SECTION BG ===== */
#instagram {
  background: linear-gradient(180deg, #f0e8d8 0%, #faf6f0 100%);
}

/* ===== CONTACT SECTION ===== */
#contact {
  background: linear-gradient(180deg, #f5ead8 0%, #e8d6b8 100%);
}

/* ===== FORM POLISH ===== */
.form-card {
  border: 1px solid rgba(201,168,76,0.18);
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #c9a84c, #e8c97a, #c9a84c);
}

/* ===== FOOTER GLOW LINE ===== */
#footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.4), transparent);
}

/* ===== SECTION TRANSITIONS ===== */
#hero + #about,
#about + #services,
#services + #portfolio,
#portfolio + #why-us,
#why-us + #testimonials,
#testimonials + #instagram,
#instagram + #contact,
#contact + #footer {
  position: relative;
}

/* ===== GOLD ORNAMENT DIVIDERS ===== */
.section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin: 0 auto 60px;
}

.section-divider span {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.3em;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ===== SERVICES SLIDER DOTS ===== */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.slider-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(201,168,76,0.25);
  cursor: pointer;
  transition: all 0.3s;
}

.slider-dot.active {
  background: var(--gold);
  width: 20px;
  border-radius: 3px;
}

/* ===== PORTFOLIO LABEL STYLE ===== */
.portfolio-header .section-label {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ===== ABOUT IMG POLISH ===== */
.about-images {
  position: relative;
  padding-bottom: 50px;
}

/* ===== TESTIMONIAL GLASSMORPHISM CARDS ===== */
.testimonial-card {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* ===== LOADING IMAGE FADE ===== */
img {
  transition: opacity 0.3s ease;
}

img.loaded {
  opacity: 1;
}

img[data-src] {
  opacity: 0;
}

/* ===== HERO PORTRAIT CARD DESIGN ===== */
.hero-portrait {
  border-radius: 12px 12px 0 0;
  background: var(--gold-pale);
}

/* ===== GOLDEN GLOW SPOTS (ambient) ===== */
.glow-spot {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* ===== MOBILE: FULL-SCREEN FIXES ===== */
@media (max-width: 768px) {
  #hero {
    min-height: 100svh;
  }

  /* Reset hero container to full-width with normal padding on mobile */
  #hero .container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-bg-image {
    width: 100%;
    opacity: 0.15;
  }

  /* Full cream overlay on mobile so text is always readable */
  .hero-overlay {
    background: rgba(250,246,240,0.96) !important;
  }

  .hero-content {
    max-width: 100%;
    padding-top: 120px;
  }

  .hero-badge { display: none; }
  .hero-portrait { display: none; }
  .hero-scroll-indicator { left: 20px; }

  .hero-title {
    font-size: clamp(36px, 10vw, 52px);
  }

  .hero-title em {
    font-size: clamp(32px, 9vw, 46px);
  }

  .hero-subtitle {
    font-size: 13px;
  }

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

  .about-images {
    padding-bottom: 0;
  }

  .about-img-main {
    height: 360px;
  }

  .about-title {
    font-size: clamp(26px, 6vw, 36px);
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .stat-card {
    padding: 16px;
  }

  .stat-number {
    font-size: 28px;
  }

  /* Services mobile */
  .services-slider-wrap {
    padding: 0;
  }

  .service-card {
    min-width: calc(80vw - 40px);
  }

  /* Portfolio mobile */
  .portfolio-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .portfolio-card:first-child {
    grid-column: span 2;
    aspect-ratio: 16/9;
  }

  /* Why us mobile */
  .why-layout {
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
  }
  
  .why-header {
    flex: none;
    width: 100%;
  }

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

  .why-card {
    padding: 0;
  }

  /* Testimonials mobile */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Instagram mobile */
  .instagram-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Contact mobile */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 28px 20px;
  }

  /* Footer mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --section-py: 56px;
  }

  .container {
    padding: 0 18px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .btn-gold, .btn-ghost {
    width: 100%;
    justify-content: center;
  }

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

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .portfolio-card:first-child {
    grid-column: span 1;
    aspect-ratio: 4/3;
  }

  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .footer-social {
    flex-wrap: wrap;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  #intro-loader,
  .custom-cursor,
  .custom-cursor-dot,
  #particle-canvas,
  .whatsapp-float,
  .scroll-top-btn,
  .mobile-nav,
  .hamburger {
    display: none !important;
  }
  body { background: white; color: black; }
  #header { position: static; box-shadow: none; border-bottom: 1px solid #ccc; }
}

/* ===== HIGH DPI SCREENS ===== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .custom-cursor { border-width: 1.5px; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  #intro-loader {
    display: none !important;
  }

  html { scroll-behavior: auto; }
}

/* ===== DARK MODE (optional enhancement) ===== */
@media (prefers-color-scheme: dark) {
  /* Website maintains its own design language; no dark mode override */
}
