/* FONT IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700;900&family=Inter:wght@400;500;700&family=JetBrains+Mono:wght@400;700&display=swap');

/* CSS CUSTOM PROPERTIES */
:root {
  --primary-color: #1A1F2E;
  --accent-red: #FF4757;
  --accent-green: #2ECC71;
  --accent-blue: #3498DB;
  --text-light: #F5F5F5;
  --text-dark: #212529;
  --text-muted: #adb5bd;
  --bg-light: #FFFFFF;
  --border-color: rgba(255, 255, 255, 0.1);
  --shadow-color: rgba(0, 0, 0, 0.25);

  --font-title: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 32px;
  --spacing-xl: 64px;
  --spacing-xxl: 120px;

  --border-radius: 8px;
  --transition-speed: 300ms;
}

/* GLOBAL RESET & BASE STYLES */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--primary-color);
  color: var(--text-light);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--text-light);
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: var(--spacing-lg); }
h3 { font-size: clamp(1.25rem, 4vw, 1.75rem); }

p {
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
  max-width: 70ch;
}

a {
  color: var(--accent-red);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

a:hover, a:focus {
  color: var(--text-light);
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.section {
  padding: var(--spacing-xxl) 0;
}

.section-alt {
  background-color: #161a27;
}

/* BUTTONS */
.btn {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 700;
  text-transform: uppercase;
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--border-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--accent-red);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: #e03b49;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
  color: var(--text-light);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border-color: var(--accent-red);
}

.btn-secondary:hover, .btn-secondary:focus {
  background-color: var(--accent-red);
  color: var(--text-light);
  transform: translateY(-3px);
}

/* HEADER & NAVIGATION */
.main-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: var(--spacing-md) 0;
  background-color: rgba(26, 31, 46, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--transition-speed) ease;
}

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

.logo {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-light);
}

.logo span {
  color: var(--accent-red);
}

.nav-links {
  display: none;
  list-style: none;
}

.nav-links li {
  margin-left: var(--spacing-lg);
}

.nav-links a {
  color: var(--text-light);
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  position: relative;
  padding: var(--spacing-sm) 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-red);
    transition: width var(--transition-speed) ease-in-out;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--accent-red);
}

.mobile-menu-toggle {
  display: block;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1001;
}

.mobile-menu-toggle .icon-bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-light);
  margin: 5px 0;
  transition: all var(--transition-speed) ease;
}

.mobile-nav-open .mobile-menu-toggle .icon-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.mobile-nav-open .mobile-menu-toggle .icon-bar:nth-child(2) {
  opacity: 0;
}
.mobile-nav-open .mobile-menu-toggle .icon-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}


/* HERO SECTION */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center;
  padding: var(--spacing-xl) 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--primary-color) 0%, rgba(26, 31, 46, 0.6) 50%, var(--primary-color) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-bottom: var(--spacing-md);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: var(--spacing-lg);
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

.page-hero {
    min-height: 40vh;
}

/* SECTION HEADINGS */
.section-title {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-title h2 {
    margin-bottom: var(--spacing-sm);
}

.section-title p {
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}

/* FEATURE GRIDS */
.feature-grid {
  display: grid;
  gap: var(--spacing-lg);
}

.feature-card {
  background-color: #161a27;
  padding: var(--spacing-lg);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all var(--transition-speed) ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-red);
  box-shadow: 0 8px 30px var(--shadow-color);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--spacing-md);
  color: var(--accent-red);
}

.feature-card h3 {
 margin-bottom: var(--spacing-sm);
}

/* ABOUT SECTION (LEFT/RIGHT CONTENT) */
.content-split {
    display: grid;
    align-items: center;
    gap: var(--spacing-xl);
}

.content-split .image-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow-color);
}

.content-split .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TESTIMONIALS SECTION */
.testimonial-card {
    background: #161a27;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    border-left: 5px solid var(--accent-blue);
}

.testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: var(--spacing-md);
}

.author-info h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 700;
}
.author-info span {
    color: var(--text-muted);
    font-size: 0.9rem;
}


/* CTA SECTION */
.cta-section {
  background: linear-gradient(45deg, var(--accent-red), var(--accent-blue));
  padding: var(--spacing-xl) 0;
  text-align: center;
  border-radius: var(--border-radius);
  margin: var(--spacing-xxl) auto;
}

