* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #0d0d0d;
  color: #e9e9e9;
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: white;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Navigation */
.navbar-div {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.1);
  width: 80%;
  max-width: 800px;
  height: 60px;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.navbar-div:hover {
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.navbar-ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  list-style: none;
}

.li-navbar {
  position: relative;
}

.a-navbar {
  color: #e9e9e9;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 16px;
  border-radius: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.a-navbar::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #d13d3d, #e14141);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.a-navbar:hover::before {
  width: 80%;
}

.a-navbar:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}

/* Content Sections */
.content-1 {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero {
  font-family: "inter", sans-serif;
  font-size: 20px;
  font-weight: 300;
  color: #868686;
  letter-spacing: 0.5px;
}

#typed-text {
  border-right: 2px solid #fff;
  padding-right: 4px;
  white-space: nowrap;
  overflow: hidden;
}


.hero-light {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,70,70,0.15), transparent 70%);
  filter: blur(90px);
  animation: moveLight 12s infinite alternate ease-in-out;
  z-index: -1;
}

@keyframes moveLight {
  0% { transform: translate(-20%, -20%); }
  100% { transform: translate(20%, 20%); }
}

/* Fix for hero background */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("teing.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: brightness(0.6);
  z-index: -2;
}

.hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("transparent-overlay-distressed-g.png");
  opacity: 0.08;
  mix-blend-mode: overlay;
  pointer-events: none;
}


/* Fix for logo container hover animation */
.logo-container {
  position: relative;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  animation: float 6s ease-in-out infinite;
  overflow: hidden;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  width: 2px;
  height: 40px;
  background: rgba(255,255,255,0.4);
  border-radius: 2px;
  animation: scrollBlink 1.5s infinite;
}

@keyframes scrollBlink {
  0% { opacity: 0.5; transform: translateY(0); }
  100% { opacity: 1; transform: translateY(10px); }
}


.logo-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 0, 0, 0.3),
    transparent
  );
  transition: left 0.5s ease;
  z-index: 1;
}

.logo-container:hover::before {
  left: 100%;
}

