/* ========================== GOBOOK.NG - EXACT AIRBNB SPACING ========================== */

/* ========================== GLOBAL ========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #FFFFFF;
    color: #222222;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

/* ========================== HEADER ========================== */
.header {
    background: #FFFFFF;
    border-bottom: 1px solid #EBEBEB;
    padding: 12px 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 200;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.header-content {
    max-width: 1400px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: #FF385C;
    text-decoration: none;
}

.logo:hover {
    color: #E31C5F;
}

.top-header-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.become-host {
    color: #222222;
    font-weight: 600;
    font-size: 13px;
    padding: 7px 12px;
    border-radius: 20px;
    text-decoration: none;
    background: #F7F7F7;
    transition: background 0.2s;
}

.become-host:hover {
    background: #EBEBEB;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    color: #222222;
    font-weight: 500;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #FF385C;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    color: #222222;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu-toggle { display: block; }
    .nav-links {
        display: none;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 60px;
        right: 20px;
        width: 220px;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    }
    .nav-links.active { display: flex; }
    .nav-links a { 
        color: #222222; 
        width: 100%; 
        margin-bottom: 10px; 
    }
}

/* ========================== HERO ========================== */
.hero {
    background: linear-gradient(135deg, #FF385C 0%, #E31C5F 100%);
    padding: 24px 16px 32px;
    text-align: center;
    color: #ffffff;
}

.hero h1 {
    font-size: 28px;
    margin-bottom: 6px;
    color: #f8f9fa;
    font-weight: 700;
}

.hero p {
    font-size: 14px;
    margin-bottom: 14px;
    color: #e9ecef;
}

@media (max-width: 768px) {
    .hero {
        padding: 20px 16px 28px;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .hero p {
        font-size: 13px;
    }
}

/* ========================== SECTIONS - AIRBNB TIGHT ========================== */
.section-title {
    padding: 0 12px;
    font-size: 18px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 6px;
    color: #222222;
}

.slide-hint {
    text-align: right;
    font-size: 10px;
    padding-right: 12px;
    margin-bottom: 4px;
    color: #717171;
}

/* ========================== TOP CITIES ========================== */
.top-cities {
    max-width: 1400px;
    margin: 32px auto 20px;
    padding: 0 12px;
}

.top-cities .section-header h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 3px;
    color: #222222;
}

.top-cities .section-header p {
    font-size: 14px;
    color: #717171;
}

.cities-scroll-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 12px;
}

.cities-scroll {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 10px;
    padding: 4px 0 8px;
    scrollbar-width: none;
}

.cities-scroll::-webkit-scrollbar { display: none; }

/* City Card */
.city-card {
    flex: 0 0 auto;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    width: 200px;
    text-decoration: none;
    color: #222222;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.city-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.city-card-img img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.city-card-info {
    padding: 8px;
    text-align: center;
}

.city-card-info h3 {
    font-size: 14px;
    margin-bottom: 2px;
    font-weight: 600;
}

.city-card-info p {
    font-size: 12px;
    color: #717171;
}

@media (max-width: 768px) {
    .city-card {
        width: 170px;
    }
    
    .city-card-img img {
        height: 130px;
    }
}

/* ========================== PROPERTY CARDS - EXACT AIRBNB ========================== */
.scroll-row {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 0 8px 12px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
}

.scroll-row::-webkit-scrollbar {
    height: 3px;
}

.scroll-row::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

/* Property Card - EXACT AIRBNB SIZE */
.property-card {
    min-width: 170px;
    max-width: 170px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    text-decoration: none;
    color: black;
    position: relative;
    transition: all 0.3s;
}

.property-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

/* Image - EXACT AIRBNB */
.property-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.property-card img.lazy-loaded {
    opacity: 1;
}

.property-card:hover img {
    transform: scale(1.03);
}

/* Property Info - EXACT AIRBNB PADDING */
.property-info {
    padding: 6px 8px 7px;
    font-size: 12px;
}

.property-name {
    font-weight: 600;
    margin-bottom: 1px;
    font-size: 12px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.property-location {
    color: #717171;
    font-size: 11px;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.property-price {
    font-weight: 600;
    color: #222222;
    font-size: 12px;
}

.property-price .night {
    font-weight: 400;
    color: #717171;
}

/* Stars - EXACT AIRBNB */
.stars {
    color: #FFB300;
    font-size: 10px;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.stars svg {
    width: 10px;
    height: 10px;
    fill: #FFB300;
}

/* Badges - AIRBNB STYLE */
.instant-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background: #FFFFFF;
    color: #222222;
    padding: 2px 5px;
    font-size: 9px;
    border-radius: 4px;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 2px;
}

.pay-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #007bff;
    color: #fff;
    padding: 2px 5px;
    font-size: 9px;
    border-radius: 4px;
    font-weight: 700;
}

/* Wishlist Heart - AIRBNB STYLE */
.wishlist-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.wishlist-btn:hover {
    transform: scale(1.1);
}

.wishlist-btn svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: #222222;
    stroke-width: 2;
}

.wishlist-btn.active svg {
    fill: #FF385C;
    stroke: #FF385C;
}

/* See All Button - AIRBNB STYLE */
.see-all-btn {
    min-width: 130px;
    height: 110px;
    background: linear-gradient(135deg, #FF385C 0%, #E31C5F 100%);
    border-radius: 12px;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(255, 56, 92, 0.25);
}

.see-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(255, 56, 92, 0.35);
}

.see-all-btn svg {
    width: 18px;
    height: 18px;
}

/* ========================== DESKTOP GRID - AIRBNB STYLE ========================== */
@media screen and (min-width: 768px) {
    .scroll-row {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
        gap: 12px;
        overflow-x: visible;
        padding: 0 12px 20px;
    }

    .slide-hint {
        display: none;
    }

    .property-card {
        min-width: auto;
        max-width: none;
    }
    
    .property-card img {
        height: 150px;
    }
    
    .property-info {
        padding: 7px 9px 8px;
        font-size: 13px;
    }
    
    .property-name {
        font-size: 13px;
    }
    
    .property-location {
        font-size: 12px;
    }
    
    .property-price {
        font-size: 13px;
    }
    
    .see-all-btn {
        height: 150px;
        min-width: 150px;
    }
}

/* ========================== FOOTER ========================== */
footer {
    background: #F7F7F7;
    color: #222222;
    padding: 32px 16px 20px;
    border-top: 1px solid #EBEBEB;
    margin-top: 32px;
}

.footer-content {
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
}

.footer-section h3 {
    margin-bottom: 10px;
    color: #222222;
    font-weight: 600;
    font-size: 14px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 6px;
}

.footer-section ul li a {
    color: #717171;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 13px;
}

.footer-section ul li a:hover {
    color: #222222;
}

.footer-bottom {
    text-align: center;
    margin-top: 24px;
    padding-top: 12px;
    border-top: 1px solid #EBEBEB;
    color: #717171;
    font-size: 12px;
}

/* ========================== WHATSAPP BUTTON ========================== */
.whatsapp-float {
    position: fixed;
    bottom: 80px;
    left: 16px;
    width: 48px;
    height: 48px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: transform 0.2s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ========================== MOBILE BOTTOM NAV ========================== */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: #ffffff;
    border-top: 1px solid #EBEBEB;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 999999;
    box-shadow: 0px -1px 6px rgba(0,0,0,0.08);
}

@media (min-width: 768px) {
    .mobile-bottom-nav {
        display: none;
    }
    
    .whatsapp-float {
        bottom: 20px;
    }
}

.mobile-bottom-nav .nav-item {
    text-align: center;
    color: #717171;
    font-size: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    width: 20%;
    padding: 4px 0;
    font-weight: 500;
}

.mobile-bottom-nav .nav-item i {
    width: 20px;
    height: 20px;
    margin-bottom: 2px;
}

.mobile-bottom-nav .nav-item:hover,
.mobile-bottom-nav .nav-item.active {
    color: #FF385C;
}

/* ========================== AIRBNB-STYLE MOBILE - CORRECT SIZING ========================== */

/* Tighter section spacing - like Airbnb */
.section-title {
    padding: 0 16px;
    font-size: 22px;
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 12px;
    color: #222222;
    line-height: 1.2;
}

/* Hide slide hint on mobile - cleaner look */
.slide-hint {
    display: none;
}

/* Scroll row - hide scrollbar and tighter spacing */
.scroll-row {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 0 16px 20px;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    scroll-snap-type: x mandatory;
}

.scroll-row::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Property cards - AIRBNB COMPACT SIZE */
.property-card {
    min-width: 210px;
    max-width: 210px;
    background: #fff;
    border-radius: 12px;
    overflow: visible;
    box-shadow: none;
    text-decoration: none;
    color: #222;
    position: relative;
    transition: transform 0.2s ease;
    scroll-snap-align: start;
    margin-bottom: 0;
}

.property-card:active {
    transform: scale(0.98);
}

/* Image wrapper - AIRBNB COMPACT PROPORTIONS */
.property-card-image-wrapper {
    position: relative;
    width: 100%;
    height: 210px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 8px;
}

.property-card-image-wrapper img,
.property-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.property-card-image-wrapper img.lazy-loaded,
.property-card img.lazy-loaded {
    opacity: 1;
}

/* Property info - Airbnb tight padding */
.property-card .property-info {
    padding: 0 2px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Property name - AIRBNB COMPACT */
.property-card .property-name {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    color: #222222;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

/* Location - subtle gray */
.property-card .property-location {
    font-size: 14px;
    color: #717171;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Price row - Airbnb layout */
.property-card .property-price-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-top: 2px;
}

.property-card .property-price strong {
    font-weight: 600;
    color: #222222;
    font-size: 14px;
}

.property-card .property-price .night {
    font-weight: 400;
    color: #717171;
    font-size: 14px;
}

/* Stars - Airbnb style */
.property-card .stars {
    font-size: 13px;
    color: #222222;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}

/* Guest favorite badge - SMALLER */
.guest-favorite-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #FFFFFF;
    color: #222222;
    padding: 4px 8px;
    font-size: 11px;
    border-radius: 4px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.18);
    z-index: 9;
}

/* Instant badge - SMALLER */
.property-card-image-wrapper .instant-badge,
.instant-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #FFFFFF;
    color: #222222;
    padding: 4px 8px;
    font-size: 11px;
    border-radius: 4px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    gap: 3px;
    z-index: 9;
}

/* Wishlist heart - SMALLER */
.property-card-image-wrapper .wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    padding: 0;
}

