/* ═══════════════════════════════════════════════════════
   RouteOn Technologies — Brand-Specific Styles
   Loaded after styles.css on RouteOn pages only.
   Overrides shared base with RouteOn brand colours,
   background, hero, tech showcase, and dropdown nav.
═══════════════════════════════════════════════════════ */

/* ── Background ──────────────────────────────────────── */

body::before {
    content: '';
    position: fixed;
    inset: 0;
    height: 100vh;
    background-image: url('https://images.unsplash.com/photo-1508517361139-f9603689e61f?q=80&w=2649&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

/* ── Section Title / Subtitle overrides (orange on dark) */

.section-title {
    color: rgb(255, 140, 0);
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto 50px;
}

/* ── Dropdown Navigation ─────────────────────────────── */

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: opacity 0.25s ease;
}

.dropdown-toggle:hover {
    opacity: 0.72;
}

.dropdown-toggle i {
    font-size: 11px;
    transition: transform 0.28s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: rgba(8, 10, 14, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 140, 0, 0.25);
    border-radius: 10px;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1000;
    overflow: hidden;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 11px 18px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
    border-bottom: 1px solid rgba(255, 140, 0, 0.08);
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: rgba(255, 140, 0, 0.14);
    color: rgb(255, 140, 0);
    padding-left: 22px;
}

/* ── Hero Section ────────────────────────────────────── */

.routeon-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
    padding: 120px 40px 80px;
}

.routeon-hero h1 {
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: rgb(255, 140, 0);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.5px;
}

.routeon-hero .tagline {
    font-size: 1.45rem;
    font-weight: 300;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 580px;
    letter-spacing: 0.3px;
}

.routeon-hero .description {
    font-size: 1.05rem;
    margin-bottom: 44px;
    color: rgba(255, 255, 255, 0.72);
    max-width: 720px;
    line-height: 1.75;
}

/* ── CTA Buttons ─────────────────────────────────────── */

.cta-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-button {
    background: rgb(255, 140, 0);
    color: white;
    border: 2px solid rgb(255, 140, 0);
    padding: 14px 32px;
    border-radius: 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.2px;
}

.cta-button:hover {
    background: rgb(230, 118, 0);
    border-color: rgb(230, 118, 0);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 140, 0, 0.35);
}

.cta-button.secondary {
    background: transparent;
    color: rgb(255, 140, 0);
}

.cta-button.secondary:hover {
    background: rgb(255, 140, 0);
    color: white;
}

/* ── Technology Showcase ─────────────────────────────── */

.tech-showcase {
    padding: 90px 50px;
    background: rgba(0, 0, 0, 0.82);
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.tech-showcase.visible {
    opacity: 1;
    transform: translateY(0);
}

.tech-container {
    max-width: 1200px;
    margin: 0 auto;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.tech-card {
    background: rgba(255, 140, 0, 0.07);
    border: 1px solid rgba(255, 140, 0, 0.25);
    border-radius: 16px;
    padding: 32px 28px;
    text-align: center;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    opacity: 0;
    transform: translateY(28px);
}

.tech-showcase.visible .tech-card:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.10s; }
.tech-showcase.visible .tech-card:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.18s; }
.tech-showcase.visible .tech-card:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.26s; }
.tech-showcase.visible .tech-card:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.34s; }
.tech-showcase.visible .tech-card:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.42s; }
.tech-showcase.visible .tech-card:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.50s; }

.tech-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 140, 0, 0.14);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

.tech-showcase.visible .tech-card:hover {
    transform: translateY(-5px);
}

.tech-icon {
    font-size: 2.6rem;
    color: rgb(255, 140, 0);
    margin-bottom: 18px;
}

.tech-card h3 {
    color: rgb(255, 140, 0);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.tech-card p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.68;
}

/* ── Solutions Section (features on RouteOn homepage) ── */

.features-section {
    background: rgba(0, 0, 0, 0.0);
}

/* ── Responsive ──────────────────────────────────────── */

@media (max-width: 768px) {

    /* Mobile dropdown: always expanded inline */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        border-top: 1px solid rgba(255, 140, 0, 0.18);
        border-bottom: 1px solid rgba(255, 140, 0, 0.18);
        border-radius: 0;
        min-width: auto;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: 6px 0;
        text-align: center;
    }

    .dropdown-menu a {
        font-size: 19px;
        font-weight: 300;
        color: rgba(255, 255, 255, 0.7);
        background: transparent;
        border-bottom: none;
        padding: 10px 20px;
        letter-spacing: 1px;
    }

    .dropdown-menu a:hover {
        color: rgb(255, 140, 0);
        background: transparent;
        padding-left: 20px;
    }

    .dropdown-toggle i {
        display: none;
    }

    /* Hero */
    .routeon-hero {
        padding: 100px 28px 60px;
    }

    .routeon-hero h1 {
        font-size: 2.6rem;
    }

    .routeon-hero .tagline {
        font-size: 1.2rem;
    }

    .routeon-hero .description {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        padding: 13px 28px;
        font-size: 14px;
    }

    /* Tech */
    .tech-showcase { padding: 60px 22px; }
    .tech-grid     { grid-template-columns: 1fr; }
    .tech-card     { padding: 24px; }
    .tech-icon     { font-size: 2.2rem; }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 36px;
    }
}

@media (max-width: 480px) {

    .routeon-hero h1     { font-size: 2rem; }
    .routeon-hero .tagline { font-size: 1.05rem; }

    .tech-showcase { padding: 48px 16px; }
    .tech-card h3  { font-size: 1.15rem; }
}
