/* === Base Reset === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
   
}

body{
   /* path to your image */
  background-size: cover;        /* cover the entire screen */
  background-position: center;   /* center the image */
  background-repeat: no-repeat;  /* no repeat */
  background-attachment: fixed;  
  background-color: rgb(237, 237, 237);
}



/* image-view-box css */

.img-view-box{
  position: absolute;
  width: 70%;
  margin: auto;


}

/* === Navbar Container === */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8); 
   padding: 25px 80px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    margin: auto;
    border-bottom: 1px solid #e5e5e5;
}

/* === Logo Styling === */


.nav-logo a {
  font-family: 'Castoro Titling';
    text-decoration: none;
    font-style: italic;
    color: #61dafb;
    font-weight: bold;
    font-size: 22px;
}

@media (max-width : 600px) {
  .nav-logo a {
    font-size: 14px;
  }
}



/* === Nav Links === */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    
}

.nav-links li a {
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;

    font-family: "Castoro Titling", serif;
    font-weight: 700;
    font-style: italic;
}

/* === Underline Hover Effect === */
.nav-links li a::after {
    content: "";
    display: block;
    height: 2px;
    width: 0%;
    background-color: #61dafb;
    transition: width 0.3s ease;
    position: absolute;
    bottom: -5px;
    left: 0;
}

.nav-links li a:hover {
    color: #61dafb;
}

.nav-links li a:hover::after {
    width: 100%;
}

/* === Hamburger Icon (Hidden on Desktop) === */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: #61dafb;
    background: none;
    border: none;
}

.close-btn{
    display: none;
    width: 20px;
    height: 20px;
    border: none;
    position: absolute;
    top : 10px;
    right : 10px;
    background:none ;
    color: white;
}



/* === Responsive Navbar === */
@media (max-width: 940px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        transition: right 1s ease;
        flex-direction: column;
        background-color: #0d1117;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        text-align: center;
        padding: 20px 0;
        border: 1px solid #c6f2ff;
        margin-top: 25px;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .nav-links li a {
        color: white;
    }

    .nav-links li a::after {
        background-color: #61dafb;
    }

    .nav-links.active {
        display: flex;
    }
}

/* home-img-styling */

.home-img-div {
    display: flex;
    box-shadow: 0 0 12px #fff;
    align-items: center;
    padding: 20px;
    width: 100%;
    /* border: 1px solid gray; */

    /* background-color: #B4EBE6; */
    background-color: rgba(180, 235, 230, 0.6);
    border-radius: 12px;

}

.home-img-div img {
    margin-left: auto;
    width: 50%;
    height: 80vh;
    border-radius: 12px;

}

.home-img-div div {
    width: 50%;
    height: 80vh;
    display: flex;
    align-items:center ;
    justify-content: center;
    font-size: 2.1rem;
    padding-left: 20px;
    padding-right : 20px;
    font-style: italic;

    font-family: "Kaushan Script", cursive;
    font-weight: 400;
    font-style: normal;
}

/* --- Responsive Styling Without Changing Original Code --- */
@media (max-width: 940px) {
    .home-img-div {
      flex-direction: column;
    }
  
    .home-img-div div,
    .home-img-div img {
      width: 100%;
      height: auto;
      padding: 20px;
      text-align: center;
    }
  
    .home-img-div div { 
      font-size: 1.4rem;
      padding: 15px 10px;
    }
  
    .home-img-div img {
      margin-left: 0; /* Remove auto margin so it centers on mobile */
      object-fit: cover;
      border-radius: 10px;
    }
  }
  

/* best-work art section */

.best-works {
    width: 90%;
    margin: 60px auto;
    text-align: center;
    box-shadow: 0 0 12px #fff;
    /* background-color: #B4EBE6; */
    background-color: rgba(180, 235, 230, 0.6);
    border-radius: 12px;
    padding: 30px;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 60px;
    font-family: 'Castoro Titling';
    font-weight: 700;
    font-style: italic;
    color: rgb(0, 0, 0,0.74);
    width: 100%;
    background: radial-gradient(white, transparent);
    
  }

  @media (max-width: 740px) {
    .section-title {
      font-size: 20px;
      
    }
  
  }
  
  .gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }
  
  .gallery img {
    width: 48%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
  }
  
  .gallery img:hover {
    transform: scale(1.05);
  }
  
  /* Responsive: 1 image per row on small devices */
  @media (max-width: 768px) {
    .gallery img {
      width: 100%;
      height: auto;
    }
  }
  
  
  /* image-view-box styling */

  /* Modal container */
.image-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; 
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}

/* Modal image */
.modal-content {
  width: 50%;
  margin-top: 70px;
  border-radius: 10px;
  box-shadow: 0 0 12px #fff;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 14px;
  right: 27px;
  font-size: 21px;
  color: white;
  cursor: pointer;
}


.navbar{
    border-bottom: none;
}

h2{
        font-size: 3rem;
    font-weight: 700 !important;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 0;
}