/* ========================================
   KAYAK-STYLE LAYOUT - MODERN & CLEAN
   ======================================== */

* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding: 0;
    background: #f8f9fa;
}

/* ========================================
   HEADER - KAYAK STYLE
   ======================================== */

.header {
    background: white;  /* White background */
    border-bottom: 1px solid #dee2e6;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 2rem;
    width: 100%;
    /* No max-width - full width edge to edge */
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    background: none;
    border: none;
    color: #212529;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.menu-toggle:hover {
    color: #495057;
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
}

.logo {
    display: block;
    height: 40px;
    width: auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.like-btn {
    background: none;
    border: none;
    color: #212529;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.like-btn:hover {
    color: #e74c3c;
}

.login-btn {
    background: white;
    border: 1px solid #dee2e6;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    color: #212529;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.login-btn:hover {
    border-color: #212529;
    background: #212529;
    color: white;
}

/* ========================================
   HERO SEARCH SECTION
   ======================================== */

.hero-search-section {
    background: #f8f9fa;  /* Light gray background */
    padding: 3rem 0 4rem;
    margin-bottom: -65px;
}

.hero-search-section .container {
    max-width: 1400px;
}

.hero-main-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 4rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.yellow-dot {
    color: #FFC107;
}

/* Hero Stats Cards */
.hero-stat-card {
    padding: 1.5rem 0.5rem;
}

.hero-stat-icons,
.hero-stat-avatars,
.hero-stat-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.75rem;  /* More space like original */
    min-height: 32px;  /* Fixed height to align titles */
}

.hero-stat-icon {
    color: #6c757d;
    width: 32px;
    height: 32px;
}

.hero-avatar-icon {
    color: #FFC107;  /* Yellow like original */
    width: 32px;
    height: 32px;
}

.hero-star-icon {
    width: 20px;
    height: 20px;
}

.hero-stat-title {
    font-size: 1.25rem;  /* Larger like original feature-title */
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.5rem;
}

.hero-stat-text {
    font-size: 0.875rem;
    color: #6c757d;
    margin: 0;
}

/* Hero Images Grid (Right sidebar on desktop) */
.hero-images-grid {
    display: flex;
    gap: 0.75rem;
}

.hero-images-col-left,
.hero-images-col-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-images-col-left {
    margin-top: -30px;
}

.hero-images-col-right {
    margin-top: -60px;
}

.hero-image-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 4/3;
}

.hero-images-col-left .hero-image-item:last-child {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.hero-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.hero-image-item:hover img {
    transform: scale(1.05);
}

/* ========================================
   TRAVEL GALLERY SECTION
   ======================================== */

.travel-gallery-section {
    padding: 3rem 0;
    background: #f8f9fa;
}

.travel-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Mobile: Horizontal scroll */
@media (max-width: 768px) {
    .travel-gallery {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
    }
    
    .gallery-item {
        flex: 0 0 280px;
        scroll-snap-align: start;
    }
    
    .travel-gallery::-webkit-scrollbar {
        height: 6px;
    }
    
    .travel-gallery::-webkit-scrollbar-track {
        background: #e9ecef;
        border-radius: 3px;
    }
    
    .travel-gallery::-webkit-scrollbar-thumb {
        background: #ced4da;
        border-radius: 3px;
    }
}

/* Desktop: 3 columns for better fit */
@media (min-width: 769px) {
    .travel-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
   SEARCH CARD
   ======================================== */

.search-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    margin-bottom: 4rem;
}

/* ========================================
   FEATURES SECTION - 3 COLUMNS
   ======================================== */

.features-section {
    padding: 4rem 0;
    background: white;
}

.feature-card {
    padding: 2rem 1rem;
}

.feature-icons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}

.feature-icon {
    color: #212529;
    opacity: 0.8;
}

.feature-avatars {
    display: flex;
    justify-content: center;
    gap: -0.5rem;
}

