/* ===== VECTURION DESIGN SYSTEM ===== */
form {
  width: 100%;
  margin: 0 auto;
}

:root {
  /* Core Brand Colors */
  --roman-blue: #1e3a8a;
  --legionary-gold: #c0a062;
  --eagle-charcoal: #2d3748;
  --marble-light: #f5f3ef;

  /* Aliases for consistency */
  --gold: var(--legionary-gold);
  --navy: var(--roman-blue);
  --light: var(--marble-light);

  /* Theme Variables */
  --bg-primary: var(--navy);
  --text-primary: var(--light);
  --accent: var(--gold);
  --badge-bg: var(--eagle-charcoal);
}

[data-theme="light"] {
  --roman-blue: #2c4da8;
  --legionary-gold: #ae8d4a;
  --eagle-charcoal: #4a5568;
  --marble-light: #ffffff;
  --light-beige: #f0e6d3;

  --bg-primary: var(--marble-light);
  --badge-bg: var(--light-beige);
  --text-primary: var(--eagle-charcoal);
}

/* ===== BASE STYLES ===== */
body {
  font-family: "Inter", sans-serif;
  margin: 0;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  transition: background-color 0.3s ease;
}

* {
  transition: color 0.3s, background-color 0.3s, border-color 0.3s;
}

@media (prefers-reduced-motion) {
  * {
    transition: none !important;
  }
}

/* ===== COMPONENTS ===== */
/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 0 2rem;

  /* Alternative Topographic Gradient currently not in use demo */

  /*   background: linear-gradient(rgba(30, 58, 138, 0.9), rgba(30, 58, 138, 0.95)),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.05) 2px,
      rgba(255, 255, 255, 0.05) 4px
    ),
    linear-gradient(135deg, #0a1a3a 0%, #1e3a8a 100%);
  background-blend-mode: multiply, overlay; */

  /*   HERO Bg foto with blur */

  background: linear-gradient(rgba(30, 59, 138, 0.563), rgba(30, 59, 138, 0.5)),
    url("assets/background.jpg") center/cover;

  /* later need patch for small promotional video.
  
  use this comments for the light mode aswell*/
}

[data-theme="light"] .hero {
  /* background: linear-gradient(
      rgba(245, 243, 239, 0.9),
      rgba(230, 225, 210, 0.95)
    ),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.03) 2px,
      rgba(0, 0, 0, 0.03) 4px
    ),
    linear-gradient(135deg, #f5f3ef 0%, #e5e5e5 100%); */
  background: linear-gradient(
      rgba(245, 243, 239, 0.15),
      rgba(245, 243, 239, 0.655)
    ),
    url("assets/background.jpg") center/cover;
}

.hero-content h1 {
  font-family: "EB Garamond", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
}

#hero-background {
  max-width: 100%;
}

/* Logo */
.header-logo {
  width: 180px;
  height: auto;
  margin: 0 auto 2rem;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));

  [data-theme="light"] & {
    filter: brightness(0.8) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
  }
}

/* Buttons */
.cta-button {
  background: var(--accent);
  color: var(--navy);
  border: 2px solid transparent;
  padding: 1rem 2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.cta-button:hover {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.icon-button {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
}

.icon-button:hover {
  background: rgba(212, 175, 55, 0.1);
}

/* Utility Bar */
.utility-bar {
  position: fixed;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 1rem;
  z-index: 1000;
}

.flag-icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  object-fit: cover;
}

.language-selector {
  position: relative;
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--navy);
  border: 1px solid var(--gold);
  border-radius: 0.5rem;
  padding: 0.5rem;
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 3rem;
}

.language-selector:hover .language-dropdown,
.language-dropdown:focus-within {
  display: flex;
}

.language-dropdown button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 4rem 2rem;
  background: var(--badge-bg);
  color: var(--text-primary);
}

.badge {
  text-align: center;
  max-width: 200px;
}

/* Process Steps */
.process {
  padding: 4rem 2rem;
  text-align: center;

  [data-theme="light"] & {
    background-color: #f5f3ef;
  }
}

.steps {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 250px;
  padding: 1.5rem;
  border-radius: 8px;
  background: linear-gradient(90deg, #1e3a8a 0%, #0a1a3a 50%, #1e3a8a 100%);

  [data-theme="light"] & {
    background: linear-gradient(35deg, #c0a062 0%, #f5f3ef 100%);
  }
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
}

.modal-content {
  border-radius: 10px;
  background: linear-gradient(135deg, #0a1a3a 0%, #1e3a8a 100%);
  margin: 10% auto;
  padding: 2rem;
  width: 80%;
  max-width: 600px;
  /* Flex stuff */
  display: flex;
  align-content: center;
  flex-wrap: wrap;
  flex-direction: column;

  [data-theme="light"] & {
    background: linear-gradient(135deg, #f5f3ef 0%, #e5e5e5 100%);
  }
}

.close {
  color: var(--text-primary);
  float: right;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Form Elements */
#secure-form input,
#secure-form textarea {
  width: 100%;
  padding: 0.8rem 0rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--accent);
  color: var(--text-primary);
  border-radius: 4px;
  [data-theme="light"] & {
    background: var(--badge-bg);
  }
}

#secure-form textarea {
  min-height: 120px;
  resize: vertical;
}

.send-button {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem auto 0;
  transition: transform 0.2s;
}

.send-button:hover {
  transform: scale(1.1);
}

.disclaimer {
  text-align: center;
}

/* ===== UTILITIES ===== */
.dev-banner {
  position: fixed;
  bottom: 10px;
  left: 10px;
  background: #ff0000;
  color: white;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 12px;
  z-index: 1000;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
  .trust-badges,
  .steps {
    flex-direction: column;
    align-items: center;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .modal-content {
    width: 90%;
    margin: 20% auto;
  }
}

.skranji-regular {
  font-family: "Skranji", system-ui;
  font-weight: 400;
  font-style: normal;
}

.skranji-bold {
  font-family: "Skranji", system-ui;
  font-weight: 700;
  font-style: normal;
}
