/*
Theme Name: AB Bricks
Theme URI: https://bricksbuilder.io/
Description: Child theme for Bricks
Author: Your Name
Template: bricks
Version: 2.2
*/
/* APOLLOBASE - Premium Bricks Foundation CSS */
:root {
	    --ab-bg-deep: #030305;
	    --ab-text-main: #FFFFFF;
	    --ab-text-muted: #888899;
	    --ab-purple: #7d12ff;
	    --ab-magenta: #ff00ed;
	    --ab-indigo: #5128e5;
	    --ab-green: #96bf48;
	    --ab-spacing-section: 150px;
}
body {
	    background-color: var(--ab-bg-deep);
	    color: var(--ab-text-main);
	    font-family: 'Outfit', sans-serif;
	    line-height: 1.6;
	    overflow-x: hidden;
	    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
	    background-size: 60px 60px;
	    background-position: center top;
}
h1, h2, h3, h4 { line-height: 1.1; margin-bottom: 20px; font-weight: 900; }
p { font-size: 1.15rem; color: var(--ab-text-muted); font-weight: 300; }
.ab-section { padding: var(--ab-spacing-section) 0; width: 100%; position: relative; }
.ab-container { max-width: 1400px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 2; }
.ab-grid { display: grid; gap: 40px; }
.ab-grid-2 { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }
.ab-section::before { content: ''; position: absolute; top: 50%; left: 20%; transform: translate(-50%, -50%); width: 60vw; height: 60vw; background: radial-gradient(circle, rgba(125, 18, 255, 0.08) 0%, transparent 60%); border-radius: 50%; filter: blur(80px); z-index: 0; pointer-events: none; }
.ab-section:nth-child(even)::before { left: 80%; background: radial-gradient(circle, rgba(255, 0, 237, 0.05) 0%, transparent 60%); }
.ab-hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; text-align: center; }
.ab-hero::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 800px; height: 800px; background: radial-gradient(circle, rgba(81, 40, 229, 0.15) 0%, transparent 70%); border-radius: 50%; filter: blur(100px); z-index: 0; animation: ab-breathe 8s ease-in-out infinite alternate; }
@keyframes ab-breathe { 0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.6; } 100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; } }
.ab-hero-title { font-size: clamp(4rem, 8vw, 7.5rem); line-height: 0.95; letter-spacing: -0.03em; font-weight: 900; background: linear-gradient(135deg, #ffffff 0%, #9999aa 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 30px; position: relative; z-index: 2; }
.ab-hero-subtitle { font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--ab-text-muted); max-width: 800px; margin: 0 auto 50px auto; position: relative; z-index: 2; }
.ab-section-title { font-size: clamp(3rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -0.02em; margin-bottom: 15px; color: #fff; }
.ab-section-subtitle { font-family: monospace; font-size: 1rem; color: var(--ab-purple); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 50px; display: block; }
.ab-btn { display: inline-block; padding: 18px 45px; border-radius: 100px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; cursor: pointer; text-decoration: none; transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1); position: relative; z-index: 2; border: none; }
.ab-btn-primary { background: linear-gradient(90deg, var(--ab-magenta), var(--ab-purple)); color: #fff; box-shadow: 0 10px 30px rgba(255, 0, 237, 0.3); }
.ab-btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 15px 40px rgba(125, 18, 255, 0.5); }
.ab-card { background: rgba(15, 15, 22, 0.4); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: 30px; padding: 50px; border: 1px solid rgba(255, 255, 255, 0.05); transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; display: flex; flex-direction: column; gap: 15px; z-index: 2; overflow: hidden; }
.ab-card::before { content: ''; position: absolute; inset: 0; border-radius: 30px; padding: 2px; background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent, transparent); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.5; transition: opacity 0.5s ease; }
.ab-card:hover { transform: translateY(-15px); background: rgba(25, 25, 35, 0.6); }
.ab-card:hover::before { opacity: 1; }
.ab-card-title { font-size: 2.2rem; color: #fff; margin: 0; transition: color 0.3s ease; }
.ab-card-text { margin: 0; font-size: 1.1rem; }
.ab-card-neon-purple { border-color: rgba(125, 18, 255, 0.2); }
.ab-card-neon-purple:hover { border-color: rgba(125, 18, 255, 0.6); box-shadow: 0 20px 40px rgba(125, 18, 255, 0.15), inset 0 0 30px rgba(125, 18, 255, 0.05); }
.ab-card-neon-purple:hover .ab-card-title { color: #d0a1ff; }
.ab-card-neon-magenta { border-color: rgba(255, 0, 237, 0.2); }
.ab-card-neon-magenta:hover { border-color: rgba(255, 0, 237, 0.6); box-shadow: 0 20px 40px rgba(255, 0, 237, 0.15), inset 0 0 30px rgba(255, 0, 237, 0.05); }
.ab-card-neon-magenta:hover .ab-card-title { color: #ff9ef7; }
.ab-card-neon-green { border-color: rgba(150, 191, 72, 0.2); }
.ab-card-neon-green:hover { border-color: rgba(150, 191, 72, 0.6); box-shadow: 0 20px 40px rgba(150, 191, 72, 0.15), inset 0 0 30px rgba(150, 191, 72, 0.05); }
.ab-card-neon-green:hover .ab-card-title { color: #d0f29b; }
.ab-card-neon-indigo { border-color: rgba(81, 40, 229, 0.2); }
.ab-card-neon-indigo:hover { border-color: rgba(81, 40, 229, 0.6); box-shadow: 0 20px 40px rgba(81, 40, 229, 0.15), inset 0 0 30px rgba(81, 40, 229, 0.05); }
.ab-card-neon-indigo:hover .ab-card-title { color: #baa3ff; }
.ab-card form { width: 100%; }
.ab-card input, .ab-card textarea { width: 100%; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); color: #fff; padding: 15px 20px; border-radius: 10px; margin-bottom: 15px; font-family: inherit; }
.ab-card input:focus, .ab-card textarea:focus { outline: none; border-color: var(--ab-purple); background: rgba(0,0,0,0.5); }
}
}

/* === APOLLOBASE Overrides === */

/* Hide legacy THREE.js galaxy canvas */
#ab-universe-canvas,
canvas[data-engine] {
  display: none !important;
  visibility: hidden !important;
}

/* Dark body background */
html, body {
  background: #02030A !important;
}

/* Ensure 2D galaxy canvas is visible */
#ab-uni-canvas {
  display: block !important;
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

/* ========== MOBILE MENU STYLING ========== */
@media(max-width:1024px){

/* Full-screen dark menu */
.bricks-mobile-menu-wrapper{
  background:rgba(2,3,10,0.99)!important;
  backdrop-filter:blur(20px)!important;
  -webkit-backdrop-filter:blur(20px)!important;
  padding:90px 32px 40px!important;
  overflow-y:auto!important;
}

/* Top-level items - all same styling */
.bricks-mobile-menu-wrapper .brxe-block>li,
.bricks-mobile-menu-wrapper .brxe-block>.brxe-text-link,
.bricks-mobile-menu-wrapper .brxe-block>.brxe-dropdown{
  width:100%!important;
  margin-bottom:4px!important;
}

/* Top-level link text */
.bricks-mobile-menu-wrapper .brxe-block>li>a,
.bricks-mobile-menu-wrapper .brxe-block>.brxe-text-link>a,
.bricks-mobile-menu-wrapper .brxe-block>.brxe-text-link,
.bricks-mobile-menu-wrapper .brxe-block>.brxe-dropdown>a{
  font-size:28px!important;
  font-weight:800!important;
  color:#FFF8E7!important;
  text-transform:uppercase!important;
  letter-spacing:0.04em!important;
  text-decoration:none!important;
  padding:14px 0!important;
  display:block!important;
  transition:color 0.2s ease!important;
}

/* Hover */
.bricks-mobile-menu-wrapper a:hover{
  color:#FF00ED!important;
}

/* Hide the submenu toggle arrow - submenus always open */
.bricks-mobile-menu-wrapper .brx-submenu-toggle{
  display:none!important;
}

/* ALWAYS show dropdown content - no toggle needed */
.bricks-mobile-menu-wrapper .brxe-dropdown>ul,
.bricks-mobile-menu-wrapper .brx-dropdown-content{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:8px!important;
  background:transparent!important;
  border:none!important;
  box-shadow:none!important;
  position:static!important;
  width:100%!important;
  padding:8px 0 20px!important;
  margin:0!important;
  opacity:1!important;
  visibility:visible!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
  transform:none!important;
  pointer-events:auto!important;
}

/* Sub-item cards - glass style */
.bricks-mobile-menu-wrapper .brx-dropdown-content>.brxe-div,
.bricks-mobile-menu-wrapper .brx-dropdown-content>li>.brxe-div{
  display:flex!important;
  flex-direction:column!important;
  gap:4px!important;
  background:rgba(255,255,255,0.03)!important;
  border:1px solid rgba(255,255,255,0.06)!important;
  border-radius:12px!important;
  padding:16px!important;
  transition:all 0.2s ease!important;
  cursor:pointer!important;
  width:100%!important;
}
.bricks-mobile-menu-wrapper .brx-dropdown-content>.brxe-div:hover,
.bricks-mobile-menu-wrapper .brx-dropdown-content>li>.brxe-div:hover{
  background:rgba(255,0,237,0.06)!important;
  border-color:rgba(255,0,237,0.2)!important;
}

/* Sub-item headings */
.bricks-mobile-menu-wrapper .brx-dropdown-content .brxe-heading{
  display:block!important;
  font-size:15px!important;
  font-weight:700!important;
  color:#FFF8E7!important;
  margin:0!important;
  padding:0!important;
  border:none!important;
  line-height:1.3!important;
}

/* Sub-item description - show it, small */
.bricks-mobile-menu-wrapper .brx-dropdown-content .brxe-text-basic{
  display:block!important;
  font-size:12px!important;
  color:rgba(255,248,231,0.4)!important;
  line-height:1.4!important;
  margin:0!important;
  padding:0!important;
}

/* Hide "Mehr erfahren" links, icons, containers */
.bricks-mobile-menu-wrapper .brx-dropdown-content .brxe-text-link,
.bricks-mobile-menu-wrapper .brx-dropdown-content .brxe-icon,
.bricks-mobile-menu-wrapper .brx-dropdown-content>.brxe-container{
  display:none!important;
}

/* Div wrappers visible */
.bricks-mobile-menu-wrapper .brx-dropdown-content>li{
  display:block!important;
  width:100%!important;
  list-style:none!important;
}

/* Burger + close - aligned, clean */
.brxe-toggle{
  position:fixed!important;
  top:16px!important;
  right:16px!important;
  z-index:100000!important;
  width:48px!important;
  height:48px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  cursor:pointer!important;
  background:none!important;
  border:none!important;
  outline:none!important;
  box-shadow:none!important;
  padding:0!important;
  -webkit-appearance:none!important;
  appearance:none!important;
}
.brxe-toggle *{
  color:#FFF8E7!important;
  fill:#FFF8E7!important;
}
.brx-toggle-div{z-index:100001!important;}

/* Overlay */
.bricks-mobile-menu-overlay{
  background:rgba(0,0,0,0.7)!important;
}

/* Hide desktop CTA */
#brxe-hdr_cta{display:none!important;}

/* Mobile CTA buttons */
#ab-mob-cta{
  display:flex!important;
  flex-direction:column!important;
  gap:12px!important;
  width:100%!important;
  margin-top:auto!important;
  padding-top:24px!important;
  border-top:1px solid rgba(255,0,237,0.15)!important;
}
#ab-mob-cta a{
  font-size:15px!important;
  padding:16px 0!important;
  text-align:center!important;
}
#ab-mob-cta a:hover{
  transform:translateY(-2px)!important;
  padding-left:0!important;
}

}


/* ========== DISABLE SCROLL REVEAL - show everything immediately ========== */
.ab-reveal,
.ab-reveal-delay-1,
.ab-reveal-delay-2,
.ab-reveal-delay-3,
.ab-reveal-delay-4,
.ab-reveal-delay-5 {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  transition: none !important;
  transition-delay: 0s !important;
}
