/* style.css - V2.0 Premium Glass & Gold */

:root {
    /* -- Palette -- */
    --gold-gradient: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    --gold-text: #F4E7BE; 
    --bg-deep: #050505;
    --bg-glass: rgba(30, 30, 30, 0.6);
    --bg-glass-hover: rgba(50, 50, 50, 0.8);
    --border-glass: 1px solid rgba(255, 255, 255, 0.1);
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.5);
    
    /* -- Typography -- */
    --font-heading: 'Playfair Display', serif; /* Elegant */
    --font-display: 'Cinzel', serif; /* Luxury Caps */
    --font-body: 'Lato', sans-serif; /* Clean */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-deep);
    /* Subtle background texture or gradient */
    background-image: radial-gradient(circle at 50% 0%, #1a1a1a, #000000); 
    color: #e0e0e0;
    font-family: var(--font-body);
    line-height: 1.7;
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; transition: 0.4s ease; }
ul { list-style: none; }

/* --- BUTTONS & INTERACTIVE --- */
.btn-gold {
    background: var(--gold-gradient);
    color: #000;
    padding: 12px 30px;
    border-radius: 2px; /* Sharp edges for luxury feel */
    font-weight: bold;
    font-family: var(--font-display);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(191, 149, 63, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(191, 149, 63, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1px solid #bf953f;
    color: #bf953f;
    padding: 10px 25px;
    border-radius: 2px;
    font-family: var(--font-display);
    font-size: 0.8rem;
    cursor: pointer;
}
.btn-outline:hover {
    background: rgba(191, 149, 63, 0.1);
    color: #fff;
    border-color: #fff;
}

/* --- HEADER --- */
header {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px); /* The "Frosted Glass" effect */
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: var(--border-glass);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* Makes text look like gold metal */
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}
.nav-links a:hover { opacity: 1; color: var(--gold-text); }

/* --- HERO SECTION --- */
.hero {
    height: 80vh;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), #050505), url('https://images.unsplash.com/photo-1542291026-7eec264c27ff?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 400;
    text-shadow: 0 5px 15px rgba(0,0,0,0.8);
}

.hero span { 
    font-style: italic; 
    color: #bf953f; /* Fallback */
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.3rem;
    color: #ccc;
    margin-bottom: 3rem;
    font-weight: 300;
    max-width: 600px;
}

/* --- SEARCH BAR --- */
.search-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: var(--border-glass);
    padding: 8px;
    border-radius: 50px;
    display: flex;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.search-container input, .search-container select {
    background: transparent;
    border: none;
    color: white;
    padding: 15px 25px;
    outline: none;
    flex: 1;
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

.search-container input::placeholder { color: rgba(255,255,255,0.5); }
.search-container select { border-left: 1px solid rgba(255,255,255,0.2); margin-left: 10px; color: #aaa; }
.search-container select option { background: #000; }

.search-btn {
    background: var(--gold-gradient);
    border: none;
    padding: 12px 40px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: bold;
    font-family: var(--font-display);
    letter-spacing: 1px;
    color: #1a1a1a;
    transition: 0.3s;
}
.search-btn:hover { filter: brightness(1.2); }

/* --- CARDS (Profiles, Roles, Dashboard Widgets) --- */
.container { padding: 4rem 5%; }
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--gold-text);
    position: relative;
    display: inline-block;
    width: 100%;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold-gradient);
    margin: 15px auto 0;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.profile-card {
    background: var(--bg-glass);
    border: var(--border-glass);
    border-radius: 4px;
    overflow: hidden;
    transition: 0.4s ease;
    position: relative;
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    border-color: #bf953f;
}

.card-img {
    height: 350px;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    /* Dark gradient overlay at bottom of image for text readability */
    box-shadow: inset 0 -50px 50px rgba(0,0,0,0.8); 
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--gold-text);
    padding: 5px 12px;
    font-size: 0.75rem;
    border: 1px solid #bf953f;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-info {
    padding: 20px;
    text-align: center;
}

.card-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 5px;
}
.card-info p { color: #888; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

/* --- AUTH & FORMS --- */
.auth-container {
    max-width: 600px; /* Slimmer for elegance */
    margin: 80px auto;
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid #333;
    padding: 50px;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    position: relative;
}
/* Fancy Gold Border Top */
.auth-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gold-gradient);
}

.role-card {
    background: transparent;
    border: 1px solid #333;
    padding: 20px;
    transition: 0.3s;
}
.role-card.active, .role-card:hover {
    border-color: #bf953f;
    background: rgba(191, 149, 63, 0.05);
}

input, textarea {
    background: #0a0a0a !important;
    border: 1px solid #333 !important;
    color: #fff !important;
    padding: 15px !important;
    font-family: var(--font-body);
}
input:focus, textarea:focus {
    border-color: #bf953f !important;
    outline: none;
}

/* --- DASHBOARD & SIDEBAR --- */
.sidebar {
    background: #080808;
    border-right: 1px solid #222;
}
.sidebar-header {
    font-family: var(--font-display);
    letter-spacing: 2px;
}
.nav-item { font-size: 0.95rem; }
.nav-item.active { background: #151515; }

.stat-card {
    background: linear-gradient(145deg, #151515, #0f0f0f);
    border: 1px solid #222;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.stat-card.gold-border { border-bottom: 2px solid #bf953f; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .search-container { flex-direction: column; border-radius: 10px; }
    .search-btn { width: 100%; margin-top: 10px; }
    .grid-cards { grid-template-columns: 1fr; }
}