
/* General Styles */
body { 
   background: #f4f4f9; 
   color: #333;
}

/* Header Styles */
header {
   position: relative;
   height: 800px;
   width: 100%;
   background: #ffffff url(../Images/barbell\ clip\ on\ barbell.jpeg) 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 'opensans-bold', 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: 90px 0;
   background: #fff;
}

.section-title {
   font-size: 2.4em;
   color: #333;
   margin-bottom: 40px;
   text-align: center;
   text-align: center;
   margin-left: auto;
   margin-right: auto;
}

.project-description {
   font-size: 1.1em;
   line-height: 1.6;
   color: #666;
   margin-bottom: 40px;
   text-align: center;
   max-width: 800px;
   margin: 0 auto 40px;
   text-align: center;
   margin-left: auto;
   margin-right: auto;
}

/* Feature Cards */
.features-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
   gap: 2rem;
   padding: 2rem 0;
}

.feature-card {
   background: #f8f9fa;
   border-radius: 10px;
   padding: 2rem;
   text-align: left;
   transition: transform 0.3s ease, box-shadow 0.3s ease;
   box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.feature-card:hover {
   transform: translateY(-5px);
   box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.feature-icon {
   font-size: 2.5rem;
   color: #2c3e50;
   margin-bottom: 1.5rem;
}

.feature-card h3 {
   color: #2c3e50;
   margin-bottom: 1rem;
   font-size: 1.5rem;
}

.feature-content ul {
   list-style: none;
   padding: 0;
   margin: 0;
   padding: 0;
   margin: 0 auto;
   list-style-position: inside;
}

.feature-content li {
   margin: 0.8rem 0;
   color: #555;
   font-size: 1.1rem;
   padding-left: 1.5rem;
   position: relative;
}

.feature-content li:before {
   content: "•";
   color: #2c3e50;
   position: absolute;
   left: 0;
}

/* Hero Image */
.hero-image-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.hero-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.hero-image img {
    width: 100%;
    height: 100%;
    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;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   width: 100%;
   text-align: left;
}

.tech-specs h2 {
   color: #333;
   margin-bottom: 20px;
}

.tech-specs ul {
   list-style: none;
   padding: 0;
   padding: 0;
   margin: 0 auto;
   list-style-position: inside;
}

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

.tech-specs img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    border-radius: 8px;
    background: #f8f9fa;
    padding: 20px;
}

.tech-specs {
    text-align: left;
}

/* 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(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

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

/* Technical Specs */
.specs-section {
   background: #f8f9fa;
   padding: 40px 0;
}

.specs-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   gap: 2rem;
   max-width: 1200px;
   margin: 0 auto;
   text-align: center;
   margin-left: auto;
   margin-right: auto;
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   gap: 2rem;
   justify-items: center;
   align-items: start;
   width: 100%;
   max-width: 1200px;
   margin: 0 auto;
}

.spec-item {
   background: white;
   padding: 2rem;
   border-radius: 10px;
   box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.spec-item h3 {
   color: #2c3e50;
   margin-bottom: 1.5rem;
   font-size: 1.4em;
   text-align: center;
   margin-left: auto;
   margin-right: auto;
}

.spec-item ul {
   list-style: none;
   padding: 0;
   padding: 0;
   margin: 0 auto;
   list-style-position: inside;
}

.spec-item li {
   margin: 1rem 0;
   padding-left: 1.5rem;
   position: relative;
}

.spec-item li:before {
   content: "→";
   position: absolute;
   left: 0;
   color: #2c3e50;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.spec-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    text-align: left;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.spec-item h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: left;
}

.spec-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.spec-item li {
    margin: 0.8rem 0;
    color: #555;
    font-size: 1.1rem;
    padding-left: 1.5rem;
    position: relative;
}

.spec-item li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2c3e50;
}

/* CTA Section */
.cta-section {
   background: #2c3e50;
   color: white;
   text-align: center;
   padding: 60px 0;
}

