/* 
Theme Name: TEAM Europe
Theme URI: https://teameuropeltd.com
Author: TEAM Europe Ltd
Author URI: https://teameuropeltd.com
Description: Custom theme for TEAM Europe Ltd, an independent EASA and FAA Part-145 approved organisation specialising in Borescope Inspections and On-Wing High Pressure Blade Blend Repairs.
Version: 1.0
*/

/* Global Styles */
:root {
    --primary-color: #b7c9e5; /* Light blue from logo */
    --secondary-color: #999999; /* Gray from logo */
    --accent-color: #4a6ea9; /* Darker blue for contrast */
    --text-color: #333333;
    --light-color: #ffffff;
    --border-color: #e0e0e0;
    --footer-bg: #2c3e50;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-top: 0;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header Styles */
.site-header {
    padding: 20px 0;
    background-color: var(--light-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-logo {
    max-width: 150px;
}

.main-navigation {
    display: flex;
    justify-content: flex-end;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
}

#primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

#primary-menu li {
    margin-left: 5px; /* Space between buttons */
    margin-right: 5px;
    position: relative;
}

#primary-menu a {
    display: inline-block; /* Allow padding and background */
    padding: 8px 15px; /* Button padding */
    background-color: var(--accent-color); /* Button background */
    color: #ffffff; /* White text */
    border-radius: 20px; /* Rounded corners */
    text-decoration: none; /* Remove underline */
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap; /* Keep text on one line */
}

#primary-menu a:hover,
#primary-menu .current-menu-item a:hover, /* Added hover for current item */
#primary-menu .current-menu-item a /* Keep active item styled */ {
    background-color: var(--primary-color); /* Lighter blue background on hover/active */
    color: var(--text-color); /* Darker text for contrast on light blue */
}

