/* MyFest Modern Style - Extended */
@import 'style.css';

:root {
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: 10px;
    --gradient-primary: linear-gradient(135deg, #ffffff, #e0e0e0);
    --gradient-secondary: linear-gradient(135deg, #F97316, #FFD700);
    --shadow-primary: 0 0 15px rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 255, 255, 0.4);
    --shadow-secondary: 0 10px 30px -10px rgba(249, 115, 22, 0.5);
    --text-muted: #9ca3af;
}

/* Base Animations */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glassmorphism Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
}

.glass-card {
    background: rgba(30, 30, 35, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Linha sutil */
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-5px);
}

/* Modern Input Fields & Lines */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
select,
textarea {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(0, 0, 0, 0.4) !important;
    border-radius: 12px;
    color: white;
    font-family: var(--font-main);
    transition: all 0.3s ease;
    /* Linha de divisão moderna */
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary) !important;
    background: rgba(0, 0, 0, 0.6) !important;
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.2), inset 0 -1px 0 transparent;
}

/* Separators */
hr.modern-line {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    margin: 2rem 0;
}

/* Typography Gradient */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Section Header styling */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0.5rem auto 0;
}

/* Modal Overlay */
.modal-overlay {
    background: rgba(0, 0, 0, 0.85);
    /* Darker overlay */
    backdrop-filter: blur(8px);
}

/* Custom Scrollbar for modern look */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0f0f0f;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* --- Paquera App Navigation (Segmented Control + FAB) --- */

.app-sub-header {
    display: none;
    /* Desktop default */
}

/* Floating Action Button for Check-in */
.fab-checkin {
    display: none;
}

@media (max-width: 768px) {

    /* Hide the old sidebar on mobile */
    aside .filter-card {
        display: none !important;
    }

    /* Sub-Header Container */
    .app-sub-header {
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        /* Fixed to stay at top */
        top: 60px;
        /* Adjust based on main header height */
        left: 0;
        width: 100%;
        z-index: 99;
        padding: 10px 15px;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(15px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    /* Segmented Control (iOS Style) */
    .segmented-control {
        display: flex;
        background: rgba(255, 255, 255, 0.1);
        padding: 4px;
        border-radius: 50px;
        width: 100%;
        max-width: 400px;
        position: relative;
    }

    .segment-btn {
        flex: 1;
        border: none;
        background: transparent;
        color: #aaa;
        padding: 8px 0;
        border-radius: 50px;
        font-weight: 600;
        font-size: 0.85rem;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        z-index: 2;
    }

    .segment-btn.active {
        color: #000;
        background: var(--color-accent);
        /* Gold/Yellow */
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    /* FAB Check-in */
    .fab-checkin {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 90px;
        /* Above bottom nav */
        right: 20px;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: var(--color-primary);
        /* Green */
        color: white;
        font-size: 1.5rem;
        border: none;
        box-shadow: 0 4px 20px rgba(16, 185, 129, 0.5);
        z-index: 1001;
        transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        cursor: pointer;
    }

    .fab-checkin:active {
        transform: scale(0.9);
    }

    /* Adjust Content spacing */
    .app-grid-layout {
        display: block !important;
        margin-top: 60px !important;
        /* Space for fixed sub-header */
    }

    .people-grid-modern {
        padding-top: 15px;
    }
}

/* --- App-Standard Header Overrides (For Native Feel) --- */
@media (max-width: 900px) {
    .header-container {
        display: flex;
        align-items: center;
        justify-content: center;
        /* Center everything */
        position: relative;
        height: 50px;
        /* Specific app height */
        padding: 0 15px;
    }

    .main-header {
        padding: 5px 0 !important;
        /* Minimal padding override */
        background: rgba(0, 0, 0, 0.95);
        /* Solid for app feel */
    }

    .logo {
        margin: 0 auto;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 50%;
        margin-top: -18px;
        /* Half of height roughly */
    }

    .logo-text {
        font-size: 1.5rem !important;
        /* Smaller app-like logo */
    }

    .logo-dot {
        font-size: 1.5rem !important;
    }

    /* Menu Toggle Position */
    .mobile-menu-toggle {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.4rem;
        margin-top: 5px;
        /* Visual adj */
    }
}