* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
  }
  
  body {
      background-image: url(../assets/ten.png);
      background-size: cover;
      background-repeat: no-repeat;
      background-attachment: fixed;
      background-position: center;
      color: #333;
      line-height: 1.6;
  }
  .header {
      background: rgba(0, 0, 0, 0.6);
      backdrop-filter: blur(50px);
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      padding: 15px 20px ;
      position: fixed;
      width: 100%;
      height: 80px;
      top: 0;
      left: 0;
      z-index: 1000;
  
  }
  
  /* Navigation container */
  .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-width: 1200px;
      margin: 0 auto;
  }
  .nav-container a {
      text-decoration: none;
  }
  
  /* Logo */
  .logo{
      display: flex;
      justify-content: center;
      align-items: center;
  }
  .logo h2 {
      color:#F8F8F8;
      font-family: poppins;
      font-size: 20px;
      font-weight: 400;
      letter-spacing: 3%;    
  }
  .logo img {
      max-width: 55px;
      height: 56px;
  }
  
  /* Navigation Links */
  .nav-links {
      display: flex;
      justify-content: center;
      gap: 20px;
      color:#F8F8F8;
  }
  
  .nav-links a {
      text-decoration: none;
      color: #F8F8F8;
      font-weight: 400;
      font-family: inter;
      font-size: 16px;
      transition: color 0.3s;
  }
  
  .nav-links a:hover {
      color: #E1BA15;
  }
  
  /* Contact Button */
  .nav-container button {
      background: #E1BA15;
      color:#090909;
      width: 167px;
      padding: 10px 15px;
      border: none;
      cursor: pointer;
      border-radius: 4px;
  }
  
  .nav-container button a {
      color:#090909;
      font-size: 14px;
      font-family: poppins;
      font-weight: 600;
      line-height: 14px;
      text-align: center;
      text-decoration: none;
  }
  
  /* Hamburger Menu (Hidden by default) */
  .menu-toggle {
      display: none;
      flex-direction: column;
      cursor: pointer;
  }
  
  .menu-toggle div {
      width: 30px;
      height: 3px;
      background: #333;
      margin: 5px 0;
      transition: 0.3s;
  }
  
  /* Responsive Styles */
  @media (max-width: 768px) {
      .nav-links {
          display: none;
          flex-direction: column;
          position: absolute;
          top: 60px;
          left: 0;
          width: 100%;

          text-align: center;
          box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
          padding: 15px 0;
      }
  
      .nav-links a {
          display: block;
          padding: 10px;
          color: #070707; 
      }
  
      .menu-toggle {
          display: flex;
          color: #E1BA15;
      }
  
      /* When menu is active */
      .nav-links.active {
          display: flex;
          background-color: #F8F8F8;
      }
      button{
          display: none;
      }
  }
  /* end header */
/* grid-container  */
.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; 
    gap: 20px;
    max-width: 1200px;
    margin: 120px auto;
    padding: 3rem;
    border-radius: 1rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    color: #aaaaaa;
    direction: rtl;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
/* col 1 */
.first-column {
    grid-column: 1; 
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.first-column h1 {
    color: #E1BA15;
    font-size: 1.8em;
    text-align: center;
}

.first-column img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #E1BA15;
}

.first-column .text-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: right;
}

.first-column .text-container p {
    font-size: 1em;
    line-height: 1.6;
    margin: 0;
}

/* col 2*/
.second-column {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: right;
}

.second-column p {
    font-size: 1em;
    line-height: 1.6;
}
/* col 3 */
.third-column {
    grid-column: 3;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: right;
}

.third-column p {
    font-size: 1em;
    line-height: 1.6;
}
/* sublines  */
.first-column p strong,
.second-column p strong,
.third-column p strong {
    color: #E1BA15;
    font-weight: bold;
}

