* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-y: scroll;
}

/* FORCE HEADER TO STAY STATIC */
.top-bar,
nav {
    position: static !important;
    will-change: auto !important;
    transform: none !important;
    backface-visibility: auto !important;
}

.top-bar {
    top: auto !important;
    z-index: 1000 !important;
    width: 100% !important;
}

nav {
    top: auto !important;
    z-index: 1000 !important;
    width: 100% !important;
}

:root {
    --primary: #0d5d3e;
    --secondary: #0a4a2f;
    --dark: #1a1a1a;
    --light: #f5f5f5;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --border-radius: 12px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    margin: 0 !important;
    padding: 0 !important;
    padding-top: 0 !important;
    overflow-y: auto !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.search-container {
    margin-top: 30px;
    margin-bottom: 50px;
    background: rgba(255, 255, 255, 0.95);
    padding: 30px 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: slideUp 0.8s ease 0.2s both;
    width: 95%;
    max-width: 1300px;
    min-width: 320px;
    position: relative;
    z-index: 100;
}

@media (max-width: 1024px) {
    .search-container {
        width: 95%;
        padding: 25px 35px;
    }
}

@media (max-width: 768px) {
    .search-container {
        width: 100%;
        padding: 20px 20px;
        margin: 30px auto 80px auto;
    }
}

.search-form {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    justify-content: center;
    flex-wrap: nowrap;
    width: 100%;
}

.search-group {
    display: flex;
    flex-direction: column;
    min-width: auto;
    flex: 1.1;
    min-width: 180px;
}

.search-group label {
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

/* SEARCH INPUT WITH SUGGESTIONS */
.search-input-group {
    flex: 1.3;
    min-width: 250px;
}

.search-input-wrapper {
    position: relative;
    width: 100%;
    z-index: 1000;
}

#city-search {
    width: 100%;
    height: 48px;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: var(--transition);
    background: white;
    color: var(--dark);
    display: flex;
    align-items: center;
}

#city-search:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 93, 62, 0.1);
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: white;
    border: 2px solid var(--primary);
    border-radius: 10px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 99999;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    min-width: 100%;
}

.suggestion-item {
    padding: 15px 18px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-item:hover {
    background: rgba(13, 93, 62, 0.08);
    color: var(--primary);
    padding-left: 22px;
}

.suggestion-item:last-child {
    border-bottom: none;
}

/* DATE GROUP */
.date-group {
    flex: 1.1;
    min-width: 160px;
}

#date-select {
    width: 100%;
    height: 48px;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: var(--transition);
    background: white;
    color: var(--dark);
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
}

#date-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 93, 62, 0.1);
}

/* FLATPICKR OVERRIDES */
.flatpickr-input {
    width: 100%;
    height: 48px;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: var(--transition);
    background: white;
    color: var(--dark);
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.flatpickr-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 93, 62, 0.1);
}

/* PASSENGER COUNTER */
.passenger-group {
    flex: 0.8;
    min-width: 130px;
}

.passenger-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex: none !important;
}

.passenger-input {
    height: 48px;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: white;
    color: #333;
    text-align: center;
    width: 60px;
    transition: var(--transition);
}

.passenger-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 93, 62, 0.1);
}

.counter-btn {
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.counter-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(13, 93, 62, 0.3);
}

.counter-btn:active {
    transform: scale(0.95);
}

#passenger-count {
    border: none;
    width: 45px;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    background: transparent;
    padding: 0;
}

#passenger-count:focus {
    outline: none;
}

/* SEARCH BUTTON */
.btn-search {
    padding: 12px 28px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 8px 20px rgba(13, 93, 62, 0.3);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-search i {
    font-size: 1.1rem;
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(13, 93, 62, 0.4);
    background: #0a4a2f;
}

.btn-search:active {
    transform: translateY(0);
}

/* DESTINATION BUTTONS */
.destinations-buttons {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
}

.destinations-label {
    color: var(--dark);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    opacity: 0.8;
}

.buttons-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.dest-btn {
    padding: 10px 20px;
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
    white-space: nowrap;
    flex: 0 1 auto;
}

.dest-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 93, 62, 0.3);
}

.dest-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .buttons-grid {
        gap: 8px;
    }
    
    .dest-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* INFO SECTION */
.info-section {
    background: #f8f9fa;
    padding: 80px 20px;
    margin-top: 0;
}

.info-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.info-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark);
    text-align: center;
    font-weight: 700;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.info-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(13, 93, 62, 0.15);
}

.info-card .icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 700;
}

.info-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* PRODUCTS SECTION */
.products-section {
    padding: 100px 20px;
    background: white;
}

.products-section h2 {
    font-size: 3rem;
    margin-bottom: 80px;
    color: var(--dark);
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .tours-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .tours-grid {
        grid-template-columns: 1fr;
    }
}

.tour-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: visible;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s ease;
    border: 2px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
}

.tour-card:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(13, 93, 62, 0.2);
}

.tour-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff6b35;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.tour-image {
    font-size: 5rem;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0f7ff, #b3e5fc);
    position: relative;
    overflow: hidden;
    background-size: cover !important;
    background-position: center !important;
}

.tour-card:hover .tour-image {
    filter: brightness(1.05);
}

.tour-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.tour-card:hover .tour-image::after {
    left: 100%;
}

