/* Style dari landing.blade.php dipindahkan ke custom.css */
.gradient-bg {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #0d9488 100%);
}
html {
    scroll-behavior: smooth;
}
.navbar-scrolled {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.95) 0%, rgba(5, 150, 105, 0.95) 50%, rgba(13, 148, 136, 0.95) 100%) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}
.navbar-scrolled .nav-link {
    color: #ffffff !important;
}
.navbar-scrolled .nav-link:hover {
    color: #ecfdf5 !important;
}
.navbar-scrolled .logo-text {
    color: #ffffff !important;
}
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #059669;
    border-radius: 4px;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}
/* =================================================================
   CUSTOM CSS FOR TRAVEL UMROH APPLICATION
   =================================================================
   File: public/css/custom.css
   Purpose: Global custom styles used across admin and landing layouts
   Linked to: resources/views/layouts/admin.blade.php
               resources/views/layouts/landing.blade.php

   HOW TO USE:
   - Add global styles here that need to be used across multiple pages
   - Use specific classes for different components
   - For page-specific styles, use @push('styles') in individual views
   - Follow the section organization below

   LAST UPDATED: 14 October 2025
   ================================================================= */

/* ===========================================
   SELECT2 CUSTOM STYLING
   =========================================== */

.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    height: 48px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 0.5rem !important;
    background: white !important;
    padding-left: 15px !important;
    position: relative !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 46px !important;
    padding-left: 0 !important;
    color: #374151 !important;
    font-size: 14px !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #9ca3af !important;
    line-height: 46px !important;
    font-size: 14px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
    right: 12px !important;
    top: 1px !important;
}

.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #059669 !important;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1) !important;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    right: 35px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #9ca3af !important;
    font-size: 18px !important;
    cursor: pointer !important;
}

.select2-container--default .select2-selection--single .select2-selection__clear:hover {
    color: #6b7280 !important;
}

.select2-dropdown {
    border: 1px solid #d1d5db !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    margin-top: 4px !important;
}

.select2-container--default .select2-results__option {
    padding: 12px 16px !important;
    font-size: 14px !important;
    color: #374151 !important;
    cursor: pointer !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #059669 !important;
    color: white !important;
}

.select2-container--default .select2-results__option--selected {
    background-color: #10b981 !important;
    color: white !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #d1d5db !important;
    border-radius: 0.375rem !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
    margin: 8px !important;
    width: calc(100% - 16px) !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: #059669 !important;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1) !important;
    outline: none !important;
}

/* Position icons for different input types */
.select2-container--default .select2-selection--single.has-icon::before {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    z-index: 10;
    pointer-events: none;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

/* Specific icon for location/map marker */
.select2-container--default .select2-selection--single.location-select::before {
    content: '\f3c5';
}

/* Specific icon for user */
.select2-container--default .select2-selection--single.user-select::before {
    content: '\f007';
}

/* Specific icon for building/company */
.select2-container--default .select2-selection--single.company-select::before {
    content: '\f1ad';
}

/* HOW TO USE SELECT2 ICONS:
   Add the appropriate class to your select element:
   - location-select: for location/map marker icon
   - user-select: for user icon
   - company-select: for building/company icon

   Example: <select class="select2 location-select" data-placeholder="Pilih Lokasi">
*/

/* ===========================================
   TRAVEL CARD ANIMATIONS
   =========================================== */

.travel-card {
    transition: all 0.3s ease;
}

.travel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* ===========================================
   BADGE ANIMATIONS
   =========================================== */

.badge-verified {
    animation: shine 2s infinite;
}

@keyframes shine {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* ===========================================
   STAR RATING
   =========================================== */

.star-rating {
    color: #fbbf24;
}

/* ===========================================
   FILTER SIDEBAR
   =========================================== */

.filter-sidebar {
    transition: transform 0.3s ease;
}

/* ===========================================
   UTILITY CLASSES
   =========================================== */

/* Hide scrollbar but keep functionality */
.no-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.no-scrollbar::-webkit-scrollbar {
    display: none;  /* Chrome, Safari and Opera */
}

/* Smooth transitions */
.transition-smooth {
    transition: all 0.3s ease;
}

/* Custom focus styles */
.focus-ring:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

/* ===========================================
   RESPONSIVE UTILITIES
   =========================================== */

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 40;
}

/* ===========================================
   LOADING STATES
   =========================================== */

.loading-spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #059669;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===========================================
   FORM IMPROVEMENTS
   =========================================== */

/* Better input focus states */
.form-input:focus {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

/* Custom checkbox styling */
.custom-checkbox {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
}

.custom-checkbox:checked {
    background-color: #059669;
    border-color: #059669;
}

.custom-checkbox:checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
}

/* ===========================================
   ALERTS AND NOTIFICATIONS
   =========================================== */

.alert-success {
    background-color: #d1fae5;
    border-color: #10b981;
    color: #065f46;
}

.alert-error {
    background-color: #fee2e2;
    border-color: #ef4444;
    color: #991b1b;
}

.alert-warning {
    background-color: #fef3c7;
    border-color: #f59e0b;
    color: #92400e;
}

.alert-info {
    background-color: #dbeafe;
    border-color: #3b82f6;
    color: #1e40af;
}

/* ===========================================
   MODAL IMPROVEMENTS
   =========================================== */

.modal-backdrop {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ===========================================
   PRINT STYLES
   =========================================== */

@media print {
    .no-print {
        display: none !important;
    }

    .print-break {
        page-break-before: always;
    }
}
/* ===========================================
   PACKAGE DETAIL PAGE STYLES
   Modern & Professional Design
   =========================================== */

/* CSS Variables for Package Detail */
:root {
    --primary: #059669;
    --primary-dark: #047857;
    --primary-light: #10b981;
    --secondary: #fbbf24;
    --secondary-dark: #f59e0b;
    --accent: #3b82f6;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-900: #111827;
}

/* Gradient Styles */
.gradient-header {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

.price-badge {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
}

/* Facility Items */
.facility-item {
    background: rgba(5, 150, 105, 0.05);
    border-left: 4px solid var(--primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.facility-item:hover {
    background: rgba(5, 150, 105, 0.1);
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.15);
}

/* Package Cards */
.package-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-light);
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
}

/* Info Cards */
.info-card {
    background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
    border: 1px solid var(--gray-100);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.info-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* Modern Badge */
.badge-modern {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Section Headers */
.section-header {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 2px;
}

/* Modern Button Styles */
.btn-modern {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-modern:hover::before {
    width: 300px;
    height: 300px;
}

/* Android Device Optimizations */
body.android .package-card {
    position: relative;
    z-index: 10;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
}

body.android .package-card .ml-13,
body.android .package-card .lg\:ml-15 {
    margin-left: 0 !important;
}

body.android .package-card .text-right {
    margin-left: 0 !important;
}

/* Shimmer Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.animate-shimmer {
    animation: shimmer 2s infinite;
    background: linear-gradient(to right, #f0f0f0 4%, #e0e0e0 25%, #f0f0f0 36%);
    background-size: 1000px 100%;
}

/* Gallery Modal Items */
.gallery-modal-item {
    transition: all 0.3s ease;
}

.gallery-modal-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}
