/* Tumphes Homes - Refined Booking Structure with Airbnb Visual Identity */
:root {
    --tumphes-primary: #FF385C; /* Airbnb Coral */
    --tumphes-primary-dark: #E31C5F;
    --tumphes-secondary: #00A699;
    --tumphes-text: #222222;
    --tumphes-light-text: #717171;
    --tumphes-border: #DDDDDD;
    --tumphes-bg: #ffffff;
    --tumphes-yellow: #febb02;
}

/* Mirrors Tailwind-style names used in Blade; compiled style.css may omit these. */
.text-tumphes-text {
    color: var(--tumphes-text);
}
.text-tumphes-light-text {
    color: var(--tumphes-light-text);
}
.text-tumphes-primary {
    color: var(--tumphes-primary);
}
.border-tumphes-border {
    border-color: var(--tumphes-border);
}

/* Shims: property-details uses Tailwind gray utilities not present in compiled style.css */
.border-gray-200 {
    border-color: var(--tumphes-border);
}
.bg-gray-100 {
    background-color: #f3f4f6;
}
.text-gray-700 {
    color: #374151;
}
.hover\:bg-gray-100:hover {
    background-color: #f3f4f6;
}

body {
    font-family: Circular, -apple-system, blinkmacsystemfont, roboto, helvetica neue, sans-serif;
    color: var(--tumphes-text);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

/* Global Container Fixes */
.container, .container-fluid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px !important;
}

/* Clean White Header */
.tumphes-header {
    background: white;
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f7f7f7;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-text {
    color: var(--tumphes-primary) !important;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -1px;
}

.header-link {
    color: var(--tumphes-text);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 8px;
    transition: background 0.2s;
}

.header-link:hover {
    background: #f7f7f7;
}

.header-btn {
    background: white;
    color: var(--tumphes-text);
    padding: 8px 16px;
    border: 1px solid var(--tumphes-border);
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.header-btn:hover {
    border-color: var(--tumphes-text);
    background: #f7f7f7;
}

/* Hero & Search (Clean Style) */
.hero-section {
    background: #ffffff;
    padding: 40px 0 20px;
    color: var(--tumphes-text);
}

.hero-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--tumphes-text);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 32px;
    color: var(--tumphes-light-text);
}

/* Search Bar - Modern Oval with Tumphes Coral */
.booking-search-bar {
    background: #ffffff;
    padding: 8px;
    border-radius: 60px;
    display: flex;
    gap: 2px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    border: 1px solid var(--tumphes-border);
}

.search-input-group {
    background: white;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 14px 24px;
    gap: 12px;
}

.search-input-group:first-of-type {
    border-radius: 50px 0 0 50px;
}

.search-input-group:last-of-type {
    border-radius: 0;
    margin-right: 8px;
}

.search-input-group i {
    color: var(--tumphes-primary);
    font-size: 18px;
}

.search-input-group input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 15px;
    font-weight: 500;
    color: var(--tumphes-text);
}

.booking-search-btn {
    background: var(--tumphes-primary);
    color: white;
    padding: 0 32px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.booking-search-btn:hover {
    background: var(--tumphes-primary-dark);
}

/* Attractive Offers Section - Coral Gradient */
.offer-card {
    background: linear-gradient(135deg, #FF385C 0%, #D70466 100%);
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 8px 20px rgba(255, 56, 92, 0.2);
    position: relative;
}

.offer-content {
    padding: 24px 32px;
    flex: 1;
    color: white;
    z-index: 2;
}

.offer-badge {
    background: white;
    color: var(--tumphes-primary);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 8px;
}

.offer-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 4px;
    line-height: 1.2;
}

.offer-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 16px;
    max-width: 450px;
}

.offer-btn {
    background: white;
    color: var(--tumphes-primary);
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    display: inline-block;
    transition: transform 0.2s;
}

.offer-btn:hover {
    transform: scale(1.05);
}

.offer-image-wrapper {
    width: 240px;
    position: relative;
}

