/* ==========================================
   Conversion-Optimized CSS for Saranda Taxi
   Floating WhatsApp Button, Mobile Optimization, Trust Signals
   ========================================== */

/* ===============================
   FLOATING WHATSAPP BUTTON
   =============================== */

.floating-whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    animation: slideIn 0.5s ease-out;
}

.floating-whatsapp-btn .whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-whatsapp-btn .whatsapp-link:hover {
    background-color: #1ea953;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

/* Pulse animation for WhatsApp button */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

/* Slide in animation */
@keyframes slideIn {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ===============================
   STICKY MOBILE ACTION BUTTONS
   =============================== */

.sticky-mobile-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.85));
    display: flex;
    gap: 0;
    z-index: 998;
    padding-bottom: env(safe-area-inset-bottom);
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.sticky-btn {
    flex: 1;
    padding: 12px 16px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sticky-btn:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.sticky-btn.call-btn {
    background-color: #dc3545;
}

.sticky-btn.call-btn:hover {
    background-color: #bb2d3b;
}

.sticky-btn.whatsapp-btn {
    background-color: #25d366;
}

.sticky-btn.whatsapp-btn:hover {
    background-color: #1ea953;
}

.sticky-btn i {
    font-size: 18px;
}

.sticky-btn span {
    display: inline;
}

/* Hide sticky buttons on desktop */
@media (min-width: 768px) {
    .sticky-mobile-actions {
        display: none;
    }
}

/* ===============================
   HERO SECTION OPTIMIZATION
   =============================== */

.hero-content {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title .text-warning {
    color: #ffc107;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.8; }
}

.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 20px 0;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-subheading {
    color: #f0f0f0;
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 30px;
}

.hero-cta-buttons {
    animation: fadeIn 0.8s ease-out 0.4s both;
    gap: 20px !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-cta-primary,
.hero-cta-secondary {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-cta-primary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #25d366;
}

.hero-cta-primary:hover {
    background-color: rgba(37, 211, 102, 0.1);
    border-color: #25d366;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.hero-cta-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #dc3545;
}

.hero-cta-secondary:hover {
    background-color: rgba(220, 53, 69, 0.1);
    border-color: #dc3545;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.3);
}

.availability-text {
    font-size: 14px;
    animation: fadeIn 0.8s ease-out 0.6s both;
}

/* ===============================
   POPULAR ROUTES SECTION
   =============================== */

.popular-routes-area {
    background-color: #f8f9fa;
}

.route-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.route-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.route-icon {
    font-size: 40px;
    color: #25d366;
    margin-bottom: 15px;
}

.route-card h4 {
    color: #333;
    font-weight: 700;
    margin-bottom: 10px;
}

.route-distance {
    color: #ff9800;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 10px;
}

.route-description {
    color: #666;
    font-size: 14px;
    flex-grow: 1;
    margin-bottom: 20px;
}

.route-btn {
    background-color: #25d366;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: auto;
}

.route-btn:hover {
    background-color: #1ea953;
    transform: scale(1.05);
}

/* ===============================
   ABOUT SECTION IMPROVEMENTS
   =============================== */

.about-benefits {
    margin: 25px 0;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 15px 0;
    padding: 10px;
    border-left: 3px solid #25d366;
    padding-left: 15px;
}

.benefit-item i {
    flex-shrink: 0;
    font-size: 20px;
    margin-top: 2px;
}

.benefit-item span {
    color: #666;
    font-size: 15px;
    line-height: 1.4;
}

/* ===============================
   SERVICES SECTION
   =============================== */

.single-service {
    padding: 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #fff;
    margin-bottom: 30px;
}

.single-service:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.single-service h3 {
    color: #333;
    font-weight: 700;
    margin: 15px 0 10px;
    font-size: 1.2rem;
}

.single-service p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.single-service span {
    font-size: 40px;
    color: #25d366;
    display: block;
    margin-bottom: 10px;
}

/* ===============================
   REVIEW SECTION
   =============================== */

.single-review {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.single-review:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.single-review h4 {
    color: #333;
    font-weight: 700;
    margin-bottom: 10px;
}

.single-review p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.star {
    display: flex;
    gap: 4px;
}

.star .fa {
    color: #ffb800;
    font-size: 16px;
}

.star .fa.checked {
    color: #ffc107;
}

/* ===============================
   CTA SECTION
   =============================== */

.primary-btn {
    display: inline-block;
    background-color: #25d366;
    color: #fff;
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.primary-btn:hover {
    background-color: #1ea953;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* ===============================
   SECTION TITLE OPTIMIZATION
   =============================== */

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* ===============================
   MOBILE OPTIMIZATION
   =============================== */

@media (max-width: 768px) {
    .floating-whatsapp-btn {
        bottom: 90px;
        right: 15px;
    }

    .floating-whatsapp-btn .whatsapp-link {
        width: 54px;
        height: 54px;
        font-size: 24px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .hero-subheading {
        font-size: 1rem;
    }

    .hero-cta-buttons {
        flex-direction: column;
    }

    .hero-cta-primary,
    .hero-cta-secondary {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }

    .trust-badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .route-card,
    .single-service,
    .single-review {
        padding: 20px;
    }

    .sticky-btn span {
        display: none;
    }

    .sticky-btn {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .floating-whatsapp-btn {
        bottom: 80px;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .hero-trust-badges {
        gap: 8px;
        margin: 15px 0;
    }

    .trust-badge {
        padding: 5px 10px;
        font-size: 11px;
    }

    .availability-text {
        font-size: 12px;
    }
}

/* ===============================
   ACCESSIBILITY
   =============================== */

.floating-whatsapp-btn .whatsapp-link:focus,
.sticky-btn:focus,
.primary-btn:focus {
    outline: 2px solid #ff9800;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: more) {
    .floating-whatsapp-btn .whatsapp-link {
        border: 2px solid #000;
    }

    .sticky-btn {
        border: 1px solid #000;
    }

    .hero-title .text-warning {
        color: #ff9800;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* ===============================
   PRINT STYLES
   =============================== */

@media print {
    .floating-whatsapp-btn,
    .sticky-mobile-actions {
        display: none !important;
    }
}
