/*
Theme Name: Hello Elementor Child (Ultra Premium V3)
Theme URI: https://salimjebari.com/
Description: Design V3 Haute-Couture : Parallaxe, GSAP Animations, Ambient Glows, et Typographie Extrême.
Author: WAPIX SPRL
Author URI: https://wapix.be
Template: hello-elementor
Version: 3.0.0
Text Domain: hello-elementor-child
*/

:root {
  /* Palette Ultra Premium (Darker contrasts + Vivid accents) */
  --c-navy:      #0F172A; /* Slate 900 */
  --c-navy-mid:  #1E293B; /* Slate 800 */
  --c-blue:      #2563EB; /* Blue 600 */
  --c-orange:    #EA580C; /* Orange 600 */
  --c-teal:      #0D9488; /* Teal 600 */
  --c-white:     #FFFFFF;
  --c-off:       #F8FAFC;
  --c-text:      #334155;
  --c-muted:     #64748B;
  
  --shadow-glow: 0 0 30px rgba(234, 88, 12, 0.4);
  --shadow-bento: 0 10px 40px -10px rgba(0,0,0,0.1);
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.8);
}

/* Reset & Tweak */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--c-text);
  background-color: var(--c-off);
  margin: 0; padding: 0;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typographie High-End */
h1, h2, h3 {
  font-family: 'Inter', sans-serif;
  color: var(--c-navy);
  margin: 0 0 1rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h1 { font-size: 4.5rem; font-weight: 900; }
h2 { font-size: 3rem; font-weight: 800; }
h3 { font-size: 1.5rem; font-weight: 700; }
p { font-size: 1.125rem; color: var(--c-muted); margin-bottom: 1.5rem; }

.text-gradient {
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.text-orange { color: var(--c-orange); }

@media (max-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
}

/* LAYOUT GRIDS & SECTIONS */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 8rem 0; position: relative; }
.section-dark { background-color: var(--c-navy); color: var(--c-white); }
.section-dark h2, .section-dark p { color: var(--c-white); }
.section-dark .text-gradient { background: linear-gradient(135deg, #fff 0%, var(--c-teal) 100%); -webkit-background-clip:text; }

/* AMBIENT BLOBS (Background Glare) */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.5;
}
.blob-orange { background: var(--c-orange); width: 400px; height: 400px; top: -10%; right: -5%; }
.blob-blue { background: var(--c-blue); width: 500px; height: 500px; top: 40%; left: -10%; }

/* BENTO GRID SYSTEM */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 1.5rem;
  position: relative;
  z-index: 10;
}
.bento-item {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow-bento);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.bento-item:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--c-blue);
}

.bento-wide { grid-column: span 2; }
.bento-tall { grid-row: span 2; }

@media (max-width: 900px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-wide, .bento-tall { grid-column: span 1; grid-row: span 1; }
}

/* BUTTONS / CTAS ADVANCED */
.btn {
  display: inline-flex; justify-content: center; align-items: center;
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem; font-weight: 700;
  border-radius: 12px;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--c-orange); color: #fff !important;
  box-shadow: 0 10px 20px -5px rgba(234, 88, 12, 0.4);
}
.btn-primary::before {
  content:''; position: absolute; top:0; left:0; width:100%; height:100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%); transition: 0.6s; z-index: -1;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover::before { transform: translateX(100%); }

.btn-secondary {
  background: transparent; color: var(--c-navy) !important;
  border: 2px solid var(--c-navy);
}
.btn-secondary:hover { background: var(--c-navy); color: #fff !important; }

/* REVEAL UTILITIES & GSAP STRUCTURES */
.reveal-wrapper { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero-title {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}

/* MASK REVEAL FOR IMAGES */
.about-img-reveal {
  border-radius: 24px;
  overflow: hidden;
  clip-path: inset(100% 0 0 0); /* Initial state for GSAP */
}
