
/*-------------------*/
@import url('https://fonts.googleapis.com/css2?family=Margarine&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
html{
  scroll-behavior: smooth;
}
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
h1{
  color: rgb(203, 115, 0);
}

:root {
  /*------------Font Family---------*/
  
  --ff-primary: "Roboto", Snans-serif;
  --ff-secondary: "Inter", Snans-serif;
  --ff-design: "Satisfy", cursive;
  --ff-brand: "Margarine", Snans-serif;

  /*------------ Colors -------------*/
--clr-white: white;
--clr-black: rgb(65, 65, 65);
--clr-red: rgb(255, 0, 0);
--clr-blue: rgb(0, 149, 255);
--clr-gray: rgb(255, 255, 255);
--clr-primary: rgb(9, 231, 57);
--clr-primary-ligth: rgb(170, 255, 0);
--clr-secondary: rgb(234, 0, 255);
  
}

/*------global css ------*/
a{
  text-decoration: none;

}
img{
  width: 100px;
  display: block;
}
h1,h2,h3,h4{
  letter-spacing: 0.5px;
  text-transform: capitalize;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
h1{
  font-size: 3rem;;
}
h2{
  font-size: 2rem;;
}
h3{
  font-size: 1.5rem;;
}
h4{
  font-size: 0.875rem;;
}
p{
  margin-bottom: 1.75rem;
}
body{
  font-family:var(--ff-primary) ;
  background-color: var(--clr-white);
  color: var(--clr-gray);
  line-height: 1.5;
}
.clearfix::after,.clearfix::before{
  content:"";
  clear: both;
  display: table;
}
.section-center{
  padding: 4rem 0;
  width: 85vw;
  margin: 0 auto;
  max-width: 1170px;

}
.section-title h3{
  font-family: var(--ff-design);
  color: #0099ff;
}
.section-title{
  margin-bottom: 2rem;
}
@media  screen and (min-width:992px) {
  .section-center {
    width:95%;
    padding: 4rem 1rem;
  }
  
}

:root {
  --clr-blue: #00aaff;
  --clr-white: #ffffff;
  --transition: all 0.3s ease;
}

#nav-check {
  display: none;
}

/* Toggle open button */
.nav-btn svg {
  fill: var(--clr-blue);
  position: fixed;
  top: 20px;
  left: 20px;
  cursor: pointer;
  z-index: 999;

 
 
}

/* NAVBAR hidden by default */
.sticky-header {
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 1000;
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 40px;
  width: 40px;
  border-radius: 50%;
}

.site-title {
  font-size: 1.5rem;
  color: #007BFF;
  font-weight: bold;
  
}
/*-------------logo----------*/

.navbar {
  position: fixed;
  background-color: rgba(65, 65, 65, 0.95); /* Less transparent */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  transform: translateX(-100%);
  transition: var(--transition);
  z-index: 998;
}

/* Show nav when checked */
#nav-check:checked ~ .navbar {
  transform: translateX(0%);
}

.navbar-header img {
  width: 100px;
  margin: 0 auto;
  border-radius: 50px;
  display: block;
}

.navbar-header {
  position: relative;
  text-align: center;
}

.navbar h1 {
  padding: 1rem;
  font-size: 1.5rem;
  color: transparent;
  background-image: linear-gradient(rgba(0, 217, 255, 0.708), rgb(0, 136, 255));
  background-clip: text;
  -webkit-background-clip: text;
  margin-bottom: -1rem;
  text-transform: uppercase;
}

.nav-close {
  position: absolute;
  right: 15px;
  top: 15px;
}

.nav-close svg {
  fill: var(--clr-white);
  cursor: pointer;
}

.nav-close:hover svg {
  fill: #ff5050;
}

.nav-items {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.nav-link {
  display: block;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 1.2rem;
  padding: 0.75rem 1rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: var(--transition);
}

.nav-link:hover {
  background-color: aqua;
  padding-left: 1.5rem;
  border-left: 0.5rem solid white;
}

@media screen and (min-width: 768px) {
  .navbar {
    width: 35%;
    max-width: 25rem;
  }
}





/*--------------picture----------/
/* Gallery Section */
.gallery-section {
  padding: 50px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.gallery-title {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 30px;
  text-shadow: 1px 1px #ccc;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* Modal Background */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
}

/* Modal Image */
.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
}

/* Arrows */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  font-size: 2rem;
  padding: 15px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  user-select: none;
  transition: 0.3s;
}
.prev { left: 20px; }
.next { right: 20px; }
.prev:hover, .next:hover { color: #ff9800; }

/* Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
}
