:root {
  --dark-blue: #0a1e42; /* your dark blue */
  --black: #000000;
  --orange: #ff6600;
  --white: #ffffff;
  --text-light: #f0f0f0;
}
html {
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background: linear-gradient(180deg, var(--black) 0%, var(--dark-blue) 100%);
  color: var(--text-light);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}
a {
  color: var(--orange);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
} 

/* Full height + center intro content */

.full-height {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.center-content {
  align-items: center;
  text-align: center;
}
.intro-inner {
  max-width: 600px;
  margin: auto;
}
.cta-button {
  margin-top: 2rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--orange);
  color: var(--white);
  font-weight: bold;
  border-radius: 5px;
  font-size: 1rem;
  display: inline-block;
  transition: background-color 0.2s ease;
  font-size: 1.1rem;
}
.cta-button:hover {
  background-color: #e65a25;
}
.cta-button::after {
  content: " ↓";
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}
.cta-button:hover::after {
  transform: translateY(3px);
} 


/* Sticky Header */


header {
  background-color: rgba(34, 34, 34, 0.85); /* dark gray with 85% opacity */
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  backdrop-filter: saturate(180%) blur(8px); /* subtle blur behind nav */
  transition: background-color 0.3s ease;
}
nav {
  position: sticky;
  top: 0;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  gap: 3rem;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  z-index: 1000;
}
nav .logo {
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--white);
}
.logo {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
}
.logo:hover {
  color: var(--orange);
  text-decoration: none;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
nav ul li a {
  color: var(--text-light);
  font-weight: 500;
}
nav a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}
nav a:hover {
  color: #ff8533; 
  
 
  
  /* orange highlight on hover */
  
  
}
.nav-arrow {
  position: absolute;
  z-index: 10;
  width: 44px;
  height: 44px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: background 0.2s ease;
}
.nav-arrow:hover {
  background: #e65a25;
} 

/* Top arrow: place near top center */


.top-arrow {
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
} 

/* Bottom arrow: place at bottom center */


.bottom-arrow {
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
} 

/* Section layout */ /* Base section style */


section {
  position: relative;
  padding: 4rem 2rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--text-light);
  scroll-margin-top: 60px;
}
.section-content {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1.5rem;
} 

/* INTRO: simple dark blue overlay, text centered */

#intro {
  background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    var(--dark-blue);
  background-size: 40px 40px; /* grid spacing */
  color: var(--white);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 0 1rem;
  font-family: "Poppins", sans-serif;
}
#intro h1 {
  font-size: 3rem;
  font-weight: 400;
  margin: 0;
  letter-spacing: 1px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}
#intro p {
  font-size: 1.25rem;
  margin-top: 1rem;
  color: #ccc;
  max-width: 600px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.highlight-name {
  color: var(--orange);
  text-shadow: 0 2px 10px rgba(255, 102, 0, 0.6);
}

#intro p#tagline {
  font-size:1.5rem;
}

.typing::after {
  content: "|";
  animation: blink 0.8s steps(2, start) infinite;
  color: var(--orange);
  margin-left: 4px;
}

@keyframes blink {
  to {
    visibility: hidden;
  }
}

#about {
  background: linear-gradient(
      135deg,
      rgba(255, 102, 0, 0.05),
      rgba(255, 102, 0, 0.02) 70%
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.015) 0px,
      rgba(255, 255, 255, 0.015) 1px,
      transparent 2px,
      transparent 4px
    ),
    var(--dark-blue);
} 

/* PORTFOLIO: radial gradient spotlight effect */


#portfolio {
  background: radial-gradient(
      circle at center,
      rgba(255, 102, 0, 0.15),
      transparent 70%
    ),
    linear-gradient(
      180deg,
      rgba(10, 30, 66, 0.9) 0%,
      rgba(10, 30, 66, 0.7) 100%
    );
} 

/* CONTACT: subtle noise texture with very low opacity (CSS only) */


