/* Hero Slider Section */
.hero-slider {
    position: relative;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* dark overlay for readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding-top: 4rem;
}

.hero-content h1 {
    color: var(--color-white);
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-btn:hover, .next-btn:hover {
    background: #E69138;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.dots-container {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #E69138;
}

/* Search Bar (Floating) */
.search-bar-container {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.search-bar {
    background: var(--color-white);
    padding: 1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    border-right: 1px solid #e2e8f0;
}

.search-field:last-of-type {
    border-right: none;
}

.search-field i {
    color: var(--color-accent);
    font-size: 1.2rem;
}

.search-field input, .search-field select {
    border: none;
    outline: none;
    width: 100%;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-main);
    background: transparent;
}

.search-btn {
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    white-space: nowrap;
}

/* Feature List */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    color: var(--color-text-main);
}

.feature-list i {
    color: var(--color-accent);
    font-size: 1.2rem;
}

/* Tour Cards */
.bg-light {
    background-color: var(--color-bg);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.tour-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-img {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--color-accent);
    color: var(--color-white);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.card-body {
    padding: 2rem;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.card-meta .price {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.card-body h3 {
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
}

.card-body p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

/* Visa Section */
.container-flex {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.visa-content {
    flex: 1;
}

.visa-image {
    flex: 1;
}

.floating-stat {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--color-secondary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-info h4 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--color-primary);
}

.stat-info p {
    margin: 0;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.newsletter-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3rem;
    border-radius: var(--radius-lg);
    color: var(--color-white);
}

.newsletter-text {
    flex: 1;
}

.newsletter-text h2 {
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.8);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    flex: 1;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-full);
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .container-flex {
        flex-direction: column;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .search-bar {
        flex-direction: column;
        border-radius: var(--radius-md);
        padding: 1.5rem;
    }
    
    .search-field {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding: 1rem 0;
    }
    
    .search-field:last-of-type {
        border-bottom: none;
    }
    
    .search-bar-container {
        margin-top: -30px;
    }
    
    .newsletter-box {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-btns {
        flex-direction: column;
    }
    .floating-stat {
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
    .newsletter-form {
        width: 100%;
        flex-direction: column;
    }
}