.avatar-icon {
    width: 40px;
    height: 40px;
    color: white;
    background: linear-gradient(135deg, #FFC107, #FF9800);
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -0.5rem;
    padding: 6px;
}

.avatar-icon:first-child {
    margin-left: 0;
}

.feature-stars {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
}

.star-icon {
    width: 24px;
    height: 24px;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.5rem;
}

.feature-text {
    font-size: 0.9375rem;
    color: #6c757d;
    margin: 0;
}

/* ========================================
   TOOLS SECTION - 4 COLUMNS
   ======================================== */

.tools-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
}

.tool-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    height: 100%;
    transition: all 0.2s;
    position: relative;
}

.tool-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.tool-badge {
    display: inline-block;
}

.tool-badge .badge {
    font-size: 0.6875rem;
    padding: 0.25rem 0.5rem;
    font-weight: 600;
}

.tool-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.5rem;
}

.tool-text {
    font-size: 0.9375rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.tool-icon {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    opacity: 0.15;
    color: #212529;
}

.tool-icon svg {
    width: 48px;
    height: 48px;
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq-section {
    padding: 4rem 0;
    background: white;
}

.accordion-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background: white;
    color: #212529;
    font-weight: 600;
    padding: 1.25rem;
    font-size: 1rem;
}

.accordion-button:not(.collapsed) {
    background: #f8f9fa;
    color: #212529;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #e9ecef;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.25rem;
    color: #495057;
    line-height: 1.6;
}

/* ========================================
   POPULAR DESTINATIONS SECTION
   ======================================== */

.popular-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.popular-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.popular-section-title:first-child {
    margin-top: 0;
}

.popular-grid-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.popular-card {
    display: block;
    text-decoration: none;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.popular-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.3);
}

.popular-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.popular-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.popular-card:hover .popular-card-img img {
    transform: scale(1.1);
}

.popular-card-name {
    padding: 1rem 1.25rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #212529;
    background: white;
    transition: all 0.3s;
}

.popular-card:hover .popular-card-name {
    background: #FFC107;
    color: #212529;
}

