/* Atomic Axe — static site
 * Night-time theme: deep navy background, electric blue accent, white text.
 */

:root {
  --bg: #06091a;
  --bg-2: #0b1230;
  --card: #101940;
  --border: rgba(96, 165, 255, 0.22);
  --border-strong: rgba(96, 165, 255, 0.4);
  --text: #f4f8ff;
  --muted: #9fb2d9;
  --primary: #4aa8ff;
  --primary-strong: #7ec3ff;
  --primary-ink: #04122b;
  --danger: #ff6b6b;
  --radius: 12px;
  --max: 1200px;
  --shadow-glow: 0 0 40px rgba(74, 168, 255, 0.25);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary-strong); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { color: var(--text); margin: 0 0 0.5rem; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 600; }

p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 780px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.lead { color: var(--muted); font-size: 1.05rem; max-width: 640px; margin-left: auto; margin-right: auto; }
.prose p { color: var(--muted); font-size: 1.05rem; }

.glow-text { text-shadow: 0 0 24px rgba(74, 168, 255, 0.5); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.05s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.875rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-primary:hover { background: var(--primary-strong); color: var(--primary-ink); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-outline:hover { background: rgba(74, 168, 255, 0.12); color: var(--text); }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(6, 9, 26, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
}
.brand img { height: 40px; width: auto; }

.nav-desktop { display: none; align-items: center; gap: 1.75rem; }
.nav-desktop a { font-size: 0.9rem; font-weight: 500; color: rgba(244, 248, 255, 0.85); }
.nav-desktop a:hover { color: var(--primary); }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  background: transparent; border: none; padding: 8px; cursor: pointer;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.nav-mobile.open { display: flex; }
.nav-mobile a { font-size: 1rem; font-weight: 500; color: rgba(244, 248, 255, 0.9); }

@media (min-width: 768px) {
  .nav-desktop { display: inline-flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* Sections */
.section { position: relative; padding: 6rem 0; }
.section-heading { margin-bottom: 3rem; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 3rem;
}
.hero-glow {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 50% 0%, rgba(74, 168, 255, 0.35) 0%, transparent 45%);
  opacity: 0.5;
}
.hero-inner { text-align: center; max-width: 820px; }
.hero-logo { margin: 0 auto 2rem; max-width: 380px; width: 100%; height: auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 2rem; }
.scroll-down {
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.25rem;
  margin-top: 4rem; color: var(--muted); font-size: 0.85rem;
}
.scroll-down .arrow { animation: bounce 1.6s infinite; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* About */
.about-glow {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 10% 100%, rgba(74, 168, 255, 0.25) 0%, transparent 45%);
  opacity: 0.4;
}
.about-grid { display: grid; gap: 3rem; align-items: center; }
.about-image {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.about-image img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; text-align: center; }
.stat { border: 1px solid var(--border); background: var(--card); border-radius: 10px; padding: 1rem 0.5rem; }
.stat-num { font-size: 1.5rem; font-weight: 800; color: var(--primary); margin: 0 0 0.25rem; }
.stat-label { color: var(--muted); font-size: 0.75rem; margin: 0; }

@media (min-width: 992px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-image { order: 2; }
  .about-copy { order: 1; }
}

/* Carousel */
.carousel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--card);
  max-width: 960px;
  margin: 0 auto;
  box-shadow: var(--shadow-glow);
}
.carousel-track { display: flex; transition: transform 0.5s ease-out; }
.carousel-slide { position: relative; flex: 0 0 100%; }
.carousel-slide img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.carousel-caption {
  position: absolute; inset: auto 0 0 0;
  padding: 4rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(6, 9, 26, 0.95), transparent);
  color: var(--text);
}
.carousel-caption p { margin: 0; font-weight: 600; font-size: 1.05rem; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(6, 9, 26, 0.75); color: var(--primary);
  border: 1px solid var(--border-strong);
  font-size: 1rem; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
.carousel-btn:hover { background: var(--primary); color: var(--primary-ink); }
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }
.carousel-dots {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  display: flex; gap: 8px;
}
.carousel-dots button {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(74, 168, 255, 0.35); border: none; padding: 0; cursor: pointer;
  transition: background-color 0.2s;
}
.carousel-dots button.active { background: var(--primary); }

/* Contact */
.contact-glow {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 90% 0%, rgba(74, 168, 255, 0.3) 0%, transparent 45%);
  opacity: 0.35;
}
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 992px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 0.75rem; }
.contact-list li { display: flex; align-items: flex-start; gap: 0.75rem; color: var(--muted); }
.contact-list .ico { color: var(--primary); }
.contact-list.small li { font-size: 0.9rem; }

.card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
}
@media (min-width: 640px) { .card { padding: 2rem; } }

.contact-form .field { margin-bottom: 1.1rem; }
.contact-form label {
  display: block;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--text);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  background: rgba(74, 168, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(74, 168, 255, 0.15); }
.contact-form .error { color: var(--danger); font-size: 0.75rem; margin: 0.35rem 0 0; min-height: 1em; }
.form-note {
  margin-top: 1rem; padding: 0.75rem 1rem; border-radius: 8px;
  background: rgba(74, 168, 255, 0.1); border: 1px solid var(--border-strong);
  font-size: 0.9rem;
}

/* Visit / Footer */
.visit { border-top: 1px solid var(--border); padding: 4rem 0; }
.visit-grid { display: grid; gap: 3rem; }
@media (min-width: 768px) { .visit-grid { grid-template-columns: repeat(3, 1fr); } }
.map-wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }

.social { display: flex; gap: 0.75rem; margin-top: 0.5rem; }
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--border);
  color: var(--primary); font-weight: 700; font-size: 0.85rem;
  transition: background-color 0.2s, color 0.2s;
}
.social a:hover { background: var(--primary); color: var(--primary-ink); }

.footer-bar {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
