/* Kazakh Flag Inspired Branding - Updated for your HTML structure */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    /* Kazakh flag colors - sky blue and gold/yellow */
    --primary-color: #00afca;
    /* Sky blue from flag */
    --secondary-color: #fed500;
    /* Gold/Yellow from flag */
    --accent-color: #0088a3;
    /* Darker blue for accents */
    --light-color: #f0f9fc;
    /* Light sky blue tint */
    --dark-color: #1a365d;
    /* Deep blue for text */
    --gray-color: #4a5568;
    /* Medium gray */
    --transition: all 0.3s ease;

    /* Additional Kazakh-inspired colors */
    --kazakh-gold: #ffd700;
    --kazakh-sky: #87ceeb;
    --steppe-green: #2e8b57;
    /* Representing Kazakh steppes */
}

body {
    color: var(--dark-color);
    background-color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    position: relative;
    margin-bottom: 2.5rem;
}

h2.page-title {
    text-align: center;
}

h2.page-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--gray-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.btn:hover:before {
    left: 100%;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

/* Updated Logo Styles for your HTML structure */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 80px;
    /* Adjust this value to control logo image size */
    width: auto;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    white-space: nowrap;
}

.logo-text span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-links a.active {
    color: var(--secondary-color);
}

.nav-links a.active:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: -5px;
    left: 0;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.nav-links a:hover:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section with Kazakh sky gradient */
.hero {
    background: linear-gradient(135deg,
            rgba(0, 175, 202, 0.85) 0%,
            /* Kazakh blue */
            rgba(135, 206, 235, 0.8) 50%,
            /* Sky blue */
            rgba(254, 213, 0, 0.7) 100%
            /* Kazakh gold */
        ), url('wing.jpg');
    background-position: 40% -10%;
    color: white;
    text-align: center;
    padding: 180px 0 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Services Preview */
.services-preview {
    background-color: var(--light-color);
    position: relative;
}

.services-preview:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: 100%;
    border-top: 4px solid var(--secondary-color);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 1;
}

.service-icon {
    height: 180px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3.5rem;
    position: relative;
}

.service-icon:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.text-center {
    text-align: center;
}

.mt-40 {
    margin-top: 40px;
}

/* Page Content */
.page-content {
    padding-top: 140px;
    min-height: calc(100vh - 300px);
}

/* Services Page */
.services-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

/* About Page */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--secondary-color);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact Page */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h3 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-detail i {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(254, 213, 0, 0.2);
    outline: none;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* Footer with Kazakh styling */
footer {
    background: linear-gradient(135deg, var(--dark-color), var(--accent-color));
    color: white;
    padding: 50px 0 20px;
    position: relative;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    list-style: none;
}

.footer-links li {
    margin-left: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image {
        width: 100%;
        order: -1;
    }

    .page-content {
        padding-top: 120px;
    }

    .hero {
        background: linear-gradient(135deg,
                rgba(0, 175, 202, 0.9) 0%,
                rgba(254, 213, 0, 0.85) 100%), url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links li {
        margin: 15px 0;
    }

    .hero {
        padding: 150px 0 80px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 60px 0;
    }

    .footer-links {
        margin-top: 20px;
        width: 100%;
        justify-content: center;
    }

    .footer-links li {
        margin: 0 10px;
    }
}

/* Featured Aircraft Section Styles */
.featured-aircraft {
    background: linear-gradient(135deg, var(--light-color) 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 50px;
    margin: 60px 0;
    position: relative;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.featured-aircraft:before {
    content: "FEATURED";
    position: absolute;
    top: -12px;
    left: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 6px 20px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.aircraft-header {
    text-align: center;
    margin-bottom: 40px;
}

.aircraft-header h2 {
    color: var(--dark-color);
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.aircraft-header h2 i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.aircraft-header p {
    color: var(--gray-color);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.aircraft-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.aircraft-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid white;
}

.aircraft-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.aircraft-specs h3 {
    color: var(--dark-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.spec-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.spec-content h4 {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 3px;
}

.spec-content p {
    font-size: 1rem;
    color: var(--dark-color);
    font-weight: 600;
    margin: 0;
}

.aircraft-price {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
    border-left: 4px solid var(--secondary-color);
}

.price-tag {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
}

.price-amount span {
    color: var(--secondary-color);
    font-size: 2.5rem;
}

.price-note {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-top: 5px;
}

.aircraft-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-inquire {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.btn-specs {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

/* Slideshow Styles */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid white;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.slide-placeholder i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.slide-placeholder p {
    color: white;
    font-size: 1.2rem;
    margin: 0;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 15px 20px;
    font-size: 0.9rem;
    text-align: center;
}

.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    z-index: 10;
}

.slide-arrow:hover {
    background: white;
    color: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
    left: 15px;
}

.next-arrow {
    right: 15px;
}

.slide-indicators {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--secondary-color);
    transform: scale(1.2);
}

.indicator:hover {
    background: white;
}

/* Aircraft title styling (outside slideshow) */
.aircraft-title {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 6px;
    color: white;
}

.aircraft-title h3 {
    color: white;
    margin: 0;
    font-size: 1.4rem;
}

.aircraft-title .tail-number {
    color: var(--secondary-color);
    font-weight: bold;
    margin-top: 5px;
    font-size: 1.1rem;
}

/* Auto-play controls */
.slideshow-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.play-pause-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.play-pause-btn:hover {
    background: var(--accent-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .slideshow-container {
        height: 250px;
    }

    .slide-caption {
        font-size: 0.8rem;
        padding: 10px 15px;
    }

    .slide-arrow {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .aircraft-title h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .slideshow-container {
        height: 200px;
    }

    .slide-indicators {
        bottom: 40px;
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .aircraft-details {
        grid-template-columns: 1fr;
    }

    .aircraft-image img {
        height: 250px;
    }

    .featured-aircraft {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .specs-grid {
        grid-template-columns: 1fr;
    }

    .aircraft-actions {
        flex-direction: column;
    }

    .aircraft-header h2 {
        font-size: 1.8rem;
    }

    .price-tag {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .featured-aircraft {
        padding: 30px 20px;
        margin: 40px 0;
    }

    .aircraft-header h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .logo-img {
        height: 35px;
    }
}