.logo-container:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Ensure logo stays above the hover effect */
.nrva-logo {
  width: 200px;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Enhanced About Section */
.content-2 {
  min-height: 100vh;
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-header {
  margin-bottom: 20px;
}

.content-about {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #d13d3d, #e14141);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}

.about-subtitle {
  font-size: 1.2rem;
  color: #a0a0a0;
  max-width: 600px;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #e9e9e9;
}

.about-text strong {
  color: #fff;
  font-weight: 600;
}

/* Projects Section */
.projects {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.content3-title {
  text-align: center;
  margin-bottom: 50px;
}

.content3-title p {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.content3-title strong {
  background: linear-gradient(90deg, #0077ff, #4169e1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Vertical Album Layout with Square Design */
.album-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-bottom: 80px;
}

.album {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
}

.album:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.album img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.album:hover img {
  transform: scale(1.05);
}

.album:hover img {
  transform: scale(1.05) translateY(-5px);
}


/* Sliding Detail Box */
.album-details {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(209, 61, 61, 0.384), rgba(225, 65, 65, 0.315));
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  border-radius: 12px;
  text-align: center;
}

.album:hover .album-details {
  transform: translateY(0);
}

.album-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.album-year {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
}

.album-artist {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.album-link-btn {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: center;
  width: fit-content;
}

.album-link-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Remove the old overlay */
.overlay {
  display: none;
}

.album-link {
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
  display: block;
}

/* Social Links */
.social-section {
  padding: 60px 20px;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.social-links a {
  color: #e9e9e9;
  font-size: 1.8rem;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-5px);
  background: linear-gradient(135deg, #d13d3d, #e14141);
  box-shadow: 0 10px 20px rgba(255, 0, 0, 0.3);
}

/* Footer */
.ini-footer-1 {
  padding: 20px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-h1 {
  font-size: 0.9rem;
  color: #a0a0a0;
}

/* Responsive Design */

/* Large Desktop */
@media (min-width: 1200px) {
  .content-about {
    font-size: 3.5rem;
  }
  
  .album {
    width: 350px;
    height: 350px;
  }
  
  .nrva-logo {
    width: 250px;
  }
}

/* Desktop */
@media (max-width: 1199px) {
  .content-about {
    font-size: 3rem;
  }
  
  .album {
    width: 320px;
    height: 320px;
  }
}

/* Tablet Landscape */
@media (max-width: 992px) {
  .navbar-div {
    width: 90%;
  }
  
  .content-about {
    font-size: 2.8rem;
  }
  
  .about-subtitle {
    font-size: 1.1rem;
  }
  
  .about-text {
    font-size: 1rem;
  }
  
  .content3-title p {
    font-size: 1.8rem;
  }
  
  .album {
    width: 300px;
    height: 300px;
  }
  
  .album-title {
    font-size: 1.4rem;
  }
  
  .social-links a {
    font-size: 1.6rem;
    width: 45px;
    height: 45px;
  }
}

/* Tablet Portrait */
@media (max-width: 768px) {
  .navbar-div {
    width: 95%;
    height: 50px;
  }
  
  .a-navbar {
    font-size: 0.9rem;
    padding: 6px 12px;
  }
  
  .content-1 {
    min-height: 90vh;
  }
  
  .nrva-logo {
    width: 180px;
  }
  
  .content-2 {
    padding: 80px 15px;
  }
  
  .content-about {
    font-size: 2.5rem;
  }
  
  .about-subtitle {
    font-size: 1rem;
  }
  
  .about-text {
    font-size: 0.95rem;
  }
  
  .projects {
    padding: 60px 15px;
  }
  
  .content3-title p {
    font-size: 1.6rem;
  }
  
  .album {
    width: 280px;
    height: 280px;
  }
  
  .album-title {
    font-size: 1.3rem;
  }
  
  .album-details {
    padding: 25px;
  }
  
  .social-section {
    padding: 40px 15px;
  }
  
  .social-links {
    gap: 20px;
  }
  
  .social-links a {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
  }
}

/* Mobile Landscape */
@media (max-width: 576px) {
  .navbar-div {
    width: 95%;
    height: 50px;
  }
  
  .a-navbar {
    font-size: 0.8rem;
    padding: 5px 10px;
  }
  
  .content-about {
    font-size: 2.2rem;
  }
  
  .about-text {
    font-size: 0.9rem;
  }
  
  .content3-title p {
    font-size: 1.4rem;
  }
  
  .album {
    width: 250px;
    height: 250px;
  }
  
  .album-title {
    font-size: 1.2rem;
  }
  
  .album-details {
    padding: 20px;
  }
}

/* Mobile Portrait */
@media (max-width: 480px) {
  .navbar-div {
    width: 95%;
    top: 15px;
  }
  
  .a-navbar {
    font-size: 0.75rem;
    padding: 4px 8px;
  }
  
  .content-1 {
    min-height: 80vh;
  }
  
  .nrva-logo {
    width: 150px;
  }
  
  .content-2 {
    padding: 60px 15px;
  }
  
  .content-about {
    font-size: 2rem;
  }
  
  .about-subtitle {
    font-size: 0.95rem;
  }
  
  .about-text {
    font-size: 0.85rem;
  }
  
  .projects {
    padding: 40px 15px;
  }
  
  .content3-title {
    margin-bottom: 30px;
  }
  
  .content3-title p {
    font-size: 1.3rem;
  }
  
  .album-container {
    gap: 20px;
    margin-bottom: 40px;
  }
  
  .album {
    width: 220px;
    height: 220px;
  }
  
  .album-title {
    font-size: 1.1rem;
  }
  
  .album-year {
    font-size: 0.9rem;
  }
  
  .album-details {
    padding: 15px;
  }
  
  .album-link-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
  
  .social-section {
    padding: 30px 15px;
  }
  
  .social-links {
    gap: 15px;
  }
  
  .social-links a {
    font-size: 1.4rem;
    width: 38px;
    height: 38px;
  }
  
  .footer-h1 {
    font-size: 0.8rem;
  }
}

/* Small Mobile */
@media (max-width: 360px) {
  .content-about {
    font-size: 1.8rem;
  }
  
  .about-text {
    font-size: 0.8rem;
  }
  
  .content3-title p {
    font-size: 1.2rem;
  }
  
  .album {
    width: 200px;
    height: 200px;
  }
  
  .album-title {
    font-size: 1rem;
  }
  
  .album-details {
    padding: 12px;
  }
}