/*  Responsive */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr; 
        grid-template-rows: auto auto auto; 
        padding: 2rem;
        margin: 100px auto;
    }

    .first-column {
        grid-column: 1;
        grid-row: 1;
    }

    .second-column {
        grid-column: 1;
        grid-row: 2;
    }

    .third-column {
        grid-column: 1;
        grid-row: 3;
    }

    .first-column img {
        max-height: 300px;
    }
}

@media (max-width: 480px) {
    .grid-container {
        padding: 1.5rem;
    }

    .first-column h1 {
        font-size: 1.5em;
    }

    .first-column img {
        max-height: 200px;
    }

    .first-column .text-container p,
    .second-column p,
    .third-column p {
        font-size: 0.9em;
    }
}

/* geology overview */
.geology-overview {
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(50px) ;
    text-align: right; 
}

.geology-overview h2 {
    font-size: 28px;
    color: #E1BA15;
    margin-bottom: 20px;
    text-align: center;
}

.geology-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.geology-text {
    flex: 2;
    font-size: 16px;
    color: #aaaaaa;
    line-height: 1.6;
}

.geology-text h3 {
    font-size: 20px;
    color: #E1BA15;
    margin-top: 20px;
}

.geology-image {
    flex: 1;
}

.geology-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
   
}

@media (max-width: 768px) {
    .geology-content {
        flex-direction: column;
    }
}


/* Gallery */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30%, 1fr));
    gap: 20px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Popup */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease; 
}

.popup.active {
    display: flex;
    opacity: 1;
}

.popup-content {
    background-color: #fff;
    padding: 25px;
    border-radius: 15px;
    max-width: 700px;
    width: 90%;
    text-align: right;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); 
    transform: scale(0.8);
    animation: popupFadeIn 0.3s ease forwards;
    max-height: 90vh; 
    overflow-y: auto; 
}

.popup-content img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 2px solid #E1BA15; 
}

.popup-content h2 {
    color: #E1BA15;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.popup-content p {
    color: #444;
    font-size: 1.1em;
    line-height: 1.6;
}

.close-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 30px;
    color: #E1BA15;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #ffde4a;
}
/* btn to move */
.popup-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.nav-btn {
    background-color: #E1BA15;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nav-btn:hover {
    background-color: #ffde4a;
}

.nav-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/*  move of Popup */
@keyframes popupFadeIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* respo*/
@media (max-width: 768px) {
    .gallery-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        padding: 20px;
    }

    .gallery-item img {
        height: 150px;
    }

    .popup-content {
        width: 95%;
        padding: 20px;
    }

    .popup-content img {
        max-height: 350px;
    }
}

@media (max-width: 480px) {
    .gallery-container {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .gallery-item img {
        height: 120px;
    }

    .popup-content {
        padding: 15px;
    }

    .popup-content img {
        max-height: 250px;
    }

    .popup-content h2 {
        font-size: 1.3em;
    }

    .popup-content p {
        font-size: 1em;
    }

    .nav-btn {
        padding: 8px 15px;
    }
}




  /* footer */
  .custom-footer {
    background-color: black;
    color: white;
    text-align: center;
    
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: auto;
    flex-wrap: wrap;
    padding: 40px;
}
.footer-container h3{
    margin-bottom: 20px;    
    color:#F8F8F8;
    font-family: Poppins;
    font-weight: 600;
    font-size: 18px;
    line-height: 6px;
}
.footer-logo{
    min-width: 45%;

}
.footer-logo img{
    width: 11rem;
    height: 11rem;
}

.company,
.reach-us {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: start;
}
.reach-us .info-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.company a {
    font-family: Poppins;
    font-weight: 400;
    font-size: 1rem;
    line-height: 24px;
    display: block;
    color: #F8F8F8;
    text-decoration: none;
}

/* Responsive*/
@media (max-width: 768px) {
    .custom-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        
    }

    .input-group {
        flex-direction: column;
    }

    button {
        width: 100%;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    
    }
    .footer-container{
        gap: 20px;
    }
    
    .footer-container h3{
        text-align: center;
        margin-block: 20px;
        color: #E1BA15;
    }


}


  