/* CSS for ONE NOT ONE TRAD.CONT. TRANSPORT CO.W.L.L. One Page Website */

/* Base & Reset */
:root {
    --bg-base: #020617;
    /* Slate 950 */
    --bg-surface: rgba(30, 41, 59, 0.4);
    /* Slate 800 with opacity */
    --bg-card: rgba(15, 23, 42, 0.6);
    /* Slate 900 */
    --glass-border: rgba(148, 163, 184, 0.1);

    --primary: #3b82f6;
    /* Blue 500 */
    --primary-light: #60a5fa;
    /* Blue 400 */
    --primary-glow: rgba(59, 130, 246, 0.25);

    --accent: #0ea5e9;
    /* Sky 500 */

    --text-main: #f8fafc;
    /* Slate 50 */
    --text-muted: #94a3b8;
    /* Slate 400 */
    --text-dark: #020617;

    --radius-lg: 24px;
    --radius-md: 16px;
    --font-heading: 'Outfit', sans-serif;

    --padding-x: 5%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-heading);
    background-color: var(--bg-base);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Background Effects */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.6;
    transition: transform 0.5s cubic-bezier(0.1, 0.9, 0.2, 1);
}

#glow1 {
    width: 50vw;
    height: 50vw;
    background: var(--primary-glow);
    top: -20%;
    left: -10%;
    animation: drift 15s ease-in-out infinite alternate;
}

#glow2 {
    width: 40vw;
    height: 40vw;
    background: rgba(14, 165, 233, 0.15);
    /* Sky blue glow */
    bottom: -15%;
    right: -10%;
    animation: drift 12s ease-in-out infinite alternate-reverse;
}

.glow-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: 50px 50px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}

@keyframes drift {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 100% 100%;
        transform: scale(1.1) translate(20px, 30px);
    }
}

/* Universal Typography & Utilities */
.highlight {
    background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.text-center {
    text-align: center;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
    color: white;
    /* Ensure text remains white */
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Glassmorphism Defaults */
.glass-panel {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Section Layout */
.section {
    padding: 6rem var(--padding-x);
    width: 100%;
    margin: 0 auto;
    max-width: 1400px;
}

.section-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .section-container {
        grid-template-columns: 1fr 1fr;
    }
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    transition: all 0.4s ease;
    padding: 1rem var(--padding-x);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    background: rgba(255, 255, 255, 0.98);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    display: inline-flex;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1rem;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--primary-light);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 900px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(20px);
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-150%);
        opacity: 0;
        transition: all 0.4s ease;
        pointer-events: none;
        box-shadow: 0 20px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
}

/* -------- HERO SECTION -------- */
.main-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem var(--padding-x) 4rem;
    /* top padding for fixed nav */
    max-width: 1400px;
    margin: 0 auto;
    gap: 4rem;
}

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

.badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--primary-light);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}

.title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: white;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    border-radius: var(--radius-lg);
    padding: 2rem 3rem;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    display: inline-block;
}

.stat-item span {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-light);
    margin-left: 2px;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
    margin-top: -5px;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .stat-divider {
        display: none;
    }

    .hero-stats {
        padding: 1.5rem;
    }
}

/* -------- ABOUT SECTION -------- */
.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    aspect-ratio: 4/4;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
}

.about-icon-large {
    font-size: 8rem;
    color: rgba(59, 130, 246, 0.2);
}

.about-experience {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 1.5rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.3);
    color: white;
}

.about-experience h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.about-experience p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.lead-text {
    font-size: 1.25rem;
    color: white;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .about-image {
        margin-bottom: 2rem;
        aspect-ratio: auto;
        padding: 4rem 2rem;
    }

    .about-experience {
        right: 0;
        bottom: -30px;
        left: 0;
        text-align: center;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

/* -------- SERVICES SECTION -------- */
.services-section {
    background: rgba(0, 0, 0, 0.2);
}

.services-grid-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(59, 130, 246, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    box-shadow: inset 0 0 20px rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.service-card p {
    color: var(--text-muted);
}

/* -------- FLEET SECTION -------- */
.fleet-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.fleet-item {
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    border-top: 3px solid transparent;
    transition: all 0.3s ease;
}

.fleet-item:hover {
    border-top-color: var(--primary);
    transform: translateY(-5px);
}

.fleet-item h4 {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 0.5rem;
}

.fleet-item span {
    color: var(--primary-light);
    font-weight: 500;
    font-size: 0.9rem;
}

/* -------- TESTIMONIALS SECTION -------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    padding: 3rem;
    border-radius: var(--radius-lg);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quote-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.05);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: #e2e8f0;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 1.5rem;
}

.testimonial-author h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* -------- CTA/CONTACT SECTION -------- */
.cta-card {
    padding: 5rem 2rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(59, 130, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-card h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: white;
}

.cta-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.contact-info-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    color: #e2e8f0;
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-item i {
    color: var(--primary-light);
}

/* -------- FOOTER -------- */
.site-footer {
    background: rgba(2, 6, 23, 0.8);
    border-top: 1px solid var(--glass-border);
    padding: 4rem var(--padding-x) 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    background: rgba(255, 255, 255, 0.98);
    padding: 1rem;
    border-radius: var(--radius-md);
    height: 50px;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 400px;
}

.footer-links h4,
.footer-social h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}