/* Basic CSS for titaniumBlue Website */

/* CSS Custom Properties */
:root {
  --primary-color: #096dbb;
  --secondary-color: #096ebbae;
  --text-color: #333;
  --bg-color: #fff;
  --border-color: #ddd;
  --light-text: #bbb;
  /* Spacing and sizing (use rem/em for responsiveness) */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --btn-radius: 0.35rem;
}

/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.html {
  font-size: 100%;
}

/* Body styles */
body {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  margin: 12rem 0 0 0;
  padding: 0 6vw;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

/* Menu Bar styles */
/* Header styles */
header {
  position: fixed;
  display: flex;
  width: 100%;
  left: 0;
  right: 0;
  top: 0;
  padding: 2rem 6vw;
  height: auto;
  background-color: var(--bg-color);
  justify-content: space-between;
  gap: var(--space-md);
  align-items: center;
  z-index: 1000;
}

/* Logo styles */
.logo {
  width: 8rem;
  height: auto;
}

/* Navigation styles */
nav {
  display: flex;
  gap: var(--space-md);
}

nav a {
  text-decoration: none;
  color: var(--primary-color);
  font-size: 1rem;
  font-weight: 300;
  padding: 0.5rem;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--secondary-color);
}

.selected {
  font-weight: bold;
}

/* CTA Button styles */
.cta-button {
  background-color: var(--primary-color);
  color: white;
  min-width: 7rem;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: var(--btn-radius);
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: var(--secondary-color);
}

.cta-button:disabled {
  background-color: var(--border-color);
  cursor: not-allowed;
}

/* Container and columns */
.container {
  display: flex;
  justify-content: space-between;
}

.column {
  flex: 0 0 48%;
  display: flex;
  flex-direction: column;
}

/* Heading styles */
h1 {
  font-size: 3rem;
  color: var(--text-color);
  margin-bottom: var(--space-lg);
  line-height: 1.2;
}

/* Paragraph styles */
p {
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.075rem;
  margin-bottom: var(--space-md);
}

/* Footer styles */
footer {
  background-color: var(--primary-color);
  margin-top: var(--space-xl);
  padding: var(--space-md);
  border-top-left-radius: 0.3125rem;
  border-top-right-radius: 0.3125rem;
}

footer .column {
  justify-content: center;
  align-items: center;
}

footer p {
  text-align: left;
  font-size: 0.9rem;
  margin: 0.25rem 0;
}

footer a {
  font-size: 0.9rem;
  color: #f6f6f6a1;
  text-decoration: none;
}

@media (max-width: 480px) {
  body {
    margin-top: 8rem;
  }

  header {
    padding: 1rem;
    height: auto;
    flex-direction: row;
    gap: var(--space-sm);
  }

  .logo {
    width: 6.5rem;
  }

  .hamburger-btn {
    border: none;
    background-color: inherit;
  }

  .mobile-hide {
    display: none;
  }

  .menu-icon {
    width: 2.5rem;
    max-width: 48px;
    height: auto;
  }

  .menu-icon:hover {
    opacity: 0.7;
  }

  .open {
    display: none;
  }

  nav {
    flex-direction: column;
    position: fixed;
    right: 1rem;
    top: 6.5rem;
    padding: 0.25rem;
    border-radius: 0.5rem;
    background-color: inherit;
    gap: var(--space-xs);
  }

  nav a {
    font-size: 1.25rem;
    -webkit-tap-highlight-color: transparent;
  }

  nav a:active {
    background-color: whitesmoke;
  }

  footer {
    display: flex;
    flex-direction: column-reverse;
    gap: var(--space-sm);
    align-items: center;
  }

  footer p,
  footer a {
    font-size: 0.875rem;
    text-align: center;
  }
}
