:root{
  --blue:#0b4db3;
  --green:#39b54a;
  --dark:#0a0f1f;
  --card:#11162a;
  --text:#fff;
  --muted:#bfc7d5;
}

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

html{
  scroll-behavior:smooth;
}

body{
  font-family:Arial, sans-serif;
  background:var(--dark);
  color:var(--text);
  line-height:1.6;
}

/* HEADER */
header{
  position:sticky;
  top:0;
  z-index:1000;
  background:#0a0f1fe6;
  backdrop-filter:blur(10px);
  padding:10px 20px;
}

.nav{
  max-width:1200px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
}

.logo{
  display:flex;
  align-items:center;
  gap:10px;
}

.logo img{
  width:50px;
  height:50px;
  border-radius:10px;
  object-fit:cover;
}

nav{
  display:flex;
  flex-wrap:wrap;
}

nav a{
  color:var(--muted);
  text-decoration:none;
  margin-left:15px;
  transition:0.3s;
}

nav a:hover{
  color:#fff;
}

/* HERO */
.hero{
  position:relative;
  height:60vh;

  background:
    url('images/CM1.jpg');

  background-size:cover;
  background-position:center;

  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
}

.overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.6);
}

.hero-content{
  position:relative;
  z-index:2;
}

.hero-content h1{
  font-size:55px;
  margin-bottom:10px;
}

.hero-content p{
  color:#ddd;
  font-size:20px;
}

/* SECTION */
section{
  max-width:1200px;
  margin:auto;
  padding:70px 20px;
}

section h2{
  font-size:35px;
  margin-bottom:25px;
  color:#fff;
}

/* GALLERY GRID */
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:20px;
}

/* IMAGES */
.gallery-grid img{
  width:100%;
  height:320px;

  object-fit:cover;

  border-radius:15px;

  cursor:pointer;

  transition:0.4s ease;
}

.gallery-grid img:hover{
  transform:scale(1.04);
}

/* LIGHTBOX */
.lightbox{
  position:fixed;
  inset:0;

  background:rgba(0,0,0,0.95);

  display:none;

  justify-content:center;
  align-items:center;

  z-index:99999;
}

.lightbox-img{
  max-width:90%;
  max-height:90%;

  border-radius:10px;
}

.close{
  position:absolute;
  top:20px;
  right:30px;

  font-size:50px;
  color:#fff;

  cursor:pointer;
}

/* FOOTER */
footer{
  text-align:center;
  padding:25px;
  border-top:1px solid #222;
  color:var(--muted);
}

/* MOBILE */
@media(max-width:768px){

  .nav{
    flex-direction:column;
  }

  nav{
    justify-content:center;
  }

  nav a{
    margin:8px;
  }

  .hero-content h1{
    font-size:35px;
  }

  .hero-content p{
    font-size:17px;
  }

  section h2{
    font-size:28px;
  }

  .gallery-grid img{
    height:250px;
  }

}