/*
Theme Name: Nepsis Ministries
Theme URI: https://github.com/benja-admin/videoflix
Author: Ben
Author URI: https://gaylor.media
Description: A modern WordPress theme that replicates Netflix's video browsing experience with horizontal scrolling rows, hover effects, video previews, and a cinematic billboard hero section. Perfect for video streaming sites, movie databases, and entertainment platforms.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: videoflix
Tags: video, entertainment, streaming, netflix, dark, custom-post-type, full-width-template, featured-images, custom-menu, threaded-comments
*/

/* ============================================
   CSS Variables
   ============================================ */
:root {
  /* Colors */
	--text-primary:#ffffff;
	--text-secondary:#000000;
  --black:#000000;
  --ink:#0a0a0a;
  --panel:#1b1b1b;
  --panel-2:#141414;
  --white:#ffffff;
  --muted:#fafafa;
  --dim:#8a8888;
  --red:#aa0000;
  --red-bright:#d11414;
  --red-glow:rgba(170,0,0,.55);
  --line:rgba(255,255,255,.09);
  --maxw:1360px;
  --display:'Archivo Black',system-ui,sans-serif;
  --serif:'Playfair Display',Georgia,serif;
  --sans:'Archivo',system-ui,sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-xxl: 3rem;
  
  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 3rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Z-index */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal: 400;
  --z-tooltip: 500;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 1rem;
  scroll-behavior: smooth;
	overflow-x:hidden;
}

body{
  font-family:var(--sans);
  background:var(--white);
  color:var(--black);
  line-height:1.6;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
::selection{background:var(--red);color:#fff}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-red);
}

button {
  font-family: var(--font-family);
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: var(--font-size-3xl);
}

h2 {
  font-size: var(--font-size-2xl);
}

h3 {
  font-size: var(--font-size-xl);
}

h4 {
  font-size: var(--font-size-lg);
}

p {
  margin-bottom: var(--spacing-sm);
}

/* ============================================
   Layout
   ============================================ */
.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-content {
  flex: 1;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

/* ============================================
   Navigation
   ============================================ */
.main-navigation ul {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
	margin:0 10px;
}

.main-navigation a {
  font-size: var(--font-size-sm);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.main-navigation a:hover {
  color: var(--text-secondary);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background-color: var(--red);
  padding: var(--spacing-xxl) 0 var(--spacing-xl);
  margin-top: var(--spacing-xxl);
  border-top: 1px solid var(--border-color);
	  color: var(--white);
}

.footer-content {
  text-align: center;
  color: var(--white);
  font-size: var(--font-size-sm);
}
#footer-menu a,
#footer-menu p{
	  color: var(--white);
}
#footer-menu a:hover{
	transform: scale(1.1);
}
/* ============================================
   Buttons
   ============================================ */
.btn{
  display:inline-flex;align-items:center;gap:9px;font-family:var(--sans);
  font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:.78rem;
  padding:13px 26px;border-radius:2px;cursor:pointer;border:none;transition:.3s;
}
.btn-red{background:var(--red);box-shadow:0 0 0 rgba(170,0,0,0);}
.btn-red:hover{background:var(--red-bright);box-shadow:0 8px 34px var(--red-glow);transform:translateY(-2px)}
.btn-ghost{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.32)}
.btn-ghost:hover{border-color:#fff;background:rgba(255,255,255,.06)}

.btn-primary {
  background-color: var(--accent-red);
  color: var(--text-primary);
}

.btn-primary:hover {
  background-color: var(--accent-red-hover);
  color: var(--text-primary);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.3);
  color: var(--text-primary);
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-muted);
}
.mx-auto{ margin:auto;}
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1023px) {
  :root {
    --font-size-3xl: 2rem;
    --font-size-2xl: 1.5rem;
  }
  
  .container {
    padding: 0 var(--spacing-md);
  }
}

@media (max-width: 767px) {
  :root {
    --font-size-3xl: 1.5rem;
    --font-size-2xl: 1.25rem;
  }
  
  .main-navigation ul {
    gap: var(--spacing-md);
  }
  
  .main-navigation a {
    font-size: var(--font-size-xs);
  }
}



/* ========================================
   Welcome Message (Empty State)
======================================== */

.welcome-message {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  overflow: hidden;
}


/* Foreground content */
.welcome-message .welcome-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 800px;
}


.welcome-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--accent-red);
}

.welcome-content p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .welcome-content h1 {
        font-size: 2rem;
    }
    
    .welcome-content p {
        font-size: 16px;
    }
}



/* ========================================
   Page Template Styles
======================================== */

.page-content-wrapper,
.single-post-wrapper {
    padding: 0 0 60px;
    min-height: 70vh;
}


/* ========================================
   Archive Template Styles
======================================== */

.archive-wrapper {
    padding: 100px 0 60px;
    min-height: 70vh;
}

.archive-header {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.archive-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.archive-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.archive-posts {
    display: grid;
    gap: 40px;
    margin-bottom: 60px;
}

.archive-post-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.archive-post-item:last-child {
    border-bottom: none;
}

.archive-post-thumbnail {
    border-radius: 4px;
    overflow: hidden;
}

.archive-post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.archive-post-thumbnail:hover img {
    transform: scale(1.05);
}

.archive-post-content {
    display: flex;
    flex-direction: column;
}

.archive-post-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.archive-post-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.archive-post-title a:hover {
    color: var(--accent-red);
}

.archive-post-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.archive-post-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.read-more {
    color: var(--accent-red);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: auto;
}

.read-more:hover {
    text-decoration: underline;
}

.no-posts {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: var(--text-secondary);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 10px 16px;
    background-color: var(--card-bg);
    color: var(--text-primary);
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background-color: var(--accent-red);
}

.pagination .prev,
.pagination .next {
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .archive-wrapper {
        padding: 80px 0 40px;
    }
    
    .archive-title {
        font-size: 32px;
    }
    
    .archive-post-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .archive-post-thumbnail img {
        height: 250px;
    }
    
    .archive-post-title {
        font-size: 24px;
    }
}

/* ========================================
   404 Error Page Styles
======================================== */

.error-404-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
}

.error-404-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.error-code {
    font-size: 120px;
    font-weight: 900;
    color: var(--accent-red);
    line-height: 1;
    margin-bottom: 20px;
}

.error-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.error-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.error-actions {
    margin-bottom: 60px;
}

.error-suggestions {
    margin-top: 80px;
    text-align: left;
}

.error-suggestions h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 30px;
    text-align: center;
}

.suggestion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.suggestion-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.suggestion-item:hover {
    transform: scale(1.05);
}

.suggestion-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.suggestion-item h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,1), transparent);
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.suggestion-item a {
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .error-404-wrapper {
        padding: 80px 0 40px;
    }
    
    .error-code {
        font-size: 80px;
    }
    
    .error-title {
        font-size: 32px;
    }
    
    .error-description {
        font-size: 16px;
    }
    
    .suggestion-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

