/* General Body and Font Styles */
body {
    font-family: 'Inter', sans-serif; /* Clean and modern font */
    margin: 0;
    padding: 0;
    background-color: #f4f7f6; /* Light background for a clean look */
    color: #333; /* Darker text for readability */
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.header {
    background-color: #2c3e50; /* Dark blue-grey for a professional feel */
    color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allows navigation to wrap on smaller screens */
}

/* Site Title Group for Robot Icon and Text */
.site-title-group {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between icon and text */
}

.robot-icon {
    width: 30px; /* Size of the robot icon */
    height: 30px;
    fill: #ecf0f1; /* Icon color */
}

.site-title {
    margin: 0;
    font-size: 1.8em;
    font-weight: 700;
    color: #ecf0f1; /* Lighter color for the title */
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px; /* Space between navigation items */
    flex-wrap: wrap; /* Allows links to wrap if needed */
}

.nav-link {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    padding: 5px 0;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #3498db; /* Blue for hover/active state */
    border-bottom: 2px solid #3498db;
}

/* Main Content Sections */
.main-content {
    padding: 40px 0;
}

.hero-section {
    background-color: #e0f2f1; /* Very light blue-green for a fresh look */
    padding: 80px 0;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.hero-title {
    font-size: 3em;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.4em;
    color: #555;
    margin-bottom: 25px;
    font-weight: 400;
}

.hero-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #666;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin: 0 10px;
}

.primary-btn {
    background-color: #3498db; /* Strong blue */
    color: #fff;
    border: 2px solid #3498db;
}

.primary-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.secondary-btn {
    background-color: #ecf0f1; /* Light grey */
    color: #2c3e50;
    border: 2px solid #2c3e50;
}

.secondary-btn:hover {
    background-color: #bdc3c7;
    transform: translateY(-2px);
}

.section-title {
    font-size: 2.5em;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #3498db;
    border-radius: 2px;
}

.project-overview-section {
    background-color: #fff;
    padding: 60px 0;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.overview-item {
    background-color: #f8f8f8;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #3498db; /* Accent border */
}

.overview-item h4 {
    color: #2c3e50;
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 600;
}

.overview-item p {
    font-size: 0.95em;
    color: #666;
}

/* Report Specific Styles */
.report-section {
    background-color: #fff;
    padding: 60px 0;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.report-block {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #fbfcfc;
    border-left: 4px solid #2ecc71; /* Green accent for report blocks */
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.report-block h3 {
    color: #2c3e50;
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 600;
}

.report-block h4 {
    color: #34495e;
    font-size: 1.3em;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.report-block p {
    margin-bottom: 10px;
    color: #444;
    font-size: 1em;
}

.report-block ul,
.report-block ol {
    margin-left: 25px;
    margin-bottom: 15px;
    color: #444;
}

.report-block li {
    margin-bottom: 8px;
    font-size: 1em;
}

/* Media Gallery Styles */
.media-gallery {
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 30px;
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.media-gallery h3 {
    color: #2c3e50;
    font-size: 2em;
    text-align: center;
    margin-bottom: 30px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.image-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.image-item img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover; /* Ensures images cover the area without distortion */
    border-bottom: 1px solid #eee;
}

.image-item p {
    padding: 15px;
    font-size: 0.9em;
    color: #555;
    margin: 0;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio (9 / 16 * 100) */
    height: 0;
    margin-bottom: 25px;
    background-color: #000; /* Black background for video area */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-container p {
    text-align: center;
    font-size: 0.9em;
    color: #555;
    margin-top: 10px;
}

.image-instruction, .video-instruction {
    background-color: #eef7ff; /* Light blue background for instructions */
    border-left: 4px solid #3498db;
    padding: 15px 20px;
    margin-top: 30px;
    border-radius: 6px;
    font-size: 0.95em;
    color: #333;
}

.image-instruction strong, .video-instruction strong {
    color: #2c3e50;
}

.image-instruction ol, .video-instruction ol {
    margin-left: 20px;
    margin-top: 10px;
}

.image-instruction li {
    margin-bottom: 5px;
}


/* Footer */
.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 25px 0;
    font-size: 0.9em;
    margin-top: 40px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.footer p {
    margin: 5px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        text-align: center;
    }

    .site-title-group {
        justify-content: center; /* Center robot icon and title on small screens */
        width: 100%;
    }

    .nav-links {
        margin-top: 15px;
        flex-direction: column;
        gap: 10px;
    }

    .hero-title {
        font-size: 2.2em;
    }

    .hero-subtitle {
        font-size: 1.2em;
    }

    .btn {
        display: block;
        margin: 10px auto;
        max-width: 250px;
    }

    .section-title {
        font-size: 2em;
    }

    .overview-grid {
        grid-template-columns: 1fr; /* Stack items on small screens */
    }

    .image-grid {
        grid-template-columns: 1fr; /* Stack images on small screens */
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1.5em;
    }

    .hero-title {
        font-size: 1.8em;
    }

    .hero-subtitle {
        font-size: 1em;
    }

    .section-title {
        font-size: 1.8em;
    }

    .report-block h3 {
        font-size: 1.5em;
    }
}
