/* Global Reset & Mobile-First Foundation */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0a0f1d;
    color: #f4f5f7;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; /* Prevents unwanted side-scrolling on mobile */
}

/* Responsive Navigation Bar with Safe Side Padding */
.navbar {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on incredibly narrow screens */
    justify-content: space-between;
    align-items: center;
    padding: 12px 6%; /* Increased padding for safer margins */
    background-color: rgba(5, 8, 17, 0.95); 
    backdrop-filter: blur(8px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #162238;
}

/* 12 am transport Branding Style */
.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-badge {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #38bdf8;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

.main-logo {
    font-size: 16px;
    font-weight: 900;
    color: #fff;
    white-space: nowrap;
    letter-spacing: 1px;
}

.logo-text {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #94a3b8;
    text-transform: lowercase;
}

/* Nav Menu Alignment and Mobile Safety */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-links a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #38bdf8;
}

/* Quote Button Styling to Ensure Visibility */
.btn-nav {
    background-color: #38bdf8;
    color: #0a0f1d !important;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: bold !important;
    white-space: nowrap; /* Prevents button text from breaking weirdly */
}

/* Ensures content doesn't get covered by the navbar on mobile */
.content-wrapper {
    padding-top: 80px; 
}

/* Hero Section */
.hero {
    min-height: 60vh;
    background: linear-gradient(rgba(10, 15, 29, 0.8), rgba(10, 15, 29, 0.95)), 
                url('https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?q=80&w=1200') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 6%;
}

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

.hero-content h1 {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 15px;
    color: #fff;
}

.hero-content h1 span {
    color: #38bdf8;
}

.hero-content p {
    font-size: 15px;
    margin-bottom: 25px;
    color: #94a3b8;
}

/* Action Buttons */
.btn-primary, .btn-submit {
    background-color: #38bdf8;
    color: #0a0f1d;
    padding: 14px 32px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    display: inline-block;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-primary:hover, .btn-submit:hover {
    background-color: #0ea5e9;
}

/* Grid Sections Layout with Balanced Side Margins */
.fleet-section, .services, .contact {
    padding: 60px 6%;
    text-align: center;
}

.fleet-section h2, .services h2, .contact h2 {
    font-size: 26px;
    margin-bottom: 10px;
    color: #fff;
}

.section-subtitle, .form-instruction {
    color: #94a3b8;
    margin-bottom: 35px;
    font-size: 14px;
}

.fleet-grid, .service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.fleet-card, .service-card {
    background: #111827;
    padding: 25px 20px;
    border-radius: 8px;
    border: 1px solid #1f2937;
    border-bottom: 4px solid #38bdf8;
    text-align: left;
}

.fleet-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.fleet-card h3, .service-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
    color: #fff;
}

.fleet-card p, .service-card p {
    color: #94a3b8;
    font-size: 14px;
}

/* Mobile-Perfect Input Fields */
.quote-form {
    max-width: 550px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quote-form input, .quote-form textarea {
    width: 100%;
    padding: 14px;
    background-color: #111827;
    border: 1px solid #1f2937;
    color: #fff;
    border-radius: 6px;
    font-size: 16px; 
}

.quote-form input:focus, .quote-form textarea:focus {
    outline: none;
    border-color: #38bdf8;
}

.btn-submit {
    width: 100%;
}

/* Footer layout */
footer {
    text-align: center;
    padding: 25px;
    background-color: #03050a;
    color: #4b5563;
    font-size: 13px;
    border-top: 1px solid #111827;
}

/* --- Responsive Desktop Adjustments --- */
@media (min-width: 768px) {
    .navbar { padding: 15px 10%; }
    .content-wrapper { padding-top: 85px; }
    .hero-content h1 { font-size: 44px; }
    .hero-content p { font-size: 18px; }
    .main-logo, .logo-text { font-size: 20px; }
    .nav-links a { font-size: 15px; gap: 20px; }
    
    .fleet-grid, .service-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .fleet-section, .services, .contact { padding: 80px 10%; }
}
