/*
Theme Name: Atoms Lab Films Interactive Pro
Theme URI: https://atomslabfilms.com
Author: Ayoub Khalif
Author URI: https://atomslabfilms.com
Description: Complete Interactive Elementor Agency Theme (v5) with built-in Header, Hover Zoom Effects, Card Glows, and 100% Drag-and-Drop Media Editing.
Version: 5.0.0
Text Domain: atomslabfilms-pro
*/

:root {
  --bg: #0B0B0A;
  --text-main: #F4F0E8;
  --text-muted: #8E8A82;
  --accent-gold: #E5A93C;
  --accent-red: #E03E3E;
  --card-bg: #121211;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Georgia', serif;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
}

body {
  background-color: var(--bg) !important;
  color: var(--text-main);
  font-family: var(--font-sans);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

/* Hide default WP page titles so Elementor takes 100% control */
.page-header, .entry-title, .site-header-default {
  display: none !important;
}

/* 1. STICKY FROSTED GLASS HEADER INSIDE ELEMENTOR */
.alf-sticky-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  transition: all 0.3s ease !important;
}

.alf-logo-box .elementor-heading-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.alf-logo-box:hover .elementor-heading-title {
  border-color: var(--accent-gold);
  transform: scale(1.05);
}

.alf-nav-link .elementor-heading-title a {
  color: #A09B90 !important;
  text-decoration: none !important;
  transition: color 0.25s ease !important;
}

.alf-nav-link .elementor-heading-title a:hover {
  color: #F4F0E8 !important;
}

/* 2. HERO TYPOGRAPHY & LIVE PULSING DOTS */
.alf-serif-italic em {
  font-family: Georgia, 'Times New Roman', serif !important;
  font-style: italic !important;
  font-weight: 400 !important;
}

.alf-showreel-chip .elementor-button {
  backdrop-filter: blur(10px);
  transition: all 0.3s ease !important;
}

.alf-showreel-chip .elementor-button:hover {
  border-color: rgba(229, 169, 60, 0.5) !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
}

/* 3. INTERACTIVE PROJECT CARDS (HOVER LIFT + IMAGE ZOOM + BORDER GLOW) */
.alf-project-card {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s ease, box-shadow 0.45s ease !important;
  cursor: pointer;
}

.alf-project-card:hover {
  transform: translateY(-8px) !important;
  border-color: rgba(229, 169, 60, 0.35) !important;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.7), 0 0 30px rgba(229, 169, 60, 0.06) !important;
}

.alf-card-media-box {
  position: relative !important;
  overflow: hidden !important;
}

.alf-zoom-img img {
  width: 100% !important;
  height: 340px !important;
  object-fit: cover !important;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s ease !important;
  display: block !important;
}

.alf-project-card:hover .alf-zoom-img img {
  transform: scale(1.06) !important;
  filter: brightness(1.08) !important;
}

/* Floating top-left badge on project cards */
.alf-floating-badge {
  position: absolute !important;
  top: 18px !important;
  left: 18px !important;
  z-index: 10 !important;
  margin: 0 !important;
}

.alf-floating-badge .elementor-heading-title {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(11, 11, 10, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
}

.alf-year-pill .elementor-heading-title {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
}

/* 4. DIRECTOR PHOTO CARD HOVER */
.alf-director-box {
  transition: border-color 0.4s ease, transform 0.4s ease !important;
}

.alf-director-box:hover {
  border-color: rgba(229, 169, 60, 0.3) !important;
}

.alf-director-photo img {
  width: 100% !important;
  height: 440px !important;
  object-fit: cover !important;
  transition: transform 0.6s ease !important;
}

.alf-director-box:hover .alf-director-photo img {
  transform: scale(1.03) !important;
}

/* 5. COLLABORATE RADIAL GLOW */
.alf-collab-glow {
  background: radial-gradient(circle at 50% 60%, rgba(229, 169, 60, 0.07) 0%, rgba(11, 11, 10, 1) 65%) !important;
}

/* 6. FOOTER */
.site-footer {
  padding: 40px 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 13px;
  background-color: var(--bg);
}

.footer-socials {
  display: flex;
  gap: 24px;
}

.footer-socials a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-socials a:hover {
  color: var(--accent-gold);
}
