/* =============================================
   HOVEROVERBANGLADESH - PILLAR PAGES STYLES
   Modern, Classy & Fully Responsive
   ============================================= */

/* =============================================
   CSS RESET & BASE STYLES
   ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Matching Main Site */
    --primary-dark: #1a1a1a;
    --secondary-dark: #2d2d2d;
    --accent-green: #2d5016;
    --accent-light: #4a7c2c;
    --text-light: #f5f5f5;
    --text-gray: #b0b0b0;
    --card-bg: #252525;
    --overlay-dark: rgba(0, 0, 0, 0.7);
    --overlay-light: rgba(0, 0, 0, 0.5);
    
    /* Spacing */
    --section-padding: 80px 20px;
    --card-gap: 30px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* =============================================
   HOME BUTTON (Replaces Navbar)
   ============================================= */
.home-button {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 1000;
    background: rgba(45, 80, 22, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.home-button:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(45, 80, 22, 0.5);
}

.home-button i {
    font-size: 1.1rem;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(135deg, rgba(45, 80, 22, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%); */
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 6rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 15px;
    font-weight: 500;
}

/* .hero-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.8;
} */

.begin-journey-btn {
    display: inline-block;
    background: var(--accent-green);
    color: var(--text-light);
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(45, 80, 22, 0.4);
    margin-top: 10px;
}

.begin-journey-btn:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(45, 80, 22, 0.6);
}

.begin-journey-btn i {
    margin-left: 8px;
    transition: var(--transition-fast);
}

.begin-journey-btn:hover i {
    transform: translateX(5px);
}

/* =============================================
   MAIN CONTENT SECTION
   ============================================= */
.main-content {
    padding: var(--section-padding);
    max-width: 1400px;
    margin: 0 auto;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.section-intro p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* =============================================
   DESTINATION CARDS SLIDER
   ============================================= */
.destinations-slider-wrapper {
    position: relative;
    margin-bottom: 80px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.destinations-slider {
    overflow: hidden;
    padding: 20px 0;
    width: 100%;
}

.destinations-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 30px;
}

.destination-card {
    flex: 0 0 calc((100% - 60px) / 3); /* Exactly 3 cards on desktop */
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(45, 80, 22, 0.4);
}

/* Slider Navigation Buttons */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(45, 80, 22, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    color: var(--text-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.slider-nav:hover {
    background: var(--accent-light);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: -25px;
}

.slider-nav.next {
    right: -25px;
}

.slider-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.slider-nav:disabled:hover {
    transform: translateY(-50%) scale(1);
    background: rgba(45, 80, 22, 0.9);
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(176, 176, 176, 0.3);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dot.active {
    background: var(--accent-light);
    border-color: var(--accent-light);
    transform: scale(1.2);
}

.slider-dot:hover {
    background: var(--accent-green);
}

.card-image-container {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.destination-card:hover .card-image {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.destination-card:hover .card-overlay {
    opacity: 1;
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-green);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.card-content {
    padding: 25px;
}

.card-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: var(--text-light);
    font-weight: 600;
}

.card-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.card-location i {
    color: var(--accent-light);
}

.card-description {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.feature-tag {
    background: rgba(45, 80, 22, 0.2);
    color: var(--accent-light);
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 0.85rem;
    border: 1px solid rgba(45, 80, 22, 0.3);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.card-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.card-info-item i {
    color: var(--accent-light);
}

.explore-btn {
    background: var(--accent-green);
    color: var(--text-light);
    border: none;
    padding: 12px 28px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-block;
}

.explore-btn:hover {
    background: var(--accent-light);
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(45, 80, 22, 0.5);
}

/* =============================================
   OTHER DESTINATIONS SECTION
   ============================================= */
.other-destinations {
    padding: 60px 20px;
    background: rgba(45, 45, 45, 0.3);
    border-radius: 12px;
    margin-top: 40px;
}

.other-destinations h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--text-light);
}

.other-destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.other-destination-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: block;
    position: relative;
    height: 280px;
}

.other-destination-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(45, 80, 22, 0.4);
}

.other-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.other-destination-card:hover .other-card-image {
    transform: scale(1.1);
}

.other-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    padding: 30px 20px 20px;
}

.other-card-title {
    color: var(--text-light);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.other-card-subtitle {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--primary-dark);
    padding: 40px 20px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-text {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-light);
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* =============================================
   RESPONSIVE DESIGN - TABLET
   ============================================= */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .destination-card {
        flex: 0 0 calc((100% - 30px) / 2); /* Exactly 2 cards on tablet */
    }
    
    .other-destinations-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

/* =============================================
   RESPONSIVE DESIGN - MOBILE
   ============================================= */
@media (max-width: 768px) {
    :root {
        --section-padding: 50px 15px;
    }
    
    .home-button {
        top: 20px;
        left: 20px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .hero-section {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .begin-journey-btn {
        padding: 14px 32px;
        font-size: 1rem;
    }
    
    .section-intro h2 {
        font-size: 2rem;
    }
    
    .section-intro p {
        font-size: 1rem;
    }
    
    .destination-card {
        flex: 0 0 100%; /* Exactly 1 card on mobile - full width */
    }
    
    .destinations-track {
        gap: 20px; /* Smaller gap on mobile */
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slider-nav.prev {
        left: -15px;
    }
    
    .slider-nav.next {
        right: -15px;
    }
    
    .card-image-container {
        height: 250px;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
    
    .other-destinations h2 {
        font-size: 1.8rem;
    }
    
    .other-destinations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .other-destination-card {
        height: 200px;
    }
    
    .other-card-title {
        font-size: 1.1rem;
    }
}

/* =============================================
   RESPONSIVE DESIGN - SMALL MOBILE
   ============================================= */
@media (max-width: 480px) {
    .home-button {
        top: 15px;
        left: 15px;
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .begin-journey-btn {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
    
    .destination-card {
        flex: 0 0 100%; /* Exactly 1 card - full width */
    }
    
    .destinations-track {
        gap: 15px; /* Even smaller gap on small mobile */
    }
    
    .card-content {
        padding: 20px;
    }
    
    .card-features {
        gap: 8px;
    }
    
    .feature-tag {
        font-size: 0.8rem;
        padding: 5px 12px;
    }
    
    .explore-btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
    
    .other-destinations-grid {
        grid-template-columns: 1fr;
    }
    
    .other-destination-card {
        height: 220px;
    }
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

/* Smooth Scrolling for All Browsers */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