@media (min-width: 576px) {
    .popular-grid-images {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 992px) {
    .popular-grid-images {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: #212529;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.footer-text {
    color: #adb5bd;
    line-height: 1.6;
    font-size: 0.9375rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #FFC107;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #495057;
    text-align: center;
}

.footer-bottom p {
    color: #6c757d;
    margin: 0;
    font-size: 0.875rem;
}

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

@media (max-width: 992px) {
    .hero-main-title {
        font-size: 2.25rem;
    }
    
    .search-card {
        padding: 1.5rem;
    }
    
    .hero-search-section .container {
        max-width: 100%;
    }
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials-section {
    padding: 2rem 0;
    background: white;
    border-top: 1px solid #e9ecef;
}

.testimonials-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 1rem 0;
    -webkit-overflow-scrolling: touch;
}

.testimonials-slider::-webkit-scrollbar {
    height: 4px;
}

.testimonials-slider::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 2px;
}

.testimonials-slider::-webkit-scrollbar-thumb {
    background: #ced4da;
    border-radius: 2px;
}

.testimonial {
    min-width: 300px;
    flex: 0 0 auto;
    scroll-snap-align: start;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #FFC107;
}

.testimonial-quote {
    font-size: 0.95rem;
    color: #212529;
    margin-bottom: 0.75rem;
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 500;
    margin: 0;
}

@media (min-width: 769px) {
    .testimonials-slider {
        justify-content: center;
        overflow-x: visible;
    }
    
    .testimonial {
        min-width: 0;
        flex: 1;
        max-width: 400px;
    }
}

/* ========================================
   HERO IMAGE SECTION
   ======================================== */

.hero-image-section {
    margin: 3rem 0;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.hero-image-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 2rem;
}

.hero-image-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-image-text {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.95;
    margin: 0;
}

@media (max-width: 768px) {
    .hero-image-container {
        height: 300px;
    }
    
    .hero-image-title {
        font-size: 1.75rem;
    }
    
    .hero-image-text {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 0.75rem 1.25rem;
    }
    
    .hero-search-section {
        padding: 2rem 0 3rem;
    }
    
    .hero-main-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .login-btn {
        padding: 0.5rem;
    }
    
    .login-btn svg {
        margin: 0;
    }
    
    .login-btn::after {
        content: none;
    }
    
    .login-btn {
        font-size: 0;
    }
    
    .login-btn svg {
        font-size: initial;
    }
    
    .search-card {
        padding: 1.25rem;
    }
    
    .features-section,
    .tools-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}



/* Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 4000;
}

.mobile-menu-overlay.active {
    display: block;
}

/* Menu panel */
.mobile-menu {
    background: #ffffff;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    padding: 1rem;
    box-shadow: 8px 0 30px rgba(0,0,0,0.25);
    animation: slideInLeft 0.28s cubic-bezier(.4,0,.2,1);
    border-top-right-radius: 18px;
    border-bottom-right-radius: 18px;
}

/* Animation */
@keyframes slideInLeft {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

/* Header */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.mobile-menu-close {
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
}

.mobile-menu-close:hover {
    background: rgba(0,0,0,0.06);
}

/* Navigation */
.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 12px;
    color: #111;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s ease;
}

.mobile-menu-item svg {
    stroke: #555;
}

.mobile-menu-item:hover {
    background: #f2f4f7;
}

/* Footer */
.mobile-menu-footer {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
}

.mobile-menu-login {
    width: 100%;
    padding: 0.75rem;
    border-radius: 14px;
    border: none;
    background: #111;
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}





/* ================================================
   Resmal page — country card grid
   ================================================ */

.resmal-page {
    background: #f8f9fa;
    min-height: 60vh;
}

.resmal-header {
    margin-bottom: 2rem;
}

.resmal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.25rem;
}

.resmal-subtitle {
    color: #6c757d;
    margin-bottom: 0;
}

/* Grid: 4 cols desktop, 3 tablet, 2 small, 1 mobile */
.resmal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (max-width: 1199px) {
    .resmal-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
    .resmal-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 479px) {
    .resmal-grid { grid-template-columns: 1fr; }
}

/* Card */
.resmal-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.resmal-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* Card header — country link */
.resmal-card-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: #212529;
    background: #fff;
    transition: background 0.15s ease;
}

.resmal-card-header:hover {
    background: #fffbf0;
    color: #212529;
}

.resmal-flag-wrap {
    flex-shrink: 0;
    width: 28px;
    height: 21px;
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid #dee2e6;
    background: #e9ecef;
}

.resmal-flag {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.resmal-card-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.resmal-country-name {
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.resmal-city-count {
    font-size: 0.72rem;
    color: #6c757d;
    line-height: 1.2;
}

.resmal-chevron {
    flex-shrink: 0;
    color: #adb5bd;
    transition: color 0.15s ease;
}

.resmal-card-header:hover .resmal-chevron {
    color: #FFC107;
}

/* City list */
.resmal-cities {
    padding: 0.625rem 0.75rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.resmal-city-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #495057;
    text-decoration: none;
    padding: 0.25rem 0.375rem;
    border-radius: 6px;
    transition: background 0.12s ease, color 0.12s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.resmal-city-link:hover {
    background: #fff8e1;
    color: #212529;
}

.resmal-city-icon {
    flex-shrink: 0;
    color: #adb5bd;
}

.resmal-city-link:hover .resmal-city-icon {
    color: #FFC107;
}

/* Hidden extra cities */
.resmal-city-extra {
    display: none;
}

/* Show more button */
.resmal-show-more {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.25rem;
    padding: 0.25rem 0.375rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: #6c757d;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.12s ease, color 0.12s ease;
    text-align: left;
}

.resmal-show-more:hover {
    background: #fff8e1;
    color: #212529;
}
