/* ===== Reset & Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  transition: background 0.8s ease, color 0.8s ease;
}

/* ===== Glass Overlay (Top) ===== */
.top-glass {
  position: fixed;
  top: -200px;         /* pushes blur above the viewport */
  left: 0;
  right: 0;
  height: 245px;       /* extend enough to cover above + visible area */
  pointer-events: none;
  z-index: 1200;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px); /* Safari support */
}

/* ===== Sections ===== */
.full-screen {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, #1a1a1a, #000000);
  position: relative;
  overflow: hidden;
}

.content-section {
  min-height: 100vh;
  padding: 6rem 2rem;
  background-image: url('black.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  position: relative;
}

/* ===== Social Icons & GIF ===== */
.social-icons {
  position: fixed;
  top: 10px;
  right: 20px;
  display: flex;
  gap: 15px;
  z-index: 1201;
}

.social-link img {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
}

.social-link:hover img {
  transform: scale(1.2);
}

.fixed-gif {
  position: fixed;
  top: 10px;
  left: 20px;
  z-index: 1201;
  max-width: 50px;
}

.fixed-gif img {
  max-width: 100%;
  height: auto;
}

/* ===== Welcome Text & Gradient Effect ===== */
#welcomeText {
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.3;
  text-align: center;
  position: relative;
  z-index: 100;
}

#welcomeText span {
  display: inline-block;
  opacity: 0;
  transform: translateY(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  background: linear-gradient(to right, #FFFFFF, #00FF00, #FFFFFF, #00FF00, #FFFFFF);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient 1.5s linear infinite;
}

#welcomeText span.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* Subtitle */
.subtitle {
  display: block;
  margin-top: 15px;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  opacity: 0.9;
  text-align: center;
  color: #fff; /* Solid color; can make gradient if desired */
}

/* ===== Scroll Overlay (Two Infinite Lines) ===== */
#scrollOverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0px;
  overflow: hidden;
  z-index: 1050;
}

.scrolling-text-line {
  display: flex;
  white-space: nowrap;
  font-size: clamp(1rem, 3vw, 1.6rem);
  font-weight: 400;
  color: #ccc;
  line-height: 1;
  margin: 0;
}

.line1 { animation: scrollLeft 16s linear infinite; }
.line2 { animation: scrollRight 30s linear infinite; }

.scrolling-text-line span {
  margin-right: 2rem;
}

@keyframes scrollLeft {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}

/* ===== About Centered Profile Circle ===== */
.about-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  position: relative;
  z-index: 1050;
  padding-top: 8rem;
}

.profile-circle {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  background-color: rgba(255,255,255,0.05);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-circle img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.profile-circle:hover {
  box-shadow: 0 0 20px rgba(255,255,255,0.5);
}

.about-description {
  max-width: 600px;
  text-align: center;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  line-height: 1.6;
}

/* ===== Subtitle Blink ===== */
.blink {
  animation: blinkSubtitle 1.5s step-start infinite;
}

@keyframes blinkSubtitle {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}   

/* About description text */
.about-description {
  max-width: 600px;
  text-align: center;
  font-size: clamp(1rem, 2.5vw, 1.3rem); /* scales with screen width */
  line-height: 1.6;
  transition: font-size 0.3s ease; /* smooth resizing */
}

/* Optional: even bigger text on larger screens */
@media (min-width: 1024px) {
  .about-description {
    font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  }
}

@media (min-width: 1440px) {
  .about-description {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
  }
}

/* Make profile circle bigger on desktop */
@media (min-width: 1024px) {
  .profile-circle {
    width: 350px;   /* increase width */
    height: 350px;  /* increase height */
  }
}
#portfolio {
  background-image: url('dallas.JPG'); /* Replace with your image file */
  background-size: cover;       /* Makes the image cover the entire section */
  background-position: center;  /* Centers the image */
  background-repeat: no-repeat; /* Prevents repeating */
  min-height: 100vh;            /* Ensure it fills the viewport height */
  color: #fff;                  /* Keep text readable over the image */
  position: relative;
}
/* ===== New Contact Section Styles ===== */
#contact {
  /* Inherits min-height: 100vh from .content-section, but we override background and center content */
  background: #101010; /* A slightly different dark background for contrast */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* Vertically centers content within the section */
  text-align: center;
}

#contact h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

#contact p {
  margin-bottom: 2rem;
  max-width: 600px; /* Constrain the width of the descriptive text */
}

.contact-info {
  margin-top: 1rem;
  display: flex;
  gap: 20px; /* Space between the two links */
}

.contact-link {
  color: #00FF00; /* Uses your neon accent color for the text */
  text-decoration: none;
  border: 1px solid #00FF00; /* Neon border */
  padding: 10px 20px;
  border-radius: 5px;
  transition: background 0.3s ease, color 0.3s ease;
  font-weight: 600;
}

.contact-link:hover {
  background: #00FF00; /* Fills the button with neon color on hover */
  color: #000; /* Changes text color to black for contrast on hover */
}
