/* style.css - External Stylesheet for Obencars */
:root {
    --primary: #007AFF;
    --dark-bg: #1a1a1a;
    --light-bg: #f2f2f7;
    --nav-bg: #ffffff;
    --text-dark: #000;
    --text-light: #fff;
    --border: #c6c6c8;
    --whatsapp: #25D366;
}

* { box-sizing: border-box; margin: 0; padding: 0; scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background-color: var(--light-bg); color: var(--text-dark); line-height: 1.6; }

/* Header & Navigation */
header { background: var(--nav-bg); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
nav { display: flex; justify-content: space-between; align-items: center; padding: 10px 5%; max-width: 1400px; margin: 0 auto; }
.logo img { height: 50px; width: auto; display: block; }
.nav-links { display: flex; list-style: none; gap: 20px; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 600; transition: 0.3s; font-size: 0.95rem; }
.nav-links a:hover { color: var(--primary); }
.menu-toggle { display: none; font-size: 1.5rem; background: none; border: none; cursor: pointer; }

/* Hero Section */
.hero { background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../img/taxi.jpg') center/cover no-repeat; min-height: 88vh; display: flex; align-items: center; justify-content: center; text-align: center; color: white; padding: 40px 20px; }
.hero-content h1 { font-size: 32px; max-width: 900px; margin-left: auto; margin-right: auto; margin-bottom: 15px; font-weight: 700; line-height: 1.3; word-break: break-word; }
.hero-content p { font-size: 1.3rem; color: rgba(255,255,255,0.95); margin-bottom: 30px; font-weight: 400; }
.cta-group { display: flex; gap: 15px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 30px;}
.btn { padding: 14px 28px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 1rem; transition: all 0.3s ease; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: none; cursor: pointer; }
.btn-booking { background: var(--primary); color: white; }
.btn-call { background: white; color: var(--text-dark); }

/* Floating WhatsApp Bubble */
.whatsapp-bubble { position: fixed; bottom: 25px; right: 25px; background-color: var(--whatsapp); color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; text-decoration: none; align-items: center; justify-content: center; font-size: 32px; box-shadow: 2px 4px 15px rgba(0,0,0,0.3); z-index: 2000; transition: transform 0.3s ease; }
.whatsapp-bubble:hover { transform: scale(1.1); color: white; }

/* Back to Top Button */
#backToTop { position: fixed; bottom: 100px; right: 32px; background: rgba(0, 0, 0, 0.5); color: white; width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; opacity: 0; transition: opacity 0.3s, transform 0.3s; z-index: 1500; }
#backToTop.show { opacity: 1; }

/* Why Choose Us */
.why-choose-us { background-color: #ffffff; padding: 60px 20px; }
.why-choose-us h2 { font-size: 2.5rem; margin-bottom: 20px; color: var(--primary); text-align: center; }
.why-choose-us > p { text-align: center; font-size: 1.1rem; color: #333; margin-bottom: 40px; }
.why-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.why-item { flex: 1 1 250px; max-width: 250px; text-align: center; }
.why-item i { font-size: 2.5rem; color: var(--primary); margin-bottom: 10px; }
.why-item h3 { font-size: 1.25rem; margin-bottom: 10px; }
.why-item p { font-size: 0.95rem; color: #555; }

/* Areas We Cover Section */
.areas-cover { padding: 80px 20px; background: linear-gradient(145deg, #ffffff 0%, #f5f7fc 100%); border-top: 1px solid rgba(0,122,255,0.2); border-bottom: 1px solid rgba(0,122,255,0.2); position: relative; overflow: hidden; }
.areas-cover::before { content: "📍"; font-size: 200px; position: absolute; right: -30px; bottom: -40px; opacity: 0.03; transform: rotate(15deg); pointer-events: none; }
.areas-cover::after { content: "🚖"; font-size: 180px; position: absolute; left: -40px; top: -30px; opacity: 0.03; transform: rotate(-10deg); pointer-events: none; }
.areas-container { max-width: 1100px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.areas-container h2 { font-size: 2.5rem; margin-bottom: 20px; color: var(--primary); font-weight: 700; display: inline-block; }
.areas-container h2:after { content: ''; display: block; width: 80px; height: 4px; background: var(--primary); margin: 15px auto 0; border-radius: 4px; opacity: 0.6; }
.areas-container p { font-size: 1.2rem; color: #2c3e50; line-height: 1.7; max-width: 850px; margin-left: auto; margin-right: auto; }
.town-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 35px 0 30px; padding: 0 10px; }
.town-item { background: white; padding: 12px 24px; border-radius: 50px; font-weight: 600; font-size: 1.15rem; color: var(--primary); text-decoration: none; box-shadow: 0 8px 20px rgba(0,122,255,0.12); border: 1px solid rgba(0,122,255,0.2); transition: all 0.2s ease; }
.town-item:hover { transform: translateY(-3px); background: var(--primary); color: white; border-color: var(--primary); }
.areas-container p:last-of-type { font-size: 1.15rem; background: rgba(0,122,255,0.03); padding: 25px 30px; border-radius: 60px; border: 1px dashed rgba(0,122,255,0.3); margin-top: 30px; }
@media (max-width: 640px) { .town-item { padding: 8px 18px; font-size: 1rem; } }

/* Premium Rides Section */
.premium-rides { background-color: #ffffff; padding: 60px 20px; }
.premium-rides h2 { font-size: 2.5rem; margin-bottom: 20px; color: var(--primary); text-align: center; }
.premium-rides > p { text-align: center; font-size: 1.1rem; color: #333; margin-bottom: 40px; }
.service-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; max-width: 1200px; margin: 0 auto; }
.service-card { background: var(--light-bg); border-radius: 20px; padding: 30px 25px; flex: 1 1 280px; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,122,255,0.1); }
.service-card i { font-size: 3rem; color: var(--primary); margin-bottom: 20px; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 15px; }
.service-card p { color: #555; font-size: 0.95rem; }

/* Testimonials Section */
.testimonials-section { background-color: #f8f9fc; padding: 60px 20px; }
.testimonials-section h2 { font-size: 2.5rem; margin-bottom: 20px; color: var(--primary); text-align: center; }
.testimonials-section > p { text-align: center; font-size: 1.1rem; color: #333; margin-bottom: 40px; }
.testimonials-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; max-width: 1200px; margin: 0 auto; }
.testimonial-card { background: white; border-radius: 20px; padding: 30px; flex: 1 1 300px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border: 1px solid #e9ecef; }
.testimonial-card .stars { color: #FFB800; margin-bottom: 15px; font-size: 1.2rem; }
.testimonial-card p { font-style: italic; color: #444; margin-bottom: 20px; line-height: 1.6; }
.testimonial-card .client-name { font-weight: 700; color: var(--primary); }

/* Premium Fleet Section - Modern Card Design */
.premium-fleet-section { background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%); padding: 70px 20px; border-top: 1px solid #eef2f6; border-bottom: 1px solid #eef2f6; }
.premium-fleet-container { max-width: 1200px; margin: 0 auto; }
.premium-fleet-container h2 { font-size: 2.5rem; text-align: center; color: var(--primary); margin-bottom: 15px; font-weight: 700; }
.premium-fleet-container > p { text-align: center; font-size: 1.1rem; color: #4a5568; margin-bottom: 50px; }
.fleet-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-bottom: 40px; }
.fleet-card { background: white; border-radius: 28px; padding: 30px 25px; flex: 1 1 300px; transition: all 0.3s ease; box-shadow: 0 12px 28px -8px rgba(0,0,0,0.08); border: 1px solid #e9edf2; text-align: left; }
.fleet-card:hover { transform: translateY(-6px); box-shadow: 0 20px 32px -12px rgba(0,122,255,0.15); border-color: rgba(0,122,255,0.3); }
.fleet-icon { background: #eef4ff; width: 70px; height: 70px; border-radius: 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.fleet-icon i { font-size: 2.2rem; color: var(--primary); }
.fleet-card h3 { font-size: 1.6rem; margin-bottom: 10px; color: #0f172a; }
.fleet-badge { background: var(--primary); color: white; display: inline-block; padding: 4px 14px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; margin-bottom: 18px; }
.fleet-card p { color: #475569; line-height: 1.55; margin-bottom: 20px; font-size: 0.95rem; }
.fleet-features { list-style: none; padding: 0; margin-top: 15px; }
.fleet-features li { margin-bottom: 10px; font-size: 0.9rem; color: #334155; display: flex; align-items: center; gap: 10px; }
.fleet-features li i { color: var(--primary); font-size: 1rem; width: 20px; }
.fleet-cta-line { text-align: center; background: #eef4ff; padding: 18px 24px; border-radius: 60px; max-width: 800px; margin: 20px auto 0; font-weight: 500; color: #1e293b; }
.fleet-cta-line a { color: var(--primary); font-weight: 700; text-decoration: none; margin-left: 8px; }

/* Footer Styles */
footer { background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); color: #fff; padding: 0; position: relative; margin-top: 0; }
footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--whatsapp), var(--primary)); }
.footer-content { max-width: 1400px; margin: 0 auto; }
.footer-main { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 50px; padding: 60px 5%; }
.footer-col h4 { color: white; font-size: 1.2rem; margin-bottom: 25px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--primary); }
.company-info .tagline { color: #b0b0b0; line-height: 1.6; margin: 15px 0 20px; }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: rgba(255,255,255,0.1); border-radius: 50%; color: white; transition: all 0.3s ease; text-decoration: none; }
.social-links a:hover { background: var(--primary); transform: translateY(-3px); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #b0b0b0; text-decoration: none; transition: all 0.3s ease; display: inline-block; }
.footer-links a i { font-size: 0.8rem; margin-right: 8px; color: var(--primary); }
.footer-links a:hover { color: white; transform: translateX(5px); }
.contact-details { list-style: none; }
.contact-details li { display: flex; gap: 15px; margin-bottom: 20px; color: #b0b0b0; }
.contact-details i { color: var(--primary); font-size: 1.2rem; margin-top: 3px; }
.contact-details a { color: #b0b0b0; text-decoration: none; }
.contact-details a:hover { color: var(--primary); }
.hours { font-size: 0.85rem; color: var(--primary); display: block; margin-top: 3px; }
.footer-cta { background: rgba(0,122,255,0.1); border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); padding: 40px 5%; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.cta-content h3 { color: white; font-size: 1.5rem; margin-bottom: 5px; }
.cta-content p { color: #b0b0b0; }
.cta-buttons { display: flex; gap: 15px; }
.btn-book, .btn-call-footer { padding: 12px 25px; border-radius: 8px; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; transition: all 0.3s ease; }
.btn-book { background: var(--primary); color: white; }
.btn-book:hover { background: #0056b3; transform: translateY(-2px); }
.btn-call-footer { background: rgba(255,255,255,0.1); color: white; border: 1px solid rgba(255,255,255,0.2); }
.btn-call-footer:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.footer-bottom { padding: 20px 5%; background: rgba(0,0,0,0.3); }
.bottom-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; color: #888; font-size: 0.9rem; }
.legal-links { display: flex; gap: 20px; }
.legal-links a { color: #888; text-decoration: none; }
.legal-links a:hover { color: var(--primary); }

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .nav-links.active { display: flex; flex-direction: column; position: absolute; top: 71px; left: 0; width: 100%; background: white; padding: 20px; border-bottom: 1px solid var(--border); z-index: 999; }
    .hero-content h1 { font-size: 28px; }
    .cta-group { flex-direction: column; width: 100%; }
    .btn { width: 100%; }
    .footer-main { gap: 30px; padding: 40px 5%; }
    .footer-cta { flex-direction: column; text-align: center; }
    .cta-buttons { width: 100%; flex-direction: column; }
    .btn-book, .btn-call-footer { width: 100%; justify-content: center; }
    .bottom-content { flex-direction: column; text-align: center; }
    .legal-links { justify-content: center; flex-wrap: wrap; }
    .fleet-card { flex: 1 1 100%; }
    .premium-fleet-container h2 { font-size: 2rem; }
}
@media (max-width: 480px) {
    .hero-content h1 { font-size: 24px; }
    .contact-details li { flex-direction: column; gap: 5px; }
}