/* VideoProMax Premium — main stylesheet */
:root {
  --primary-color: #FF6B35;
  --primary-rgb: 255, 107, 53;   /* was undefined in the original, which broke .video-play-btn */
  --secondary-color: #004E89;
  --accent-color: #F7931E;
  --dark-bg: #1a1a1a;
  --light-bg: #f8f9fa;
  --text-dark: #333;
  --text-light: #666;
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --hero-overlay: 0.5;
  --portfolio-cols: 3;
  --heading-font: 'Poppins', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: #fff;
}
img { max-width: 100%; height: auto; }
a { color: var(--secondary-color); }
h1, h2, h3, h4 { font-family: var(--heading-font); line-height: 1.25; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 1000; top: 8px; left: 8px; background: #fff; padding: 8px 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: .75rem; padding-bottom: .75rem; gap: 1rem; }
.site-logo { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--heading-font); font-weight: 700; font-size: 1.3rem; color: var(--dark-bg); text-decoration: none; }
.main-navigation .menu { list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; }
.main-navigation a { text-decoration: none; color: var(--text-dark); font-weight: 600; }
.main-navigation a:hover, .main-navigation .current-menu-item > a { color: var(--primary-color); }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { display: block; width: 24px; height: 2px; background: var(--dark-bg); content: ''; position: relative; }
.nav-toggle-bar::before { position: absolute; top: -7px; }
.nav-toggle-bar::after { position: absolute; top: 7px; }

/* Hero */
.hero-section {
  position: relative; min-height: 600px; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}
.hero-section::before {
  content: ''; position: absolute; inset: 0; opacity: .3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600'%3E%3Cdefs%3E%3Cpattern id='p' width='100' height='100' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='50' cy='50' r='40' fill='rgba(255,255,255,0.1)'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='1200' height='600' fill='url(%23p)'/%3E%3C/svg%3E");
}
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,var(--hero-overlay)); }
.hero-content { position: relative; z-index: 2; text-align: center; color: #fff; padding: 2rem 1.25rem; animation: fadeInUp 1s ease-out; }
.hero-content h1 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 700; margin: 0 0 1rem; text-shadow: 2px 2px 4px rgba(0,0,0,.3); }
.hero-content p { font-size: clamp(1.05rem, 2.5vw, 1.5rem); margin: 0 auto 2rem; max-width: 40ch; text-shadow: 1px 1px 2px rgba(0,0,0,.2); }

/* Buttons */
.cta-btn { display: inline-block; padding: 1rem 2rem; background: #fff; color: var(--primary-color); text-decoration: none; border-radius: var(--border-radius); font-weight: 700; transition: var(--transition); margin: .4rem .3rem 0; }
.cta-btn:hover { transform: scale(1.05); box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.cta-btn-ghost { background: transparent; color: #fff; border: 2px solid #fff; }
.cta-btn-dark { background: var(--primary-color); color: #fff; }

/* Sections */
.section-title { text-align: center; font-size: clamp(1.7rem, 4vw, 2.5rem); margin: 0 0 2rem; }
.features-section { padding-top: 4rem; padding-bottom: 2rem; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; }
.feature-card { background: var(--light-bg); border-radius: var(--border-radius); padding: 1.5rem; border-top: 4px solid var(--primary-color); }
.feature-card h3 { margin-top: 0; }
.videos-section { background: var(--light-bg); padding: 4rem 0; }
.empty-note { text-align: center; color: var(--text-light); }

/* Video grid */
.video-grid { display: grid; grid-template-columns: repeat(var(--portfolio-cols), minmax(0, 1fr)); gap: 2rem; padding: 1rem 0 2rem; }
.video-card { background: #fff; border-radius: var(--border-radius); overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.1); transition: var(--transition); }
.video-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.video-thumbnail { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--secondary-color), var(--dark-bg)); overflow: hidden; }
.video-thumbnail img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 70px; height: 70px; background: rgba(var(--primary-rgb), .9); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition); z-index: 2; }
.video-play-btn::after { content: '\25B6'; color: #fff; font-size: 28px; margin-left: 5px; }
.video-card:hover .video-play-btn { background: var(--primary-color); transform: translate(-50%, -50%) scale(1.1); }
.video-info { padding: 1.25rem 1.5rem 1.5rem; }
.video-info h3 { font-size: 1.25rem; margin: 0 0 .5rem; }
.video-info h3 a { color: var(--text-dark); text-decoration: none; }
.video-info p { color: var(--text-light); margin: 0 0 1rem; }
.video-meta { display: flex; justify-content: space-between; font-size: .9rem; color: var(--text-light); }

/* CTA */
.cta-section { margin: 4rem auto; background: var(--primary-color); color: #fff; padding: 3rem 2rem; text-align: center; border-radius: var(--border-radius); }
.cta-section h2 { margin-top: 0; }

/* Content */
.content-area { padding-top: 3rem; padding-bottom: 3rem; }
.single-area { max-width: 820px; }
.page-title, .entry-title { margin-top: 0; }
.entry-meta { color: var(--text-light); margin-bottom: 1.5rem; }
.entry-content > * { max-width: 100%; }
.comments-area { margin-top: 3rem; }

/* Footer */
.site-footer { background: var(--dark-bg); color: #ddd; padding: 2rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-navigation .menu { list-style: none; display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 0; padding: 0; }
.footer-navigation a { color: #ddd; text-decoration: none; }
.footer-navigation a:hover { color: #fff; text-decoration: underline; }
.footer-copy { margin: 0; font-size: .9rem; }

/* Responsive */
@media (max-width: 900px) { .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: 0 8px 16px rgba(0,0,0,.1); padding: 1rem 20px; }
  .main-navigation.is-open { display: block; }
  .main-navigation .menu { flex-direction: column; gap: .75rem; }
  .hero-section { min-height: 460px; }
}
@media (max-width: 600px) { .video-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hero-content { animation: none; } .video-card, .cta-btn { transition: none; } }

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