.property-card-image-wrapper .wishlist-btn i {
    font-size: 20px;
    color: rgba(0, 0, 0, 0.5);
    -webkit-text-stroke: 2px white;
    transition: all 0.2s ease;
}

.property-card-image-wrapper .wishlist-btn:active {
    transform: scale(0.9);
}

.property-card-image-wrapper .wishlist-btn.active i {
    color: #FF385C;
    -webkit-text-stroke: 0;
}

/* Superhost badge in card */
.superhost-mini-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 600;
    color: #222222;
    margin-bottom: 2px;
}

.superhost-mini-badge i {
    font-size: 11px;
    color: #FF385C;
}

/* See All button - COMPACT */
.see-all-btn {
    min-width: 210px;
    max-width: 210px;
    height: 210px;
    background: linear-gradient(135deg, #FF385C 0%, #E61E4D 100%);
    border-radius: 12px;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(255, 56, 92, 0.25);
    scroll-snap-align: start;
}

.see-all-btn:active {
    transform: scale(0.98);
}

/* Top cities section - tighter spacing */
.top-cities {
    max-width: 100%;
    margin: 24px 0 20px;
    padding: 0 16px;
}

.top-cities .section-header {
    margin-bottom: 12px;
}

.top-cities .section-header h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #222222;
    line-height: 1.2;
}

