/* Nexus Aircraft Maintenance */

/*
 * Logo Blue   #002F60
 * Beige       #DEDDCA
 * Pale Green  #768271
 * Grey        #5E5F63
 * Dark Blue   #020C19 (body text)
 * Nice Blue   #2D3784
 * Orange      #C12603
 */

@font-face {font-family: openSans; src: url(fonts/OpenSans-Regular.ttf); font-weight: normal;	font-style: normal;}
@font-face {font-family: openSans; src: url(fonts/OpenSans-Bold.ttf); font-weight: bold;	font-style: normal;}
@font-face {font-family: openSans; src: url(fonts/OpenSans-Italic.ttf); font-weight: normal;	font-style: italic;}
@font-face {font-family: openSans; src: url(fonts/OpenSans-BoldItalic.ttf); font-weight: bold;	font-style: italic;}

body {padding: 0px; margin: 0px; color: #020C19; background-color: #DEDDCA; font-family: openSans; font-size: 16px; box-sizing: border-box; overflow-y: visible;}

/* Header Styles */
.header-container {
    text-align: center;
    background-color: #DEDDCA;
}

.header-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 12px;
    position: relative;
    min-height: 200px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    width: 202px;
    height: 200px;
    flex-shrink: 0;
}

.header-text {
    flex: 1;
    padding-right: 20px;
    text-align: left;
}

.header-text h1 {
    color: #2D3784;
    font-size: 36px;
    margin: 0 0 10px 0;
    font-weight: bold;
}

.header-text p {
    font-size: 24px;
    margin: 0;
    line-height: 1.2;
}

/* Navigation Styles */
.nav-container {
    background-color: #bcbcaa;
    border-top: 1px solid #999999;
    border-bottom: 1px solid #000000;
    text-align: center;
}

.nav-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nav-menu {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-menu a.tmenu {
    font-size: 24px;
    text-decoration: none;
    color: #2D3784;
    padding: 5px 10px;
}

.nav-menu a.tmenu:hover {
    color: #FF0000;
}

.page-title {
    color: #C12603;
    font-size: 36px;
    margin: 0;
    font-weight: bold;
}

/* Gallery Styles */
.gallery-container {
    position: relative;
    border-bottom: 1px solid #000000;
    height: 300px;
    box-sizing: border-box;
    overflow: hidden;
}

.gallery-image {
    top: 0px;
    left: 0px;
    background-color: #000000;
    height: 300px;
    width: 100%;
    object-fit: cover;
}

/* Content Styles */
.content-container {
    text-align: center;
}

.content-wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: 12px;
    font-size: 18px;
    color: #000000;
    text-align: left;
}

/* Services Styles */
.services-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.service-column h3 {
    color: #C12603;
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
}

.service-column ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.service-column li {
    margin-bottom: 8px;
}


/* Team Styles */
.team-member {
    text-align: center;
    margin-bottom: 40px;
}

.team-member.featured {
    max-width: 600px;
    margin: 20px auto 40px auto;
}

.team-photo {
    width: 200px;
    height: 200px;
    border-radius: 150px;
    display: block;
    margin: 0 auto 15px auto;
}

.team-member h3 {
    color: #C12603;
    font-weight: bold;
    margin: 10px 0 5px 0;
}

.team-title {
    font-weight: bold;
    margin: 5px 0 15px 0;
}

.team-bio {
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.4;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 20px 0;
}

/* Contact Styles */
.contact-section {
    margin-bottom: 30px;
}

.contact-section h3 {
    color: #C12603;
    font-weight: bold;
    margin-bottom: 10px;
}

.contact-section p {
    margin-bottom: 10px;
}

.contact-section address {
    font-style: normal;
    line-height: 1.4;
}

/* Footer Styles */
.footer1 {
    padding: 8px 0;
    background-color: #bcbcaa;
    border-top: 1px solid #666666;
    text-align: center;
}

.footer2 {
    max-width: 960px;
    margin: 0 auto;
    color: #020C19;
    padding: 12px;
    position: relative;
}

.footer-phone {
    color: #FFFFFF;
    position: absolute;
    top: 12px;
    right: 12px;
    font-weight: bold;
}

.footer-name {
    margin-bottom: 10px;
}

.footer-addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 15px 0;
}

.footer-location,
.footer-mailing {
    line-height: 1.4;
}

.footer-copyright {
    margin-top: 15px;
    text-align: left;
}

.footer-credit {
    font-size: 14px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        padding: 20px 12px;
    }
    
    .header-text {
        padding-right: 0;
        margin-top: 15px;
    }
    
    .header-text h1 {
        font-size: 28px;
    }
    
    .header-text p {
        font-size: 18px;
    }
    
    .nav-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        justify-content: center;
        gap: 15px;
    }
    
    .nav-menu a.tmenu {
        font-size: 20px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .gallery-container {
        height: 200px;
    }
    
    .gallery-image {
        height: 200px;
    }
    
    .content-wrapper {
        font-size: 16px;
        padding: 20px 15px;
    }
    
    .services-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-addresses {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .footer-phone {
        position: static;
        margin-bottom: 10px;
        color: #020C19;
    }
}

@media screen and (max-width: 480px) {
    .logo {
        width: 150px;
        height: 150px;
    }
    
    .header-text h1 {
        font-size: 24px;
    }
    
    .header-text p {
        font-size: 16px;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-menu a.tmenu {
        font-size: 18px;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .content-wrapper {
        padding: 15px 10px;
    }
    
    .team-bio {
        max-width: 100%;
    }
    
    .footer2 {
        padding: 15px 10px;
    }
}
