/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    width: 100%;
    height: 100%;
    overflow-x: hidden; /* Prevents horizontal scroll */
    display: flex;
    flex-direction: column;
    background:#ebebe3;
    justify-content: center;
    align-items: center;
}
html
{
    width: 100%;
    overflow-x: hidden;
}
header {
    position: relative;
    width: 100%;
    height: 50vh; 
}
.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; 
}

.background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.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: 1; 
}

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: rgb(228, 225, 225);
    font-family: 'Adobe Garamond Pro', serif;
    font-size:13px;
    font-weight: 20;
}
nav .nav2 i
{
    color: white;
    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 */
}
.paragraph
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px;
}
.paragraph p{
    max-width: 80%;
    text-align: center;
    font-family: 'Adobe Garamond Pro', serif;
    font-size:15px;
    font-weight: 450;
    font-style: normal;
    color: #46361c;
    line-height: 1.5;
}
.paragraph .social
{
    margin: 20px 0 20px 0;
    display: flex;
    flex-direction: row;
    gap: 10px;
}
.paragraph .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 */
    
    }


.container {
    background-color: white;
    padding: 20px;
    margin: 20px auto;
    width: 1200px; 
    max-width: none; 
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
    

.container .content h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-family: 'Adobe Garamond Pro', serif;
    font-size: 30px;
    font-weight: 400;
    font-style: normal;
}

.container .content form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.container .content form .row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.container .content form .field {
    flex: 1;
    min-width: 45%; /* Ensures fields share the row */
}

.container .content form .field label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    color: #555;
    font-family: 'Adobe Garamond Pro', serif;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
}

.container .content form .field input,
.container .content form .field textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
}

.container .content form .submit-button {
    padding: 10px 20px;
    border: solid transparent 1px;
    border-radius: 5px;
    font-size: 11px;
    background-color: #bc9a63;
    color: white;
    width: fit-content;
    font-family: 'Adobe Garamond Pro', serif;
    margin-top: 60px;
    align-self: center;
    text-decoration: none; /* Removes underline */
    display: inline-block; /* Makes it behave like a button */
    text-align: center; /* Centers the text */
}

.container .content form .submit-button:hover {
    background-color: #a88554; /* Optional hover effect for interactivity */
}



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: 992px)
{
    .main .content 
    {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        grid-template-rows: auto;
        gap: 10px;

    }
    .container {
        max-width: 95%; 
        padding: 15px; 
    }

    form {
        gap: 15px; 
    }

    input, textarea, button {
        font-size: 16px; 
    }
}
@media (max-width: 1024px) {
    .container {
        max-width: 90%; 
        padding: 20px; 
    }

    form {
        gap: 18px; 
    }

    input, textarea, button {
        font-size: 17px;
    }
}
@media (max-width: 820px) {
    .container {
        max-width: 95%; 
        padding: 15px;
    }

    form {
        gap: 15px;
    }

    input, textarea, button {
        font-size: 16px; 
    }
}
@media screen and (max-width: 768px)
{
    header {
        position: relative;
        width: 100%;
        height: 100vh; 
    }
    nav {
        display: flex;
        flex-direction: column;
        position: static; 
        top: 0;         
        left: 0;
        width: 100%;
        width: 100%;
        background: whitesmoke;
        text-align: center;
        padding: 10px 0;
    }
    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; 
        flex-direction: column;
        gap: 10px;
    }
    nav .nav2 a
    {
        font-size: 20px;
    }
    nav .nav2 button
    {
        padding: 10px 30px 10px 30px;
    }
    
    nav .nav2.active {
        display: flex; 
    }
    
    .menu-toggle {
        display: block; 
      }
    
      .menu-close {
        display: none; 
      }
    
      .nav2 {
        display: none; 
        flex-direction: column; 
        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 {
        max-width: 90%; /* Reduce max-width for smaller screens */
        padding: 15px;
    }

    form {
        gap: 15px; /* Reduce spacing between form elements */
    }

    input, textarea, button {
        font-size: 16px; /* Adjust font size for smaller 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 {
        max-width: 100%; /* Full width for very small screens */
        padding: 10px;
    }

    input, textarea, button {
        font-size: 14px; /* Further adjust font size */
    }
    
    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;
    }

}