#contact {
  background: repeating-radial-gradient(
      circle,
      rgba(255, 255, 255, 0.02) 0,
      rgba(255, 255, 255, 0.02) 2px,
      transparent 3px,
      transparent 5px
    ),
    linear-gradient(180deg, rgba(10, 30, 66, 0.9), rgba(10, 30, 66, 0.8));
}
.full-height {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#intro h1 {
  font-size: 2.5rem;
  color: var(--white);
}
#about h2,
#portfolio h2,
#contact h2 {
  color: var(--orange);
  margin-bottom: 1rem;
}
#portfolio p,
#about p,
#contact p {
  margin-bottom: 2rem;
} 

/* ABOUT SECTION STYLES */


#about {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  text-align: left;
  background-color: rgba(255, 255, 255, 0.03);
}
.about-content {
  padding: 2rem 2.5rem;
  margin: 0 auto;
  max-width: 800px;
  line-height: 1.75;
  font-size: 1.1rem;
  color: var(--text-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  background-color: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 20px rgba(255, 102, 0, 0.1);
  border-radius: 12px;
}
#about h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
} 

/* Portfolio Grid – 2 per row max */


.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  
  /* Force exactly 2 columns */
  
  
  gap: 2rem;
  width: 100%;
  max-width: 1280px;
  margin: 2rem auto 0 auto;
  padding: 0 1rem;
}
@media (max-width: 700px) {
  .portfolio-grid {
    grid-template-columns: 1fr; /* Stack vertically on smaller screens */
  }
}
.portfolio-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}
.portfolio-item:hover {
  transform: translateY(-6px);
}
.portfolio-item img {
  width: 100%;
  height: auto;
  display: block;
}
.portfolio-content {
  padding: 1rem;
  color: var(--text-light); /* Uses light color from theme */
  font-size: 1rem;
  line-height: 1.5;
}
.portfolio-content h3 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: #ffffff; /* Even brighter for headings */
}
.portfolio-content p {
  color: #dddddd; /* Lighter than previous */
} 

/* Contact Form */


form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 8px;
}
label {
  font-weight: bold;
}
input,
textarea,
button {
  padding: 0.75rem;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
}
input,
textarea {
  background-color: #fff;
  color: #000;
}
.contact-form {
  max-width: 600px;
  width: 100%;
  margin: 2rem auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  font-size: 1rem;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
.contact-form button {
  align-self: flex-start;
  padding: 0.75rem 1.5rem;
  background-color: var(--orange);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}
.contact-form button:hover {
  background-color: #e65a00;
}
footer {
  background-color: #050c1a;
  color: var(--text-light);
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-content {
  max-width: 800px;
  margin: 0 auto;
}
footer a {
  color: var(--orange);
  text-decoration: none;
  transition: color 0.3s ease;
}
footer a:hover {
  color: #ff8533;
} 

/* Responsive Navigation */


.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}
@media (max-width: 768px) {
   .section-content {
    padding: 0;
  }
  
  nav {
    justify-content: space-between;
    align-items: center;
  }
  .menu-toggle {
    display: block;
    z-index: 1100;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(10, 30, 66, 0.95);
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
    display: none;
    transition: all 0.3s ease;
    transform-origin: top;
  }
  .nav-links.show {
    display: flex;
    animation: fadeInDown 0.3s ease forwards;
  }
  .nav-links li a {
    font-size: 1.2rem;
  }
  @keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
} 

/* ----------------------------- 
Mobile Hamburger Menu & Nav
----------------------------- */ 
/* Hamburger Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}
.menu-toggle .bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
  
  
} /* Show hamburger on mobile */
@media (max-width: 768px) {
  nav {
    justify-content: space-between;
    align-items: center;
  }
  .menu-toggle {
    display: flex;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(10, 30, 66, 0.95);
    z-index: 1000;
  }
  .nav-links.show {
    display: flex;
  }
  .nav-links li a {
    font-size: 1.2rem;
  }
} /* Animate Hamburger into X */
.menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(10px, 5px);
}
.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -3px);
} 

/* Smooth slide-down animation */
@media (max-width: 768px) {
  .nav-links {
    transition: max-height 0.3s ease, opacity 0.3s ease;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
  }
  .nav-links.show {
    max-height: 500px; /* adjust based on number of links */
    opacity: 1;
  }
}
