/* ===================================
   JC Aerospace - Professional Styling
   Red & Black Theme
   =================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #C41E3A;
    --dark-red: #8B0000;
    --black: #1a1a1a;
    --dark-gray: #2d2d2d;
    --medium-gray: #666666;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --accent-red: #E63946;
    --beige: #D4C5A9;
    --tan: #C8B896;
    --dark-beige: #B8A788;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

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

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--beige);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

#navbar.scrolled {
    background-color: rgba(212, 197, 169, 0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: block;
    line-height: 0;
}

.logo-image {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.logo h1 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--black);
    letter-spacing: 2px;
    font-family: 'Orbitron', sans-serif;
}

.logo .aerospace {
    color: var(--primary-red);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--black);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
    position: relative;
    font-family: 'Orbitron', sans-serif;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary-red);
}

.contact-btn {
    background-color: var(--primary-red);
    color: var(--white) !important;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.contact-btn::after {
    display: none;
}

.contact-btn:hover {
    background-color: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(196, 30, 58, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--black);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Carousel Section */
.hero-carousel {
    position: relative;
    height: 100vh;
    margin-top: 80px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-content {
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 0 20px;
    z-index: 2;
}

.slide-content h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: 4px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-family: 'Orbitron', sans-serif;
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    letter-spacing: 1px;
}

/* Carousel Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(196, 30, 58, 0.8);
    color: var(--white);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-control:hover {
    background-color: var(--primary-red);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
    left: 30px;
}

.carousel-control.next {
    right: 30px;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
    background-color: var(--white);
    transform: scale(1.3);
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
    letter-spacing: 2px;
    font-size: 1rem;
    font-family: 'Orbitron', sans-serif;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--dark-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(196, 30, 58, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--black);
    transform: translateY(-3px);
}

/* Contact Bar */
.contact-bar {
    background-color: var(--black);
    color: var(--white);
    padding: 1.5rem 0;
}

.contact-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    font-size: 2rem;
    color: var(--accent-red);
}

.contact-item .label {
    display: block;
    font-size: 0.85rem;
    color: var(--light-gray);
    margin-bottom: 0.2rem;
}

.contact-item .value {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
}

.contact-item a.value {
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a.value:hover {
    color: var(--accent-red);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.section-header .highlight {
    color: var(--primary-red);
}

.underline {
    width: 80px;
    height: 4px;
    background-color: var(--primary-red);
    margin: 0 auto 1.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--light-gray);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 600;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

/* Intro Section */
.intro-section {
    padding: 4rem 0;
    background-image: url('../images/jc-aerospace-logo.png');
    background-size: 600px auto;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: var(--black);
    position: relative;
}

.intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    pointer-events: none;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.intro-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.intro-content-minimal h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.intro-content-minimal p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--white);
    margin-bottom: 2rem;
    font-weight: 600;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.intro-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.intro-highlights div {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
    color: var(--white);
    font-size: 1rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.intro-highlights i {
    color: var(--primary-red);
    font-size: 1.2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
}

/* Values Section */
.values-section {
    padding: 4rem 0;
    background-image: url('../images/jc-aerospace-logo.png');
    background-size: 600px auto;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: var(--black);
    position: relative;
}

.values-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    pointer-events: none;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.values-grid-minimal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.value-minimal {
    background-color: rgba(26, 26, 26, 0.85);
    padding: 2rem 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    border: 2px solid rgba(196, 30, 58, 0.6);
    border-top: 3px solid var(--primary-red);
}

.value-minimal:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.15);
}

.value-minimal i {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.value-minimal h3 {
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

/* Core Values Grid */
.core-values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.core-values-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.core-values-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.core-value-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.core-value-item:last-child {
    margin-bottom: 0;
}

.value-icon-large {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-icon-large i {
    font-size: 1.8rem;
    color: var(--white);
}

.core-value-item h3 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.core-value-item p {
    font-size: 1rem;
    color: var(--light-gray);
    line-height: 1.6;
    font-weight: 600;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

/* Services Highlight */
.services-highlight {
    padding: 4rem 0;
    background-image: url('../images/jc-aerospace-logo.png');
    background-size: 600px auto;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: var(--black);
    position: relative;
}

.services-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    pointer-events: none;
}

.services-visual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.service-visual-card {
    position: relative;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-visual-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(196, 30, 58, 0.3);
}

.service-visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26,26,26,0.95), transparent);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-overlay h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Specialties Section */
.specialties-section {
    padding: 4rem 0;
    background-image: url('../images/jc-aerospace-logo.png');
    background-size: 600px auto;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: var(--black);
    position: relative;
}

.specialties-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    pointer-events: none;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.specialty-card {
    background-color: rgba(26, 26, 26, 0.85);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    border: 2px solid rgba(196, 30, 58, 0.4);
}

.specialty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.2);
}

.specialty-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.specialty-card h3 {
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 700;
    padding: 1.5rem 2rem 0.5rem;
}

.specialty-card p {
    font-size: 1rem;
    color: var(--light-gray);
    padding: 0 2rem 1.5rem;
}

.specialty-card:not(:has(img)) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--black), var(--dark-gray));
}

.specialty-card:not(:has(img)) h3 {
    color: var(--white);
    padding: 0;
    margin-bottom: 0.5rem;
}

.specialty-card:not(:has(img)) p {
    color: var(--accent-red);
    padding: 0;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-large,
.btn-secondary-large {
    display: inline-block;
    padding: 1.2rem 3rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.btn-primary-large {
    background-color: var(--white);
    color: var(--primary-red);
}

.btn-primary-large:hover {
    background-color: var(--light-gray);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.btn-secondary-large {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary-large:hover {
    background-color: var(--white);
    color: var(--primary-red);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: var(--black);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    width: 280px;
    height: auto;
    margin-bottom: 1.5rem;
}

.footer-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.footer-section p {
    color: var(--light-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-red);
}

.contact-info li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    color: var(--light-gray);
}

.contact-info i {
    color: var(--primary-red);
    margin-top: 0.3rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-red);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--dark-gray);
    padding-top: 2rem;
    text-align: center;
    color: var(--light-gray);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}



/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--beige);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .slide-content h1 {
        font-size: 2.5rem;
    }

    .slide-content p {
        font-size: 1.2rem;
    }

    .carousel-control {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .carousel-control.prev {
        left: 15px;
    }

    .carousel-control.next {
        right: 15px;
    }

    .contact-bar-content {
        justify-content: center;
    }

    .intro-grid {
        grid-template-columns: 1fr;
    }

    .intro-highlights {
        grid-template-columns: 1fr;
    }

    .core-values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-visual-grid {
        grid-template-columns: 1fr;
    }

    .specialties-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .logo-image {
        height: 38px;
    }

    .slide-content h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .values-grid-minimal {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        width: 220px;
    }
}
