/* 
 * Atrabni Premium Theme - CSS 
 * Luxury Dark Mode (Black/Gold)
 */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800;900&family=Tajawal:wght@400;500;700&display=swap');

:root {
    --gold-primary: #C9A84C;
    --gold-light: #E5C97E;
    --gold-dark: #A07430;
    --gold-gradient: linear-gradient(135deg, var(--gold-light), var(--gold-primary), var(--gold-dark));
    
    --bg-main: #050505;
    --surface-1: #0F0F0F;
    --surface-2: #1A1A1A;
    --surface-glass: rgba(26, 26, 26, 0.6);
    
    --text-primary: #FFFFFF;
    --text-secondary: #B3B3B3;
    --text-muted: #808080;
    
    --border-color: rgba(201, 168, 76, 0.15);
    --border-glass: rgba(255, 255, 255, 0.05);
    
    --shadow-gold: 0 8px 32px rgba(201, 168, 76, 0.15);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.5);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    color: var(--text-primary);
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--surface-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glass);
}

/* Typography Utilities */
.text-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
.btn-premium {
    background: var(--gold-gradient);
    color: var(--bg-main);
    font-weight: 700;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary), var(--gold-light));
    z-index: -1;
    transition: var(--transition);
    opacity: 0;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
    color: var(--bg-main);
}

.btn-premium:hover::before {
    opacity: 1;
}

.btn-outline-premium {
    background: transparent;
    color: var(--gold-primary);
    border: 2px solid var(--gold-primary);
    padding: 10px 26px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    transition: var(--transition);
}

.btn-outline-premium:hover {
    background: var(--gold-gradient);
    border-color: transparent;
    color: var(--bg-main);
    box-shadow: var(--shadow-gold);
}

/* Navbar */
.navbar-premium {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    transition: var(--transition);
}

.navbar-premium.scrolled {
    padding: 10px 0;
    background: rgba(5, 5, 5, 0.95);
    box-shadow: var(--shadow-gold);
}

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 600;
    position: relative;
    padding: 8px 16px !important;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--gold-primary) !important;
}

/* Event Cards */
.event-card {
    background: var(--surface-1);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold);
}

.event-image-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

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

.event-card:hover .event-image-wrapper img {
    transform: scale(1.05);
}

.event-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold-gradient);
    color: var(--bg-main);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 2;
}

.event-details {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.event-meta {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-meta i {
    color: var(--gold-primary);
}

.event-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold-primary);
}

/* Form Controls */
.form-control, .form-select {
    background-color: var(--surface-2);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    padding: 14px 20px;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    background-color: var(--surface-1);
    border-color: var(--gold-primary);
    color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

/* Search Section inside Hero */
.search-glass-container {
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: var(--radius-lg);
    transform: translateY(50%);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    position: relative;
    z-index: 10;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Utilities */
.section-padding { padding: 100px 0; }
.bg-surface { background-color: var(--surface-1); }