/* Hero Section */
.hero-section {
    background-color: var(--primary-color);
    padding: 80px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

.hero-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: var(--light-color);
    border-radius: 5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.hero-button:hover {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

/* Section Styles */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.services-section,
.certifications-section,
.engines-preview-section {
    padding: 80px 0;
}

.service-card,
.preview-card {
    background-color: var(--light-color);
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card img {
    margin-bottom: 20px;
    border-radius: 5px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--accent-color);
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    font-weight: 500;
    color: var(--accent-color);
}

.read-more:hover {
    text-decoration: underline;
}

.certification-logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.preview-card h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.preview-card ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.preview-card li {
    margin-bottom: 8px;
}

.view-all {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--accent-color);
    color: var(--light-color);
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.view-all:hover {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 15px;
}

.cta-section p {
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: var(--light-color);
    border-radius: 5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

/* Footer Styles */
.site-footer {
    background-color: var(--footer-bg);
    color: var(--light-color);
    padding: 60px 0 20px;
}

.footer-widget {
    margin-bottom: 40px;
}

.footer-widget h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-widget li {
    margin-bottom: 10px;
}

.footer-widget a {
    color: var(--light-color);
}

.footer-widget a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Page Styles */
.page-header {
    background-color: var(--primary-color);
    padding: 40px 0;
    text-align: center;
    margin-bottom: 50px;
}

.page-title {
    margin: 0;
    font-size: 2.5rem;
}

.page-content {
    padding-bottom: 80px;
}

/* About Page */
.about-intro,
.our-certifications,
.our-expertise,
.our-commitment,
.global-reach {
    margin-bottom: 60px;
}

.certification-card,
.expertise-card,
.commitment-card {
    background-color: var(--light-color);
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
    height: 100%;
}

.certification-card img,
.expertise-card img {
    margin-bottom: 20px;
    border-radius: 5px;
}

.certification-card h3,
.expertise-card h3,
.commitment-card h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

/* Services Page */
.services-intro,
.service-detail,
.process-steps,
.global-coverage,
.certifications {
    margin-bottom: 60px;
}

.service-image {
    margin-bottom: 30px;
}

.service-content h2 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.process-step {
    text-align: center;
    padding: 20px;
    background-color: var(--light-color);
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    height: 100%;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--text-color);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 15px;
}

/* Engines & APUs Page */
.engines-intro,
.engines-section,
.apus-section,
.services-overview {
    margin-bottom: 60px;
}

.engine-card,
.apu-card,
.service-overview-card {
    background-color: var(--light-color);
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 30px;
    height: 100%;
}

.engine-card h3,
.apu-card h3,
.service-overview-card h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.service-tag {
    display: inline-block;
    padding: 5px 10px;
    background-color: var(--primary-color);
    color: var(--text-color);
    border-radius: 3px;
    font-size: 0.9rem;
}

.learn-more {
    display: inline-block;
    margin-top: 15px;
    font-weight: 500;
    color: var(--accent-color);
}

.learn-more:hover {
    text-decoration: underline;
}

/* Airlines & Leasing Page */
.airlines-intro,
.client-benefits,
.our-services,
.engine-coverage,
.client-testimonials {
    margin-bottom: 60px;
}

.benefit-card,
.testimonial-card {
    background-color: var(--light-color);
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
    height: 100%;
}

.benefit-card h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.benefit-card ul,
.service-card ul {
    padding-left: 20px;
}

.benefit-card li,
.service-card li {
    margin-bottom: 10px;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    text-align: right;
}

.view-all-button {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--accent-color);
    color: var(--light-color);
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.view-all-button:hover {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

/* News Page */
.news-intro,
.news-articles,
.newsletter-signup {
    margin-bottom: 60px;
}

.news-article {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.news-article:last-child {
    border-bottom: none;
}

.article-image {
    margin-bottom: 20px;
}

.article-content h2 {
    color: var(--accent-color);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.blog-content h2 {
    color: var(--accent-color);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.blog-content h1 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 2rem;
}

.article-meta {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.article-date {
    margin-right: 15px;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    margin-bottom: 15px;
}

.subscribe-button {
    width: 100%;
    padding: 12px;
    background-color: var(--accent-color);
    color: var(--light-color);
    border: none;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subscribe-button:hover {
    background-color: var(--secondary-color);
}

/* Contact Page */
.contact-intro,
.contact-information,
.our-certifications,
.contact-form,
.global-services {
    margin-bottom: 60px;
}

.contact-method {
    margin-bottom: 30px;
}

.contact-method h3 {
    color: var(--accent-color);
    margin-bottom: 10px;
}

.certifications-container {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.certification-logo {
    max-width: 150px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
}

.submit-button {
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: var(--light-color);
    border: none;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .site-header .row {
        flex-direction: column;
        align-items: center;
    }
    
    .site-branding {
        margin-bottom: 20px;
    }
    
    .main-navigation {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .menu-toggle {
        display: block;
    }
    
    #primary-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--light-color);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 100;
    }
    
    #primary-menu.active {
        display: flex;
    }
    
    #primary-menu li {
        margin: 0;
        text-align: center;
    }
    
    #primary-menu a {
        padding: 15px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
}



/* Parallax Scrolling Effect */
.parallax {
  /* The image used */
  background-image: url('../images/cfm_leap_engine_parallax.jpeg');

  /* Set a specific height */
  min-height: 400px; /* Adjust as needed */

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  /* Add some overlay for text readability if needed */
  position: relative; /* Needed for overlay */
}

.parallax::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3); /* Dark overlay, adjust opacity as needed */
  z-index: 1;
}

.parallax-content {
  position: relative; /* Ensure content is above the overlay */
  z-index: 2;
  color: white; /* Ensure text is visible on dark overlay */
  text-align: center;
  padding: 100px 20px; /* Adjust padding as needed */
}

/* Ensure content below parallax starts correctly */
main {
    /* Add padding-top if header is fixed/absolute, otherwise remove */
    /* padding-top: 80px; */ /* Adjust based on header height */
}

