/* ==========================================================================
   index.css — MakerSuite Landing Page Styles (Pro Fash Theme)
   ========================================================================== */

/* CSS Variables */
:root {
  --primary-color: #D4AF37;     /* Gold accent */
  --accent-color: #C69A2E;      /* Darker gold for hovers */
  --bg-color: #1E1E1E;          /* Main dark background */
  --panel-bg: #2C2C2C;          /* Slightly lighter panels */
  --text-main: #F5F5F5;         /* Off‐white text */
  --text-muted: #B0B0B0;        /* Muted text */
  --border-color: #3A3A3A;      /* Panel borders */
  --max-width: 1200px;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
}
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* LINKS & BUTTONS */
a {
  color: var(--primary-color);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
.btn-register,
.cta-btn,
.chat-btn,
.register-btn,
.cancel-btn {
  font-family: inherit;
  cursor: pointer;
  border: none;
  border-radius: 4px;
  transition: background 0.3s ease;
}

/* Primary CTA */
.cta-btn,
.btn-register {
  background: var(--primary-color);
  color: var(--bg-color);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
}
.cta-btn:hover,
.btn-register:hover {
  background: var(--accent-color);
}

/* Chat Button */
.chat-btn {
  background: #0077ff; /* Keep WhatsApp blue if desired */
  color: #fff;
  padding: 0.6rem 1.2rem;
}
.chat-btn:hover {
  background: #005bb5;
}

/* Secondary Buttons */
.register-btn {
  background: var(--primary-color);
  color: var(--bg-color);
  padding: 0.6rem 1.2rem;
}
.register-btn:hover {
  background: var(--accent-color);
}
.cancel-btn {
  background: #dc3545;
  color: #fff;
  padding: 0.6rem 1.2rem;
}
.cancel-btn:hover {
  background: #a71d2a;
}

/* HEADER */
.header {
  background: var(--panel-bg);
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.logo {
  height: 40px;
}
.nav-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.nav-list li a,
.nav-list li button {
  font-weight: 500;
  color: var(--text-main);
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
}
.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background: var(--text-main);
  border-radius: 2px;
}

/* HERO */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 0;
}
.hero-content {
  max-width: 50%;
}
.hero-content h1 {
  font-size: 2.75rem;
  color: var(--text-main);
  margin-bottom: 1rem;
}
.brand-highlight {
  color: var(--primary-color);
}
.hero-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--text-muted);
}
.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

/* GENERAL SECTION */
section {
  padding: 4rem 0;
}
section h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}
section p {
  text-align: center;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* FEATURES GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 2rem;
}
.feature-card {
  background: var(--panel-bg);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(212,175,55,0.5);
}
.feature-card h3 {
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}
.feature-card p {
  color: var(--text-main);
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 2rem;
}
.service-card {
  background: var(--panel-bg);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(212,175,55,0.5);
}
.service-card h3 {
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

/* INDUSTRIES GRID (expanded list) */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(150px,1fr));
  gap: 1rem;
  justify-items: center;
}
.industry-card {
  background: var(--panel-bg);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  font-weight: 500;
  text-align: center;
  color: var(--text-main);
}

/* TESTIMONIALS */
.testimonial-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
}
.testimonial-card {
  flex: 0 0 300px;
  background: var(--panel-bg);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  scroll-snap-align: start;
}
.testimonial-card p {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--text-main);
}
.testimonial-card cite {
  display: block;
  text-align: right;
  font-weight: 600;
  color: var(--primary-color);
}

/* FAQS */
.faqs .faq-item {
  max-width: 700px;
  margin: 1rem auto;
}
.faq-item h3 {
  cursor: pointer;
  position: relative;
  padding-right: 1.5rem;
  color: var(--primary-color);
}
.faq-item h3::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-weight: bold;
}
.faq-item.open h3::after { content: '-'; }
.faq-item p {
  display: none;
  margin-top: 0.5rem;
  color: var(--text-main);
}
.faq-item.open p { display: block; }

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 2rem;
  text-align: center;
}
.contact-grid div strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

/* FOOTER */
.footer {
  background: var(--panel-bg);
  color: var(--text-muted);
  text-align: center;
  padding: 2rem 0;
}
.footer-nav {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}
.footer-nav a {
  color: var(--text-muted);
}
.footer-nav a:hover {
  color: var(--text-main);
}

/* REGISTRATION MODAL */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.modal-content {
  background: var(--panel-bg);
  padding: 2rem;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  overflow-y: auto;
  max-height: 90vh;
}
.modal-content h2 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}
.modal-content fieldset {
  border: 1px solid var(--border-color);
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 4px;
}
.modal-content legend {
  padding: 0 0.5rem;
  font-weight: 600;
  color: var(--primary-color);
}
.modal-content label {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}
.modal-content input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: var(--bg-color);
  color: var(--text-main);
}

/* PAGINATION */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.pagination a {
  background: var(--primary-color);
  color: var(--bg-color);
  padding: 0.5rem 1rem;
  border-radius: 4px;
}
.pagination a:hover {
  background: var(--accent-color);
}

/* RESPONSIVE QUERIES */
@media (max-width: 992px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
  }
  .hero-content, .hero-image {
    max-width: 100%;
  }
  .nav-list {
    display: none;
    flex-direction: column;
    background: var(--panel-bg);
    position: absolute;
    top: 100%;
    right: 0;
    width: 80%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
  }
  .nav-list.active {
    display: flex;
  }
  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 600px) {
  section {
    padding: 3rem 0;
  }
  .features-grid,
  .services-grid,
  .industries-grid {
    gap: 1rem;
  }
}
