/* ==========================================================================
   On Road Transfers - Landing Page Style Sheet (Vanilla CSS)
   Colors: Purple (#800080) & Navy (#2C3E50)
   ========================================================================== */

:root {
    --color-primary: #800080;
    --color-primary-dark: #680068;
    --color-primary-light: rgba(128, 0, 128, 0.08);
    --color-primary-border: rgba(128, 0, 128, 0.18);
    
    --color-navy: #2C3E50;
    --color-navy-light: #34495E;
    --color-navy-dark: #1A252F;
    --color-navy-muted: #556677;
    
    --color-bg-light: #F6F8FA;
    --color-bg-white: #FFFFFF;
    --color-border: #EAECEE;
    
    --font-main: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--color-navy-light);
    background-color: var(--color-bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1220px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--color-navy);
    font-weight: 700;
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    font-size: 1rem;
    color: var(--color-navy-muted);
}

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

.section-title {
    margin-bottom: 50px;
}
.section-title h2 {
    margin-bottom: 12px;
}
.section-title .subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--color-primary);
    margin: 16px auto 0;
    border-radius: 99px;
}

/* Grids */
.grid {
    display: grid;
    gap: 30px;
    overflow: hidden;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-2 > * { min-width: 0; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-3 > * { min-width: 0; }

/* Top Bar (Purple Background) */
.top-bar {
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    font-size: 0.8rem;
    padding: 8px 0;
    font-weight: 500;
}

.top-bar-container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
    transition: margin-left 0.2s;
}

@media screen and (min-width: 769px) {
    .top-bar-left {
        margin-left: 220px; /* Move words towards the center to avoid logo overlap */
    }
}

@media screen and (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .top-bar-left {
        display: none; /* Hide detailed info on mobile to avoid overlap and wrapping */
    }
    .top-bar-container {
        justify-content: flex-end; /* Align flags to the right on mobile */
    }
}

.top-bar-left li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-left a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s;
}