.offer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mask-image: linear-gradient(to left, black 60%, transparent 100%);
}

/* Property Types - Horizontal Scroll & Overlay */
.property-type-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.property-type-scroll::-webkit-scrollbar {
    display: none;
}

.type-card {
    flex: 0 0 240px;
    cursor: pointer;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.type-image-wrapper {
    width: 100%;
    aspect-ratio: 1.2 / 1;
}

.type-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.type-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: white;
}

.type-title {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

/* Booking Card Style - Exact Match with Coral Accents */
.booking-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.2s ease;
    text-decoration: none !important;
    border: 1px solid #ebebeb;
}

.booking-card:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.booking-card-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1.1 / 1;
    overflow: hidden;
}

.booking-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.heart-btn-circle {
    position: absolute;
    top: 12px;
    right: 12px;
    background: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    color: var(--tumphes-text);
}

.heart-btn-circle i {
    font-size: 18px;
}

.booking-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.property-type-tag {
    font-size: 13px;
    color: var(--tumphes-light-text);
    display: flex;
    align-items: center;
    gap: 4px;
}

.thumbs-up-icon {
    background: var(--tumphes-yellow);
    color: white;
    font-size: 8px;
    padding: 2px;
    border-radius: 2px;
}

.booking-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--tumphes-text);
    margin: 2px 0;
}

.booking-card-location {
    font-size: 14px;
    color: var(--tumphes-light-text);
    margin-bottom: 8px;
}

.rating-container {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-bottom: 8px;
}

.rating-box {
    background: var(--tumphes-primary);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.rating-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.rating-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--tumphes-text);
}

.rating-count {
    font-size: 12px;
    color: var(--tumphes-light-text);
}

.distance-info {
    font-size: 14px;
    color: var(--tumphes-text);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.booking-card-price-container {
    margin-top: auto;
    text-align: right;
    padding-top: 12px;
}

.price-label-gray {
    font-size: 14px;
    color: var(--tumphes-light-text);
    display: inline-block;
    margin-right: 4px;
}

.price-value-bold {
    font-size: 20px;
    font-weight: 800;
    color: var(--tumphes-text);
}

/* Airbnb Details Gallery */
.airbnb-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, 220px);
    gap: 8px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.airbnb-gallery-main {
    grid-row: span 2;
}

.airbnb-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: filter 0.3s;
}

.airbnb-gallery img:hover {
    filter: brightness(0.9);
}

.show-all-photos {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: white;
    border: 1px solid black;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Guest Favorite Badge */
.guest-favorite-container {
    border: 1px solid #DDDDDD;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 32px 0;
}

.guest-favorite-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.guest-favorite-icons {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 32px;
    color: #febb02;
}

.guest-favorite-text {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
}

.guest-favorite-right {
    display: flex;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.rating-score {
    font-size: 18px;
    font-weight: 700;
}

.rating-stars {
    font-size: 10px;
    display: block;
}

.review-count {
    font-size: 18px;
    font-weight: 700;
}

.review-label {
    font-size: 10px;
    display: block;
    text-transform: uppercase;
}

/* Host Section */
.host-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.host-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.host-meta h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.host-meta p {
    font-size: 14px;
    color: var(--tumphes-light-text);
    margin: 0;
}

/* Airbnb Booking Widget */
.airbnb-booking-card {
    border: 1px solid #DDDDDD;
    border-radius: 12px;
    padding: 24px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 6px 16px;
    position: sticky;
    top: 100px;
    background: white;
}

.booking-price-row {
    margin-bottom: 24px;
}

.booking-price-row b {
    font-size: 22px;
    font-weight: 700;
}

.booking-price-row span {
    font-size: 14px;
    font-weight: 400;
    color: var(--tumphes-light-text);
}

.booking-inputs-box {
    border: 1px solid #B0B0B0;
    border-radius: 8px;
    margin-bottom: 16px;
}

.inputs-row {
    display: flex;
    border-bottom: 1px solid #B0B0B0;
}

.input-col {
    flex: 1;
    padding: 10px 12px;
}

.input-col:first-child {
    border-right: 1px solid #B0B0B0;
}

.input-label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--tumphes-light-text);
    letter-spacing: 0.04em;
}

