/* ============================================================
   UBIFORUS — style.css
   Colors:
     #012E40  primary background
     #024959  secondary background / cards
     #026773  borders / dividers / accents
     #3CA6A6  primary accent / CTA / links
     #F2E3D5  primary text / headings
============================================================ */

/* ============================================================
   GOOGLE FONTS
============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;500;700;900&display=swap');


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

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

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  background-color: #012E40;
  color: #F2E3D5;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* No italics anywhere */
em,
i {
  font-style: normal;
}

/* Remove default list styles */
ul,
ol {
  list-style: none;
}

/* Links base */
a {
  color: #3CA6A6;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


/* ============================================================
   NAVIGATION
============================================================ */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: #012E40;
  border-bottom: 1px solid #026773;
}

.nav-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #F2E3D5;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
  flex-shrink: 0;
}

.nav-logo:hover {
  text-decoration: none;
  color: #F2E3D5;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: #3CA6A6;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #F2E3D5;
  text-decoration: none;
}


/* ============================================================
   LAYOUT — CONTAINER & SECTIONS
============================================================ */
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
}

/* Primary background */
.section--primary {
  background-color: #012E40;
  border-top: 1px solid #026773;
}

/* Secondary / alternate background */
.section--alt {
  background-color: #024959;
  border-top: 1px solid #026773;
}

/* Hero overrides */
.section--hero {
  background-color: #012E40;
  padding-top: 180px; /* compensate for fixed nav */
  padding-bottom: 140px;
  border-top: none;
}


/* ============================================================
   TYPOGRAPHY — LABELS, HEADINGS, BODY
============================================================ */

/* Small uppercase section label */
.label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: #3CA6A6;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  margin-bottom: 32px;
}

/* Hero headline */
.hero-headline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(48px, 7vw, 80px);
  color: #F2E3D5;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin-bottom: 32px;
  text-transform: none;
}

/* Thin decorative divider under hero headline */
.divider {
  border: none;
  border-top: 1px solid #026773;
  margin-bottom: 32px;
}

/* Hero subheadline */
.hero-sub {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 20px;
  color: #F2E3D5;
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 48px;
}

/* Section title (registration) */
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 40px);
  color: #F2E3D5;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
  line-height: 1.2;
}

/* Section subtitle */
.section-sub {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 18px;
  color: #F2E3D5;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 600px;
}

/* General body text */
.body-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 18px;
  color: #F2E3D5;
  line-height: 1.7;
  max-width: 760px;
}

/* Superscript reference links */
sup a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 11px;
  color: #3CA6A6;
  text-decoration: none;
  vertical-align: super;
  line-height: 0;
}

sup a:hover {
  text-decoration: underline;
}


/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-block;
  background-color: #3CA6A6;
  color: #012E40;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 18px 40px;
  border-radius: 0;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.btn:hover {
  background-color: #F2E3D5;
  color: #012E40;
  text-decoration: none;
}

/* Form-specific button variant */
.btn--form {
  white-space: nowrap;
  flex-shrink: 0;
}


/* ============================================================
   FAQ — <details> / <summary>
============================================================ */
.faq-item {
  border: 1px solid #026773;
  border-radius: 0;
  margin-bottom: 2px;
  background-color: #024959;
}

/* Remove default triangle in some browsers */
.faq-item summary {
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-question {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #F2E3D5;
  padding: 24px 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  line-height: 1.4;
}

/* Custom indicator using CSS */
.faq-question::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: #3CA6A6;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.2s;
}

.faq-item[open] > .faq-question::after {
  content: '−';
}

/* Open state: change background */
.faq-item[open] {
  background-color: #012E40;
}

.faq-answer {
  border-top: 1px solid #026773;
  padding: 24px 28px;
}

.faq-answer p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 18px;
  color: #F2E3D5;
  line-height: 1.7;
}


/* ============================================================
   REGISTRATION FORM
============================================================ */
.register-form {
  width: 100%;
  max-width: 620px;
  margin-bottom: 20px;
}

.form-row {
  display: flex;
  gap: 0;
  border: 1px solid #026773;
}

.form-input {
  flex: 1;
  background-color: #024959;
  border: none;
  border-radius: 0;
  color: #F2E3D5;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 16px;
  padding: 18px 20px;
  outline: none;
  width: 100%;
}

.form-input::placeholder {
  color: #3CA6A6;
  opacity: 0.7;
}

.form-input:focus {
  background-color: #012E40;
  outline: none;
}

.form-note {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: #3CA6A6;
  letter-spacing: 0.04em;
}


/* ============================================================
   FOLLOW US SECTION
============================================================ */
.follow-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 20px;
  color: #F2E3D5;
  line-height: 1.7;
  margin-bottom: 40px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #3CA6A6;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  border: 1px solid #026773;
  padding: 14px 24px;
  transition: background-color 0.2s, color 0.2s;
}

.social-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.social-link:hover {
  background-color: #3CA6A6;
  color: #012E40;
  text-decoration: none;
}


/* ============================================================
   FOOTER
============================================================ */
#footer {
  background-color: #024959;
  border-top: 1px solid #026773;
  padding: 40px 0;
}

.footer-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-col {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: #F2E3D5;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-center {
  text-align: center;
}

.footer-right {
  text-align: right;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.footer-social-link {
  color: #F2E3D5;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
}

.footer-social-link:hover {
  color: #3CA6A6;
  text-decoration: none;
}


/* ============================================================
   RESPONSIVE — MOBILE (max-width: 768px)
============================================================ */
@media (max-width: 768px) {

  /* Hide nav links, keep logo */
  .nav-links {
    display: none;
  }

  /* Sections */
  .section {
    padding: 80px 0;
  }

  .section--hero {
    padding-top: 120px;
    padding-bottom: 80px;
  }

  /* Container horizontal padding */
  .container {
    padding: 0 20px;
  }

  /* Hero */
  .hero-sub {
    font-size: 18px;
  }

  /* Form: stack vertically */
  .form-row {
    flex-direction: column;
    border: none;
    gap: 12px;
  }

  .form-input {
    border: 1px solid #026773;
    width: 100%;
  }

  .btn--form {
    width: 100%;
    text-align: center;
    padding: 18px 24px;
  }

  /* Footer: stack vertically, center */
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-col,
  .footer-center,
  .footer-right {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  /* Follow us section */
  .social-links {
    gap: 12px;
  }

  .social-link {
    padding: 12px 20px;
    font-size: 13px;
  }

  /* FAQ */
  .faq-question {
    font-size: 16px;
    padding: 20px 20px;
  }

  .faq-answer {
    padding: 20px 20px;
  }

  .faq-answer p {
    font-size: 16px;
  }
}
