/* ================================
   1. Reset & Global Base Styles
   ================================ */

/* Box sizing reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Arial, sans-serif;
  color: #cccccc;
  line-height: 1.6;
  display: flex;
  flex-direction: column;

  /* Set a solid background color behind the gradients */
  background-color: #0a0a0a;

  /* Starfield Background */
  background-image: radial-gradient(circle, #2a2c2f 1px, transparent 1px),
    radial-gradient(circle, #3b3d40 1.5px, transparent 1.5px);
  background-size: 12px 12px, 24px 24px;
  background-repeat: repeat, repeat;
  background-position: 0 0, 0 0;
  transition: background-position 0.1s ease-out;
}

/* =========================
   2. Typography & Elements
   ========================= */

/* Headings */
h1 {
  color: #cccccc;
  margin-top: 0;
}

/* Paragraphs */
p {
  margin-bottom: 1rem;
}

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

/* Lines */
hr {
  border: none;
  border-top: 1px solid #444;
  margin: 1rem 0;
  width: 100%;
}

/* Links (base) */
a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
  font-weight: normal;
}

a:hover {
  color: #ffffff;
  font-weight: bold;
}

.link-highlight a {
  color: #add8e6;
  text-decoration: none;
}

/* ======================
   3. Header & Navigation
   ====================== */

header {
  background-color: #232526;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: left;
}

/* Navigation-specific links */
nav a {
  margin-left: 1rem;
  color: #cccccc;
  text-decoration: none;
}

nav a:hover {
  color: #ffffff;
  font-weight: bold;
}

/* =====================
   4. Main Container
   ===================== */
.container {
  max-width: 800px;
  /* margin: 0 auto; */
  margin: 2rem 0 2rem 1rem;
  padding: 0 1rem;
  opacity: 0;
  box-sizing: border-box;

  /* animation */
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;

  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Fade-in animation when page is loaded */
body.loaded .container {
  opacity: 1;
  transform: translateX(0);
}

/* Page Titles */
.container h1 {
  border-bottom: 5px solid #cccccc;
  padding-bottom: 0.5rem;
}

/* ==========================
   5. Home Page Custom Styles
   ========================== */
main.home-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.home-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 2rem;
}

.home-main h1 {
  font-size: 5em;
  font-weight: bold;
  letter-spacing: 0em;
  text-transform: uppercase;
  margin: 0;
  padding: 0;
  line-height: 0.9;
  border-bottom: none;
}

.home-main p {
  font-size: 1em;
  font-weight: 300;
  margin: 0.5em 0 0;
  padding: 0;
  line-height: 1;
}
.home-main .home-text p {
  font-weight: 700;
  margin-top: 0.3rem;
  margin-bottom: 1rem;
  color: #cccccc;
  font-size: 2rem;
}

.home-main .banner-container img {
  margin-top: 1rem;
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 0.5rem;
}

.founder-note {
  background-color: #1e1e1e;
  color: #cccccc;
  border-left: 4px solid #cccccc;
  padding: 1.5rem;
  margin: 2rem auto;
  border-radius: 8px;
  max-width: 800px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  font-size: 1.05rem;
  line-height: 1.6;
}

.founder-note-link {
  text-align: center;
  margin: 2em 0;
}

.founder-note-link a {
  margin-top: 1em;
  display: inline-block;
  padding: 0.5em 2em;
  background: #cccccc;
  color: #0a0a0a;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  box-shadow: 0 0 16px #666a;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  letter-spacing: 0.03em;
}

.founder-note-link a:hover,
.founder-note-link a:focus {
  background: #fff;
  box-shadow: 0 0 40px #228be6aa;
  transform: translateY(-2px) scale(1.03);
  outline: none;
}

/* ================
   6. Footer Styles
   ================ */

footer {
  margin: 0;
  padding: 0 1rem;
  background-color: #181a1b;
  color: #b0b3b8;
  text-align: center;
}

/* ===========================
   7. Info Section Styles
   =========================== */

.info-section {
  background-color: #1e1f21;
  color: #cccccc;
  padding: 0.75rem 1rem;
  margin: 1rem auto;
  border-top: 2px solid #333;
  border-bottom: 2px solid #333;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  width: 100%;
}

.info-section h2 {
  font-size: 1.7rem;
  margin-top: 1rem;
  color: #cccccc;
  border-left: 4px solid #cccccc;
  border-radius: 5px;
  padding-left: 0.75rem;
}

.info-section p {
  font-size: 1rem;
  margin-top: 0.3rem;
  line-height: 1.4;
  max-width: 750px;
}

.info-section img {
  display: block;
  margin: 0 auto 3rem auto;
  max-width: 100%;
  height: auto;
}

/* =============================
   8. Contact Formspree Form
   ============================= */

form {
  max-width: 600px;
  margin: 1rem 0;
}

input[type="email"],
textarea {
  width: 100%;
  padding: 0.5rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  background-color: #1e1f21;
  color: #ddd;
}

label {
  font-weight: bold;
}

button {
  background-color: #444;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #666;
}

.contact-method-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.7rem;
  color: #cccccc;
  /* border-left: 5px solid #cccccc; */
  padding-left: 0.75rem;
  margin-top: 1rem;
}

.contact-method-title img {
  height: 24px;
  width: auto;
  margin: 0;
  display: inline-block;
}

.contact-method-button {
  display: inline-block;
  padding: 0.6em 1.2em;
  margin: 0.4em;
  font-size: 1rem;
  text-decoration: none;
  color: #fff;
  background-color: #444;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease;
  text-align: center;
}

.contact-method-button:hover {
  background-color: #666;
}

.contact-method-button:active {
  background-color: #bbb;
}

/* =============================
   10. Contact Form
   ============================= */

.contact-form {
  background-color: #1e1f21;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #333;
}

.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 0.6rem;
  margin-top: 0.3rem;
  background-color: #2a2a2d;
  border: 1px solid #444;
  border-radius: 4px;
  color: #ddd;
}

.contact-form button {
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background-color: #444;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #666;
}

/* =============================
   10. Responsive Design (Mobile)
   ============================= */

@media (max-width: 768px) {
  .container {
    margin: 2rem auto;
    padding: 0 1rem;
  }

  .home-main h1 {
    font-size: 3rem;
  }

  .home-main p {
    font-size: 1rem;
  }

  .info-section h2 {
    font-size: 1.4rem;
  }

  .info-section p {
    font-size: 0.95rem;
  }
  .info-section img {
    max-width: 75%;
  }
}

@media (max-width: 480px) {
  .home-main p {
    font-size: 0.9rem;
  }
  .home-main h1 {
    font-size: 2.2rem;
  }

  .info-section h2 {
    font-size: 1.2rem;
  }

  .info-section p {
    font-size: 0.9rem;
  }
  .info-section img {
    max-width: 66%;
  }
}

/* Starfield Effect */

@keyframes starScroll {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 1000px;
  }
}

body {
  animation: starScroll 300s linear infinite;
}