.cta-section h2 {
   color: white;
   margin-bottom: 1.5rem;
}

.button {
   display: inline-block;
   padding: 15px 30px;
   background: #3498db;
   color: white;
   border-radius: 5px;
   text-decoration: none;
   transition: background 0.3s ease;
   align-items: center;
}

.button:hover {
   background: #2980b9;
}

/* 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;
   }

   .features-grid {
      grid-template-columns: 1fr;
   }
   
   .specs-grid {
      grid-template-columns: 1fr;
   }
   
   .gallery-image {
      height: 200px;
   }

   .hero-image {
        height: 300px;
    }

    .problem-block img,
    .solution-block img,
    .tech-specs img {
        height: 200px;
    }

    .gallery-image {
        height: 200px;
    }

    .section-image {
        max-width: 100%;
    }
    
    .section-image img {
        max-height: 300px;
    }
}

@media screen and (max-width: 480px) {
    .hero-image {
        height: 250px;
    }
    
    .gallery-image {
        height: 180px;
    }
}

/* 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;
}

.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;
}

.version-block h4 {
   color: #666;
   margin: 15px 0;
   font-size: 1.4em;
}

.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;
}

/* Benefits Section */
.benefits-container {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   gap: 2rem;
   padding: 2rem 0;
}

.benefit-card {
   background: #f8f9fa;
   border-radius: 10px;
   padding: 2rem;
   text-align: center;
   transition: transform 0.3s ease, box-shadow 0.3s ease;
   box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.benefit-card:hover {
   transform: translateY(-5px);
   box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.benefit-icon {
   font-size: 2.5rem;
   color: #2c3e50;
   margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    font-family: 'opensans-bold', sans-serif;
}

.benefit-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-content li {
    font-size: 16px;
    line-height: 24px;
    color: #666;
    margin: 10px 0;
    font-family: 'opensans-regular', sans-serif;
    padding-left: 20px;
    position: relative;
}

.benefit-content li:before {
    position: absolute;
    left: 0;
    color: #333;
}

.benefit-icon i {
    font-size: 32px;
    color: #333;
}

@media screen and (max-width: 768px) {
   .benefits-container {
      grid-template-columns: 1fr;
      gap: 1.5rem;
   }
}

/* Problem/Solution Images */
.problem-block img,
.solution-block img {
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    height: 400px;
    width: auto;
    max-width: 100%;
    object-fit: cover;
    border-radius: 8px;
    margin: 20px auto;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    display: block;
}

/* Global Container Centering */
.row {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Image Container Centering */
.hero-image-container,
.problem-block,
.solution-block,
.tech-specs {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}

/* Content Centering */
.section-title,
.project-description,
.tech-specs h3,
.specs-grid {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* List Centering */
ul {
    padding: 0;
    margin: 0 auto;
    list-style-position: inside;
}

/* Section Image */
.section-image {
    width: 100%;
    margin: 30px auto;
    text-align: center;
}

.section-image img {
    height: 400px;
    object-fit: contain;
    border-radius: 10px;
    display: block;
    margin: 30px auto;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

@media screen and (max-width: 768px) {
    .section-image {
        max-width: 100%;
    }
    
    .section-image img {
        max-height: 300px;
    }
}

@media screen and (max-width: 480px) {
    .section-image img {
        height: 250px;
    }
}

/* Testing Scenarios */
.testing-scenarios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.scenario {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scenario h3 {
    color: #333;
    margin-bottom: 1rem;
}

.scenario p {
    color: #666;
    margin-bottom: 2rem;
}

.scenario .section-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0;
}

.scenario .section-image img {
    margin: 0 auto;
    max-width: 100%;
    height: 300px;
    object-fit: contain;
}

/* CTA */
#cta {
    text-align: center;
    padding: 4rem 0;
}

#cta .row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#cta .button {
    display: inline-block;
    padding: 15px 30px;
    margin: 20px auto;
    background: #333;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

#cta .button:hover {
    background: #555;
}
