/* ========================================
   Take Flight LLC — Custom Styles
   ======================================== */

/* --- Custom Properties --- */
:root {
    --burgundy-50: #fdf2f4;
    --burgundy-100: #fce7eb;
    --burgundy-200: #fad0d9;
    --burgundy-500: #c4274a;
    --burgundy-600: #a81e3d;
    --burgundy-700: #8c1730;
    --blush-100: #ffefea;
    --blush-200: #ffdcd1;
    --blush-400: #ff9480;
    --blush-500: #ff5f4a;
    --blush-600: #f03d28;
    --cream: #FDF8F4;
    --sand: #F5EDE6;
    --charcoal: #1A1A1A;
}

/* --- Base Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--cream);
    color: var(--charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Geometric Background Shapes --- */
.geo-shape {
    position: absolute;
    opacity: 0.5;
    pointer-events: none;
}

/* Hero shapes */
.geo-circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--burgundy-100) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    background: var(--blush-200);
    top: 30%;
    left: 45%;
    border-radius: 20px;
    transform: rotate(45deg);
    animation: float 6s ease-in-out infinite reverse;
}

.geo-circle-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--blush-200) 0%, transparent 70%);
    bottom: 10%;
    left: 5%;
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid var(--burgundy-200);
    top: 50%;
    right: 15%;
    animation: rotate 12s linear infinite;
}

.geo-rect-1 {
    width: 80px;
    height: 160px;
    background: var(--burgundy-100);
    bottom: 20%;
    right: 25%;
    border-radius: 12px;
    transform: rotate(-15deg);
    animation: float 7s ease-in-out infinite;
}

.geo-circle-3 {
    width: 100px;
    height: 100px;
    background: var(--blush-100);
    top: 15%;
    left: 10%;
    border-radius: 50%;
    animation: float 9s ease-in-out infinite reverse;
}

/* About shapes */
.geo-circle-about-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    bottom: -200px;
    right: -150px;
    border-radius: 50%;
    animation: float 12s ease-in-out infinite;
}

.geo-square-about {
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.06);
    top: 10%;
    left: 5%;
    border-radius: 16px;
    transform: rotate(30deg);
    animation: rotate 15s linear infinite;
}

.geo-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(rgba(255,255,255,0.15) 2px, transparent 2px);
    background-size: 20px 20px;
    top: 20%;
    right: 10%;
    animation: float 8s ease-in-out infinite;
}

/* Approach shapes */
.geo-circle-approach {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--blush-100) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    border-radius: 50%;
    animation: float 9s ease-in-out infinite;
}

.geo-rect-approach {
    width: 140px;
    height: 80px;
    background: var(--burgundy-100);
    bottom: 15%;
    right: 5%;
    border-radius: 12px;
    transform: rotate(20deg);
    animation: float 6s ease-in-out infinite reverse;
}

/* Testimonial shapes */
.geo-circle-testimonial-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--burgundy-100) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
    border-radius: 50%;
    animation: float 11s ease-in-out infinite;
}

.geo-square-testimonial {
    width: 80px;
    height: 80px;
    background: var(--blush-200);
    top: 20%;
    right: 8%;
    border-radius: 14px;
    transform: rotate(60deg);
    animation: rotate 10s linear infinite;
}

/* CTA shapes */
.geo-circle-cta-1 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(196, 39, 74, 0.15) 0%, transparent 70%);
    top: -150px;
    right: -100px;
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
}

.geo-square-cta {
    width: 90px;
    height: 90px;
    background: rgba(255, 95, 74, 0.12);
    bottom: 10%;
    left: 10%;
    border-radius: 14px;
    transform: rotate(45deg);
    animation: rotate 14s linear infinite;
}

.geo-triangle-cta {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 87px solid rgba(255, 148, 128, 0.1);
    top: 30%;
    right: 20%;
    animation: float 7s ease-in-out infinite reverse;
}

/* Contact shapes */
.geo-circle-contact-1 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, var(--blush-100) 0%, transparent 70%);
    bottom: -80px;
    right: -80px;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.geo-rect-contact {
    width: 100px;
    height: 200px;
    background: var(--burgundy-100);
    top: 10%;
    left: 5%;
    border-radius: 16px;
    transform: rotate(-10deg);
    animation: float 9s ease-in-out infinite reverse;
}

/* --- Animations --- */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- Service Cards --- */
.service-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--burgundy-50);
    color: var(--burgundy-700);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .service-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* --- Approach Steps --- */
.approach-step {
    opacity: 1;
}

/* --- Testimonial Cards --- */
.testimonial-card {
    position: relative;
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* --- Navbar --- */
.nav-logo-text {
    transition: color 0.3s ease;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--burgundy-600);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Scrolled navbar state */
.navbar-scrolled {
    background: rgba(253, 248, 244, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

/* --- Mobile Menu --- */
.menu-line {
    transition: all 0.3s ease;
}

#mobile-menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#mobile-menu-btn.active .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Form Styles --- */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(196, 39, 74, 0.1);
}

/* --- Selection --- */
::selection {
    background: var(--burgundy-200);
    color: var(--burgundy-900);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 250px;
        height: 250px;
    }

    .geo-square-1 {
        width: 80px;
        height: 80px;
    }

    .geo-triangle-1 {
        border-left: 40px solid transparent;
        border-right: 40px solid transparent;
        border-bottom: 69px solid var(--burgundy-200);
    }

    .geo-rect-1 {
        width: 60px;
        height: 120px;
    }
}

@media (max-width: 640px) {
    .geo-shape {
        display: none;
    }
}
