*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  background:url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e")
  no-repeat center/cover;
}
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 18px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: whitesmoke;
  letter-spacing: 2px;
}

.logo span {
  color: white;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav ul li a {
  position: relative;
  text-decoration: none;
  color: #ddd;
  font-weight: 500;
  padding-bottom: 5px;
  transition: color 0.3s ease;
}

/* underline */
nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: rgba(170, 148, 87);
  transition: width 0.3s ease;
}

nav ul li a:hover {
  color: rgba(170, 148, 87);
}

nav ul li a:hover::after {
  width: 100%;
}




/* GLASS CARD */
.glass-card{
  width:900px;
  height:380px;
  display:flex;
  border-radius:28px;
  overflow:hidden;

  background:rgba(255,255,255,0.15);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);

  border:1px solid rgba(255,255,255,0.3);
  box-shadow:0 20px 40px rgba(0,0,0,0.3);
}

/* LEFT TEXT */
.left{
  width:45%;
  padding:50px;
  color:white;
}

.left h1{
  font-size:42px;
  font-weight:700;
  line-height:1.2;
}

.left p{
  margin-top:15px;
  font-size:14px;
  opacity:0.85;
}

/* RIGHT IMAGE */
.right{
  width:55%;
  position:relative;
}

.right img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:20px 0 0 20px;
}

.viewport{
  width:100vw;
  height:100vh;
  overflow:hidden;
}

.slider{
  display:flex;
  width:500vw;
  height:100vh;
  transition:transform 0.8s ease-in-out;
}

.page{
  width:100vw;
  height:100vh;
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
}

.center{
  text-align:center;
  color:white;
}

.glass-box{
  width:500px;
  padding:40px;
  border-radius:20px;
  background:rgba(255,255,255,0.15);
  backdrop-filter:blur(20px);
  border:1px solid rgba(255,255,255,0.3);
  box-shadow:0 20px 40px rgba(0,0,0,0.3);
}

.glass-box h2{
  font-size:32px;
  margin-bottom:15px;
}

/* SKILLS CARD */
.skills-card{
  width:700px;
  padding:40px;
  border-radius:25px;

  background:rgba(255,255,255,0.15);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);

  border:1px solid rgba(255,255,255,0.3);
  box-shadow:0 25px 45px rgba(0,0,0,0.35);
  color:white;
}

/* HEADER */
.skills-header{
  text-align:center;
  margin-bottom:30px;
}

.skills-header h2{
  font-size:36px;
  margin-bottom:10px;
}

.skills-header p{
  font-size:14px;
  opacity:0.85;
}

/* GRID (3 BUTTONS PER ROW) */
.skills-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:15px;
}

/* SKILL BUTTONS */
.skills-grid button{
  padding:14px;
  border-radius:12px;
  border:none;
  font-size:14px;
  font-weight:500;
  cursor:pointer;

  background:rgba(255,255,255,0.2);
  color:white;
  backdrop-filter:blur(10px);

  transition:0.3s ease;
}

.skills-grid button:hover{
  background:rgba(170,148,87,0.9);
  color:black;
  transform:translateY(-4px);
}
/* PROJECTS CARD */
.projects-card{
  width:900px;
  padding:40px;
  border-radius:25px;

  background:rgba(255,255,255,0.15);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);

  border:1px solid rgba(255,255,255,0.3);
  box-shadow:0 25px 45px rgba(0,0,0,0.35);
  color:white;
}

/* HEADER */
.projects-header{
  text-align:center;
  margin-bottom:30px;
}

.projects-header h2{
  font-size:36px;
  margin-bottom:10px;
}

.projects-header p{
  font-size:14px;
  opacity:0.85;
}

/* GRID (3 PER ROW) */
.projects-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
}

/* PROJECT BOX */
.project-box{
  padding:20px;
  border-radius:16px;
  text-align:center;

  background:rgba(255,255,255,0.18);
  backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,0.25);

  transition:0.3s ease;
}

.project-box h3{
  font-size:18px;
  margin-bottom:8px;
}

.project-box p{
  font-size:13px;
  opacity:0.85;
  margin-bottom:15px;
}

/* BUTTON */
.project-box button{
  padding:8px 16px;
  border:none;
  border-radius:20px;
  cursor:pointer;

  background:rgba(170,148,87,0.9);
  color:black;
  font-size:13px;
  font-weight:500;

  transition:0.3s ease;
}

.project-box button:hover{
  transform:translateY(-3px);
  background:white;
}

/* DISABLED BUTTON */
.project-box button:disabled{
  opacity:0.5;
  cursor:not-allowed;
}

/* HOVER EFFECT */
.project-box:hover{
  transform:translateY(-6px);
   background:rgb(50, 181, 228);
}

/* ================================
   RESPONSIVE MEDIA (GLOBAL)
================================ */
img,
video,
audio,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ================================
   HOME GLASS CARD – MOBILE FIX
================================ */
@media (max-width: 900px) {
  .glass-card {
    flex-direction: column;
    width: 92%;
    height: auto;
  }

  .left,
  .right {
    width: 100%;
    padding: 28px;
    text-align: center;
  }

  .left h1 {
    font-size: 32px;
  }

  .right img {
    border-radius: 18px;
  }
}

/* ================================
   SKILLS GRID RESPONSIVE
================================ */
@media (max-width: 768px) {
  .skills-card {
    width: 92%;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================
   PROJECTS GRID RESPONSIVE
================================ */
@media (max-width: 900px) {
  .projects-card {
    width: 95%;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================
   PROJECT MEDIA READY
================================ */
.project-box img,
.project-box video {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 10px;
}

/* ================================
   NAVBAR MOBILE SAFE
================================ */
@media (max-width: 700px) {
  nav {
    padding: 14px 5%;
  }

  nav ul {
    gap: 14px;
    font-size: 14px;
  }
}

/* ================================
   PAGE CENTER FIX (SMALL SCREENS)
================================ */
@media (max-width: 600px) {
  .page {
    padding: 20px;
  }

  .glass-box {
    width: 92%;
  }
}
