/* styles.css */

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto Mono', monospace;
}

body {
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    margin: 0; 
    padding: 0;
    width: 100%;
}


/* Header */
header {
    background-color: rgba(51, 51, 51, 0.8); /* Slightly transparent */
    color: white;
    padding: 40px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo with Image */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-family: 'Roboto Mono', monospace;
    font-size: 28px;
}

.logo-img {
    width: 40px; /* Adjust the width to fit your design */
    height: auto;
    margin-right: 10px; /* Space between the image and text */
    vertical-align: middle;
}

.logo a:hover {
    color: #ddd; /* Add hover effect to the title */
}

nav ul {
    list-style: none;
    display: flex;
    position: relative;
}

nav ul li {
    margin-left: 20px;
    position: relative;
}

nav ul li a, 
nav ul li .dropbtn { /* Styling both links and the non-clickable span */
    color: white;
    text-decoration: none;
    font-size: 20px;
    cursor: pointer; /* Makes it look clickable */
    font-family: 'Roboto Mono', monospace;
}

nav ul li .dropbtn { /* Specific to the span used in Project Documents */
    cursor: default; /* Non-clickable behavior */
}

nav ul li a:hover,
nav ul li .dropbtn:hover {
    color: #ddd;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
    text-align: right;
}


nav ul li .dropbtn {
    color: white;
    text-decoration: none;
    font-size: 20px;
    cursor: pointer; /* Non-clickable behavior */
}

nav ul li .dropbtn:hover {
    color: #ddd; /* Only text color changes, no background box */
}

/* Dropdown Content */
.dropdown-content {
    display: none;
    position: absolute;
    right: 0; 
    background-color: rgba(255, 255, 255, 0.9);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    margin-top: 0px;
    border-radius: 2px;
    padding-left: 0px;
}

.dropdown-content li {
    text-align: right;
    padding: 1px 5px;
}

.dropdown-content li a {
    color: #333;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    font-size: 18px;
}

.dropdown-content li a:hover {
    background-color: #f1f1f1;
    color: #007BFF;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Dropdown button hover effect */
.dropbtn:hover {
    background-color: rgba(51, 51, 51, 0.9); /* Darker on hover */
    color: #ddd;
}

/* Hero Section */
.hero {
    background-color: lightgray;
    color: black;
    padding: 200px 40px;
    text-align: center;
    font-family: 'Roboto Mono', monospace;
}

.hero h1 {
    font-size: 72px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 24px;
    margin-bottom: 30px;
}

.hero .btn {
    background-color: white;
    color: #007BFF;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.hero .btn:hover {
    background-color: #ddd;
}

.hero_schedule {
    background-color: lightgray;
    color: black;
    padding: 100px 40px;
    text-align: center;
    font-family: 'Roboto Mono', monospace;
}

.hero_schedule h1 {
    font-size: 56px;
    margin-bottom: 20px;
}

.hero_gallery {
    background-color: lightgray;
    color: black;
    padding: 100px 40px;
    text-align: center;
    font-family: 'Roboto Mono', monospace;
}

.hero_gallery h1 {
    font-size: 56px;
    margin-bottom: 20px;
}

.hero_design {
    background-color: lightgray;
    color: black;
    padding: 100px 40px;
    text-align: center;
    font-family: 'Roboto Mono', monospace;
}

.hero_design h1 {
    font-size: 56px;
    margin-bottom: 20px;
}

.hero_prototyping {
    background-color: lightgray;
    color: black;
    padding: 100px 40px;
    text-align: center;
    font-family: 'Roboto Mono', monospace;
}

.hero_prototyping h1 {
    font-size: 56px;
    margin-bottom: 20px;
}

.hero_testing {
    background-color: lightgray;
    color: black;
    padding: 100px 40px;
    text-align: center;
    font-family: 'Roboto Mono', monospace;
}

.hero_testing h1 {
    font-size: 56px;
    margin-bottom: 20px;
}

/* Gallery Section */
.gallery {
    padding: 50px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

.gallery h2 {
    font-size: 36px;
    margin-bottom: 2px;
}

.gallery .btn {
    background-color: #007BFF;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    font-size: 18px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.gallery .btn:hover {
    background-color: #0056b3;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
    margin-top: 50px;
    font-family: 'Roboto Mono', monospace;
}

footer p {
    margin-bottom: 10px;
}

footer ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
}

footer ul li {
    margin: 0 10px;
}

footer ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

footer ul li a:hover {
    color: #ddd;
}

/* Gallery Section */
.gallery {
    padding: 50px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

.gallery h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Space between gallery items */
    justify-content: center;
}

.gallery-item {
    flex: 1 1 200px; /* Makes the items responsive, with a minimum width of 200px */
    max-width: 300px; /* Maximum width for the gallery items */
    text-align: center;
}

.gallery-img {
    width: 100%; /* Ensures the image takes full width of its container */
    border-radius: 8px; /* Adds rounded corners */
    transition: transform 0.3s ease; /* Adds smooth scaling effect */
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05); /* Slight zoom-in effect on hover */
}

