/**
 * Critical CSS - Above the Fold
 * 
 * This CSS is inlined in the <head> for instant rendering
 * Contains only styles needed for above-the-fold content
 * 
 * @package BollyFlix
 */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #09090b;
    color: #e4e4e7;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Screen Reader Text */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header */
.site-header {
    background: rgba(9, 9, 11, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    gap: 30px;
}

/* Logo */
.site-branding {
    flex-shrink: 0;
}

.site-logo-text {
    text-decoration: none;
    display: inline-block;
}

.site-title {
    font-size: 28px;
    font-weight: 700;
    color: #81d742;
    letter-spacing: -0.5px;
}

.custom-logo-link {
    display: inline-block;
    line-height: 0;
}

.custom-logo {
    max-height: 50px;
    width: auto;
}

/* Navigation */
.main-navigation {
    flex: 1;
    display: none;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 10px 16px;
    color: #e4e4e7;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-menu a:hover {
    background: rgba(129, 215, 66, 0.1);
    color: #81d742;
}

/* Search */
.header-search {
    flex-shrink: 0;
}

.search-form-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-field {
    width: 250px;
    padding: 10px 40px 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #e4e4e7;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-field:focus {
    outline: none;
    border-color: #81d742;
    background: rgba(255, 255, 255, 0.08);
}

.search-submit {
    position: absolute;
    right: 5px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #a1a1aa;
    transition: color 0.2s ease;
}

.search-submit:hover {
    color: #81d742;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.menu-toggle-icon {
    width: 24px;
    height: 2px;
    background: #e4e4e7;
    transition: all 0.3s ease;
}

/* Desktop Navigation Visible */
@media (min-width: 1024px) {
    .main-navigation {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
}

/* Loading State */
.site-content {
    min-height: 50vh;
}