.tour-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tour-content h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--dark);
    line-height: 1.3;
    font-weight: 600;
}

.info-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    margin: 8px 0 !important;
    padding: 0 !important;
    align-items: center !important;
    line-height: 1 !important;
}

.tour-content .city {
    font-size: 0.85rem !important;
    color: #666 !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.tour-content .days {
    font-size: 0.85rem !important;
    color: var(--primary) !important;
    font-weight: 600 !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.rating-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.stars {
    color: #ffc107;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.stars i {
    font-size: 0.9rem;
}

.reviews {
    color: #999;
    font-size: 0.8rem;
}

.tour-content .description {
    color: #666;
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 10px;
    margin-top: 5px;
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tour-card:hover .description {
    color: #555;
}

.tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.btn-book {
    padding: 6px 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-book:hover {
    background: var(--secondary);
    transform: scale(1.05);
}

/* TRUSTED SECTION */
.trusted-section {
    padding: 60px 20px;
    background: white;
}

.trusted-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.trusted-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.trusted-text h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: var(--dark);
    font-weight: 700;
    line-height: 1.3;
}

.trusted-intro {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.trusted-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.trusted-list li {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #333;
}

.trusted-list i {
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.trusted-list strong {
    color: var(--dark);
}

.trusted-image {
    position: relative;
}

.trusted-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .trusted-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .trusted-text h2 {
        font-size: 1.8rem;
    }

    .trusted-list li {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
}

/* REVIEWS SECTION */
.reviews-section {
    padding: 100px 20px;
    background: #f8f9fa;
}

.reviews-section h2 {
    font-size: 3rem;
    margin-bottom: 80px;
    color: var(--dark);
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: white;
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(13, 93, 62, 0.15);
}

.review-card .stars {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.review-card .comment {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
    font-style: italic;
}

.review-card .reviewer {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.review-card .tour-name {
    color: var(--primary);
    font-size: 0.9rem;
}

/* DESTINATIONS SECTION */
.destinations-section {
    padding: 100px 20px;
    background: white;
}

.destinations-section h2 {
    font-size: 3rem;
    margin-bottom: 80px;
    color: var(--dark);
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.destination-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid #e0e0e0;
}

.destination-card:hover {
    border-color: var(--secondary);
    transform: translateY(-10px);
    background: linear-gradient(135deg, #f0f9ff, white);
}

.destination-card .dest-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.destination-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.destination-card p {
    color: #666;
    margin-bottom: 20px;
}

.btn-explore {
    padding: 10px 25px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn-explore:hover {
    background: var(--secondary);
    transform: scale(1.05);
}

/* FLATPICKR CUSTOM STYLES */
.flatpickr-calendar {
    background: white !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-align: center;
    direction: ltr;
    border: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
    border-radius: 12px;
    width: 307.875px;
    box-sizing: border-box;
    position: absolute;
    z-index: 99999 !important;
}

.flatpickr-calendar.hasTime.open,
.flatpickr-calendar.open {
    display: block !important;
}

.flatpickr-innerContainer {
    padding: 0;
}

.flatpickr-months {
    display: flex;
    flex-wrap: wrap;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    color: var(--primary) !important;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
    color: var(--secondary) !important;
}

.flatpickr-current-month {
    color: var(--dark) !important;
    font-weight: 700;
}

.flatpickr-weekdays {
    background: transparent;
}

.flatpickr-weekday {
    background: transparent;
    color: var(--primary) !important;
    font-weight: 700;
    font-size: 0.9rem;
}

.flatpickr-day {
    color: var(--dark);
    border-radius: 6px;
    max-width: 39px;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    border-color: var(--primary) !important;
    color: white !important;
}

.flatpickr-day:hover {
    background: rgba(13, 93, 62, 0.1) !important;
    color: var(--primary) !important;
}

.flatpickr-day.today {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    font-weight: 700;
}

.flatpickr-day.inRange {
    background: rgba(13, 93, 62, 0.1) !important;
    color: var(--dark);
}

.flatpickr-day.disabled,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
    color: #ccc !important;
    background: transparent !important;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -20px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* ANIMATIONS */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .hero {
        padding: 80px 20px 130px 20px;
    }
    
    .search-container {
        margin-bottom: 80px;
    }
}

@media (max-width: 1024px) {
    .search-form {
        flex-direction: row;
        gap: 15px;
    }
    
    .search-group {
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 20px 120px 20px;
        min-height: 500px;
    }
    
    .search-container {
        width: 100%;
        padding: 20px 20px;
        margin: 30px auto 80px auto;
    }
    
    .search-form {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .search-group {
        width: 100%;
        min-width: 100%;
        flex: 1;
    }
    
    .search-input-group,
    .date-group {
        width: 100%;
        flex: 1;
        min-width: 100%;
    }

    .passenger-group {
        flex: 0 1 auto;
        width: auto;
        min-width: auto;
    }

    #city-search,
    #date-select,
    .passenger-counter {
        width: 100%;
    }

    .btn-search {
        width: auto;
        flex: 1;
        max-width: 200px;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .search-form {
        flex-direction: column;
    }
    
    .search-group,
    .date-group,
    .passenger-group,
    .btn-search {
        width: 100% !important;
        min-width: 100% !important;
        flex: 1 !important;
    }
}

.tour-card,
.hero {
    will-change: auto;
}

.tour-card:hover {
    will-change: transform;
}
