/* --- AI Travel Section Container --- */
.ai-travel-section {
    background-color: #fff; /* or transparent based on your page */
    border-radius: 24px;
    overflow: hidden;
}

/* --- Left Side: Collage Grid --- */
.travel-collage {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between rows */
    padding: 20px;
    justify-content: center;
}

.collage-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px; /* Space between items */
}

.collage-item {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Shapes */
.shape-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    flex-shrink: 0;
}

.shape-pill {
    width: 140px;
    height: 70px;
    border-radius: 40px;
    flex-shrink: 0;
}

/* Colored Icons */
.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.icon-box img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.bg-teal { background-color: #2c7a7b; }
.bg-yellow { background-color: #f6ad55; } /* Adjust to match your yellow */

/* --- Right Side: Chat Interface --- */
.chat-container {
    height: 520px; /* Fixed height matching design */
    border-radius: 24px;
    position: relative;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Background Image handled inline in HTML for Django static tag */
}

/* Glassmorphism Chat Bubbles */
.chat-bubble {
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 25px;
    max-width: 85%;
    position: relative;
    color: #fff;
    font-size: 15px;
    line-height: 1.5;

    /* The Glass Effect */
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.chat-left {
    align-self: flex-start;
    border-top-left-radius: 4px;
}

.chat-right {
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    text-align: right;
}

/* Floating AI/User Icons on bubbles */
.bubble-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.5);
}

.icon-pos-left {
    top: -20px;
    left: -20px;
    background: #f6ad55; /* Yellow icon bg */
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-pos-right {
    bottom: -15px;
    right: -15px;
}

/* Ask Me Button */
.ask-btn {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: #fff;
    color: #2c7a7b; /* Teal text */
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.2s;
}

.ask-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: #2c7a7b;
}

/* Responsive */
@media (max-width: 991px) {
    .shape-circle { width: 50px; height: 50px; }
    .shape-pill { width: 100px; height: 50px; }
    .chat-container { height: 400px; margin-top: 20px; }
}
@media (max-width: 576px) {
    .travel-collage { transform: scale(0.9); padding: 0; }
}