
* {
    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 */
}
.main {
    margin: 50px;
    width: 90%; 
}

.main .content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 40px; 
    width: 100%;
    margin: 0; 
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

 .Card {
  
    overflow: hidden;
    text-align: center;
    padding: 20px;
}

.Card iframe {
    max-width: 100%;
    height: auto;
}
.Card .name
{
    font-family: 'Adobe Garamond Pro', serif;
    font-size: 20px;
    font-weight: 700;
    font-style: normal;

}
.Card p{
    font-family: 'Adobe Garamond Pro', serif;
    font-size: 15px;
    font-weight: 400;
    font-style: normal;

}

.Card .play-button {
    padding: 10px 20px;
    border: solid transparent 1px;
    border-radius: 5px;
    font-size: 11px;
    background-color: black;
    color: white;
    width: fit-content;
    font-family: 'Adobe Garamond Pro', serif;
    margin-top: 20px;
    align-self: center;
    text-decoration: none; /* Removes underline */
    display: inline-flex; /* Aligns text and icon */
    align-items: center; /* Centers the icon vertically */
    gap: 5px; /* Adds spacing between text and icon */
    justify-content: center; /* Centers content */
}

.Card .play-button:hover {
    background-color: #333; /* Optional hover effect */
}

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;

    }
}
@media screen and (max-width: 768px)
{
    header {
        position: relative;
        width: 100%;
        height: 100vh; /* Full viewport height */
    }
    nav {
        display: flex;
        flex-direction: column;
        position: static; /* Make navbar stick to the top */
        top: 0;          /* Ensure no gap at the top */
        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; /* 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;
    }
    .main{
        margin: 10px 10px 10px 15px;
    }
    .main .content 
    {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        grid-template-rows: auto;

    }

    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)
{
    .main .content 
    {
        display: grid;
        grid-template-columns: repeat(1,1fr);
        grid-template-rows: auto;
        
    }
    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;
    }

}
