/* Compact OTA-Style Mobile CTA Bar */

.mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
    z-index: 9999;
    padding: 6px 0 env(safe-area-inset-bottom, 6px);
    animation: slideInUp 0.3s ease-out;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cta-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 0 8px;
}

.cta-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px 4px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    background: transparent;
    min-height: 50px;
    max-width: 80px;
}

/* Ripple Effect */
.cta-item[data-ripple]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.cta-item:active::before {
    width: 100px;
    height: 100px;
}

/* Icon Wrapper */
.cta-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
}

.cta-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

/* Text Styles - Single line only */
.cta-text {
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.2px;
}

.cta-subtext {
    display: none; /* Hide subtext for simplicity */
}

/* Call Button */
.cta-call .cta-icon {
    background: #4CAF50;
    color: white;
}

.cta-call .cta-text {
    color: #333;
    margin-top: 2px;
}

.cta-call:active .cta-icon {
    transform: scale(0.95);
}

/* WhatsApp Button */
.cta-whatsapp .cta-icon {
    background: #25D366;
    color: white;
}

.cta-whatsapp .cta-text {
    color: #333;
    margin-top: 2px;
}

.cta-whatsapp:active .cta-icon {
    transform: scale(0.95);
}

/* Status Dot - Smaller */
.status-dot {
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 6px;
    background: #00E676;
    border-radius: 50%;
    border: 1px solid white;
}

/* Enquiry Button */
.cta-enquiry .cta-icon {
    background: #2196F3;
    color: white;
}

.cta-enquiry .cta-text {
    color: #333;
    margin-top: 2px;
}

.cta-enquiry:active .cta-icon {
    transform: scale(0.95);
}

/* Small Get Quote text - No overlapping badge */
.cta-highlight {
    position: absolute;
    top: -8px;
    right: -6px;
    background: #FF5252;
    color: white;
    font-size: 7px;
    font-weight: 600;
    padding: 2px 3px;
    border-radius: 4px;
    line-height: 1;
}

/* Deals Button */
.cta-deals .cta-icon {
    background: #FF5722;
    color: white;
}

.cta-deals .cta-text {
    color: #333;
    margin-top: 2px;
}

.cta-deals:active .cta-icon {
    transform: scale(0.95);
}

/* Small Hot Badge */
.deals-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #FFC107;
    color: #333;
    font-size: 6px;
    font-weight: 700;
    padding: 1px 3px;
    border-radius: 3px;
    text-transform: uppercase;
}

/* Remove 24/7 badge for simplicity */
.cta-badge {
    display: none;
}

/* Simple SVG Icons */
.cta-icon svg {
    width: 18px;
    height: 18px;
}

/* Hover Effects */
@media (hover: hover) {
    .cta-item:hover {
        background: rgba(0, 0, 0, 0.02);
    }
    
    .cta-item:hover .cta-icon {
        transform: translateY(-1px);
    }
}

/* Active State */
.cta-item:active {
    background: rgba(0, 0, 0, 0.04);
}

/* Small Screens */
@media (max-width: 380px) {
    .cta-icon {
        width: 30px;
        height: 30px;
    }
    
    .cta-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .cta-text {
        font-size: 9px;
    }
    
    .cta-item {
        min-height: 48px;
        padding: 4px 2px;
    }
}

/* Very Small Screens */
@media (max-width: 320px) {
    /* Hide the deals button on very small screens */
    .cta-deals {
        display: none;
    }
    
    .cta-container {
        padding: 0 4px;
    }
}

/* iPhone X Safe Areas */
@supports (padding: max(0px)) {
    .mobile-cta-bar {
        padding-bottom: max(6px, env(safe-area-inset-bottom));
    }
}

/* Body Padding Adjustment */
@media (max-width: 991px) {
    body {
        padding-bottom: 56px; /* Reduced from 80px */
    }
}

/* Smooth Loading */
.cta-icon {
    animation: fadeIn 0.3s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.cta-item:nth-child(1) .cta-icon { animation-delay: 0.05s; }
.cta-item:nth-child(2) .cta-icon { animation-delay: 0.1s; }
.cta-item:nth-child(3) .cta-icon { animation-delay: 0.15s; }
.cta-item:nth-child(4) .cta-icon { animation-delay: 0.2s; }

/* Accessibility */
.cta-item:focus-visible {
    outline: 2px solid #2196F3;
    outline-offset: 1px;
}

/* Prevent Selection */
.cta-item {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}