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

:root {
    --primary-color: #f39c12;
    --bg-dark: #0a0a0c;
    --card-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
}

body {
    background-color: var(--bg-dark) !important;
    color: var(--text-main) !important;
    font-family: 'Outfit', sans-serif !important;
    margin: 0;
    line-height: 1.6;
}

#header {
    background: rgba(10, 10, 12, 0.9) !important;
    border-bottom: 1px solid var(--glass-border) !important;
}

.portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.hero-section {
    text-align: center;
    margin-bottom: 100px;
    padding: 80px 0;
}

.hero-section h1 {
    font-size: 5rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.6 !important; display: block !important; padding: 30px 0 !important; margin: 0 auto !important; min-height: 140px !important; overflow: visible !important;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-section p {
    font-size: 1.8rem;
    color: var(--text-muted);
    font-weight: 300;
    margin-top: 20px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin: 100px 0 40px;
    text-align: left;
    position: relative;
    padding-left: 30px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 80%;
    background: var(--primary-color);
    border-radius: 4px;
}

.year-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 60px 0 30px;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 600;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 40px;
}

.video-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    border-color: rgba(243, 156, 18, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 24px;
}

.video-info h3 {
    font-size: 1.25rem;
    margin: 0;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Fixes for Quark theme */
#body-wrapper, #page-wrapper {
    background: var(--bg-dark) !important;
}

.container {
    max-width: 1400px !important;
}

.navbar-section a {
    color: var(--text-main) !important;
}

.navbar-section a:hover {
    color: var(--primary-color) !important;
}

footer {
    border-top: 1px solid var(--glass-border);
    padding: 60px 0;
    margin-top: 100px;
    text-align: center;
    color: var(--text-muted);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section h1 { font-size: 3rem; }
    .hero-section p { font-size: 1.2rem; }
    .section-title { font-size: 2rem; }
    .video-grid { grid-template-columns: 1fr; }
}

.contact-section { margin-top: 40px; display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; }
.contact-link { color: var(--text-main); text-decoration: none; font-size: 1.2rem; transition: color 0.3s; display: flex; align-items: center; gap: 10px; }
.contact-link:hover { color: var(--primary-color); }
