/* General styles */
body {
    font-family: "Zain", sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #80756c81;
    max-width: 100%;
    overflow-x: hidden;
}
.aboreto-regular {
    font-family: "Aboreto", system-ui;
    font-weight: 400;
    font-style: normal;
  }
  .zain-extralight {
    font-family: "Zain", sans-serif;
    font-weight: 200;
    font-style: normal;
  }
  
  .zain-light {
    font-family: "Zain", sans-serif;
    font-weight: 300;
    font-style: normal;
  }
  
  .zain-regular {
    font-family: "Zain", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .zain-bold {
    font-family: "Zain", sans-serif;
    font-weight: 700;
    font-style: normal;
  }
  
  .zain-extrabold {
    font-family: "Zain", sans-serif;
    font-weight: 800;
    font-style: normal;
  }
  
  .zain-black {
    font-family: "Zain", sans-serif;
    font-weight: 900;
    font-style: normal;
  }
  
/* Header styles */
header {
    font-family: "Aboreto", system-ui;
    font-weight: 400;
    font-style: normal;
}
#heroImage {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.306), rgba(0, 0, 0, 0.201)), url(img/screenshot15.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

/* Place text in the middle of the image */
#heroText {
  text-align: center;
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}
#hpTitle {
 font-family: "Aboreto", system-ui;
padding: .5%;
margin-top: 0%;
text-align: center;
}
#tourTitle{
    font-family: "Zain", sans-serif;
    font-weight: 400;
    font-style: normal;
    justify-content: center;
}
h2{
    font-family: "Zain", sans-serif;
    font-weight: 400;
    font-style: normal;
    width: 100%;
    
}

#ecs
{
    font-size:25px;
    border-top:solid 1px rgb(253, 253, 253);
    border-bottom:solid 1px rgb(247, 243, 243);
    padding: 5px;
}

#ec-desc
{
    font-size:20px;
    border-bottom:1px solid rgb(255, 252, 252);
    font-style:italic;
    display:none;
    
    
}
.newshead{
    text-align: center;  
    display: flex;       
    flex-direction: column; 
    align-items: center;    
    width: 100%;             
}
li{
    list-style-type: none;
    display: inline;
    border-right: 2px solid #0c0b0b;
    
}
li:last-child {
    border-right:0;
} 

#hpNav{
    transform: translateX(-7%);
}
  

a{
    color: rgb(7, 7, 7);
    padding: 3%;
    font-weight: 700;
    text-decoration: none;
    
}
.hp{
    color: rgb(222, 222, 222);
    text-decoration: none;
}
.hpp{
    display: block;
    border: none;
}
ul li a:hover {
    text-decoration: underline;
}

/* Main content styles */
[role="main"] {
   /* display: flex;
    flex-wrap: wrap;
    padding: 1rem; */

    display: flex;
    flex-wrap: wrap;
    padding: 1rem;
    max-width: 100%;
    box-sizing: border-box;
}


.column {
    /* flex: 1;
    padding: 1rem;
    min-width: 300px; */
    flex: 1;
    padding: 1rem;
    min-width: 300px;
    max-width: 100%;
    box-sizing: border-box;
}
p{
font-size: larger;

}

img{
    width: 80%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    margin-bottom: 1rem;

    
}
#eva{
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 2rem;
    margin-bottom: 1rem; */
}
.QL{
    padding: 0%;
    text-decoration: underline;
}
main {
    grid-column: 2 / 3;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

/* Specific height image placeholders */
.image-placeholder[style*="height"] {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main image styles for SpaceCenter */
.main-image {
    width: 100%;
    margin-bottom: 1rem;
}

/* Content area styles for SpaceCenter */
.content {
    flex: 2;
    padding: 1rem;
    min-width: 300px;
}

/* Sidebar styles for SpaceCenter */
.sidebar {
    flex: 1;
    padding: 1rem;
    background-color: #f4f4f4;
    background-image: linear-gradient( #9b9087bb,#f4f4f4 );
    min-width: 200px;
}
#Tsidebar {
    flex: 1;
    padding: 1rem;
    background-color: #f4f4f4;
    min-width: 200px;
}
.disclaimer{
    font-size: x-small;
    text-align: center;
}
/* Tour form styles - Add these at the bottom of your styles.css file */
.tour-form-container {
    max-width: 600px;
    margin: 2em 0;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 8px;
}

.tour-signup-form .form-group {
    margin-bottom: 1.5em;
}

.tour-signup-form label {
    display: block;
    margin-bottom: 0.5em;
    color: #333;
}

.tour-signup-form input,
.tour-signup-form select,
.tour-signup-form textarea {
    width: 100%;
    padding: 0.75em;
    border: 1px solid #80756c;
    border-radius: 4px;
    background-color: white;
    font-family: "Zain", sans-serif;
    font-weight: 300;
}

.tour-signup-form input:focus,
.tour-signup-form select:focus,
.tour-signup-form textarea:focus {
    outline: none;
    border-color: #80756c;
    box-shadow: 0 0 5px rgba(128, 117, 108, 0.5);
}

.tour-signup-form .submit-button {
    background-color: #80756c;
    color: white;
    padding: 0.75em 1.5em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: "Zain", sans-serif;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.tour-signup-form .submit-button:hover {
    background-color: #66605a;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
}

.gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 0;
    margin: 0;
}

.gallery-image:hover {
    transform: scale(1.05);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    padding: 20px;
}

.close-button {
    position: absolute;
    right: 35px;
    top: 15px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover {
    color: #bbb;
}
/*Mission pg*/
      
        .image-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 20px;
            padding: 20px;
        }
        .image-item {
            overflow: hidden;
            border-radius: 8px;
        }
        .image-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
            cursor: pointer;
            transition: transform 0.3s ease;
            padding: 0;
            margin: 0;
        }
        .image-image:hover {
            transform: scale(1.05);
        }

/* Responsive adjustments */

@media (max-width: 768px) {
    body {
        font-size: 16px; /* Slightly smaller base font size for mobile */
    }

    #heroImage {
        height: 80vh; /* Reduce hero image height on mobile */
    }

    #heroText {
        top: 50%;
        padding: 0 1rem;
        text-align: center;
    }
    .hpp{
        display: inline;
        border: none;
    }
    [role="main"] {
        flex-direction: column;
        padding: 0.5rem;
    }

    .column {
        flex: 100%;
        padding: 0.5rem;
        min-width: 100%;
    }
    

    img {
        width: 100%;
        max-width: 100%;
        height: auto;
        padding: 0.5rem 0;
        margin: 0.5rem 0;
    }

    .sidebar {
        margin-top: 1rem;
        width: 100%;
    }
}

/* Ensure content is fully visible */
* {
    max-width: 100%;
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

[role="main"] {
    width: 100%;
    margin: 0;
    padding: 1rem;
}
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 10px;
        padding: 10px;
    }

    .modal-content {
        width: 100%;
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .tour-form-container {
        padding: 1rem;
        margin: 1em 0;
    }
}
/* Responsive design */
@media (max-width: 768px) {
    [role="main"] {
        flex-direction: column;
    }
    
    .column, .content, .sidebar {
        width: 100%;
    }
}