*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Arial, sans-serif;
}

body{
  background:linear-gradient(120deg,#141e30,#243b55);
  color:white;
}

nav{
  display:flex;
  justify-content:center;
  gap:30px;
  padding:20px;
  background:rgba(0,0,0,0.5);
}

nav button{
  background:none;
  border:2px solid #ffcc00;
  color:white;
  padding:10px 25px;
  cursor:pointer;
  border-radius:20px;
  transition:0.3s;
}

nav button:hover{
  background:#ffcc00;
  color:black;
}

.container{
  padding:40px;
  text-align:center;
}

.profile-img{
  width:220px;
  border-radius:20px;
  margin-top:20px;
  transition:0.4s;
}

.profile-img:hover{
  transform:scale(1.05);
}

.gallery{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:20px;
  margin-top:30px;
}

.gallery img{
  width:100%;
  border-radius:15px;
  transition:0.3s;
  cursor: pointer;
  opacity: 0.8;
}

.gallery img:hover{
  transform:scale(1.08);
  opacity: 1;
  border: 2px solid #ffcc00;
}

.quote{
  margin-top:25px;
  font-style:italic;
  opacity:0.9;
}
video:hover{
  transform:scale(1.05);
  transition:0.3s;
  width: 100px;
}
/* ============================= */
/* 📱 Mobile Devices (max 600px) */
/* ============================= */
@media (max-width: 600px) {

  nav{
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
  }

  nav button{
    padding: 8px 16px;
    font-size: 14px;
  }

  h1{
    font-size: 26px;
  }

  .container{
    padding: 20px;
  }

  .profile-img{
    width: 100%;
    max-width: 260px;
  }

  .gallery{
    grid-template-columns: repeat(2, 1fr);
  }

  video{
    height: auto;
  }

  .modal-content{
    width: 95%;
    padding: 20px;
  }
}

/* ================================ */
/* 📱 Tablet Devices (601px–900px) */
/* ================================ */
@media (min-width: 601px) and (max-width: 900px) {

  h1{
    font-size: 32px;
  }

  .gallery{
    grid-template-columns: repeat(3, 1fr);
  }

  .profile-img{
    max-width: 300px;
  }
}

/* ============================= */
/* 💻 Large Screens (901px+) */
/* ============================= */
@media (min-width: 901px) {

  .gallery{
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }

  .profile-img{
    max-width: 350px;
  }
}


/* NAVBAR BASE */
.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:15px 25px;
  background:rgba(0,0,0,0.6);
  position:sticky;
  top:0;
  z-index:999;
}

.logo{
  font-size:20px;
  font-weight:bold;
}

.nav-links{
  display:flex;
  gap:20px;
}

.nav-links button{
  background:none;
  border:2px solid #ffcc00;
  color:white;
  padding:8px 20px;
  border-radius:20px;
  cursor:pointer;
}

/* HAMBURGER */
.hamburger{
  display:none;
  font-size:26px;
  cursor:pointer;
}

/* MOBILE NAV */
@media (max-width: 768px){
  .nav-links{
    position:absolute;
    top:65px;
    right:0;
    background:rgba(0,0,0,0.9);
    flex-direction:column;
    width:200px;
    padding:15px;
    display:none;
  }

  .nav-links.open{
    display:flex;
  }

  .hamburger{
    display:block;
  }
}
