/* ============================================
   MAIN.CSS — Global reset + base styles
   Import order matters — always first after variables
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:wght@300;400;500;600&display=swap');
@import './variables.css';
@import './utilities.css';
@import './navbar.css';
@import './footer.css';
@import './hero.css';
@import './cards.css';
@import './forms.css';
@import './dashboard.css';

/* ---------- RESET ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }
input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 5%;
}

/* ---------- SECTION ---------- */
.section { padding: var(--section-pad) 5%; }
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: var(--space-2);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.15;
}
.section-sub {
  font-size: 16px;
  color: var(--text-mid);
  margin-top: var(--space-3);
  line-height: 1.7;
  max-width: 560px;
}
.section-head { margin-bottom: var(--space-12); }
.section-head--center { text-align: center; }
.section-head--center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- PAGE HEADER (inner pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  padding: 60px 5% 56px;
  margin-top: var(--nav-height);
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--white);
}
.page-header p {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  margin-top: var(--space-3);
  max-width: 520px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.breadcrumb a { color: var(--gold-light); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .section { padding: 60px 4%; }
  .page-header { padding: 40px 4%; }
}


/* ===============================
   HERO SLIDER — FIXED & ENHANCED
   Replace/merge with your main.css slider section
================================ */

/* ── WRAPPER ── */
.hero-slider-wrap {
  width: 100%;
  padding: 20px 5% 0;
  position: relative;
}

/* ── CARD (the white rounded container) ── */
.hero-card {
  width: 100%;
  height: 420px;           /* ← fixed height so images show */
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: #f0f0f0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

/* ── TRACK ── */
.hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* ── SINGLE SLIDE ── */
.hero-slide {
  flex: 0 0 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ── PREV / NEXT ARROWS ── */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  font-size: 18px;
  color: #333;
  line-height: 1;
}

.slider-arrow:hover {
  background: #ffffff;
  box-shadow: 0 6px 24px rgba(0,0,0,0.22);
  transform: translateY(-50%) scale(1.08);
}

.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }

/* ── PAGINATION DOTS ── */
.hero-pagination {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero-pagination .dot {
  width: 8px;
  height: 8px;
  background: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.hero-pagination .dot.active {
  width: 24px;
  border-radius: 6px;
  background: var(--purple, #5b2d8e);
  opacity: 1;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-card { height: 300px; }
}

@media (max-width: 768px) {
  .hero-slider-wrap {
    display: block;
    padding: 12px 3% 0;
  }
  .hero-card { height: 200px; border-radius: 14px; }
  .slider-arrow { width: 34px; height: 34px; font-size: 15px; }
  .slider-arrow.prev { left: 8px; }
  .slider-arrow.next { right: 8px; }
}


