/* ============ RESET & BASE ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --accent: var(--primary);
  --accent-soft: #ffd9cf;
  --ink: #1a1a1a;
  --black: #1a1a1a;
  --white: #ffffff;
  --gray: #555;
  --gray-100: #f2f2f2;
  --gray-900: #1a1a1a;
  --light-gray: #888;
  --border: #f2f2f2;
  --bg-soft: #f7f8fa;
  --radius: 4px;
  --max-width: 1180px;
  --transition: 0.35s cubic-bezier(.25,.8,.25,1);
  --font-head: 'Righteous', sans-serif;
  --font-body: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-heavy: 800;
  --primary: #ff3300;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: var(--fw-heading);
  line-height: 1.25;
  letter-spacing: normal;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

button { font-family: inherit; cursor: pointer; background: none; border: none; }

.btn {
  font-size: var(--font-size-sm);
  font-weight: var(--fw-semibold);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius);
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
}

.btn-outline {
  border: 1.5px solid var(--accent-soft);
  color: var(--ink);
  background: #fff;
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(255,51,0,0.25);
}

.btn-outline:active { transform: translateY(0); }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  z-index: 1000;
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding: 0 1.5rem;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 260px;
  padding: 8px 16px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 30px;
  background: var(--bg-soft);
  transition: border-color 0.35s cubic-bezier(.25,.8,.25,1), box-shadow 0.35s cubic-bezier(.25,.8,.25,1);
}

.search-box:hover,
.search-box:focus-within {
  border-color: #ff3300;
  box-shadow: 0 0 0 3px rgba(255,51,0,0.08);
}

.search-box input {
  border: none;
  outline: none;
  width: 100%;
  font-size: var(--font-size-sm);
  background: transparent;
  color: inherit;
  font-family: var(--font-body);
}

.search-box svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #9a9ca5;
  cursor: pointer;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: var(--font-size-sm);
  font-weight: var(--fw-medium);
  flex: 1;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  padding: 6px 2px;
  transition: color var(--transition);
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #ff3300;
  transition: width var(--transition);
}

.main-nav a:hover {
  color: #ff3300;
}

.main-nav a:hover::after {
  width: 100%;
}

.has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.has-dropdown svg {
  transition: transform var(--transition);
}

.has-dropdown:hover svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 10px;
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(0,0,0,0.12);
  padding: 0.5rem;
  z-index: 1001;
}

.has-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 0.65rem 0.8rem;
  border-radius: 4px;
  font-size: var(--font-size-sm);
  color: var(--ink);
  transition: background var(--transition), color var(--transition);
}

.dropdown-menu a:hover {
  background: var(--bg-soft);
  color: var(--accent);
}

.nav-cta {
  flex-shrink: 0;
}

.nav-cta-mobile {
  display: none;
}

.burger,
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.burger span,
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: #1a1a1a;
  transition: all var(--transition);
}

.burger.open span:nth-child(1),
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2),
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3),
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============ PAGE INTRO ============ */
.page-intro {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 1.5rem 2.2rem;
}

.page-intro h1 {
  font-size: var(--font-size-3xl);
  font-weight: var(--fw-heavy);
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
}

.intro-text {
  font-size: var(--font-size-sm);
  color: var(--gray);
  line-height: 1.7;
}

/* ============ GALLERY ============ */
.gallery {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.g-row {
  display: grid;
  gap: 4px;
}

.g-row-1 { grid-template-columns: 1fr; }
.g-row-2 { grid-template-columns: 1fr 1fr; }
.g-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-row-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.g-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: #eee;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.g-row-2 .g-item { aspect-ratio: 16 / 11; }
.g-item.tall { aspect-ratio: 16 / 13; }

.join-wrap {
  display: flex;
  justify-content: center;
  padding: 1.8rem 0 2.2rem;
}

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s cubic-bezier(.25,.8,.25,1), filter 0.6s;
}

.g-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.45) 100%);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 1;
}

