.airbnb {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-primary);
}

.airbnb-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: stretch;
}

.airbnb-text h2 {
    margin-bottom: var(--spacing-md);
}

.airbnb-text > p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.airbnb-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.feature-item i {
    color: var(--primary);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.feature-item span {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.airbnb-price {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: var(--spacing-md);
}

.airbnb-price .price-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.price-amount {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.airbnb-price .price-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.price-period {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-body);
}

.airbnb-cta {
    margin-bottom: var(--spacing-sm);
}

.airbnb-cta .btn-primary {
    display: block;
    width: 100%;
    text-align: center;
}

.platform-badges {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.badges-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.badges {
    display: flex;
    gap: var(--spacing-sm);
    width: 100%;
}

.platform-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
}

/* Transform origins for horizontal growth */
.platform-logo:nth-child(1) {
    transform-origin: left center;  /* Left badge grows RIGHT */
}

.platform-logo:nth-child(2) {
    transform-origin: center center;  /* Middle badge grows in place */
}

.platform-logo:nth-child(3) {
    transform-origin: right center;  /* Right badge grows LEFT */
}

/* Hover: grow the hovered badge (removed translateY to let transform-origin work) */
.platform-logo:hover {
    transform: scale(1.15);
    box-shadow: var(--shadow-md);
}

/* When LEFT badge (Airbnb) hovered: Booking shrinks towards RIGHT */
.badges:has(.platform-logo:nth-child(1):hover) .platform-logo:nth-child(2) {
    transform: scale(0.85) translateX(30px);
    opacity: 0.6;
}

.badges:has(.platform-logo:nth-child(1):hover) .platform-logo:nth-child(3) {
    transform: scale(0.85);
    opacity: 0.6;
}

/* When MIDDLE badge (Booking) hovered: shrink left and right */
.badges:has(.platform-logo:nth-child(2):hover) .platform-logo:nth-child(1) {
    transform: scale(0.85);
    opacity: 0.6;
}

.badges:has(.platform-logo:nth-child(2):hover) .platform-logo:nth-child(3) {
    transform: scale(0.85);
    opacity: 0.6;
}

/* When RIGHT badge (MMT) hovered: shrink others, push Booking LEFT */
.badges:has(.platform-logo:nth-child(3):hover) .platform-logo:nth-child(1) {
    transform: scale(0.85);
    opacity: 0.6;
}

.badges:has(.platform-logo:nth-child(3):hover) .platform-logo:nth-child(2) {
    transform: scale(0.85) translateX(-30px);
    opacity: 0.6;
}

.platform-logo img {
    height: 32px;
    width: auto;
    object-fit: contain;
    opacity: 1;
    transition: all var(--transition-base);
}

.platform-logo:hover img {
    opacity: 1;
}

/* Airbnb - Rausch Red */
.platform-airbnb {
    background: rgba(255, 90, 95, 0.7);
    border-color: transparent;
}

.platform-airbnb:hover {
    background: rgb(255, 90, 95);
}

/* Booking.com - Blue */
.platform-booking {
    background: rgba(0, 113, 194, 0.7);
    border-color: transparent;
}

.platform-booking:hover {
    background: rgb(0, 113, 194);
}

/* MakeMyTrip - Red */
.platform-mmt {
    background: rgba(231, 60, 52, 0.7);
    border-color: transparent;
}

.platform-mmt:hover {
    background: rgb(231, 60, 52);
}

.airbnb-gallery {
    position: relative;
    height: 100%;
}

.gallery-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    height: 100%;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .airbnb {
        padding: var(--spacing-2xl) 0;
    }
    
    .airbnb-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .airbnb-features {
        grid-template-columns: 1fr;
    }
    
    .gallery-main img {
        height: 350px;
    }
}
