/*
Theme Name: Creator X Labs Theme
Theme URI: https://creatorxlabs.com
Description: A custom high-performance theme cloned from Creator X Labs, built for Elementor.
Author: Creator X
Version: 1.0.0
Text Domain: creator-x-theme
*/

/* =========================================
   1. GLOBAL STYLES & TYPOGRAPHY
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --color-bg-primary: #030404;
  --color-bg-section: #0E0E10;
  --color-bg-card: #1F2122;
  --color-border: rgba(85, 93, 93, 0.3);
  --color-text-primary: #D7DBE4;
  --color-text-secondary: #9C9DA1;
  --color-accent-gradient: linear-gradient(135deg, #D7DBE4 0%, #9C9DA1 100%);
  
  --font-header: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-header);
    text-transform: uppercase;
    margin: 0;
    color: var(--color-text-primary);
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* =========================================
   2. STACKED SECTIONS MODULE STYLES
   ========================================= */

/* Main container for sticky scroll effect */
.creator-x-sticky-container {
  position: relative;
  width: 100%;
}

/* Common Section Styles */
.creator-x-sticky-section {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transition: all 0.3s ease-out;
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

/* Content Column */
.creator-x-content {
  background-color: var(--color-bg-section);
  padding: 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  animation: slideInLeft 0.6s ease-out;
}

/* Image Column */
.creator-x-image-wrapper {
  background-color: transparent;
  width: 100%;
  height: 100vh;
  display: flex;
  padding: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
  animation: slideInRight 0.8s ease-out;
}

.creator-x-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 2;
  position: relative;
}

/* Typography Helpers */
.creator-x-tag {
  font-family: var(--font-body);
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-secondary);
}

.creator-x-title {
  font-family: var(--font-header);
  font-size: 5rem;
  margin-bottom: 2.5rem;
  color: var(--color-text-primary);
  line-height: 0.95;
  text-transform: uppercase;
}

.creator-x-desc {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 90%;
}

/* =========================================
   3. ANIMATIONS
   ========================================= */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* =========================================
   4. RESPONSIVE
   ========================================= */

@media (max-width: 768px) {
  .creator-x-sticky-section {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
    position: relative !important;
    top: auto !important;
    display: flex !important;
    flex-direction: column;
  }
  
  .creator-x-content {
    padding: 3rem 2rem !important;
    min-height: auto;
  }
  
  .creator-x-image-wrapper {
    height: 50vh !important;
    min-height: 300px;
  }
  
  .creator-x-title {
    font-size: 2.5rem !important;
  }
}
