/*  1) Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Rajdhani:wght@300;500;700&display=swap');

/*  2) Global Layout & Resets */
html, body {
  font-family: 'Rajdhani', sans-serif;
  color: #eee;
  background: url("../images/background.png") no-repeat center/cover fixed;
  font-size: 1.1rem;
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

/*  3) Headers, Buttons, and Nav use synthy Orbitron */
.main-nav a,
.site-header,
h1, h2, h3,
.btn {
  font-family: 'Orbitron', sans-serif;
}

/*  3) Flex Footer  */
main {
  flex: 1 0 auto;
}
footer {
  flex-shrink: 0;
  margin-top: auto;
  text-align: center;
  padding: 1rem;
  background: rgba(0,0,0,0.8);
  color: #bbb;
  font-size: 0.85rem;
}

/*  4) Header & Logo */
.site-header {
  text-align: center;
  padding: 1rem 0;
}
.site-logo {
  max-height: 250px;
  width: auto;
  filter: drop-shadow(0 0 6px #ff6ef5);
}

/*  5) Neon Glow Keyframes */
@keyframes neonGlow {
  from {
    box-shadow: 0 0 10px #ff6ef5, 0 0 20px #ffe66d, 0 0 30px #6effd5;
  }
  to {
    box-shadow: 0 0 20px #ff6ef5, 0 0 30px #ffe66d, 0 0 40px #6effd5;
  }
}

/*  6) Neon Boxes (Welcome & Intros)  */
.neon-box {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 2rem;
  background: rgba(20,20,20,0.8);
  border-radius: 8px;
  text-align: center;
  animation: neonGlow 2s ease-in-out infinite alternate;
}
.welcome-box { border: 2px solid #ff6ef5; }
.intro-box   { border: 2px solid #6effd5; }
.neon-box h2 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}
.welcome-box h2 { color: #ff6ef5; }
.intro-box h2   { color: #6effd5; }
.neon-box p {
  color: #dfd;
  font-size: 1.1rem;
  line-height: 1.4;
}

/*  7) Button Group & Buttons  */
.button-group {
  text-align: center;
  margin: 2rem 0;
}
.btn {
  display: inline-block;
  margin: 0 0.5rem;
  padding: 1.5rem 3rem;
  font-size: 1.3rem;
  color: #111;
  background: linear-gradient(45deg, #ff6ef5, #ffe66d, #6effd5);
  background-size: 300% 300%;
  border-radius: 4px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: transform 0.2s, background-position 3s;
  animation: gradientBG 3s infinite;
}
.btn:hover {
  transform: translateY(-3px) scale(1.02);
}
@keyframes gradientBG {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}

/*  8) About Me Section  */
.about-box {
  min-height: 150px;
  overflow: visible;
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: rgba(20, 20, 20, 0.7);
  border-left: 5px solid #ffe66d;
  border-radius: 4px;
  text-align: center;
  overflow: hidden;
  height: auto;
  box-sizing: border-box;
}
.about-list {
  list-style: none;
  padding-left: 1rem;
  margin-top: 1rem;
}
.about-list li {
  display: block;
  text-align: left;
  margin: 0.75rem 0;
  font-size: 1.1rem;
  line-height: 1.6;
  word-wrap: break-word;
}
.about-list li:before {
  content: "✅ ";
  color: #ffe66d;
}

/* 9) Contact Form */
.contact-box {
  background: rgba(20, 20, 20, 0.7);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  max-width: 900px;
  margin: 2rem auto;
  box-shadow: 0 0 15px rgba(255, 110, 245, 0.3);
}

.contact-box h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #6effd5;
  line-height: 1.4;
}
.contact-box form {
  display: grid;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact-box input,
.contact-box textarea {
  padding: 0.75rem;
  border: 1px solid #555;
  border-radius: 4px;
  background: #222;
  color: #eee;
}
.contact-box input:focus,
.contact-box textarea:focus {
  border-color: #6effd5;
  outline: none;
}
.contact-box button {
  padding: 1.5rem 3rem;
  border: none;
  border-radius: 4px;
  background: #6effd5;
  color: #111;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}
.contact-box button:hover {
  background: #5bd4c4;
}
.cancellation-warning {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #f88;
}

/*  10) Gallery Grid  */
main.gallery-page {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
.image-box {
  background: rgba(30,30,30,0.85);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(251, 255, 0, 0.897);
  transition: transform 0.2s, box-shadow 0.2s;
}
.image-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(255, 0, 115, 0.8);
}

.image-box p {
  padding: 0.75rem;
  font-size: 0.9rem;
  text-align: center;
  color: #ccc;
}

/* 11) Responsive for Mobile  */
@media screen and (max-width: 768px) {
  body {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .site-logo {
    max-width: 90%;
    height: auto;
  }

  .neon-box, 
  .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    width: 100%;
    box-sizing: border-box;
    margin: 0.5rem 0;
  }

  .button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .about-box {
  min-height: 150px;
  overflow: visible;
    padding: 1rem;
    width: 100%;
  }

  .about-box p,
  .about-list li {
    font-size: 1rem;
    line-height: 1.5;
    word-wrap: break-word;
  }

  .two-column {
    grid-template-columns: 1fr !important;
    gap: 1rem;
    padding: 0 1rem;
  }

  .contact-box form {
    grid-gap: 0.5rem;
  }

  footer {
    padding: 1rem 0.5rem;
    text-align: center;
    font-size: 1.2rem;
    color: #eee;
  }

  h2, h3 {
    font-size: 1.5rem;
  }

  p, li {
    font-size: 1rem;
  }
}

@media screen and (max-width: 768px) {
  main.gallery-page {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }

  .image-box img {
    height: auto;
    max-height: 240px;
    object-fit: contain;
  }
}

.image-box img {
  width: 100%;
  max-height: 300px;
  height: auto;
  object-fit: cover;
  display: block;
}

@media screen and (max-width: 768px) {
  main.gallery-page {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }

  .image-box img {
    max-height: 240px;
    object-fit: contain;
  }
}

/* 12) Top Menu Accessibility Improvements */
.main-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color: rgba(0, 0, 0, 0.6);
  border-bottom: 2px solid #6effd5;
}

.main-nav a {
  font-family: 'Share Tech Mono', monospace;
  text-decoration: none;
  font-size: 1.1rem;
  color: #ffe66d;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
}

.main-nav a:hover,
.main-nav a:focus {
  background-color: #ff6ef5;
  color: #111;
  outline: none;
  box-shadow: 0 0 5px #ffe66d, 0 0 10px #6effd5;
}

