/* =========================================
   PLATFORM TOUR & GALLERY SPECIFIC STYLES
========================================= */

/* --- INNER PAGE HERO --- */
.inner-page-hero {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    padding: 100px 0 80px 0;
    position: relative;
    text-align: center;
    border-bottom: 1px solid rgba(126, 34, 206, 0.1);
    overflow: hidden; /* Contains the floating elements */
}

/* --- FLOATING 3D-STYLE ICONS --- */
.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(126, 34, 206, 0.15), inset 0 2px 5px rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.floating-element i {
    font-size: 2rem;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

/* Positioning and Animation Assignments */
.float-1 { 
    top: 20%; left: 10%; 
    width: 70px; height: 70px; 
    animation: floatY 6s ease-in-out infinite; 
    transform: rotate(-10deg);
}
.float-2 { 
    bottom: 20%; right: 15%; 
    width: 85px; height: 85px; 
    border-radius: 50%;
    animation: floatY 8s ease-in-out infinite reverse; 
}
.float-3 { 
    top: 30%; right: 10%; 
    width: 60px; height: 60px; 
    animation: floatX 7s ease-in-out infinite; 
    transform: rotate(15deg);
}

/* Keyframes for smooth floating */
@keyframes floatY {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(5deg); }
}
@keyframes floatX {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    50% { transform: translateX(-20px) rotate(-5deg); }
}

.hero-content-wrapper { position: relative; z-index: 5; }

/* --- FEATURE TOUR CARDS --- */
.feature-tour-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.feature-tour-card:hover {
    transform: translateY(-10px);
    border-color: #e9d5ff;
    box-shadow: 0 20px 40px rgba(126, 34, 206, 0.1);
}

/* UNIFORM IMAGE SIZING */
.card-img-block {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}
.card-img-block img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Forces the image to fill the 220px box perfectly */
    object-position: center;
    transition: transform 0.5s ease;
}
.feature-tour-card:hover .card-img-block img {
    transform: scale(1.05); /* Slight zoom on hover */
}

/* OVERLAY BADGE */
.overlay-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.95);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 6px 15px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    backdrop-filter: blur(4px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CARD BODY */
.card-body-block {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* FLOATING ICON (PULLED INTO IMAGE) */
.icon-circle {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    margin-top: -55px; /* Pulls icon up into the image block */
    position: relative;
    z-index: 2;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.feature-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 12px;
}
.feature-desc {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0;
}
.feature-link {
    margin-top: auto;
    padding-top: 25px;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}
.feature-link i {
    margin-left: 8px;
    transition: transform 0.2s ease;
}
.feature-tour-card:hover .feature-link {
    color: var(--secondary);
}
.feature-tour-card:hover .feature-link i {
    transform: translateX(5px);
}

/* TEXT COLORS FOR ICONS */
.text-purple { color: #7e22ce; }
.text-green { color: #16a34a; }
.text-blue { color: #0284c7; }
.text-orange { color: #d97706; }
.text-red { color: #dc2626; }

@media (max-width: 991px) {
    .floating-element { display: none; }
}