/* Dream Girl Women's Wear – fully responsive 3D animated stylesheet */
:root {
  --bg: #12090f;
  --bg2: #1d0f19;
  --pk: #ff4fa3;
  --cy: #29b6e8;
  --yl: #ffd23f;
  --tx: #f6e9f1;
  --r: 16px;
  --pad: clamp(1rem, 5vw, 3rem);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Noto Sans Tamil",
    sans-serif;
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  background: var(--bg);
  color: var(--tx);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  padding-bottom: env(safe-area-inset-bottom);
}
img,
svg,
iframe {
  max-width: 100%;
  display: block;
}
img {
  height: auto;
  width: 100%;
} /* fixes stretched images on small screens */
a {
  color: var(--cy);
}
:focus-visible {
  outline: 3px solid var(--yl);
  outline-offset: 3px;
}

/* ---------- Header / Nav ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem max(var(--pad), env(safe-area-inset-left));
  background: rgba(18, 9, 15, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #ff4fa355;
}
.brand {
  font:
    700 clamp(1.15rem, 3.5vw, 1.5rem) Georgia,
    serif;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.brand span {
  color: var(--pk);
}
.nav {
  display: flex;
  gap: clamp(0.7rem, 2vw, 1.5rem);
  align-items: center;
}
.nav a {
  color: var(--tx);
  text-decoration: none;
  font-weight: 500;
  padding: 0.3rem 0;
  transition: color 0.3s;
}
.nav a:hover {
  color: var(--yl);
}
.burger {
  display: none;
  background: none;
  border: 1px solid var(--pk);
  border-radius: 8px;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.3rem 0.65rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
}
.dd {
  position: relative;
}
.dd-m {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--bg2);
  border: 1px solid var(--pk);
  border-radius: 12px;
  padding: 0.5rem;
  box-shadow: 0 15px 35px #000a;
  transform-origin: top;
  animation: drop 0.3s ease;
}
.dd:hover .dd-m,
.dd:focus-within .dd-m {
  display: block;
}
.dd-m a {
  display: block;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
}
.dd-m a:hover {
  background: #ff4fa322;
}
@keyframes drop {
  from {
    opacity: 0;
    transform: perspective(600px) rotateX(-25deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Hero (3D) ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(2rem, 6vw, 4.5rem) var(--pad);
  max-width: 1300px;
  margin: auto;
  perspective: 1200px;
  background:
    radial-gradient(circle at 85% 15%, #ff4fa344, transparent 50%),
    radial-gradient(circle at 10% 90%, #29b6e833, transparent 45%);
}
.hero-t {
  min-width: 0;
}
.tag {
  color: var(--yl);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.85rem;
}
h1 {
  font:
    700 clamp(1.8rem, 5.5vw, 3.4rem)/1.15 Georgia,
    serif;
  margin: 0.5rem 0 1rem;
  color: var(--pk);
  background: linear-gradient(90deg, var(--pk), var(--yl));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  overflow-wrap: anywhere;
}
.hero-i {
  border-radius: 20px;
  box-shadow: 0 25px 60px #ff4fa355;
  transform-style: preserve-3d;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: rotateY(-10deg) rotateX(3deg) translateY(0);
  }
  50% {
    transform: rotateY(10deg) rotateX(-3deg) translateY(-14px);
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--pk), #b4137a);
  color: #fff;
  border: 0;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font: 600 1rem inherit;
  font-family: inherit;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  margin: 0.4rem 0.3rem 0.4rem 0;
  min-height: 44px;
  box-shadow: 0 8px 20px #ff4fa355;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.btn.alt {
  background: transparent;
  border: 2px solid var(--cy);
  box-shadow: none;
}
.btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 28px #ff4fa377;
}

/* ---------- Sections ---------- */
.sec {
  padding: clamp(2.5rem, 7vw, 4.5rem) var(--pad);
  max-width: 1250px;
  margin-inline: auto;
}
.alt-bg {
  max-width: none;
  background: var(--bg2);
}
.alt-bg > * {
  max-width: 1150px;
  margin-inline: auto;
}
h2 {
  font:
    700 clamp(1.5rem, 4vw, 2.2rem) Georgia,
    serif;
  color: var(--pk);
  margin-bottom: clamp(1rem, 3vw, 1.8rem);
  text-align: center;
}
h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  margin: 0.5rem auto 0;
  background: linear-gradient(90deg, var(--pk), var(--yl));
  border-radius: 3px;
}
h3 {
  color: var(--yl);
  margin: 0.4rem 0;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: center;
  perspective: 1200px;
}
.two.top {
  align-items: start;
}
.two > * {
  min-width: 0;
} /* stops grid overflow from iframe/inputs */
.two p {
  margin-bottom: 0.9rem;
}
.tilt {
  border-radius: 18px;
  border: 2px solid var(--pk);
  box-shadow: 0 20px 45px #ff4fa333;
  transform: rotateY(-8deg);
  transition:
    transform 0.6s ease,
    box-shadow 0.6s;
}
.tilt:hover {
  transform: rotateY(0) scale(1.03);
  box-shadow: 0 25px 55px #ff4fa366;
}
.ticks {
  list-style: none;
}
.ticks li {
  padding: 0.15rem 0;
}
.ticks li::before {
  content: "✦ ";
  color: var(--yl);
}

