@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

:root {
  --primary: #00fff7;
  --dark: #0b0b0b;
  --text-light: #cfcfcf;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background-color: var(--dark);
  color: var(--white);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: radial-gradient(white 1px, transparent 1px), #0b0b0b;
  background-size: 3px 3px;
  opacity: 0.08;
  animation: shimmerStars 60s linear infinite;
}

@keyframes shimmerStars {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 1000px 1000px;
  }
}

body::after {
  content: "";
  position: fixed;
  top: -10%;
  left: -10%;
  width: 120vw;
  height: 120vh;
  background: radial-gradient(circle at 20% 30%, rgba(0, 255, 247, 0.1), transparent 40%),
              radial-gradient(circle at 80% 70%, rgba(255, 0, 255, 0.08), transparent 40%),
              radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05), transparent 40%);
  z-index: -2;
  animation: floatArt 40s linear infinite alternate;
}

@keyframes floatArt {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(-5%, -5%) rotate(360deg);
  }
}


/* Header & Nav */
header {
  background: var(--dark);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: none; /* Removed turquoise underline */
}

.navbar {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 1rem 2rem;
  background: linear-gradient(to right, #000000,  #1b2f2e, #000000); 
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4); */
  justify-content: space-between;
  align-items: center;
}

.navbar h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 2.2rem;
  letter-spacing: 1px;
  color: var(--white);
}

.navbar h1 span {
  color: var(--primary);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  text-shadow: 0 0 8px #00fff7, 0 0 12px #ff6ec4;
  transform: scale(1.05);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
  border-bottom: 2px solid var(--primary);
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--white);
}

/* Slide-in mobile menu */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0px;
    right: -100%;
    width: 60%;
    height: 100vh;
    background: linear-gradient(to bottom, #000000,  #1b2f2e, #000000); 
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    gap: 1.5rem;
    transition: right 0.3s ease-in-out;
    z-index: 999;
  }

  .nav-links.show {
    right: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
  }
}

/* Section */
.section {
  padding: 4rem 2rem;
  scroll-margin-top: 80px;
}

.section h2,
.section h3 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  background: linear-gradient(270deg, var(--white), var(--primary));
  background-size: 200% auto;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientText 3s linear infinite;
}

@keyframes gradientText {
  to {
    background-position: -200% center;
  }
}

/* Paragraph Fade In */
.fade-in-left {
  opacity: 0;
  transform: translateX(-60px);
  animation: fadeInLeft 1.4s ease-out forwards;
}

@keyframes fadeInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Home */
.home .intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.home h2 {
  font-size: 3rem;
}

.home p {
  font-size: 1.2rem;
  color: var(--text-light);
}

.highlight-quote {
  font-family: 'Poppins', sans-serif; /* Changed from 'Great Vibes' */
  font-size: 2.2rem;
  font-weight: 600;
  text-align: center;
  margin: 2rem auto 1.5rem;
  line-height: 1.4;
  max-width: 90%;

  background: linear-gradient(270deg, #ff6ec4, #7873f5, #00fff7);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glowing-text 6s ease infinite;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
}

@keyframes glowing-text {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* About */
.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  text-align: center;
}

.about-container img {
  width: 280px;
  border-radius: 10px;
  border: 4px solid transparent;
  background: linear-gradient(135deg, var(--primary), #0ff) border-box;
  background-origin: border-box;
  background-clip: content-box, border-box;
  animation: pulse-border 3s linear infinite;
}

@keyframes pulse-border {
  0% {
    border-color: #00fff7;
    box-shadow: 0 0 10px #00fff7;
  }
  50% {
    border-color: #0ff;
    box-shadow: 0 0 15px #0ff;
  }
  100% {
    border-color: #00fff7;
    box-shadow: 0 0 10px #00fff7;
  }
}

.info {
  max-width: 500px;
}

.tools {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}

.tools-subheading {
  font-size: 1.2rem;
  color: var(--primary);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.tools img {
  width: 40px;
  margin: 0 0.5rem;
}

/* Portfolio */
#search {
  display: block;
  margin: 0 auto 2rem;
  padding: 0.6rem 1rem;
  width: 80%;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--white);
  font-size: 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  outline: none;
}

/* Hover effect */
#search:hover {
  box-shadow: 0 0 8px rgba(0, 255, 247, 0.3);
}

