/* ChanChana Ent. homepage: black, centered nav, lime call to action.
   Everything is scoped to body.home so other pages are not affected. */

body.home {
  background: #000;
  color: #fff;
  font-family: "Montserrat", sans-serif;
}

/* ---------- Top banner ---------- */
body.home .top-banner {
  background: #111;
  color: #bbb;
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
}
body.home .top-banner a {
  color: #a6ff2e;
}

/* ---------- Navbar: logo left, links centered, icons right ---------- */
body.home .navbar {
  background: #000;
  border: 0;
}
body.home .navbar .nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px;
}
body.home .navbar .logo {
  justify-self: start;
  font-family: "Yellowtail", cursive;
  font-size: 1.7rem;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
}
body.home .navbar .nav-links {
  display: flex;
  gap: 34px;
}
body.home .navbar .nav-links a {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
body.home .navbar .nav-links a:hover,
body.home .navbar .nav-links a.active {
  border-bottom-color: #a6ff2e;
}
body.home .navbar .nav-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}
body.home .navbar .nav-right a {
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  position: relative;
}
body.home .navbar .nav-right a:hover {
  color: #a6ff2e;
}
body.home .cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #a6ff2e;
  color: #000;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

/* ---------- Hero ---------- */
body.home .hero {
  background: #03022d;
  text-align: center;
  padding: 110px 24px 120px;
}
body.home .hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 28px;
}
body.home .hero h1 span {
  display: block;
  font-weight: 700;
  text-transform: none;
}
body.home .hero p {
  max-width: 600px;
  margin: 0 auto;
  color: #ddd;
  font-size: 1.05rem;
  line-height: 1.6;
}
body.home .hero .btn {
  display: inline-block;
  margin-top: 48px;
  padding: 16px 60px;
  background: #a6ff2e;
  color: #000;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(166, 255, 46, 0.25);
}
body.home .hero .btn:hover {
  background: #bbff5c;
}
body.home .hero .btn:focus-visible,
body.home .navbar a:focus-visible {
  outline: 2px solid #a6ff2e;
  outline-offset: 4px;
}

body.home .hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 56px;
  margin-top: 80px;
}
body.home .hero-stats .stat {
  text-align: center;
}
body.home .hero-stats strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
}
body.home .hero-stats span {
  font-size: 13px;
  color: #999;
}

/* ---------- Rest of the homepage on black ---------- */
body.home .section {
  background: #03022d;
}
body.home .section-title {
  text-align: center;
  font-weight: 800;
  color: #fff;
}
body.home .about-text {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: #ccc;
  line-height: 1.7;
}
body.home .dress-card,
body.home .review,
body.home .newsletter {
  background: #03022d;
  color: #fff;
  border: 1px solid #222;
}
body.home .dress-card span {
  color: #fff;
}
body.home .dress-card:hover {
  border-color: #a6ff2e;
}
body.home .review p {
  color: #ccc;
}
body.home .stars {
  color: #a6ff2e;
}
body.home .news-form button {
  background: #a6ff2e;
  color: #000;
  font-weight: 700;
}
body.home footer {
  background: #000;
  color: #ccc;
  border-top: 1px solid #222;
}
body.home footer a {
  color: #ccc;
}
body.home footer a:hover {
  color: #a6ff2e;
}
body.home footer .logo {
  font-family: "Yellowtail", cursive;
  font-size: 1.6rem;
  color: #fff;
}

/* ---------- Small screens ---------- */
@media (max-width: 760px) {
  body.home .navbar .nav-inner {
    grid-template-columns: 1fr auto;
    row-gap: 18px;
  }
  body.home .navbar .nav-links {
    grid-column: 1 / -1;
    order: 3;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px;
  }
  body.home .hero {
    padding: 70px 20px 80px;
  }
  body.home .hero-stats {
    gap: 32px;
    margin-top: 56px;
  }
}

/* ---------- Newsletter / Stay Updated ---------- */
body.home .newsletter {
  background: #111;
  color: #fff;
  border: 1px solid #222;
  border-radius: 16px;
  padding: 48px 24px;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

body.home .newsletter h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

body.home .newsletter p {
  flex: 1 1 260px;
  min-width: 220px;
  color: #ccc;
  font-size: 0.95rem;
  margin: 0;
}

/* Form Container */
body.home .news-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}

