@import url('https://fonts.cdnfonts.com/css/adobe-garamond-pro-2');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    width: 100%;
    height: 100%;
    overflow-x: hidden; /* Prevents horizontal scroll */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background:#ebebe3;
}
html
{
    width: 100%;
    overflow-x: hidden;
}
  
header {
   
    width: 100%;
    height: 20vh;
    
  
}

.menu-toggle, .menu-close {
    display: none;
    font-size: 24px;
    cursor: pointer;
  }

  nav {
    top: 0%;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: transparent;
    z-index: 1000; /* Ensure navigation stays on top */
}

nav .nav1 img
{
   height: 50%;
   width: 50%;
   object-fit: cover;
}
nav .nav2 
{
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin: 50px;
    justify-content: center;
    align-content: center;
    justify-items: center;
    align-items: center;

}
nav .nav2 a
{
    text-decoration: none;
    color: black;
    font-family: 'Adobe Garamond Pro', serif;
    font-size:13px;
    font-weight: 20;
}
nav .nav2 i
{
    color: black;
    font-size: 25px;
}
nav .nav2  .social
{
    display: flex;
    flex-direction: row;
    gap: 20px;
}
nav .nav2 .styled-button {
    color: black;
    background-color: #bc9a63;
    padding: 10px 20px; 
    border: solid black 0.5px;
    border-radius: 5px;
    font-family: 'Adobe Garamond Pro', serif;
    font-size: 12px; 
    text-align: center; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    box-sizing: border-box; 
    width: auto;
    max-width: 100%; 
    text-decoration: none; /* Removes underline from the anchor */
    display: inline-block; /* Makes it behave like a button */
}
nav .nav2 .styled-button:hover {
    background-color: #a88554; /* Optional hover effect */
}
.container
{
  columns: 4;
  column-gap:10px;
  background-color: white;
  border-radius: 20px;
  width: 90%;
  padding: 50px;
  cursor: pointer;
  margin: 30px;
  
}
img
{
  width: 100%;
 
}
.grid-images {
    display: inline-block;
    margin-bottom: 5px;
    position: relative;
    z-index: 1; /* Ensure grid-images appear below nav */
}
.modal {
    display: none; /* Hidden by default */
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    display: flex; /* Use Flexbox for centering */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    justify-items: center;
    align-content: center;
    background-color: rgba(0, 0, 0, 0.9); /* Black background with opacity */
  }
  
  /* Close button */
  .modal .close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
   
    cursor: pointer;
  }

  .modal-content {
    display: block; /* Ensures the image behaves like a block element */
    max-width: 90%; /* Ensure it doesn't overflow on smaller screens */
    max-height: 90%; /* Ensure it doesn't overflow vertically */
    margin: auto; /* Centers the image */
    transition: transform 0.25s ease; /* Smooth zooming effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Add a slight shadow for better visibility */
    object-fit: cover;
  }

  footer
  {
      width: 100%;
      margin-top: 20px;
      display: flex;
      flex-direction: row;
      gap: 50px;
      justify-content: space-between;
  }
  footer .logo{
      display: flex;
      flex-direction: column;
      margin: 50px;
      justify-content: center;
      justify-items: center;
      align-items: center;
      align-content: center;
      gap: 20px;
  }
  footer .logo .social
{
    display: flex;
    flex-direction: row;
    gap: 20px;
}
footer .logo .social a{
color: inherit; /* Ensures the icon retains its original color */
text-decoration: none; /* Removes underline effect */
margin: 0 5px; /* Adds spacing between icons */
display: inline-block; /* Makes the anchor behave like the icon */

}
  footer .logo img{
      width: 300px;
      height: 100px;
      object-fit: cover;
  }
  footer .contact
  {
      margin-left: 30px;
      display: flex;
      flex-direction: row;
      gap: 250px;
      margin: 30px 170px 0px 0px;
  }
  footer .contact a{
     
      font-family: 'Adobe Garamond Pro', serif;
      font-size: 14px;
      font-weight: 400;
      font-style: normal;
      text-decoration: none;
      color: black;
  }
  footer .contact .location
  {
      display: flex;
      flex-direction: column;
      gap: 20px;
  }
  
  footer .contact .details
  {
      display: flex;
      flex-direction: column;
      gap: 20px;
  
  }

@media screen and (max-width: 768px)
{
    header {
        position: relative;
        width: 100%;
        height: 40vh; /* Full viewport height */
    }
    nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;          /* Ensure no gap at the top */
        left: 0;
        width: 100%;
        width: 100%;
        background: whitesmoke;
        text-align: center;
        padding: 10px 0;
        z-index: 1000;
    }
    nav .nav1
    {
        display: flex;
        flex-direction: row;
        justify-content: start;
        align-items: center;
        margin: 10px;
        gap: 10px;
        
    }
    nav .nav1 img 
    {
        width: 80%; 
        
    }
    
    
    nav .nav2 {
        display: none; /* Hide menu links by default */
        flex-direction: column;
        gap: 10px;
    }
    nav .nav2 a
    {
        font-size: 20px;
    }
    nav .nav2 button
    {
        padding: 10px 30px 10px 30px;
    }
    
    nav .nav2.active {
        display: flex; /* Show menu links when active */
    }
    
    .menu-toggle {
        display: block; /* Show the menu button */
      }
    
      .menu-close {
        display: none; /* Cross button hidden initially */
      }
    
      .nav2 {
        display: none; /* Hide navigation links by default */
        flex-direction: column; /* Stack links vertically */
        gap: 10px;
        text-align: center;
        width: 100%;
      }
    
      .nav2.active {
        display: flex; /* Show menu when active */
      }
    
      .menu-toggle.active {
        display: none; /* Hide menu button when active */
      }
    
      .menu-close.active {
        display: block; /* Show cross button when active */
      }
    nav .nav2.active ~ .logo {
        background-color: gray; 
    }
    
    nav .nav2 a {
        color: rgb(35, 33, 33);
    }
    
    nav .nav2 .social {
        display: flex;
        flex-direction: row;
        gap: 30px;
    }
    
    nav .nav2 i {
        color: rgb(35, 33, 33);
    }
    
    nav .nav2 .styled-button {
        background-color: black; /* Black background for small screens */
        color: white; /* White text for small screens */
        border-color: white; /* Optional: white border for better contrast */
    }

    nav .nav2 .styled-button:hover {
        background-color: #555555; /* Slightly lighter shade for hover effect */
    }
    nav .nav2  .social
    {
        display: flex;
        flex-direction: row;
        margin: 5px;
        gap: 10px;
    }
  
    .container
    {
        columns: 2;
    }
    .modal-content {
        max-width: 80%; /* Smaller width for small screens */
        max-height: 80%; /* Smaller height for small screens */
      }
    footer
    {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: center;
        align-items: center;
        justify-items: center;
        margin: 10px;
    }
    footer .logo{
        display: flex;
        flex-direction: column;
        margin: 0%;
    }
    footer .contact{
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

}
@media screen and (max-width: 432px)
{
    .container
    {
        columns: 1;
    }
    
    footer
    {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: center;
        align-items: center;
        justify-items: center;
    }
    footer .logo{
        display: flex;
        flex-direction: column;
    }
    footer .contact{
        display: flex;
        flex-direction: column;
    }

}