.g-item::after {
  content: '\002B';
  position: absolute;
  top: 50%; left: 50%;
  width: 38px; height: 38px;
  margin: -19px 0 0 -19px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  color: #fff;
  font-size: var(--font-size-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 2;
}

.g-item:hover img { transform: scale(1.08); }
.g-item:hover::before,
.g-item:hover::after { opacity: 1; transform: scale(1); }

.quote-card {
  position: absolute;
  bottom: 8px; left: 8px; right: 8px;
  background: rgba(255,255,255,0.96);
  border-left: 3px solid var(--accent);
  padding: 0.6rem 0.7rem;
  font-size: var(--font-size-2xs);
  line-height: 1.4;
  border-radius: 2px;
  z-index: 3;
}

.quote-card p { font-style: italic; color: #333; margin-bottom: 0.3rem; }
.quote-card span { font-weight: var(--fw-bold); color: var(--accent); }

.join-wrap {
  display: flex;
  justify-content: center;
  padding: 2.5rem 0 3.5rem;
}

.join-btn { padding: 0.7rem 2.2rem; font-size: var(--font-size-base); }

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.25,.8,.25,1), transform 0.7s cubic-bezier(.25,.8,.25,1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.lightbox.open { opacity: 1; visibility: visible; }

.lightbox img {
  max-width: 88vw;
  max-height: 84vh;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: scale(0.92);
  transition: transform 0.3s ease;
}

.lightbox.open img { transform: scale(1); }

.lb-close, .lb-nav {
  position: absolute;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-radius: 50%;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  transition: background var(--transition), transform var(--transition);
}

.lb-close:hover, .lb-nav:hover { background: var(--accent); transform: scale(1.08); }

.lb-close { top: 1.2rem; right: 1.2rem; }
.lb-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }

/* ============ FOOTER ============ */
.site-footer {
  background: #0a0a0a;
  color: #ddd;
  padding: 3rem 1.5rem 1.5rem;
}

.footer-top {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr 1.4fr;
  gap: 2rem;
}

.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-text small { color: #888; }
.footer-brand p { margin-top: 0.8rem; font-size: var(--font-size-xs); color: #999; max-width: 220px; }

.footer-col h4, .footer-newsletter h4 {
  font-size: var(--font-size-xs);
  font-weight: var(--fw-bold);
  color: #fff;
  margin-bottom: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a {
  display: block;
  font-size: var(--font-size-xs);
  color: #aaa;
  margin-bottom: 0.65rem;
  transition: color var(--transition), padding-left var(--transition);
}

.footer-col a:hover { color: var(--accent); padding-left: 4px; }

.newsletter-form {
  display: flex;
  border: 1.5px solid var(--accent-soft);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.newsletter-form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.6rem 0.8rem;
  font-size: var(--font-size-xs);
  color: #333;
  min-width: 0;
}

.newsletter-form .btn { border: none; border-radius: 0; white-space: nowrap; }
.newsletter-form .btn:hover { transform: none; box-shadow: none; }

.newsletter-msg {
  margin-top: 0.6rem;
  font-size: var(--font-size-xs);
  color: var(--accent);
  min-height: 1em;
}

.site-footer hr {
  border: none;
  border-top: 1px solid #2a2a2a;
  max-width: var(--max-width);
  margin: 2rem auto 1.2rem;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--font-size-xs);
  color: #888;
  flex-wrap: wrap;
  gap: 1rem;
}

.socials { display: flex; gap: 0.7rem; }

.social-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #1c1c1c;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.social-icon:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-newsletter { grid-column: 1 / -1; }
}
/* ============================================
   DARK MODE STYLES
============================================ */
body.dark-mode {
  background: #0f0f0f;
  color: #e0e0e0;
}
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3 {
  color: #ffffff;
}
body.dark-mode .site-header {
  background: rgba(15,15,15,0.96);
  border-bottom: 1px solid #404040;
}
body.dark-mode .search-box {
  background: #1a1a1a;
  border-color: #404040;
  color: #ffffff;
}
body.dark-mode p {
  color: #e0e0e0;
}
body.dark-mode .btn-primary {
  background: #ff3300;
  color: #ffffff;
}
body.dark-mode .site-footer {
  background: #0f0f0f;
  color: #e0e0e0;
}
@media (max-width: 860px) {
  .main-nav { display: none; }
  .header-cta { flex-shrink: 0; }
  .burger { display: flex; }
  .search-box { display: none !important; }
  .nav-wrap { flex-wrap: wrap; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid #eee;
    box-shadow: 0 12px 24px rgba(0,0,0,0.06);
    gap: 1rem;
  }

  .main-nav.open .header-cta-mobile { display: block; }

  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    display: none;
    width: 100%;
    margin-top: 6px;
    padding-left: 12px;
  }
  .has-dropdown.dd-open .dropdown-menu { display: block; }
  .has-dropdown.dd-open svg { transform: rotate(180deg); }
}

@media (max-width: 700px) {
  .g-row-2, .g-row-3 { grid-template-columns: 1fr 1fr; }
  .g-row-4 { grid-template-columns: 1fr 1fr; }
  .g-row-4 .g-item:nth-child(3) { grid-column: span 2; aspect-ratio: 16/9; }
  .quote-card { font-size: var(--font-size-xs); }
}

@media (max-width: 480px) {
  .g-row-2, .g-row-3, .g-row-4 { grid-template-columns: 1fr 1fr; }
  .page-intro { padding: 2.2rem 1.2rem 1.6rem; }
  .intro-text br { display: none; }
  .lb-prev { left: 0.5rem; }
  .lb-next { right: 0.5rem; }
  .lb-close { top: 0.6rem; right: 0.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}/* ============================================
   DARK MODE STYLES - COMMON
============================================ */
body.dark-mode {
  background: #0f0f0f !important;
  color: #e0e0e0 !important;
}

body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode h4 {
  color: #ffffff !important;
}

body.dark-mode h1 .highlight-orange {
  color: #ff3300 !important;
}

body.dark-mode p, body.dark-mode span, body.dark-mode li, body.dark-mode td {
  color: #e0e0e0 !important;
}

body.dark-mode .site-header {
  background: rgba(15,15,15,0.96) !important;
  border-bottom: 1px solid #404040 !important;
}

body.dark-mode .search-box {
  background: #1a1a1a !important;
  border-color: #404040 !important;
  color: #ffffff !important;
}

body.dark-mode .search-box input {
  color: #ffffff !important;
  background: #1a1a1a !important;
}

body.dark-mode .search-box input::placeholder {
  color: #888888 !important;
}

body.dark-mode .main-nav a {
  color: #ffffff !important;
}

body.dark-mode .main-nav a:hover {
  color: #ff3300 !important;
}

body.dark-mode .logo {
  color: #ffffff !important;
}

body.dark-mode .burger span {
  background: #ffffff !important;
}

body.dark-mode .btn-primary {
  background: #ff3300 !important;
  color: #ffffff !important;
}

body.dark-mode .btn-primary:hover {
  background: #ff3300 !important;
}

body.dark-mode .btn-outline {
  border-color: #ffffff !important;
  color: #ffffff !important;
}

body.dark-mode .btn-outline:hover {
  background: #ffffff !important;
  color: #0f0f0f !important;
}

body.dark-mode .site-footer {
  background: #0f0f0f !important;
  border-top: 1px solid #404040 !important;
  color: #e0e0e0 !important;
}

body.dark-mode .footer-col h4 {
  color: #ffffff !important;
}

body.dark-mode .footer-col ul li a {
  color: #e0e0e0 !important;
}

body.dark-mode .footer-col ul li a:hover {
  color: #ff3300 !important;
}

body.dark-mode section {
  background: #0f0f0f !important;
  color: #e0e0e0 !important;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea,
body.dark-mode .form-group select {
  background: #1a1a1a !important;
  border-color: #404040 !important;
  color: #ffffff !important;
}

body.dark-mode .form-group label {
  color: #ffffff !important;
}

body.dark-mode .field input,
body.dark-mode .field textarea,
body.dark-mode .field select {
  background: #1a1a1a !important;
  border-color: #404040 !important;
  color: #ffffff !important;
}

body.dark-mode .field label {
  color: #ffffff !important;
}

body.dark-mode .card, body.dark-mode [class*="card"] {
  background: #1a1a1a !important;
  border-color: #404040 !important;
  color: #e0e0e0 !important;
}

body.dark-mode a {
  color: #ff3300 !important;
}

body.dark-mode a:hover {
  color: #ff8855 !important;
}

body.dark-mode ul, body.dark-mode ol {
  color: #e0e0e0 !important;
}

body.dark-mode strong, body.dark-mode b {
  color: #ffffff !important;
}

body.dark-mode table {
  border-color: #404040 !important;
  color: #e0e0e0 !important;
}

body.dark-mode th, body.dark-mode td {
  border-color: #404040 !important;
}

body.dark-mode th {
  background: #1a1a1a !important;
  color: #ffffff !important;
}

body.dark-mode .modal {
  background: #1a1a1a !important;
}

body.dark-mode .modal-header {
  background: linear-gradient(135deg, #ff3300, #d92b00) !important;
}

body.dark-mode .modal-footer {
  background: #0f0f0f !important;
  border-top-color: #404040 !important;
}

body.dark-mode .overlay {
  background: rgba(0,0,0,0.8) !important;
}


body.dark-mode .info-item {
  color: #121212 !important;
}

body.dark-mode .info-item h3,
body.dark-mode .info-item p {
  color: #000 !important;
}
