/* style.css — Professional, Modern, Mobile-First */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* --- Navigation & Profile --- */
.user-profile-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

/* --- Hero Section --- */
.hero {
    /* Rich, professional blue/purple gradient */
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    min-height: 50vh;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1.5" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 1;
}

/* --- Animations --- */
.animate-fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.fade-in {
    animation: simpleFadeIn 0.5s ease-in forwards;
}

@keyframes fadeSlideUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes simpleFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- Package Cards & Hover Lift --- */
.package-card {
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
}

/* --- Package Ribbons --- */
.package-ribbon {
    position: absolute;
    top: 15px;
    right: -35px;
    padding: 4px 40px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: white;
    text-transform: uppercase;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    text-align: center;
}

.package-ribbon-hit { background-color: #ff6b6b; } /* Vibrant coral/red */
.package-ribbon-new { background-color: #20c997; } /* Modern teal/green */

/* --- Badges & Modals --- */
.duration-badge {
    font-size: 0.8rem;
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
    background-color: rgba(13, 110, 253, 0.1) !important;
    color: #0d6efd !important;
    font-weight: 600;
}

.booking-modal-step {
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: none;
}

.booking-modal-step.active {
    display: block;
    animation: simpleFadeIn 0.3s ease-out;
}



@media (max-width: 576px) {
    .hero-title { font-size: 2.2rem; }
    .hero-sub { font-size: 1.1rem; }
    .package-card { margin: 0; }
}

/* --- 1. Admin Sidebar Base (Desktop) --- */
#sidebar {
    min-width: 250px;
    max-width: 250px;
    min-height: 100vh;
    z-index: 1050; /* Keeps it above everything */
    background-color: #212529; /* Bootstrap dark background */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* --- 2. Mobile Responsive Sidebar (Must come AFTER base styles) --- */
@media (max-width: 768px) {
    #sidebar {
        position: fixed;
        top: 0;
        left: 0;
        margin-left: 0 !important;
        transform: translateX(-100%); /* Hides it off-screen to the left */
        height: 100vh;
    }
    
    /* When toggled is active, slide it back into view */
    #main-dashboard.toggled #sidebar {
        transform: translateX(0) !important;
        box-shadow: 10px 0 25px rgba(0,0,0,0.5); 
    }
}