.gallery p {
    font-size: 16px;
    color: #333;
    margin-top: 10px;
}

/* Project Description Section */
.project-description {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 200px 20px;
    background-color: #fff;
}

.project-description h2 {
    font-size: clamp(24px, 5vw, 48px); /* Scales between 24px and 48px */
    text-decoration: underline;
}

.project-description h3 {
    font-size: clamp(18px, 3vw, 32px); /* Scales between 18px and 32px */
    text-decoration: underline;
}

.project-description p {
    font-size: clamp(16px, 2vw, 24px); /* Scales between 16px and 24px */
}


.project-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap; /* Prevent wrapping */
}

.project-text {
    max-width: 800px;
    text-align: center;
}

.project-text h2, .project-text p {
    margin-bottom: 20px;
}

.description-img {
    max-width: 100%; /* Ensures images do not exceed the container size */
    height: auto;
}

/* Ensure responsiveness */
@media (max-width: 768px) {
    .project-content {
        flex-wrap: nowrap; /* Prevent wrapping on smaller screens */
        flex-direction: row; /* Maintain horizontal layout */
    }

    .description-img {
        flex-basis: 30%; /* Adjust the image size relative to the container */
        max-width: 30%; /* Prevents it from being too large */
        height: auto;    /* Maintain the aspect ratio */
    }

    .project-text {
        flex-basis: 40%; /* Allow text to take the middle portion */
    }
}

/* Meet the Team Section */
.meet-the-team {
    background-color: #f9f9f9; /* Light background for contrast */
    padding: 50px 20px;
    text-align: center;
}

.meet-the-team h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
    text-decoration: underline;
}

/* Team Members Grid */
.team-members {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for responsive layout */
    justify-content: space-between;
    gap: 20px; /* Space between each team member */
    margin-bottom: 40px; /* Space between members and the group photo */
}

.team-member {
    width: calc(20% - 20px); /* Each member takes up 20% of the container width */
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

.team-photo {
    width: 100%; /* Make the photo fit the container */
    height: auto;
    border-radius: 50%; /* Make the image circular */
    margin-bottom: 15px;
    border: 1px solid #ccc; /* Thin gray border */
}

.team-member h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #007BFF;
}

.team-member p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 10px;
    color: #555;
}

/* Team Group Picture */
.team-picture {
    margin-top: 40px;
}

.group-photo {
    width: 90%; /* Take up 90% of the section width */
    max-width: 1000px; /* Allow a larger maximum size */
    height: auto; /* Maintain natural aspect ratio */
    border-radius: 8px; /* Soft corners */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    margin-top: 20px; /* Little breathing room above */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .team-member {
        width: calc(50% - 20px); /* Each member takes up 50% width on smaller screens */
    }
}

@media (max-width: 768px) {
    .team-member {
        width: 100%; /* Each member takes up full width on mobile */
    }
}

/* Design Section */
.Design {
    padding: 50px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

.Design h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #007BFF;
    text-decoration: underline;
}

.Design-grid {
    display: flex;
    flex-direction: column; /* Makes items stack vertically */
    gap: 30px; /* Space between items */
    align-items: center; /* Center the items horizontally */
    margin-top: 20px;
}

