/* ============================================================================
   Tri-Cities Drone U — Main Stylesheet (/assets/css/styles.css) v2
   Strict CSP Compliant (Zero inline styles, self-hosted assets only)
   ============================================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: #090d14;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
}

body {
    background-color: #090d14;
    color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ============================================================================
   Shared Top Navigation Bar
   ============================================================================ */
.tcdu-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: rgba(10, 14, 20, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.tcdu-topbar-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.tcdu-brand {
    text-decoration: none;
    color: #ffffff;
    display: flex;
    flex-direction: column;
}

.tcdu-brand-title {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tcdu-brand-sub {
    font-size: 0.72rem;
    color: #cbd5e1;
}

.tcdu-topnav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.tcdu-topnav a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.tcdu-topnav a:hover,
.tcdu-topnav a.active {
    color: #fb923c;
}

.tcdu-topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.tcdu-phone-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.tcdu-phone-link:hover {
    color: #fb923c;
}

/* ============================================================================
   Section Dot Navigation (Homepage Only)
   ============================================================================ */
.nav-dots {
    position: fixed;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 800;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.nav-dots .dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.nav-dots .dot:hover,
.nav-dots .dot.active {
    background: #f97316;
    border-color: #f97316;
    transform: scale(1.25);
}

/* ============================================================================
   Full-Viewport Video Sections (Scoped Strictly to Homepage)
   ============================================================================ */
body:not(.tcdu-subpage) main > section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1.5rem 4rem;
    overflow: hidden;
}

.video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(9, 13, 20, 0.62) 0%,
        rgba(9, 13, 20, 0.48) 50%,
        rgba(9, 13, 20, 0.78) 100%
    );
    z-index: 1;
}

.content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

section.in-view .content-wrapper {
    opacity: 1;
    transform: translateY(0);
}

.subheadline {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #fb923c;
    margin-bottom: 0.9rem;
}

h1 {
    font-size: clamp(2.25rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

h2 {
    font-size: clamp(1.9rem, 4.2vw, 3.1rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin-bottom: 1.15rem;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.content-wrapper p {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: #f1f5f9;
    max-width: 660px;
    margin: 0 auto 2rem;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

/* ============================================================================
   Buttons
   ============================================================================ */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.78);
    border: 2px solid #ffffff;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.15s ease;
}

.btn:hover {
    background: #ffffff;
    color: #090d14;
    transform: translateY(-1px);
}

.btn-accent {
    background: #ea580c;
    border-color: #ea580c;
    color: #ffffff;
}

.btn-accent:hover {
    background: #c2410c;
    border-color: #c2410c;
    color: #ffffff;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}

/* ============================================================================
   Scroll Down Indicator (Homepage)
   ============================================================================ */
.scroll-down {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.scroll-down:hover {
    color: #ffffff;
}

.scroll-down .chevron {
    width: 14px;
    height: 14px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    animation: tcduBounce 1.8s infinite;
}

@keyframes tcduBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(45deg) translate(0, 0);
    }
    40% {
        transform: rotate(45deg) translate(4px, 4px);
    }
    60% {
        transform: rotate(45deg) translate(2px, 2px);
    }
}

/* ============================================================================
   Dedicated Service & Guide Subpages
   ============================================================================ */
.tcdu-subpage {
    padding-top: 4.5rem;
    min-height: 100vh;
    background: #090d14;
    color: #f8fafc;
}

.tcdu-page-hero {
    background: radial-gradient(circle at top right, #1e293b 0%, #0b1120 75%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 4.5rem 1.5rem 4rem;
    text-align: left;
}

.tcdu-container {
    max-width: 1080px;
    margin: 0 auto;
    width: 100%;
}

.tcdu-page-hero h1 {
    font-size: clamp(2rem, 4.2vw, 3.1rem);
    color: #ffffff;
    margin-bottom: 1.1rem;
    text-shadow: none;
}

.tcdu-page-lead {
    font-size: 1.12rem;
    color: #e2e8f0;
    max-width: 760px;
    margin-bottom: 2rem;
    line-height: 1.65;
}

.tcdu-hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.tcdu-section-block {
    padding: 4rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    background: #090d14;
}

.tcdu-section-block:nth-of-type(even) {
    background: #0d131f;
}

.tcdu-section-block h2 {
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    color: #ffffff;
    text-shadow: none;
    margin-bottom: 0.75rem;
}

.tcdu-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.75rem;
}

.tcdu-card {
    background: #131c2e;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 1.75rem;
    text-align: left;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.tcdu-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.tcdu-card p {
    font-size: 0.98rem;
    color: #e2e8f0;
    line-height: 1.65;
}

.tcdu-checklist {
    list-style: none;
    display: grid;
    gap: 0.75rem;
    margin-top: 1.1rem;
    padding: 0;
}

.tcdu-checklist li {
    position: relative;
    padding-left: 1.45rem;
    font-size: 0.96rem;
    color: #f1f5f9;
    line-height: 1.55;
    text-align: left;
}

.tcdu-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #fb923c;
    font-weight: 800;
}

/* ============================================================================
   Contact Section & High-Contrast Footers
   ============================================================================ */
.contact-section {
    background: radial-gradient(circle at top, #162033 0%, #090d14 75%);
    justify-content: space-between;
    padding-bottom: 2rem;
}

.contact-lead {
    font-size: 1.08rem;
    color: #f1f5f9;
    margin-bottom: 1.75rem;
}

.contact-direct {
    margin-top: 1.75rem;
    font-size: 1rem;
    color: #e2e8f0;
}

.contact-email {
    color: #fb923c;
    font-weight: 700;
    text-decoration: none;
}

.contact-email:hover {
    color: #fdba74;
    text-decoration: underline;
}

.contact-section footer,
.tcdu-site-footer {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1120px;
    margin: 2.5rem auto 0;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    text-align: left;
    font-size: 0.92rem;
    color: #e2e8f0;
    line-height: 1.75;
}

.tcdu-site-footer {
    max-width: none;
    margin-top: 0;
    background: #0b111d;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding: 3rem 1.5rem 2.5rem;
}

.tcdu-site-footer .footer-grid,
.tcdu-site-footer .footer-nondiscrimination {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
}

.footer-brand {
    display: block;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.footer-link,
.tcdu-site-footer a,
.contact-section footer a {
    color: #fb923c;
    font-weight: 600;
    text-decoration: none;
}

.footer-link:hover,
.tcdu-site-footer a:hover,
.contact-section footer a:hover {
    color: #fdba74;
    text-decoration: underline;
}

.footer-nondiscrimination {
    margin-top: 1.75rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.82rem;
    color: #cbd5e1;
}

/* ============================================================================
   Responsive Breakpoints
   ============================================================================ */
@media (max-width: 900px) {
    .tcdu-topbar-inner {
        flex-wrap: wrap;
        padding: 0.65rem 1rem;
        gap: 0.5rem;
    }

    .tcdu-brand-sub {
        display: none;
    }

    .tcdu-topnav {
        order: 3;
        width: 100%;
        justify-content: space-between;
        gap: 0.75rem;
        padding-top: 0.45rem;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        overflow-x: auto;
    }

    .tcdu-topnav a {
        font-size: 0.82rem;
        white-space: nowrap;
    }

    .tcdu-subpage {
        padding-top: 6.25rem;
    }

    .nav-dots {
        right: 0.75rem;
    }
}

@media (max-width: 700px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tcdu-phone-link {
        font-size: 0.84rem;
    }
}