/* 
  My Travel Budy / Travel Holic World - Modern Premium Car Rental Design System
  Colors: Navy Blue (#0f172a), Teal (#0d9488), Gold (#fbbf24)
*/

:root {
    --primary: #0f172a; /* Navy Blue */
    --secondary: #0d9488; /* Teal */
    --accent: #fbbf24; /* Gold/Yellow */
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --font-main: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

/* --- Utility Classes --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #0b7a6f;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(13, 148, 136, 0.2);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--primary);
}

.btn-accent:hover {
    background-color: #eab308;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(251, 191, 36, 0.2);
}

.w-full { width: 100%; }

/* --- Header & Navigation --- */
.top-bar {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 12px 0;
    font-size: 13px;
    font-weight: 600;
    z-index: 1001;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
}

header {
    background-color: var(--white);
    padding: 0;
    box-shadow: 0 4px 25px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo {
    font-size: 26px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -1px;
}

.logo span {
    color: var(--secondary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}

.nav-menu li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--secondary);
    transition: width 0.3s;
    border-radius: 2px;
}

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

.nav-menu li a:hover:after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.mobile-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--primary);
}

/* --- Mobile Nav Overlay --- */
.mobile-nav {
    display: none !important;
}

.overlay-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1999;
    display: none;
}

@media (max-width: 992px) {
    .nav-menu { display: none !important; }
    .mobile-toggle { display: block !important; }
    .header-right .btn { display: none; }
    
    .mobile-nav {
        display: flex !important;
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        height: 100vh;
        background: var(--primary);
        z-index: 2000;
        flex-direction: column;
        padding: 60px 40px;
        transition: right 0.4s cubic-bezier(0.77,0.2,0.05,1.0);
        box-shadow: -10px 0 30px rgba(0,0,0,0.2);
    }
    .mobile-nav.active { right: 0; }
    .mobile-nav-close {
        align-self: flex-end;
        font-size: 35px;
        color: var(--white);
        margin-bottom: 40px;
        cursor: pointer;
    }
    .mobile-nav ul { list-style: none; }
    .mobile-nav ul li { margin-bottom: 30px; }
    .mobile-nav ul li a {
        color: var(--white);
        text-decoration: none;
        font-size: 22px;
        font-weight: 800;
        text-transform: uppercase;
    }
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 700px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('https://images.unsplash.com/photo-1494976388531-d1058494cdd8?auto=format&fit=crop&q=80&w=2070');
    background-size: cover;
    background-position: center;
    z-index: -1;
    transition: transform 1.5s ease;
}

.hero:hover .hero-bg {
    transform: scale(1.1);
}

.hero h1 {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 20px;
    max-width: 600px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* --- Trust Badges Section --- */
.trust-bar {
    background: var(--white);
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.trust-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trust-item i {
    font-size: 30px;
    color: var(--secondary);
}

.trust-item span {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-dark);
}

/* --- Features Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-card {
    background: var(--white);
    padding: 45px 35px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.feature-icon {
    width: 75px;
    height: 75px;
    background: rgba(13, 148, 136, 0.1);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 30px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--primary);
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* --- Fleet Section --- */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.car-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.07);
}

.car-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.car-info {
    padding: 35px;
}

.car-info h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}

.car-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-light);
    font-weight: 600;
}

.car-meta span i {
    color: var(--secondary);
    margin-right: 5px;
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease-out;
}

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

/* --- Section Title --- */
.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 42px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title .underline {
    width: 100px;
    height: 6px;
    background-color: var(--secondary);
    margin: 25px auto;
    border-radius: 5px;
}

/* --- Internal Page Enhancements --- */
.internal-hero {
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url('https://images.unsplash.com/photo-1549317661-bd32c8ce0db2?auto=format&fit=crop&q=80&w=2070');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 120px 0;
    text-align: center;
}

.internal-hero h1 {
    font-size: 54px;
    font-weight: 900;
    margin-bottom: 15px;
}

.internal-hero p {
    font-size: 18px;
    color: #94a3b8;
}

.internal-content {
    padding: 100px 0;
    background: var(--white);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.image-stack {
    position: relative;
    height: 450px;
}

.image-main {
    width: 90%;
    height: 400px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 20px 20px 0 var(--secondary);
}

.image-sub {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 250px;
    object-fit: cover;
    border-radius: 24px;
    border: 8px solid var(--white);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* --- Enhanced Footer --- */
footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 100px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 30px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
}

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

.footer-links li {
    margin-bottom: 15px;
}

.footer-links li a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 15px;
}

.footer-links li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-contact-item i {
    color: var(--secondary);
    font-size: 20px;
    margin-top: 5px;
}

.footer-contact-item div p {
    font-size: 14px;
    color: #94a3b8;
}

.footer-bottom {
    background: #0b1120;
    padding: 40px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.disclaimer {
    color: #64748b;
    font-size: 13px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 30px 0;
    max-width: 1000px;
    margin: 0 auto;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
    .footer-top { grid-template-columns: 1fr 1fr; }
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .image-stack {
        height: auto;
        margin-bottom: 30px;
    }
    .image-main {
        width: 100%;
        box-shadow: 10px 10px 0 var(--secondary);
    }
    .image-sub {
        display: none;
    }
}

@media (max-width: 768px) {
    .footer-top { grid-template-columns: 1fr; }
    .hero h1 { font-size: 38px; }
    .section-title h2 { font-size: 28px; }
    .internal-hero h1 { font-size: 32px; }
    .internal-hero p { font-size: 16px; }
    .internal-content { padding: 60px 0; }
    
    /* Ensure page is not covered by floating button at bottom */
    body {
        padding-bottom: 75px !important;
    }
}

/* --- Elegant Mobile Bottom Call Bar --- */
.mobile-fixed-call {
    display: none;
}

@media (max-width: 768px) {
    .mobile-fixed-call {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: var(--secondary); /* Original Teal color combination */
        color: var(--white) !important;      /* Original White text color */
        text-align: center;
        padding: 16px 10px;
        font-size: 16px;
        font-weight: 800;
        text-transform: uppercase;
        z-index: 99999;
        text-decoration: none;
        box-shadow: 0 -5px 25px rgba(0,0,0,0.25);
        border-top: 4px solid var(--accent); /* Premium Gold Top border */
        letter-spacing: 0.5px;
        animation: pulseCallGlow 2s infinite;
        white-space: nowrap; /* Strictly force single-line */
    }
    
    .mobile-fixed-call i {
        font-size: 18px;
        animation: shakeIcon 1.5s infinite;
    }

    .mobile-fixed-call span.blink {
        font-weight: 900;
        color: var(--white) !important;
    }
}

@keyframes pulseCallGlow {
    0% {
        background-color: var(--secondary);
        box-shadow: 0 -5px 20px rgba(13, 148, 136, 0.4);
    }
    50% {
        background-color: #0b7a6f;
        box-shadow: 0 -8px 30px rgba(13, 148, 136, 0.7);
    }
    100% {
        background-color: var(--secondary);
        box-shadow: 0 -5px 20px rgba(13, 148, 136, 0.4);
    }
}



@keyframes shakeIcon {
    0%, 100% { transform: rotate(0); }
    15% { transform: rotate(-12deg); }
    30% { transform: rotate(12deg); }
    45% { transform: rotate(-8deg); }
    60% { transform: rotate(8deg); }
    75% { transform: rotate(0); }
}



