/* ===== Home Page CSS - Travel SIM ===== */

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1b69 50%, #1a1744 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: white;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

[data-theme="dark"] .hero-section::after {
    background: #0f0c29;
}

.hero-search-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(233, 30, 140, 0.15);
}

/* ===== DESTINATIONS CAROUSEL ===== */
.destinations-carousel {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 16px 4px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.destinations-carousel::-webkit-scrollbar {
    display: none;
}

.destination-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.2s;
}

.destination-item:hover {
    transform: translateY(-4px);
}

.destination-flag {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0f0f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.destination-item:hover .destination-flag {
    border-color: #E91E8C;
    box-shadow: 0 4px 20px rgba(233, 30, 140, 0.2);
}

[data-theme="dark"] .destination-flag {
    border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .destination-item:hover .destination-flag {
    border-color: #E91E8C;
}

/* Carousel Arrow Buttons */
.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    color: #6b7280;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.carousel-btn:hover {
    background: linear-gradient(135deg, #E91E8C, #2196F3);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(233, 30, 140, 0.3);
}

[data-theme="dark"] .carousel-btn {
    background: #1a1744;
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .carousel-btn:hover {
    background: linear-gradient(135deg, #E91E8C, #2196F3);
    color: white;
}

.carousel-btn-left { left: -8px; }
.carousel-btn-right { right: -8px; }

/* ===== PRODUCT CARDS ===== */
.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

[data-theme="dark"] .product-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .product-card:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.product-card__image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card__image {
    transform: scale(1.05);
}

.product-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #E91E8C, #ff4ecd);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.product-card__cart-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E91E8C, #2196F3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(233, 30, 140, 0.25);
}

.product-card__cart-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(233, 30, 140, 0.4);
}

/* ===== FEATURE CARDS ===== */
.feature-card {
    background: white;
    border-radius: 16px;
    padding: 32px 24px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

[data-theme="dark"] .feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

/* ===== STEPS SECTION ===== */
.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E91E8C, #2196F3);
    color: white;
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 6px 20px rgba(233, 30, 140, 0.3);
}

.step-connector {
    position: absolute;
    top: 24px;
    left: calc(50% + 30px);
    width: calc(100% - 60px);
    height: 2px;
    border-top: 2px dashed #d1d5db;
}

[data-theme="dark"] .step-connector {
    border-color: rgba(255, 255, 255, 0.15);
}

/* ===== STATS ===== */
.stat-divider {
    width: 1px;
    height: 48px;
    background: #e5e7eb;
}

[data-theme="dark"] .stat-divider {
    background: rgba(255, 255, 255, 0.1);
}

/* ===== SECTION DARK THEME TEXT ===== */
[data-theme="dark"] .section-title {
    color: #ffffff;
}

[data-theme="dark"] .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .text-gray-900 {
    color: #ffffff !important;
}

[data-theme="dark"] .text-gray-600,
[data-theme="dark"] .text-gray-500 {
    color: rgba(255, 255, 255, 0.6) !important;
}

[data-theme="dark"] .text-gray-400 {
    color: rgba(255, 255, 255, 0.4) !important;
}

[data-theme="dark"] .bg-white {
    background-color: #0f0c29 !important;
}

[data-theme="dark"] .bg-gray-50,
[data-theme="dark"] .bg-gray-100 {
    background-color: rgba(255, 255, 255, 0.03) !important;
}

[data-theme="dark"] .border-gray-100,
[data-theme="dark"] .border-gray-200 {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* ===== TAB PILLS ===== */
.region-tab {
    padding: 8px 20px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: 1.5px solid #e5e7eb;
    color: #6b7280;
    background: transparent;
    white-space: nowrap;
}

.region-tab:hover {
    border-color: #E91E8C;
    color: #E91E8C;
}

.region-tab.active {
    background: linear-gradient(135deg, #E91E8C, #2196F3);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(233, 30, 140, 0.3);
}

[data-theme="dark"] .region-tab {
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .region-tab:hover {
    border-color: #E91E8C;
    color: #E91E8C;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-section::after {
        height: 40px;
    }

    .destination-flag {
        width: 64px;
        height: 64px;
    }

    .destinations-carousel {
        gap: 20px;
    }

    .product-card__image {
        height: 150px;
    }
}
