/*
 Theme Name:   Parsa Child
 Theme URI:    http://example.com/your-theme-name-child/
 Description:  Child theme for Parsa Theme - Aviation Training Customization
 Author:       Hamid Shamsian
 Author URI:   http://example.com
 Template:     Parsa
 Version:      1.0.0
*/

/* ===== DESIGN SYSTEM ===== */
:root {
    /* Light Mode Colors */
    --primary-maroon: #801213;
    --secondary-gold: #D6BC66;
    --dark-maroon: #5c0d0e;
    --light-maroon: #a01619;
    --dark-gray: #333333;
    --light-gray: #666666;
    --white: #FFFFFF;
    --off-white: #F8F8F8;
    --success-green: #28A745;
    --danger-red: #DC3545;
    --warning-orange: #FFC107;
    
    /* Light Mode Backgrounds */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F8F8;
    --bg-card: #FFFFFF;
    --text-primary: #333333;
    --text-secondary: #666666;
    --border-color: rgba(128, 18, 19, 0.1);
}

/* Dark Mode Colors */
.dark {
    --primary-maroon: #801213;
    --secondary-gold: #D6BC66;
    --dark-maroon: #5c0d0e;
    --light-maroon: #a01619;
    --dark-gray: #e0e0e0;
    --light-gray: #b0b0b0;
    --white: #1a1a1a;
    --off-white: #2a2a2a;
    --success-green: #28A745;
    --danger-red: #DC3545;
    --warning-orange: #FFC107;
    
    /* Dark Mode Backgrounds */
    --bg-primary: #1a1a1a;
    --bg-secondary: #2a2a2a;
    --bg-card: #1a1a1a;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --border-color: rgba(214, 188, 102, 0.2);
}

/* ===== EXISTING CUSTOMIZATIONS ===== */
.swiper.swiper-card-review.swiper-cards.swiper-3d.swiper-initialized.swiper-horizontal.swiper-rtl.swiper-watch-progress {
	height: 380px !important; 
}

@media screen and (max-width: 700px) {	
	.swiper.swiper-card-review.swiper-cards.swiper-3d.swiper-initialized.swiper-horizontal.swiper-rtl.swiper-watch-progress {
		height: 540px !important; 
	}
}

.swiper.swiper-card-review.swiper-cards.swiper-3d.swiper-initialized.swiper-horizontal.swiper-rtl.swiper-watch-progress .customer-comment {
	height: 125px !important; 
}

div.footer-elementor {
	margin-top:0 !important;
}

.video-review-item.video-review-button {
	background: #000 !important;
}

.head-box .head-title::before {
	display: none !important;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 80vh;
    background: linear-gradient(rgba(139, 0, 0, 0.7), rgba(139, 0, 0, 0.7)), url('path-to-aircraft-image.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-button {
    background: var(--danger-red);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.hero-button:hover {
    background: var(--dark-maroon);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* ===== COURSE CARDS ===== */
.courses-section {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 3rem;
    font-weight: bold;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Removed conflicting course card styles to prevent interference with Elementor widgets */

/* ===== BRAND PARTNERSHIP SECTION ===== */
.brands-section {
    padding: 80px 0;
    background: var(--white);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    color: var(--light-gray);
    font-size: 1.5rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.brand-logo:hover {
    color: var(--primary-maroon);
}

/* ===== CONTACT FORM ===== */
.contact-section {
    padding: 80px 0;
    background: var(--off-white);
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-gray);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-field {
    background: var(--dark-gray);
    border: none;
    border-radius: 8px;
    padding: 15px;
    color: var(--white);
    font-size: 1rem;
    transition: background 0.3s ease;
}

.form-field:focus {
    outline: none;
    background: var(--light-gray);
}

.form-field::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-field.full-width {
    grid-column: 1 / -1;
}

.form-field.textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-button {
    background: var(--primary-maroon);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    float: right;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background: var(--dark-maroon);
}

/* ===== OFFICE LOCATIONS ===== */
.offices-section {
    background: var(--primary-maroon);
    padding: 80px 0;
    color: var(--white);
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.office-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.office-map {
    background: var(--white);
    border-radius: 8px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-gray);
}

.office-details h3 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-icon {
    width: 20px;
    height: 20px;
    background: var(--warning-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--white);
}

/* ===== COURSE COMPARISON TABLE ===== */
.comparison-section {
    padding: 80px 0;
    background: var(--primary-maroon);
    color: var(--white);
}

.comparison-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.comparison-table {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--dark-maroon);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th {
    background: var(--primary-maroon);
    font-weight: bold;
    font-size: 1.1rem;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: bold;
}

.check-icon {
    color: var(--success-green);
    font-weight: bold;
}

.cross-icon {
    color: var(--danger-red);
    font-weight: bold;
}

/* ===== AIRCRAFT FLEET CARDS ===== */
.fleet-section {
    padding: 80px 0;
    background: var(--white);
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.aircraft-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.aircraft-card:hover {
    transform: translateY(-5px);
}

.aircraft-image {
    height: 200px;
    background: var(--off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-gray);
    font-size: 1.2rem;
}

.aircraft-details {
    padding: 25px;
}

.aircraft-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.specs-box {
    background: var(--dark-gray);
    color: var(--white);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

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

.status-button {
    padding: 8px 20px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
}

.status-button.certified {
    background: var(--success-green);
    color: var(--white);
}

.status-button.not-available {
    background: var(--danger-red);
    color: var(--white);
}

/* ===== BOOKING CALENDAR ===== */
.booking-section {
    padding: 80px 0;
    background: var(--primary-maroon);
    color: var(--white);
}

.booking-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.calendar-widget {
    max-width: 400px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.calendar-header {
    background: var(--primary-maroon);
    color: var(--white);
    padding: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.calendar-nav {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
}

.calendar-month {
    font-size: 1.3rem;
    font-weight: bold;
}

.calendar-grid {
    padding: 20px;
    color: var(--dark-gray);
}

.days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: center;
}

.days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.day-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.day-cell:hover {
    background: var(--off-white);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .office-card {
        grid-template-columns: 1fr;
    }
    
    .offices-grid {
        grid-template-columns: 1fr;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .fleet-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .courses-grid,
    .fleet-grid,
    .offices-grid {
        padding: 0 15px;
    }
}