.Design-item {
    width: 100%; /* Full width of the container */
    max-width: 800px; /* Limit the maximum width for better readability */
    text-align: center;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.Design-item:hover {
    transform: scale(1.03); /* Slight zoom effect on hover */
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
}

.Design-img {
    width: 100%; /* Full width of the container */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Rounded corners */
    margin-bottom: 15px; /* Space below the image */
}

.Design p {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

.Design-video {
    width: 100%; /* Ensures the video takes the full width of the container */
    max-width: 700px; /* Limits the maximum width for consistency */
    height: auto; /* Maintains the aspect ratio */
    border-radius: 8px; /* Adds rounded corners */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow */
    margin-bottom: 15px; /* Space below the video */
}

/* Side-by-Side Media with Text Below */
.side-by-side {
    display: flex; /* Flexbox for side-by-side alignment */
    flex-direction: row; /* Ensure media is aligned horizontally */
    align-items: center; /* Vertically align items in the middle */
    justify-content: center; /* Center the entire layout */
    gap: 20px; /* Space between image and video */
    max-width: 800px; /* Limit overall width */
    margin: 0 auto; /* Center the entire section */
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
    background-color: #f0f0f0b7; /* Light gray background for the media container */
    padding: 20px; /* Padding around media */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.side-by-side .Design-img,
.side-by-side .Design-video {
    flex: 1 1 45%; /* Each takes about half the width */
    max-width: 45%; /* Limit maximum width */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Rounded corners */
}

.Design-media {
    text-align: center; /* Center-align the text */
    margin-top: 20px; /* Add space above the text */
    max-width: 800px; /* Text spans full width under the media */
}

.Design-media p {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
    margin: 0; /* Remove extra margin for clean layout */
}

/* Make sure the image and video have the background color */
.Design-img,
.Design-video {
    background-color: #f0f0f0b7; /* Light gray background for image and video */
    border-radius: 8px; /* Rounded corners for consistency */
}

/* Responsive Adjustment */
@media (max-width: 768px) {
    .side-by-side {
        flex-direction: column; /* Stack media vertically on small screens */
    }

    .side-by-side .Design-img,
    .side-by-side .Design-video {
        max-width: 100%; /* Full width on smaller screens */
    }

    .Design-media {
        margin-top: 15px; /* Adjust spacing for smaller screens */
    }
}

/* Schedule */
.gantt-chart-container {
    text-align: center; /* Center the image */
    margin: 20px 0; /* Add space above and below the image */
}

.gantt-chart-img {
    width: 100%; /* Make the image responsive */
    max-width: 900px; /* Limit the max width to 900px or adjust as needed */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Optional: rounded corners */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Optional: add subtle shadow */
}

/* Gallery Section */
.content {
    text-align: center; /* Center content */
    padding: 50px 20px;
}

.content h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #007BFF;
}

.content p {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns per row */
    gap: 15px; /* Adjusted space between items */
    justify-items: center; /* Center items horizontally */
}

.gallery-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    overflow: hidden; /* Ensure content doesn't overflow */
    position: relative;
}

.gallery-img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover; /* Ensure images/videos fill the space without distortion */
    border-radius: 8px;
}

.gallery-item:hover {
    transform: scale(1.05); /* Slight zoom on hover */
    transition: transform 0.3s ease-in-out;
}

.gallery-item p {
    font-size: 14px;
    color: #333;
    text-align: center;
    padding: 10px;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on smaller screens */
        gap: 15px; /* Consistent gap for medium screens */
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr; /* 1 column on very small screens */
        gap: 10px; /* Smaller gap for mobile screens */
    }
}

@media (min-width: 1200px) {
    .gallery-grid {
        gap: 10px; /* Reduce gap on larger screens */
    }
}

/* Design Report Section */
.Design-report {
    text-align: center; /* Center the content */
    padding: 30px 20px;
    background-color: #f9f9f9; /* Light background for contrast */
    margin-bottom: 20px; /* Space below the section */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.Design-report h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #007BFF; /* Blue color for the heading */
}

.Design-report p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.report-btn {
    display: block; /* Makes the buttons stack */
    width: fit-content; /* Adjusts width to content */
    margin: 10px auto; /* Centers the buttons with spacing */
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 16px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.report-btn:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

/* Featured Media Section */
.featured-media {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
    margin-bottom: 30px;
}

/* Specific for side-by-side featured videos */
.side-by-side-videos {
    display: flex;
    justify-content: center;
    gap: 20px; /* Space between the two videos */
    flex-wrap: wrap; /* Stack them vertically on small screens */
}

.featured-video {
    width: 45%; /* Each video takes 45% width */
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive: Stack vertically if screen is small */
@media (max-width: 768px) {
    .featured-video {
        width: 90%;
    }
}

.intro-video {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
}

.intro-video-player {
    width: 90%;
    max-width: 900px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}