/* Glow on focus (when clicked) */
#search:focus {
  border-color: #00fff7;
  box-shadow: 0 0 12px #00fff7, 0 0 20px rgba(0, 255, 247, 0.4);
}


.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.art-tile {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  padding: 3px; /* space for border */
  background: linear-gradient(270deg, #00fff7, #ff00ff, #00ffcc, #00fff7);
  background-size: 600% 600%;
  animation: animatedBorder 8s linear infinite;

  display: flex;
  justify-content: center;
  align-items: center;
  height: 300px;
}

.art-tile > img,
.art-tile .art-info {
  border-radius: 7px; /* inner content radius */
}

.art-tile-inner {
  background: var(--white);
  border-radius: 7px;
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
}

.art-tile:hover .art-tile-inner {
  transform: scale(1.03);
}

@keyframes animatedBorder {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.art-tile:hover {
  border-color: var(--primary);
  transform: scale(1.03);
}

.art-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;       /* Show entire image without cropping */
  display: block;
  transition: filter 0.3s ease;
  background: linear-gradient(to right, #000000,  #1b2f2e, #000000);   /* Optional: black background for padding around image */
}


.art-tile:hover img {
  filter: blur(4px);
}

.art-info {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.8);
  color: var(--white);
  text-align: center;
  transition: bottom 0.4s ease;
}

.art-tile:hover .art-info {
  bottom: 0;
}

#loadMore {
  display: block;
  margin: 2rem auto 0;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, #00fff7, #cffffc);
  color: var(--dark);
  border: none;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.4s ease;
}

#loadMore:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #00fff7;
}

/* Testimonials */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.testimonial {
  background: linear-gradient(to bottom, #000000,  #1b2f2e, #000000);
  padding: 2rem;
  border-radius: 10px;
  max-width: 300px;
  text-align: center;
  border: 2px solid transparent;
  transition: border 0.3s ease;
}

.testimonial:hover {
  border-color: var(--primary);
}

.testimonial img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.stars {
  color: gold;
  margin-top: 0.5rem;
}

/* Contact */

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

form input,
form textarea {
  padding: 0.8rem;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--white);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

/* Soft glow on hover */
form input:hover,
form textarea:hover {
  box-shadow: 0 0 8px rgba(0, 255, 247, 0.3);
}

/* Strong glow on focus (click) */
form input:focus,
form textarea:focus {
  border-color: #00fff7;
  box-shadow: 0 0 12px #00fff7, 0 0 20px rgba(0, 255, 247, 0.4);
}


form button {
  background: linear-gradient(135deg, #00fff7, #cffffc);
  color: var(--dark);
  padding: 0.8rem;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.4s ease;
}

form button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #00fff7;
}

/* Contact Guide */
.contact-guide {
  background-color: transparent;
  padding: 3rem 2rem;
}

.contact-guide h2 {
  font-size: 2.4rem;
  background: linear-gradient(270deg, var(--white), var(--primary));
  background-size: 200% auto;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientText 3s linear infinite;
  text-align: center;
  margin-bottom: 1.5rem;
}

.guide-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.7;
}

.glow-link {
  color: var(--primary);
  font-weight: bold;
  position: relative;
  text-decoration: none;
  padding: 0 6px;
  animation: glowPulse 1.8s infinite ease-in-out;
  transition: color 0.3s ease;
}

.glow-link:hover {
  color: #cffffc;
  text-shadow: 0 0 10px #00fff7, 0 0 20px #00fff7;
}

@keyframes glowPulse {
  0%, 100% {
    text-shadow: 0 0 6px #00fff7, 0 0 12px #00fff7;
  }
  50% {
    text-shadow: 0 0 10px #00fff7, 0 0 20px #cffffc;
  }
}

/* Footer Icons */
.footer-icons {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.footer-icons a {
  font-size: 1.8rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-icons a:hover {
  transform: scale(1.2);
}

.footer-icons .fa-instagram { color: #e1306c; }
.footer-icons .fa-discord  { color: #7289da; }
.footer-icons .fa-twitter { color: #38a0d7; }

footer {
  padding: 2rem;
  background: linear-gradient(to right, #000000,  #1b2f2e, #000000); 
  text-align: center;
  color: var(--text-light);
}

@media screen and (max-width: 768px) {
  .about-container {
    flex-direction: column;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }

  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
  }
}


/* 🌌 Constellation Background Animation */
#constellation-canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: transparent;
}
