/*
Theme Name: BLN24
Theme URI: https://bln24.com
Author: BLN24
Author URI: https://bln24.com
Description: Custom Elementor-compatible theme for BLN24 Creative Agency. Designed to Solve.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bln24
Requires at least: 6.0
Requires PHP: 7.4
*/

/* ============================================================
   BLN24 DESIGN SYSTEM
   ============================================================ */

:root {
  /* Primary Colors */
  --bln24-blue: #0084D5;
  --bln24-dark: #1a1b1f;
  --bln24-gold: #cf9f58;
  --bln24-gray: #575756;
  --bln24-white: #ffffff;

  /* Extended Palette */
  --bln24-dark-hover: #2a2b2f;
  --bln24-gold-light: #f4d7a0;
  --bln24-gold-dark: #99600b;
  --bln24-gold-deep: #B1751B;
  --bln24-gray-light: #e0e0e0;
  --bln24-gray-medium: #cccccc;

  /* Typography */
  --font-body: 'PP Neue Montreal', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'PP Eiko', Georgia, 'Times New Roman', serif;

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Border Radius */
  --radius: 0.625rem;
}

/* ============================================================
   BASE STYLES
   ============================================================ */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--bln24-gray);
  background-color: var(--bln24-white);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--bln24-dark);
  margin-top: 0;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 400;
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 400;
}

h5 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

h6 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

p {
  margin-top: 0;
  margin-bottom: var(--space-md);
}

a {
  color: var(--bln24-blue);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--bln24-gold);
}

/* ============================================================
   BUTTONS (BLN24 Style)
   ============================================================ */

.bln24-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.5;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.bln24-btn-primary {
  background-color: var(--bln24-blue);
  color: var(--bln24-white);
}

.bln24-btn-primary:hover {
  background-color: var(--bln24-white);
  color: var(--bln24-blue);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.bln24-btn-gold {
  background: linear-gradient(135deg, var(--bln24-gold), var(--bln24-gold-deep));
  color: var(--bln24-white);
}

.bln24-btn-gold:hover {
  background: linear-gradient(135deg, var(--bln24-gold-light), var(--bln24-gold));
}

.bln24-btn-outline {
  background: transparent;
  color: var(--bln24-white);
  border: 1px solid var(--bln24-white);
}

.bln24-btn-outline:hover {
  background: var(--bln24-white);
  color: var(--bln24-dark);
}

/* ============================================================
   ELEMENTOR OVERRIDES — ensures BLN24 styles apply in editor
   ============================================================ */

.elementor-widget-heading .elementor-heading-title {
  font-family: var(--font-display);
}

.elementor-widget-text-editor {
  font-family: var(--font-body);
}

/* Dark section helper */
.bln24-dark-section,
.bln24-dark-section .elementor-heading-title,
.bln24-dark-section .elementor-widget-text-editor {
  color: var(--bln24-white);
}

.bln24-dark-section {
  background-color: var(--bln24-dark);
}

/* Gold accent text */
.bln24-gold-text,
.bln24-gold-text .elementor-heading-title {
  color: var(--bln24-gold);
}

/* Blue accent text */
.bln24-blue-text,
.bln24-blue-text .elementor-heading-title {
  color: var(--bln24-blue);
}

/* Label/eyebrow style */
.bln24-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--bln24-blue);
}

/* ============================================================
   ANIMATIONS (from BLN24 React site)
   ============================================================ */

@keyframes bln24-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.bln24-marquee {
  animation: bln24-marquee 20s linear infinite;
}

@keyframes bln24-fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.bln24-fade-in-up {
  animation: bln24-fade-in-up 0.6s ease-out forwards;
}

/* Gold shine animation for buttons */
@keyframes bln24-gold-shine {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Scrollbar hide utility */
.bln24-scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.bln24-scrollbar-hide::-webkit-scrollbar {
  display: none;
}
