@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --navy: #031C32;
  --black: #000000;
  --pink: #B3365B;
  --pink-bright: #ff6fa5;
  --white: #f5f5f5;
  --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: var(--navy);
  color: var(--white);
  min-height: 100vh;
}

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

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

/* ---------- Buttons ---------- */
.btn, input[type="button"], input[type="submit"] {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: var(--pink);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
  font-size: 0.9rem;
}
.btn:hover, input[type="button"]:hover, input[type="submit"]:hover {
  background: var(--pink-bright);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(179, 54, 91, 0.4);
}
.btn:active, input[type="button"]:active, input[type="submit"]:active {
  transform: translateY(0);
}

/* ---------- Navbar ---------- */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(0,0,0,0.55);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(6px);
  flex-wrap: wrap;
  gap: 10px;
}
.navbar .brand {
  font-family: 'Dancing Script', cursive;
  font-size: 1.8rem;
  color: var(--pink-bright);
  white-space: nowrap;
}
.navbar .brand img { height: 34px; display: inline-block; vertical-align: middle; margin-right: 6px; }
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--pink);
  border-radius: 6px;
  color: var(--white);
  font-size: 1.2rem;
  padding: 4px 10px;
  cursor: pointer;
}
.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.nav-links a:hover { border-color: var(--pink-bright); color: var(--pink-bright); }

@media (max-width: 640px) {
  .nav-toggle { display: inline-block; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.15);
  }
  .nav-links.open { display: flex; }
}

/* ---------- Marquee banner ---------- */
.banner {
  overflow: hidden;
  white-space: nowrap;
  background: var(--pink);
  padding: 8px 0;
}
.banner span {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 14s linear infinite;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: underline;
  font-size: 0.85rem;
}
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  .banner span { animation: none; padding-left: 0; }
}

/* ---------- Hero / video intro ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  padding: 20px;
}
.hero video {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* ---------- Shutter intro screen ---------- */
.shutter-screen {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #000;
}
.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shutter-panel {
  position: absolute;
  left: 0;
  width: 100%;
  height: 51%;
  background: var(--black);
  z-index: 5;
  border-bottom: 2px solid var(--pink);
}
.shutter-panel.bottom { border-bottom: none; border-top: 2px solid var(--pink); }
.shutter-panel.top { top: 0; transform: translateY(0); animation: shutter-open-top 1.1s cubic-bezier(.77,0,.18,1) forwards; animation-delay: 0.35s; }
.shutter-panel.bottom { bottom: 0; transform: translateY(0); animation: shutter-open-bottom 1.1s cubic-bezier(.77,0,.18,1) forwards; animation-delay: 0.35s; }
@keyframes shutter-open-top { to { transform: translateY(-100%); } }
@keyframes shutter-open-bottom { to { transform: translateY(100%); } }

.shutter-screen.closing .shutter-panel.top { animation: shutter-close-top 0.6s cubic-bezier(.77,0,.18,1) forwards; }
.shutter-screen.closing .shutter-panel.bottom { animation: shutter-close-bottom 0.6s cubic-bezier(.77,0,.18,1) forwards; }
@keyframes shutter-close-top { from { transform: translateY(-100%); } to { transform: translateY(0); } }
@keyframes shutter-close-bottom { from { transform: translateY(100%); } to { transform: translateY(0); } }

.shutter-brand {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
  font-family: 'Dancing Script', cursive;
  font-size: 2.6rem;
  color: var(--pink-bright);
  opacity: 0;
  animation: shutter-brand-fade 0.7s ease forwards;
  animation-delay: 0.05s;
  pointer-events: none;
  text-align: center;
  white-space: nowrap;
}
@keyframes shutter-brand-fade {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
  60% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
}