.input-val {
    font-size: 14px;
    color: var(--tumphes-text);
}

.guest-input {
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.airbnb-reserve-btn {
    width: 100%;
    background: var(--tumphes-primary);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
}

a.airbnb-reserve-btn--link {
    display: block;
    text-align: center;
    text-decoration: none;
    color: white !important;
}

.free-cancel-tag {
    background: #f7f7f7;
    color: var(--tumphes-text);
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 16px;
    text-align: center;
}

/* Search Page Styles */
.filter-pills {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.filter-pills::-webkit-scrollbar {
    display: none;
}

.filter-pill {
    white-space: nowrap;
    padding: 8px 16px;
    border: 1px solid var(--tumphes-border);
    border-radius: 30px;
    font-size: 14px;
    color: var(--tumphes-text);
    cursor: pointer;
    transition: all 0.2s;
    background: white;
}

.filter-pill:hover {
    border-color: var(--tumphes-text);
}

.filter-pill.active {
    border-color: var(--tumphes-text);
    background: #f7f7f7;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
}

@media (min-width: 640px) {
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .results-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.map-floating-btn {
    background: #222222;
    color: white;
    padding: 14px 20px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.2s;
}

.map-floating-btn:hover {
    transform: scale(1.05);
}

/* Bedroom & Amenities Refinement */
.bedroom-card {
    border: 1px solid #DDDDDD;
    border-radius: 12px;
    padding: 20px;
    background: white;
    transition: box-shadow 0.2s;
    height: 100%;
}

.bedroom-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.bedroom-img-container {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
    background: #f7f7f7;
    aspect-ratio: 3/2;
}

.bedroom-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bedroom-info h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--tumphes-text);
}

.bedroom-info p {
    font-size: 14px;
    color: var(--tumphes-light-text);
    margin: 0;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 4px 0;
}

.amenity-icon-box {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #484848;
}

.amenity-text {
    font-size: 16px;
    color: var(--tumphes-text);
}

.show-all-btn {
    border: 1px solid var(--tumphes-text);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    background: white;
    transition: background 0.2s;
}

.show-all-btn:hover {
    background: #f7f7f7;
}

/* Property details page — radius / spacing / layout shims (Tailwind subset bundle) */
.rounded-xl {
    border-radius: 0.75rem;
}
.rounded-2xl {
    border-radius: 1rem;
}
.aspect-\[3\/2\] {
    aspect-ratio: 3 / 2;
}
.max-w-\[800px\] {
    max-width: 800px;
}
.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}
.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.gap-12 {
    gap: 3rem;
}
.pb-12 {
    padding-bottom: 3rem;
}
.mb-12 {
    margin-bottom: 3rem;
}
.mt-10 {
    margin-top: 2.5rem;
}
.w-\[460px\] {
    width: 460px;
}
@media (min-width: 1280px) {
    .xl\:gap-24 {
        gap: 6rem;
    }
}

.leading-relaxed {
    line-height: 1.625;
}

.gap-y-6 {
    row-gap: 1.5rem;
}

.space-y-6 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}

.flex-1 {
    flex: 1 1 0%;
}

/* Landing — “Homes guests love”: auto-fit tracks so few cards share the row instead of leaving a wide empty rail */
.tumphes-featured-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.tumphes-footer {
    background-color: #f7f7f7;
}

/* Landing & footer utilities often missing from compiled style.css */
.mt-12 {
    margin-top: 3rem;
}
.mt-16 {
    margin-top: 4rem;
}
.pt-12 {
    padding-top: 3rem;
}
.pt-8 {
    padding-top: 2rem;
}
.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tracking-wider {
    letter-spacing: 0.05em;
}
.space-y-3 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}
.hover\:text-tumphes-primary:hover {
    color: var(--tumphes-primary);
}
