/* KOUKIS AVIATION - Custom Bootstrap Styles */

/* Color Variables */
:root {
    --primary-color: #1258e2;
    --primary-hover: rgba(18, 88, 226, 0.9);
    --accent-color: #FF6700;
    --background-light: #f6f6f8;
    --background-dark: #101622;
    --text-dark: #1A1A1A;
    --border-light: #E0E0E0;
    --border-dark: #333333;
}

/* Bootstrap Color Overrides */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

/* Body and Typography */
body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--background-light);
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.5;
}

/* Typography System - Headings */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1, .h1 {
    font-size: 2.5rem;
}

h2, .h2 {
    font-size: 2rem;
}

h3, .h3 {
    font-size: 1.75rem;
}

h4, .h4 {
    font-size: 1.5rem;
}

h5, .h5 {
    font-size: 1.25rem;
}

h6, .h6 {
    font-size: 1rem;
}

/* Font Weight Utilities */
.fw-black {
    font-weight: 900;
}

.fw-bold {
    font-weight: 700;
}

.fw-semibold {
    font-weight: 600;
}

.fw-medium {
    font-weight: 500;
}

.fw-normal {
    font-weight: 400;
}

/* Text Size Utilities */
.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-5xl {
    font-size: 3rem;
    line-height: 1.2;
}

.text-6xl {
    font-size: 3.75rem;
    line-height: 1.1;
}

/* Icon Size Utilities */
.icon-sm {
    font-size: 1.25rem;
}

.icon-md {
    font-size: 1.5rem;
}

.icon-lg {
    font-size: 2rem;
}

.icon-xl {
    font-size: 2.5rem;
}

.icon-2xl {
    font-size: 3rem;
}

/* Material Symbols Baseline */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}

/* Lead Text */
.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
}

/* Display Headings */
.display-1 {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
}

.display-2 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
}

.display-3 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
}

.display-4 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
}

.display-5 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

.display-6 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Small Text */
.small {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

/* Custom Utilities */
.min-h-screen {
    min-height: 100vh;
}

.aspect-video {
    aspect-ratio: 16 / 9;
}

.aspect-square {
    aspect-ratio: 1 / 1;
}

.aspect-43 {
    aspect-ratio: 4 / 3;
}

.tracking-tight {
    letter-spacing: -0.015em;
}

.tracking-tighter {
    letter-spacing: -0.033em;
}

.backdrop-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Background Image Utilities */
.bg-cover {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Dark Mode Support */
[data-bs-theme="dark"] body {
    background-color: var(--background-dark);
    color: #f0f0f0;
}

[data-bs-theme="dark"] .bg-light {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

[data-bs-theme="dark"] .border {
    border-color: var(--border-dark) !important;
}

[data-bs-theme="dark"] .text-muted {
    color: #9DA3AB !important;
}

/* Custom Card Styles */
.card-hover {
    transition: all 0.3s ease;
}

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

/* Hero Section */
.hero-gradient {
    background: linear-gradient(rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
}

/* Sticky Header */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: rgba(255, 255, 255, 0.8);
}

[data-bs-theme="dark"] .sticky-header {
    background-color: rgba(16, 22, 34, 0.8);
}

/* Icon Containers */
.icon-container {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.icon-container-primary {
    background-color: rgba(18, 88, 226, 0.1);
    color: var(--primary-color);
}

.icon-container-accent {
    background-color: rgba(255, 103, 0, 0.1);
    color: var(--accent-color);
}

/* Button Utilities */
.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Form Styles */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(18, 88, 226, 0.25);
}

/* Responsive Typography */
@media (max-width: 576px) {
    h1, .h1 {
        font-size: 2rem;
    }

    h2, .h2 {
        font-size: 1.75rem;
    }

    h3, .h3 {
        font-size: 1.5rem;
    }

    .display-1 {
        font-size: 3.5rem;
    }

    .display-2 {
        font-size: 3rem;
    }

    .display-3 {
        font-size: 2.5rem;
    }

    .display-4 {
        font-size: 2.25rem;
    }

    .display-5 {
        font-size: 2rem;
    }

    .display-6 {
        font-size: 1.75rem;
    }

    .text-4xl {
        font-size: 1.875rem;
    }

    .text-5xl {
        font-size: 2.25rem;
    }

    .text-6xl {
        font-size: 2.5rem;
    }

    .lead {
        font-size: 1.125rem;
    }
}

/* Timeline Styles */
.timeline-item {
    position: relative;
    padding-left: 40px;
}

.timeline-icon {
    position: absolute;
    left: 0;
    top: 0;
}

.timeline-line {
    position: absolute;
    left: 15px;
    top: 40px;
    bottom: -20px;
    width: 2px;
    background-color: var(--border-light);
}

[data-bs-theme="dark"] .timeline-line {
    background-color: var(--border-dark);
}

/* Truncate Text */
.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Social Icons */
.social-icon {
    width: 24px;
    height: 24px;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-color);
}

/* Custom Spacing */
.gap-4 {
    gap: 1.5rem;
}

.gap-6 {
    gap: 2rem;
}

.gap-8 {
    gap: 3rem;
}

.gap-10 {
    gap: 3.5rem;
}
