/*
Theme Name: HookTransition
Theme URI: https://hooktransition.com
Author: HookTransition
Author URI: https://hooktransition.com
Description: A dark, cinematic WordPress theme for viral hook video libraries. Fully compatible with Elementor page builder. Features auto-playing video cards, category filtering, modal lightbox, and direct download buttons. Built for content creators and social media marketers.
Version: 1.0.0
Requires at least: 6.0
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: hooktransition
Tags: dark, video, elementor, one-column, custom-colors, custom-menu, featured-images, full-width-template, threaded-comments, translation-ready
*/

/* ═══════════════════════════════════════════════════
   HOOKTRANSITION THEME — GLOBAL BASE STYLES
   (Elementor handles layout; this handles base reset
    and typography used site-wide)
═══════════════════════════════════════════════════ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --ht-bg:       #07070a;
  --ht-bg2:      #0e0e14;
  --ht-bg3:      #141420;
  --ht-bg4:      #1c1c2e;
  --ht-border:   rgba(255,255,255,0.07);
  --ht-border2:  rgba(255,255,255,0.14);
  --ht-glass:    rgba(255,255,255,0.04);
  --ht-glass2:   rgba(255,255,255,0.08);
  --ht-text:     #f2f2fa;
  --ht-text2:    #8888a8;
  --ht-red:      #ff2d55;
  --ht-red2:     #ff6b35;
  --ht-gold:     #f5c842;
  --ht-green:    #1fffa8;
  --ht-r:        10px;
  --ht-r2:       18px;
  --ht-r3:       999px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--ht-bg) !important;
  color: var(--ht-text) !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bebas Neue', sans-serif !important;
  line-height: 1.05;
  letter-spacing: 1px;
  color: var(--ht-text);
}

a {
  color: var(--ht-red);
  text-decoration: none;
  transition: color .2s;
}
a:hover { color: var(--ht-red2) }

p { color: var(--ht-text2); line-height: 1.7 }

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

/* WordPress core alignment classes */
.alignleft  { float: left; margin-right: 1.5rem }
.alignright { float: right; margin-left: 1.5rem }
.aligncenter { display: block; margin: 0 auto }
.wp-caption { max-width: 100% }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--ht-red);
  color: #fff;
  padding: .5rem 1rem;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 0 }

/* 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: 0;
}

/* Elementor full-width fix */
.elementor-section.elementor-section-stretched {
  max-width: 100% !important;
}

/* Hide default WP header/footer when Elementor Canvas used */
body.elementor-template-canvas #page,
body.elementor-template-canvas .site-header,
body.elementor-template-canvas .site-footer { display: none }

/* Scrollbar */
::-webkit-scrollbar { width: 6px }
::-webkit-scrollbar-track { background: var(--ht-bg2) }
::-webkit-scrollbar-thumb { background: var(--ht-border2); border-radius: 3px }
::-webkit-scrollbar-thumb:hover { background: var(--ht-red) }
