/* public/assets/css/styles.css */

:root {
  --bg: #f6f7fb;
  --card: #ffffff;
  --accent: #0a6cff;
  --muted: #657786;
  --radius: 12px;
  --maxw: 1100px;
  --gap: 16px;
  --shadow: 0 6px 22px rgba(15, 23, 42, 0.08);
  --mono: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* GLOBAL RESET */
* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--mono);
  background: var(--bg);
  color: #101828;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px;
}

/* HEADER */
.site-header {
  background: linear-gradient(90deg, #fff, #f9fbff);
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* HERO SECTION */
.hero {
    position: relative;
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    text-align: center;
    overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.6);
}

.hero-content {
  position: relative;
  z-index: 10;
  color: white;
}

.hero-content h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 20px;
}

/* SEARCH BAR INSIDE HERO */
.search-bar {
  margin: 16px auto;
  max-width: 480px;
}
.search-bar input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 16px;
}

/* FEATURED EVENTS */
.section {
  padding: 40px 24px;
}

.section h2 {
  text-align: center;
  margin-bottom: 24px;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--gap);
}

.event-card {
  background: var(--card);
  padding: 14px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.event-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
}
.event-card h3 {
  margin: 12px 0 6px;
  font-size: 18px;
}
.event-card p {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--muted);
}

/* CATEGORY GRID */
.category-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.cat-box {
  width: 150px;
  text-align: center;
  cursor: pointer;
  background: white;
  padding: 14px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: 0.25s;
}
.cat-box:hover {
  transform: translateY(-4px);
}
.cat-box img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}
.cat-box span {
  display: block;
  margin-top: 10px;
  font-weight: 600;
}

/* TESTIMONIALS */
.testimonials {
  background: #eef3ff;
  padding: 60px 20px;
}

.testimonial-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.testimonial {
  background: white;
  padding: 20px;
  border-radius: 12px;
  max-width: 280px;
  box-shadow: var(--shadow);
  text-align: center;
}

.testimonial img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 12px;
}

.testimonial p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}

/* BLOG / NEWS */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.blog-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.blog-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
}

.blog-card h3 {
  margin: 12px 0 10px;
}

.blog-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}

.blog-card a {
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  background: var(--accent);
  color: white;
}
.btn.outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(10, 108, 255, 0.4);
}

/* FOOTER */
.site-footer {
  padding: 20px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

/* MODAL */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 7, 18, 0.35);
  z-index: 1000;
}
.modal.hidden {
  display: none;
}

.modal-inner {
  background: var(--card);
  padding: 18px;
  border-radius: 12px;
  max-width: 520px;
  width: 94%;
  box-shadow: var(--shadow);
  position: relative;
}
.modal-close {
  position: absolute;
  right: 12px;
  top: 10px;
  border: 0;
  background: transparent;
  font-size: 16px;
  cursor: pointer;
}

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}
.form-field label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}
.form-field input,
.form-field textarea {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

/* HEADER */
.main-header {
  width: 100%;
  background: #111;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  color: #fff;
  font-weight: bold;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav a {
  color: #f5f5f5;
  text-decoration: none;
  font-size: 1rem;
  transition: 0.2s;
}

.nav a:hover {
  color: #ff3b6b;
}

/* MOBILE NAV */
@media (max-width: 768px) {
  .nav ul {
    flex-direction: column;
    background: #111;
    position: absolute;
    top: 70px;
    right: 0;
    padding: 15px 30px;
    display: none;
  }

  .nav ul.show {
    display: block;
  }
}