/* Email Input */
body.home .news-form input[type="email"] {
  flex: 1;
  background: #000;
  border: 1px solid #333;
  color: #fff;
  padding: 14px 20px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

body.home .news-form input[type="email"]::placeholder {
  color: #777;
}

body.home .news-form input[type="email"]:focus {
  border-color: #a6ff2e;
  box-shadow: 0 0 0 2px rgba(166, 255, 46, 0.2);
}

/* Thematic Subscribe Button */
body.home .news-form button {
  background: #a6ff2e;
  color: #000;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(166, 255, 46, 0.25);
  transition:
    background-color 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease;
}

body.home .news-form button:hover {
  background: #bbff5c;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(166, 255, 46, 0.35);
}

body.home .news-form button:active {
  transform: translateY(0);
}

body.home .news-form button:focus-visible {
  outline: 2px solid #a6ff2e;
  outline-offset: 3px;
}

/* Responsive adjustment for mobile screens */
@media (max-width: 520px) {
  body.home .news-form {
    flex-direction: column;
    width: 100%;
  }

  body.home .news-form input[type="email"],
  body.home .news-form button {
    width: 100%;
  }
}

/* ---------- Footer Layout ---------- */
body.home footer {
  background: #000;
  color: #ccc;
  border-top: 1px solid #222;
  padding: 60px 24px 30px;
}

body.home .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

body.home .footer-brand p {
  color: #999;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 16px 0;
  max-width: 280px;
}

body.home .footer-brand .socials {
  display: flex;
  gap: 14px;
  font-size: 1.1rem;
  color: #fff;
}

body.home .footer-brand .socials span {
  cursor: pointer;
  transition: color 0.2s ease;
}

body.home .footer-brand .socials span:hover {
  color: #a6ff2e;
}

body.home .footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.home .footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

body.home .footer-col a,
body.home footer a {
  color: #aaa;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

body.home .footer-col a:hover,
body.home footer a:hover {
  color: #a6ff2e;
}

body.home .footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid #1a1a1a;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #777;
}

/* ---------- Responsive Footer ---------- */
@media (max-width: 900px) {
  body.home .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  body.home .footer-brand {
    grid-column: 1 / -1; /* Brand info spans full width on tablets */
  }
}

@media (max-width: 540px) {
  body.home .footer-grid {
    grid-template-columns: 1fr; /* Stack vertically on small mobile phones */
    gap: 28px;
  }
}

/* ---------- Business Introduction / What We Do Grid ---------- */
body.home .section {
  padding: 60px 24px;
}

body.home .section-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 40px;
  letter-spacing: 0.5px;
}

body.home .dress-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

body.home .dress-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  padding: 24px;
  border-radius: 12px;
  text-decoration: none;
  text-align: center;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

body.home .dress-card:hover {
  transform: translateY(-3px);
}

body.home .dress-card span {
  font-weight: 600;
  font-size: 1.05rem;
}

/* ---------- Responsive Grid for Smaller Screens ---------- */
@media (max-width: 900px) {
  body.home .dress-grid {
    grid-template-columns: repeat(2, 1fr); /* 2x2 grid on tablets */
  }
}

@media (max-width: 540px) {
  body.home .dress-grid {
    grid-template-columns: 1fr; /* Single column stack on small mobile screens */
  }
}

/* ---------- Testimonials / What Our Customers Say Section ---------- */
body.home .reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

body.home .review {
  background: #111;
  color: #fff;
  border: 1px solid #222;
  border-radius: 12px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

body.home .review:hover {
  border-color: #a6ff2e;
  transform: translateY(-2px);
}

body.home .review .stars {
  color: #a6ff2e;
  font-size: 1rem;
  letter-spacing: 2px;
}

body.home .review h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

body.home .review p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ---------- Responsive Testimonials ---------- */
@media (max-width: 900px) {
  body.home .reviews {
    grid-template-columns: 1fr; /* Stack vertically on tablets and mobile */
    max-width: 600px;
  }
}

/* ---------- Global Site Styling (Shared across all pages) ---------- */
body {
  background: #000;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding: 0;
}

/* Top Banner */
.top-banner {
  background: #111;
  color: #bbb;
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
}
.top-banner a {
  color: #a6ff2e;
  text-decoration: underline;
}

/* Navbar Theme */
.navbar {
  background: #000;
  border-bottom: 1px solid #1a1a1a;
}
.navbar .nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px;
}
.navbar .logo-img {
  height: 40px;
  width: auto;
  display: block;
}
.navbar .nav-links {
  display: flex;
  gap: 34px;
}
.navbar .nav-links a {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}
.navbar .nav-links a:hover,
.navbar .nav-links a.active {
  border-bottom-color: #a6ff2e;
}
.navbar .nav-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}
.navbar .nav-right a {
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  position: relative;
}
.navbar .nav-right a:hover {
  color: #a6ff2e;
}

/* Cart Badge */
.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #a6ff2e;
  color: #000;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

/* Shared Buttons */
.btn {
  display: inline-block;
  padding: 16px 60px;
  background: #a6ff2e;
  color: #000;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(166, 255, 46, 0.25);
  transition:
    background-color 0.2s ease,
    transform 0.15s ease;
}
.btn:hover {
  background: #bbff5c;
  transform: translateY(-1px);
}

/* Shared Footer Theme */
footer {
  background: #000;
  color: #ccc;
  border-top: 1px solid #222;
  padding: 60px 24px 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}
.footer-brand .logo-img {
  height: 36px;
  width: auto;
  display: block;
  margin-bottom: 12px;
}
.footer-brand p {
  color: #999;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 16px 0;
  max-width: 280px;
}
.footer-brand .socials {
  display: flex;
  gap: 14px;
  font-size: 1.1rem;
  color: #fff;
}
.footer-brand .socials span {
  cursor: pointer;
  transition: color 0.2s ease;
}
.footer-brand .socials span:hover {
  color: #a6ff2e;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.footer-col a,
footer a {
  color: #aaa;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.footer-col a:hover,
footer a:hover {
  color: #a6ff2e;
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid #1a1a1a;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #777;
}
