/* Tourist Page Specific Styles */
:root {
    --tourist-primary: #0d9488;
    --tourist-secondary: #14b8a6;
    --tourist-accent: #f59e0b;
    --tourist-bg: #f8fafc;
    --tourist-card-bg: rgba(255, 255, 255, 0.8);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Glassmorphism Effect */
.glass-card {
    background: var(--tourist-card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1.5rem;
    transition: var(--transition-slow);
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.tourist-hero {
    background: linear-gradient(rgba(13, 148, 136, 0.8), rgba(20, 184, 166, 0.6)), url('../image/banner2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 160px 0 100px;
    color: white;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
}

/* City Cards */
.city-section {
    padding: 100px 0;
}

.city-image-wrapper {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 450px;
}

.city-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.city-section:hover .city-image-wrapper img {
    transform: scale(1.1);
}

.medical-tip-box {
    background: rgba(13, 148, 136, 0.1);
    border-left: 4px solid var(--tourist-primary);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 1.5rem;
}

.tip-icon {
    font-size: 1.5rem;
    color: var(--tourist-primary);
    margin-bottom: 0.5rem;
}

/* Custom Navigation Hover Effect */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 1;
        visibility: visible;
        animation: slideDown 0.3s ease-out;
    }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Featured Locations Grid */
.location-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: white;
    color: var(--tourist-primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Attractions Grid */
/* Attractions Grid Slider */
.attractions-grid {
    display: flex;
    overflow: hidden;
    gap: 1.5rem;
    padding: 1.5rem 0;
    width: 100%;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.slider-track {
    display: flex;
    gap: 1.5rem;
    animation: scroll-left 30s linear infinite;
    width: max-content;
}

.attractions-grid:hover .slider-track {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.attraction-card {
    flex: 0 0 250px;
    background: white;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    border: 1px solid rgba(0,0,0,0.05);
}

.attraction-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.attraction-img-box {
    height: 140px;
    overflow: hidden;
}

.attraction-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.attraction-card:hover .attraction-img-box img {
    transform: scale(1.15);
}

.attraction-info {
    padding: 1rem;
    text-align: center;
}

.attraction-name {
    font-weight: 700;
    color: var(--dark);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .city-image-wrapper {
        height: 300px;
        margin-bottom: 2rem;
    }
}