/* ---------- Collection cards (3D) ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(1rem, 3vw, 1.7rem);
  perspective: 1200px;
}
.card {
  background: var(--bg2);
  border: 1px solid #ff4fa366;
  border-radius: var(--r);
  overflow: hidden;
  padding-bottom: 1rem;
  transform-style: preserve-3d;
  transition:
    transform 0.5s,
    box-shadow 0.5s,
    border-color 0.5s;
}
.card img {
  transition: transform 0.6s;
}
.card h3,
.card p {
  padding: 0 1rem;
}
.card:hover {
  transform: rotateX(5deg) rotateY(-5deg) translateY(-10px);
  box-shadow: 0 25px 45px #ff4fa355;
  border-color: var(--yl);
}
.card:hover img {
  transform: scale(1.08);
}
.card:target {
  border-color: var(--yl);
  box-shadow: 0 0 0 3px #ffd23f66;
}

/* ---------- FAQ ---------- */
details {
  background: var(--bg);
  border: 1px solid #29b6e866;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  margin-bottom: 0.7rem;
  transition: border-color 0.3s;
}
details[open] {
  border-color: var(--pk);
}
summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 28px;
}
details p {
  margin-top: 0.5rem;
}

/* ---------- Contact ---------- */
address {
  font-style: normal;
  margin-bottom: 1.2rem;
  overflow-wrap: anywhere;
}
.wa {
  display: grid;
  gap: 0.65rem;
}
input,
select,
textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--pk);
  background: var(--bg2);
  color: #fff;
  font: inherit;
  font-size: 16px;
} /* 16px stops iOS zoom */
textarea {
  resize: vertical;
}
.mt {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}
.mt button {
  flex: 1;
  min-height: 44px;
  padding: 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--cy);
  background: none;
  color: #fff;
  cursor: pointer;
  font: inherit;
}
.mt .on {
  background: var(--cy);
  color: #000;
  font-weight: 700;
}
iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  min-height: 260px;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 15px 35px #0008;
}
footer {
  text-align: center;
  padding: 1.5rem var(--pad);
  border-top: 1px solid #ff4fa355;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}
.wa-fab {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px #0008;
  z-index: 60;
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 #25d366aa;
  }
  70% {
    box-shadow: 0 0 0 18px #25d36600;
  }
  100% {
    box-shadow: 0 0 0 0 #25d36600;
  }
}

/* ---------- Scroll reveal (only where supported) ---------- */
@supports (animation-timeline: view()) {
  .card,
  .tilt,
  .sec > h2 {
    animation: reveal linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
  }
  @keyframes reveal {
    from {
      opacity: 0;
      transform: perspective(800px) translateY(50px) rotateX(15deg);
    }
    to {
      opacity: 1;
    }
  }
}

/* ---------- Responsive ---------- */
@media (min-width: 1600px) {
  html {
    font-size: 112%;
  }
}
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr 1fr;
  }
  .nav {
    gap: 0.9rem;
    font-size: 0.95rem;
  }
}
@media (max-width: 860px) {
  .burger {
    display: block;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg2);
    padding: 0.5rem var(--pad) 1rem;
    border-bottom: 2px solid var(--pk);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .nav.open {
    display: flex;
    animation: drop 0.3s ease;
  }
  .nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid #ffffff12;
  }
  .dd-m {
    display: block;
    position: static;
    min-width: 0;
    border: 0;
    box-shadow: none;
    background: none;
    padding: 0 0 0 1rem;
    animation: none;
  }
  .hero,
  .two {
    grid-template-columns: 1fr;
  }
  .hero {
    text-align: center;
  }
  .hero-i {
    max-width: 480px;
    margin-inline: auto;
  }
  .tilt {
    transform: none;
    max-width: 560px;
    margin-inline: auto;
  }
  .two > div {
    text-align: left;
  }
}
@media (max-width: 480px) {
  .btn {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
  }
  .wa-fab {
    padding: 0.7rem 0.9rem;
    font-size: 0.9rem;
  }
  .card:hover {
    transform: translateY(-4px);
  }
  iframe {
    min-height: 240px;
    aspect-ratio: 1/1;
  }
}
@media (max-width: 340px) {
  .brand {
    font-size: 1.05rem;
  }
  .hdr {
    padding-inline: 0.6rem;
  }
}
@media (max-height: 480px) and (orientation: landscape) {
  .hero {
    padding-block: 1.5rem;
  }
  .nav {
    max-height: calc(100vh - 60px);
  }
}
@media (hover: none) {
  /* touch devices: no sticky hover states */
  .card:hover,
  .tilt:hover,
  .btn:hover {
    transform: none;
  }
  .card:hover img {
    transform: none;
  }
  .tilt {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .hdr,
  .wa-fab,
  iframe,
  .burger {
    display: none;
  }
  body {
    background: #fff;
    color: #000;
  }
}
