/* Photography Audition 2026 - Premium Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    --primary-color: #0b0c10;
    --secondary-color: #1f2833;
    --light-accent: #f4f6f9;
    --white: #ffffff;
    --gray-light: #e2e8f0;
    --gray-medium: #64748b;
    --gradient-primary: linear-gradient(135deg, #111111 0%, #333333 100%);
    --gradient-accent: linear-gradient(135deg, #0b0c10 0%, #1f2833 100%);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.04);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.08);
    --border-radius-pill: 50px;
    --border-radius-card: 20px;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #fcfcfd;
    color: var(--secondary-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.serif-font {
    font-family: 'Playfair Display', serif;
}

/* Sticky Premium Navbar */
.navbar-premium {
    background: #E8E9EB !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.navbar-premium .navbar-brand {
    font-weight: 800;
    font-size: 1.9rem;
    letter-spacing: -0.03em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Gradient Buttons */
.btn-premium {
    background: var(--gradient-primary);
    color: var(--white) !important;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius-pill);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
    background: linear-gradient(135deg, #222222 0%, #555555 100%);
}

.btn-premium-outline {
    background: transparent;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
    padding: 0.7rem 2rem;
    border-radius: var(--border-radius-pill);
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-premium-outline:hover {
    background: var(--primary-color);
    color: var(--white) !important;
    transform: translateY(-2px);
}

/* Glassmorphism Cards */
.card-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.card-glass:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
}

/* Forms styling */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(11, 12, 16, 0.08);
}

/* Hide native browser password reveal and clear buttons */
input::-ms-reveal,
input::-ms-clear,
input::-webkit-contacts-auto-fill-button,
input::-webkit-credentials-auto-fill-button {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Hero Section */
.hero-banner {
    position: relative;
    background: radial-gradient(circle at top right, rgba(240, 240, 240, 0.5) 0%, rgba(255, 255, 255, 1) 70%);
    padding: 120px 0 80px 0;
}

/* Image Upload Preview Box */
.preview-box {
    border: 2px dashed var(--gray-light);
    border-radius: var(--border-radius-card);
    padding: 30px;
    text-align: center;
    background: #fbfbfb;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.preview-box:hover {
    border-color: var(--primary-color);
    background: #fdfdfd;
}

.preview-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    display: none;
    margin-top: 15px;
    border: 1px solid var(--gray-light);
}

/* Animated Progress Bars */
.progress-premium {
    height: 8px;
    border-radius: 10px;
    background-color: var(--gray-light);
    overflow: hidden;
}

.progress-bar-premium {
    background: var(--gradient-primary);
    border-radius: 10px;
    transition: width 0.8s ease-in-out;
}

/* Custom Alert Banner */
.alert-premium {
    background: rgba(255, 255, 255, 0.95);
    border-left: 5px solid var(--primary-color);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    color: var(--secondary-color);
}

/* Loading Spinner Overlay */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    transition: opacity 0.3s ease;
}

.spinner-premium {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Dashboard Sidebar / Navigation cards */
.dashboard-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 12px;
    margin-bottom: 8px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.dashboard-link:hover, .dashboard-link.active {
    background: var(--primary-color);
    color: var(--white) !important;
}

.dashboard-link i {
    font-size: 1.25rem;
    margin-right: 12px;
}


/* Custom Light Button Theme Classes */
.btn-light-green {
    background-color: #ffffff !important;
    border: 2px solid #133c30 !important;
    color: #133c30 !important;
    font-weight: 600;
    transition: all 0.25s ease;
}
.btn-light-green i {
    color: #133c30 !important;
    transition: all 0.25s ease;
}
.btn-light-green:hover {
    background-color: #d1e7dd !important;
    color: #133c30 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(19, 60, 48, 0.15);
}

.btn-light-orange {
    background-color: #ffffff !important;
    border: 2px solid #c2410c !important;
    color: #c2410c !important;
    font-weight: 600;
    transition: all 0.25s ease;
}
.btn-light-orange i {
    color: #c2410c !important;
    transition: all 0.25s ease;
}
.btn-light-orange:hover {
    background-color: #fff3cd !important;
    color: #c2410c !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(194, 65, 12, 0.15);
}

.btn-light-blue {
    background-color: #ffffff !important;
    border: 2px solid #055160 !important;
    color: #055160 !important;
    font-weight: 600;
    transition: all 0.25s ease;
}
.btn-light-blue i {
    color: #055160 !important;
    transition: all 0.25s ease;
}
.btn-light-blue:hover {
    background-color: #cff4fc !important;
    color: #055160 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(11, 60, 93, 0.15);
}

.btn-light-teal {
    background-color: #ffffff !important;
    border: 2px solid #084298 !important;
    color: #084298 !important;
    font-weight: 600;
    transition: all 0.25s ease;
}
.btn-light-teal i {
    color: #084298 !important;
    transition: all 0.25s ease;
}
.btn-light-teal:hover {
    background-color: #e8f0fe !important;
    color: #084298 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.15);
}

/* Prominent Results Navigation Button & OUT NOW Animation Styles */
.btn-results-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.4rem 0.9rem !important;
    border-radius: 50px !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none !important;
    position: relative;
}

/* Outer Button Pulse Glow */
@keyframes resultsPulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7), 0 4px 12px rgba(245, 158, 11, 0.2);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(245, 158, 11, 0), 0 6px 18px rgba(245, 158, 11, 0.35);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0), 0 4px 12px rgba(245, 158, 11, 0.2);
    }
}

.btn-results-nav.results-pulse {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 50%, #fde68a 100%) !important;
    border: 1.8px solid #d97706 !important;
    color: #92400e !important;
    animation: resultsPulseGlow 2s infinite ease-in-out;
}

.btn-results-nav.results-pulse:hover {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%) !important;
    color: #78350f !important;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.35) !important;
}

/* OUT NOW Badge Pulse & Shimmer Animation */
@keyframes outNowBadgePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.6);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 6px rgba(220, 38, 38, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
    }
}

.badge-out-now {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em;
    padding: 0.3em 0.7em !important;
    animation: outNowBadgePulse 1.8s infinite ease-in-out;
    display: inline-block;
}

/* Trophy Icon Glow & Subtle Tilt Animation */
@keyframes trophyWobble {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-10deg) scale(1.15); }
    75% { transform: rotate(10deg) scale(1.15); }
}

.trophy-icon-glow {
    color: #d97706 !important;
    filter: drop-shadow(0 2px 4px rgba(217, 119, 6, 0.4));
    animation: trophyWobble 3s infinite ease-in-out;
    display: inline-block;
}

/* Viewed State Style */
.btn-results-nav.results-viewed {
    background: rgba(248, 250, 252, 0.95) !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #1e293b !important;
    animation: none !important;
    box-shadow: none !important;
}

.btn-results-nav.results-viewed:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #9ca3af !important;
}
