/* General Styles */
body { 
    background: #f4f4f9; 
    color: #333;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
}

/* Header Styles */
header {
    position: relative;
    height: 1014px;
    width: 100%;
    background: #161415 url(../Images/Screenshot\ 2024-12-26\ at\ 3.09.06\ PM.png) no-repeat center center;
    background-size: cover !important;
    -webkit-background-size: cover !important;
    text-align: center;
    overflow: hidden;
}

header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .7); /* Dark overlay for better text visibility */
}

header .banner {
   display: flex;
   justify-content: center;
   align-items: center;
   margin: 0 auto;
   width: 85%;
   height: 100%;
   padding-bottom: 30px;
}

header .banner-text { 
    width: 100%; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1;
}

header .banner-text h1 {
   font: 90px/1.1em 'Open Sans', sans-serif;
   color: #fff;
   letter-spacing: -2px;
   margin: 0 auto 18px auto;
   text-shadow: 0px 1px 3px rgba(0, 0, 0, .8);
}

/* Project Sections */
.project-section {
    padding: 80px 0;
    align-items: center;
    background: #fff;
}

.section-title {
    font-size: 2.4em;
    color: #333;
    margin-bottom: 40px;
    margin-top: 40px;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
}

.project-description {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 40px;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
}

/* Hero Image */
.hero-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 20px 0;
    max-height: 600px;
    overflow: hidden;
}

.hero-image {
    max-width: 800px;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Technical Specs */
.tech-specs {
    background: #f8f8f8;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.tech-specs h2 {
    color: #333;
    margin-bottom: 20px;
    font-family: 'Open Sans', sans-serif;
}

.tech-specs ul {
    list-style: none;
    padding: 0;
}

.tech-specs li {
    margin: 10px 0;
    padding-left: 20px;
    position: relative;
}

/* Code Display */
.code-block {
    background: #2b2b2b;
    padding: 20px;
    border-radius: 8px;
    color: #fff;
    margin-bottom: 30px;
}

.code-block h2 {
    color: #fff;
    margin-bottom: 20px;
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.gallery-image {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.05);
}

/* Video Section */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 8px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    header {
        height: 300px;
    }
    
    .section-title {
        font-size: 2em;
    }
    
    .tech-specs, .code-block {
        margin: 15px 0;
    }
}

/* Specs Grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.spec-item {
    background: #f8f8f8;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.spec-item h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.4em;
    font-family: 'Open Sans', sans-serif;
}

.spec-item ul {
    list-style: none;
    padding: 0;
}

.spec-item li {
    margin: 10px 0;
    color: #666;
    font-size: 1em;
    line-height: 1.4;
}

/* Evolution Section Styles */
.version-block {
    background: #f8f8f8;
    padding: 30px;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 800px; /* Center the container */
 }
 
 .version-block h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.8em;
    font-family: 'Open Sans', sans-serif;
 }
 
 .version-block h4 {
    color: #666;
    margin: 15px 0;
    font-size: 1.4em;
    font-family: 'Open Sans', sans-serif;
 }
 
 .version-image {
     width: 100%;
     height: 400px;
     border-radius: 8px;
     margin-bottom: 20px;
     object-fit: cover;
     object-position: center;
 }

/* Footer Styles */
footer {
    background: #161415;
    padding: 20px 0;
    color: #fff;
    text-align: center;
}

footer .social-links {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

footer .social-links li {
    display: inline-block;
    margin: 0 10px;
}

footer .social-links li a {
    color: #fff;
    font-size: 1.2em;
    transition: color 0.3s ease;
}

footer .social-links li a:hover {
    color: #F06000;
}

footer .copyright {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .copyright li {
    display: inline-block;
    margin: 0 10px;
    font-size: 0.9em;
    color: #aaa;
}

footer .copyright li a {
    color: #aaa;
    transition: color 0.3s ease;
}

footer .copyright li a:hover {
    color: #fff;
}