.top-cities .section-header p {
    font-size: 15px;
    color: #717171;
    line-height: 1.3;
}

/* Cities scroll wrapper */
.cities-scroll-wrapper {
    margin-top: 12px;
}

.cities-scroll {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 12px;
    padding: 4px 0 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
}

.cities-scroll::-webkit-scrollbar {
    display: none;
}

/* City cards - COMPACT SIZE */
.city-card {
    flex: 0 0 auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    width: 200px;
    text-decoration: none;
    color: #222222;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
    scroll-snap-align: start;
}

.city-card:active {
    transform: scale(0.98);
}

.city-card-img img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.city-card-info {
    padding: 10px;
}

.city-card-info h3 {
    font-size: 15px;
    margin-bottom: 3px;
    font-weight: 600;
    color: #222222;
}

.city-card-info p {
    font-size: 13px;
    color: #717171;
}

/* Adjust body padding for mobile */
@media (max-width: 768px) {
    body {
        padding-bottom: 70px; /* Space for bottom nav */
    }
    
    /* Tighter section spacing */
    .section-title {
        margin-top: 20px;
        margin-bottom: 10px;
        font-size: 20px;
    }
    
    /* Keep compact size on mobile */
    .property-card {
        min-width: 190px;
        max-width: 190px;
    }
    
    .property-card-image-wrapper,
    .property-card-image-wrapper img,
    .property-card img {
        height: 190px;
    }
    
    .see-all-btn {
        min-width: 190px;
        max-width: 190px;
        height: 190px;
    }
    
    /* Scroll row tighter */
    .scroll-row {
        gap: 10px;
        padding: 0 12px 16px;
    }
    
    /* Top cities tighter */
    .top-cities {
        padding: 0 12px;
        margin: 20px 0 16px;
    }
    
    .city-card {
        width: 180px;
    }
    
    .city-card-img img {
        height: 140px;
    }
}

/* Very small phones */
@media (max-width: 375px) {
    .property-card {
        min-width: 170px;
        max-width: 170px;
    }
    
    .property-card-image-wrapper,
    .property-card-image-wrapper img,
    .property-card img {
        height: 170px;
    }
    
    .see-all-btn {
        min-width: 170px;
        max-width: 170px;
        height: 170px;
        font-size: 14px;
    }
    
    .city-card {
        width: 160px;
    }
    
    .city-card-img img {
        height: 130px;
    }
    
    .property-card .property-name,
    .property-card .property-location,
    .property-card .property-price strong,
    .property-card .property-price .night {
        font-size: 13px;
    }
    
    .property-card .stars {
        font-size: 12px;
    }
}

/* Desktop - keep responsive grid */
@media (min-width: 769px) {
    .scroll-row {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 16px;
        overflow-x: visible;
        padding: 0 16px 24px;
    }
    
    .property-card {
        min-width: auto;
        max-width: none;
    }
    
    .property-card-image-wrapper,
    .property-card-image-wrapper img,
    .property-card img {
        height: 220px;
    }
    
    .see-all-btn {
        min-width: auto;
        height: 220px;
    }
}