.top-bar-left a:hover {
    opacity: 0.85;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-search-icon {
    color: inherit;
    text-decoration: none;
    font-size: 0.85rem;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.top-search-icon:hover {
    opacity: 1;
}

.social-links {
    list-style: none;
    display: flex;
    gap: 12px;
}

.social-links a {
    color: inherit;
    text-decoration: none;
    font-size: 0.85rem;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.social-links a:hover {
    opacity: 1;
}

/* Flag Selector in Top Bar */
.lang-selector-flags {
    display: flex;
    gap: 6px;
    align-items: center;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 15px;
}

.lang-selector-flags .lang-btn {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.2s, transform 0.2s;
}

.lang-selector-flags .lang-btn img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.lang-selector-flags .lang-btn:hover {
    opacity: 0.9;
}

.lang-selector-flags .lang-btn.active {
    opacity: 1;
    transform: scale(1.1);
}

.lang-selector-flags .lang-btn.active img {
    border-color: var(--color-bg-white);
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
}

/* Main Header & Navbar */
.main-header {
    background-color: var(--color-bg-white);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.main-header .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-area {
    position: relative;
    height: 48px;
    width: 205px;
}

.logo-img {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    max-height: 96px; /* Double of 48px */
    width: auto;
    display: block;
    z-index: 1010;
}

@media screen and (max-width: 480px) {
    .logo-area {
        width: 150px;
        height: 35px;
    }
    .logo-img {
        max-height: 70px;
    }
}

.nav-menu {
    display: block;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-menu > ul > li {
    position: relative;
    padding: 10px 0;
}

.nav-menu a {
    color: var(--color-navy);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: var(--color-primary);
}

/* Dropdown styling */
.nav-menu li.has-dropdown:hover > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-bg-white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    border: 1px solid var(--color-border);
    min-width: 230px;
    padding: 10px 0;
    display: block;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
}

.nav-menu .dropdown li {
    padding: 0;
    border: none !important;
}

.nav-menu .dropdown a {
    font-size: 0.8rem;
    padding: 10px 20px;
    text-transform: none;
    font-weight: 600;
    display: block;
}

.nav-menu .dropdown a:hover {
    background-color: var(--color-bg-light);
}

/* CTA Outline Button */
.cta-outline-btn {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid var(--color-primary);
    border-radius: 999px;
    color: var(--color-primary) !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.cta-outline-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-bg-white) !important;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--color-navy);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    padding: 70px 0;
    color: var(--color-bg-white);
    min-height: 580px;
    display: flex;
    align-items: center;
}

.hero-section h1,
.hero-section h2,
.hero-section h3 {
    color: var(--color-bg-white);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-tagline {
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: #df9bdf; /* Lighter shade of purple for dark bg */
    display: block;
    margin-bottom: 12px;
}

.hero-title {
    color: var(--color-bg-white);
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.trust-pillars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pillar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.05rem;
}

.pillar-item i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

/* Booking Widget Card */
.booking-widget-card {
    background-color: var(--color-bg-white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    color: var(--color-navy);
    border: 1px solid var(--color-border);
}

.widget-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    text-align: center;
    color: var(--color-navy);
}

.form-group {
    margin-bottom: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-navy-muted);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

/* Form controls customization (matches original design) */
.custom-select-wrapper {
    position: relative;
}

.custom-select-wrapper::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 0.8rem;
    color: var(--color-primary);
}

select, input[type="date"] {
    width: 100%;
    height: 48px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background-color: var(--color-bg-light);
    color: var(--color-navy);
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0 35px 0 16px;
    appearance: none;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

select:focus, input[type="date"]:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(128, 0, 128, 0.15);
    background-color: var(--color-bg-white);
}

.input-icon-wrapper {
    position: relative;
}

.input-icon-wrapper i {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    color: var(--color-primary);
    pointer-events: none;
}

input[type="date"] {
    padding-right: 40px;
    cursor: pointer;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 8px;
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(128, 0, 128, 0.2);
    transition: all 0.2s;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(128, 0, 128, 0.28);
}

.submit-btn:active {
    transform: translateY(1px);
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background-color: var(--color-bg-light);
}

.benefit-card {
    background-color: var(--color-bg-white);
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    border: 1px solid var(--color-border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(44, 62, 80, 0.08);
}

.benefit-icon {
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.benefit-card h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.benefit-card p {
    font-size: 0.95rem;
}

/* Comparison Section */
.comparison-section {
    padding: 80px 0;
    background-color: var(--color-bg-white);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 40px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
    background-color: var(--color-bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border);
}

.comparison-table th, .comparison-table td {
    padding: 18px 24px;
    text-align: left;
}

.comparison-table th {
    background-color: var(--color-navy);
    color: var(--color-bg-white);
    font-weight: 700;
}

.comparison-table th.highlight {
    background-color: var(--color-primary);
}

.comparison-table td {
    border-bottom: 1px solid var(--color-border);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table td.feature-name {
    font-weight: 700;
    color: var(--color-navy);
}

.comparison-table td.feature-name i {
    color: var(--color-primary);
    margin-right: 8px;
    width: 18px;
}

.comparison-table td.highlight-val {
    background-color: var(--color-primary-light);
    color: var(--color-primary-dark);
    font-weight: 700;
    border-left: 1px solid var(--color-primary-border);
    border-right: 1px solid var(--color-primary-border);
}

/* Fleet Section */
.fleet-section {
    padding: 80px 0;
    background-color: var(--color-bg-light);
}

.fleet-card {
    background-color: var(--color-bg-white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    min-width: 0;
    max-width: 100%;
}

.fleet-img-wrapper {
    height: 200px;
    overflow: hidden;
    background-color: #f0f2f5;
}

.fleet-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.fleet-card:hover .fleet-img {
    transform: scale(1.05);
}

.fleet-info {
    padding: 24px;
    overflow-wrap: break-word;
    word-break: break-word;
}

.fleet-info h3 {
    margin-bottom: 10px;
    color: var(--color-navy);
}

.fleet-specs {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary);
}

.fleet-specs span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.fleet-info p {
    font-size: 0.95rem;
}

/* Meeting Point Section */
.meeting-section {
    padding: 80px 0;
    align-items: center;
}

.meeting-text .tag {
    font-size: 0.85rem;
    font-weight: 900;
    color: var(--color-primary);
    display: block;
    margin-bottom: 10px;
}

.meeting-text h2 {
    margin-bottom: 20px;
}

.meeting-text p {
    margin-bottom: 18px;
    font-size: 1.05rem;
}

.flight-notice {
    display: flex;
    gap: 16px;
    background-color: var(--color-primary-light);
    border: 1px solid var(--color-primary-border);
    padding: 20px;
    border-radius: 12px;
    margin-top: 30px;
}

.flight-notice i {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-top: 3px;
}

.flight-notice h4 {
    margin-bottom: 6px;
    font-size: 1.1rem;
}

.flight-notice p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

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

.meeting-img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta-section {
    background-color: var(--color-navy);
    color: var(--color-bg-white);
    padding: 80px 0;
}

.cta-section h2 {
    color: var(--color-bg-white);
    font-size: 2.3rem;
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    height: 52px;
    padding: 0 40px;
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    border: none;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(128, 0, 128, 0.3);
    transition: all 0.2s;
}

.cta-btn:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-1px);
}

/* Footer Section */
.site-footer {
    background-color: var(--color-navy-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 30px 0 30px; /* Reduced by 20px to keep footer size unchanged with larger logo */
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px; /* Reduced by 20px to keep footer size unchanged with larger logo */
    margin-bottom: 30px;
}

.footer-logo {
    max-height: 80px; /* Doubled from 40px */
    width: auto;
    display: block;
}

.footer-info {
    text-align: right;
}

.footer-info p:first-child {
    font-weight: 700;
    color: var(--color-bg-white);
    margin-bottom: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--color-bg-white);
}

/* ==========================================================================
   Responsive Queries
   ========================================================================== */

@media screen and (max-width: 1024px) {
    .header-container {
        flex-wrap: wrap;
    }
    .menu-toggle {
        display: block;
        z-index: 1020;
    }
    .header-cta {
        display: none;
    }
    .nav-menu {
        display: none;
        width: 100%;
        order: 3;
    }
    .nav-menu.active {
        display: block;
    }
    .nav-menu ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        padding-top: 15px;
    }
    .nav-menu ul li {
        padding: 0;
        width: 100%;
        border-bottom: 1px solid var(--color-border);
    }
    .nav-menu ul li:last-child {
        border-bottom: none;
    }
    .nav-menu a {
        padding: 12px 10px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: space-between;
    }
    .nav-menu .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding-left: 20px;
        display: none;
        background-color: var(--color-bg-light);
        width: 100%;
    }
    .nav-menu li.has-dropdown.active > .dropdown {
        display: block;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-text-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .trust-pillars {
        align-items: center;
    }
    
    .booking-col {
        max-width: 500px;
        width: 100%;
        margin: 0 auto;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    
    .hero-section {
        padding: 50px 0;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .meeting-visual {
        order: -1;
        margin-bottom: 30px;
    }
    
    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-links a {
        margin: 0 10px;
    }

    .fleet-img-wrapper {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .trust-pillars {
        gap: 10px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 480px) {
    .booking-widget-card {
        padding: 20px 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .comparison-table th, .comparison-table td {
        padding: 12px 14px;
        font-size: 0.85rem;
    }

    /* Fleet images responsive */
    .fleet-img-wrapper {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    /* Trust pillars stack */
    .trust-pillars {
        flex-direction: column;
        gap: 8px;
    }

    /* Hero text centering */
    .hero-text-col {
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    /* Top bar hide left info, keep right */
    .top-bar-left {
        display: none;
    }

    .top-bar-container {
        justify-content: center;
    }

    /* Booking widget full width */
    .booking-col {
        width: 100%;
    }
}