.skip-btn {
  position: absolute;
  bottom: 30px;
  right: 24px;
  z-index: 10;
  opacity: 0;
  animation: fade-in-skip 0.6s ease forwards;
  animation-delay: 1.3s;
}
@keyframes fade-in-skip { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .shutter-panel.top, .shutter-panel.bottom,
  .shutter-screen.closing .shutter-panel.top, .shutter-screen.closing .shutter-panel.bottom { animation: none; transform: translateY(-100%); }
  .shutter-panel.bottom { transform: translateY(100%); }
  .shutter-brand { animation: none; opacity: 0; }
  .skip-btn { animation: none; opacity: 1; }
}

/* ---------- Search ---------- */
.search-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 18px 12px 4px;
  flex-wrap: wrap;
}
.search-row input[type="text"] {
  font-family: 'Poppins', sans-serif;
  padding: 10px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--pink);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  min-width: 200px;
}
.search-row input[type="text"]::placeholder { color: #cccccc99; }

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 18px;
  padding: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.product-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(179, 54, 91, 0.35);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  animation: fade-up 0.5s ease both;
}
.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--pink-bright);
  box-shadow: 0 10px 24px rgba(0,0,0,0.4);
}
.product-card img { height: 130px; object-fit: contain; }
.product-card h3 { margin: 4px 0 0; font-size: 1rem; letter-spacing: 0.5px; }
.product-card p { font-size: 0.78rem; color: #d9d9d9; line-height: 1.4; margin: 0; }
.product-card.hidden { display: none; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Product detail page ---------- */
.product-detail {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px;
  text-align: center;
}
.product-detail h1 {
  font-family: 'Dancing Script', cursive;
  font-size: 2.6rem;
  margin-bottom: 6px;
}
.gallery-main {
  width: 100%;
  max-width: 320px;
  margin: 0 auto 12px;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  animation: fade-up 0.4s ease both;
}
.gallery-main img { width: 100%; }
.thumb-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.thumb-row img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.7;
  transition: opacity 0.2s, border-color 0.2s;
}
.thumb-row img:hover, .thumb-row img.active { opacity: 1; border-color: var(--pink-bright); }

.spec-card {
  display: inline-block;
  text-align: left;
  border: 1px solid var(--pink);
  border-radius: var(--radius);
  padding: 4px 0;
  margin: 0 auto 20px;
  min-width: 260px;
  background: rgba(255,255,255,0.04);
}
.spec-card div {
  padding: 8px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.88rem;
}
.spec-card div:last-child { border-bottom: none; font-weight: 700; }
.spec-card .label { opacity: 0.7; margin-right: 6px; }

/* ---------- Forms ---------- */
.form-wrap {
  max-width: 460px;
  margin: 30px auto;
  padding: 22px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--pink);
  border-radius: var(--radius);
}
.form-wrap h1 {
  font-family: 'Dancing Script', cursive;
  text-align: center;
  font-size: 2.2rem;
  margin-top: 0;
}
.form-row { margin-bottom: 14px; }
.form-row label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
  opacity: 0.85;
}
.form-row.two { display: flex; gap: 10px; }
.form-row.two > div { flex: 1; }
.form-wrap input[type="text"],
.form-wrap input[type="password"],
.form-wrap input[type="email"],
.form-wrap input[type="tel"],
.form-wrap input[type="number"],
.form-wrap input[type="month"] {
  width: 100%;
  padding: 9px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.35);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
}
.radio-row { display: flex; gap: 16px; font-size: 0.85rem; align-items: center; }
.form-actions { text-align: center; margin-top: 18px; }

/* ---------- Footer ---------- */
footer {
  text-align: center;
  padding: 22px 12px 30px;
  font-size: 0.75rem;
  opacity: 0.75;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 30px;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--pink);
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Confirmation page ---------- */
.confirm-wrap {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  padding: 20px;
}
.checkmark {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid var(--pink-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  animation: pop 0.5s ease;
}
@keyframes pop {
  0% { transform: scale(0); opacity: 0; }
  70% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}