.cta-section h2 {
  color: var(--text-light);
  margin-bottom: var(--spacing-lg);
}

/* FOOTER */
.main-footer {
  background-color: #161a27;
  padding: var(--spacing-xl) 0 0;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.footer-column h4 {
  margin-bottom: var(--spacing-md);
  color: var(--text-light);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: var(--spacing-sm);
}

.footer-column ul a {
  color: var(--text-muted);
}

.footer-column ul a:hover {
  color: var(--accent-red);
}

.footer-column p {
    font-size: 0.9rem;
}

.newsletter-form input {
  width: 100%;
  padding: 12px;
  background-color: var(--primary-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  color: var(--text-light);
  margin-bottom: var(--spacing-sm);
}

.newsletter-form button {
    width: 100%;
}

.footer-bottom {
  text-align: center;
  padding: var(--spacing-md) 0;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* DISCLAIMER SECTION */
.disclaimer-section {
  background-color: rgba(0,0,0,0.1);
  padding: var(--spacing-md) var(--spacing-lg);
  margin: var(--spacing-lg) 0;
  border-radius: var(--border-radius);
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.6;
  border: 1px solid var(--border-color);
}
.disclaimer-section strong {
  display: block;
  margin-bottom: var(--spacing-sm);
  color: var(--text-light);
  font-family: var(--font-body);
}

/* CONTACT PAGE */
.contact-grid {
    display: grid;
    gap: var(--spacing-xl);
}
.contact-info-item {
    display: flex;
    align-items: start;
    margin-bottom: var(--spacing-lg);
}
.contact-info-item .icon {
    font-size: 1.5rem;
    color: var(--accent-red);
    margin-right: var(--spacing-md);
    width: 30px;
}
.contact-info-item h3 {
    margin-bottom: var(--spacing-sm);
}

.contact-form .form-group {
    margin-bottom: var(--spacing-md);
}
.contact-form label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    background: #161a27;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1rem;
}
.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}
.contact-form button {
    width: 100%;
}

/* MAP CONTAINER */
.map-container {
  width: 100%;
  height: 450px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-top: 40px;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* GENERIC PAGES (Terms, Privacy) */
.generic-page-content {
    padding: var(--spacing-xxl) 0;
}
.generic-page-content h2,
.generic-page-content h3 {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

/* ARTICLE PAGES */
.article-grid {
    display: grid;
    gap: var(--spacing-lg);
}
.article-card {
    background: #161a27;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform var(--transition-speed) ease;
    border: 1px solid var(--border-color);
}
.article-card:hover {
    transform: translateY(-5px);
}
.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.article-card-content {
    padding: var(--spacing-md);
}
.article-card-content h3 {
    margin-bottom: var(--spacing-sm);
}
.article-card-content a.read-more {
    font-weight: bold;
    display: inline-block;
    margin-top: var(--spacing-sm);
}
.article-body {
    max-width: 800px;
    margin: 0 auto;
}
.article-body img {
    border-radius: var(--border-radius);
    margin: var(--spacing-lg) 0;
}

/* THANK YOU PAGE */
.thank-you-section {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}
.thank-you-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}
.thank-you-icon svg {
  width: 40px;
  height: 40px;
  color: white;
}
.thank-you-section h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 20px;
}
.thank-you-section p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 30px;
}

/* COOKIE BANNER */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(26, 31, 46, 0.95);
  backdrop-filter: blur(5px);
  color: var(--text-light);
  padding: var(--spacing-md) var(--spacing-lg);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  border-top: 1px solid var(--border-color);
}

#cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
  flex-grow: 1;
}

#cookie-banner .cookie-buttons {
  display: flex;
  gap: var(--spacing-sm);
  flex-shrink: 0;
}

/* RESPONSIVE DESIGN */
@media (min-width: 768px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 2fr; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .content-split { grid-template-columns: repeat(2, 1fr); }
  .content-split.reverse .image-container { order: 2; }
  .mobile-menu-toggle { display: none; }
  .nav-links { display: flex; align-items: center;}
}

@media (min-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .article-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 2fr; }
}