/**
 * Destination Pages Stylesheet
 * Enhanced styles for Singapore, Malaysia, Dubai, etc. destination pages
 */

/* ========================================
   UTILITY CLASSES
======================================== */
.text-primary-custom {
    color: #00BCD4 !important;
}

.bg-primary-light {
    background: rgba(0, 188, 212, 0.05) !important;
}

.border-primary {
    border-color: #00BCD4 !important;
}

/* ========================================
   BREADCRUMB NAVIGATION
======================================== */
.breadcrumb-custom {
    background: #f8f9fa;
    padding: 1rem 0;
    margin: 0;
}

.breadcrumb-custom .breadcrumb {
    background: transparent;
    margin-bottom: 0;
    padding: 0;
}

.breadcrumb-custom .breadcrumb-item {
    font-size: 0.875rem;
}

.breadcrumb-custom .breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-custom .breadcrumb-item a:hover {
    color: #00BCD4;
}

.breadcrumb-custom .breadcrumb-item.active {
    color: #00BCD4;
    font-weight: 600;
}

/* ========================================
   STICKY FLOATING CTA BUTTON
======================================== */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    animation: slideInUp 0.5s ease-out;
}

.sticky-cta .btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(0, 188, 212, 0.4);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.sticky-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 188, 212, 0.5);
}

/* ========================================
   BACK TO TOP BUTTON
======================================== */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #00BCD4;
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background: #00ACC1;
    transform: translateY(-3px);
}

.back-to-top.show {
    display: flex;
}

/* ========================================
   COMPARISON TABLE
======================================== */
.comparison-table {
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.comparison-table table {
    width: 100%;
    margin-bottom: 0;
    background: white;
}

.comparison-table thead {
    background: linear-gradient(135deg, #00BCD4 0%, #0097A7 100%);
}

.comparison-table thead th {
    color: white;
    font-weight: 600;
    padding: 1.25rem 1rem;
    border: none;
    text-align: center;
}

.comparison-table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: background 0.3s ease;
}

.comparison-table tbody tr:hover {
    background: rgba(0, 188, 212, 0.05);
}

.comparison-table tbody td {
    padding: 1rem;
    vertical-align: middle;
}

.comparison-table .feature-name {
    font-weight: 600;
    color: #2c3e50;
}

.comparison-table .check-icon {
    color: #00BCD4;
    font-size: 1.25rem;
}

.comparison-table .cross-icon {
    color: #dc3545;
    font-size: 1.25rem;
}

/* ========================================
   FAQ ACCORDION
======================================== */
.faq-accordion .accordion-item {
    border: 1px solid #e0e0e0;
    border-radius: 12px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    background: white;
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem;
    border: none;
    box-shadow: none !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(0, 188, 212, 0.05);
    color: #00BCD4;
}

.faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300BCD4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-body {
    padding: 1.5rem;
    color: #6c757d;
    line-height: 1.8;
}

/* ========================================
   TESTIMONIALS
======================================== */
.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 188, 212, 0.2);
}

.testimonial-stars {
    color: #ffc107;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00BCD4 0%, #0097A7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    margin-right: 1rem;
}

.testimonial-author-info h6 {
    margin-bottom: 0.25rem;
    font-weight: 600;
    color: #2c3e50;
}

.testimonial-author-info small {
    color: #6c757d;
}

/* ========================================
   TRUST BADGES
======================================== */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

.trust-badge-item {
    text-align: center;
    transition: all 0.3s ease;
}

.trust-badge-item:hover {
    transform: translateY(-3px);
}

.trust-badge-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: rgba(0, 188, 212, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-badge-icon i {
    font-size: 2rem;
    color: #00BCD4;
}

.trust-badge-item h6 {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.trust-badge-item small {
    color: #6c757d;
}

/* ========================================
   QUICK QUOTE FORM
======================================== */
.quick-quote-form {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.quick-quote-form .form-control,
.quick-quote-form .form-select {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

.quick-quote-form .form-control:focus,
.quick-quote-form .form-select:focus {
    border-color: #00BCD4;
    box-shadow: 0 0 0 0.2rem rgba(0, 188, 212, 0.15);
}

.quick-quote-form .btn-submit {
    width: 100%;
    padding: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
}

/* ========================================
   RELATED DESTINATIONS CAROUSEL
======================================== */
.destination-carousel-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    height: 280px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.destination-carousel-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.destination-carousel-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.destination-carousel-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
}

.destination-carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    color: white;
    z-index: 1;
}

.destination-carousel-content h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.destination-carousel-content p {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ========================================
   WHATSAPP FLOATING WIDGET
======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 160px;
    right: 20px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    z-index: 998;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #20BA5A;
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* ========================================
   IMAGE GALLERY
======================================== */
.attraction-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    height: 200px;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h6 {
    color: white;
    margin: 0;
    font-weight: 600;
}

/* ========================================
   LOADING STATES
======================================== */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ========================================
   ANIMATIONS
======================================== */
@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 991.98px) {
    .sticky-cta {
        bottom: 10px;
        right: 10px;
    }

    .sticky-cta .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .back-to-top {
        bottom: 70px;
        right: 10px;
        width: 45px;
        height: 45px;
    }

    .whatsapp-float {
        bottom: 130px;
        right: 10px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .comparison-table {
        font-size: 0.875rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .breadcrumb-custom {
        font-size: 0.8rem;
    }

    .comparison-table thead th {
        padding: 0.875rem 0.5rem;
        font-size: 0.85rem;
    }

    .comparison-table tbody td {
        padding: 0.75rem 0.5rem;
    }

    .trust-badges {
        gap: 1.5rem;
    }

    .trust-badge-icon {
        width: 60px;
        height: 60px;
    }

    .destination-carousel-item {
        height: 220px;
    }
}

/* ========================================
   ACCESSIBILITY
======================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus visible for keyboard navigation */
*:focus-visible {
    outline: 2px solid #00BCD4;
    outline-offset: 2px;
}

/* Skip to content link */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: #00BCD4;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
}

.skip-to-content:focus {
    top: 0;
}
