/*
Theme Name:   Flame the Dragon Child
Theme URI:    https://flamethedragon.com
Description:  Modern children's book website — Bricks Builder child theme
Author:       Anne Harvey
Author URI:   https://flamethedragon.com
Template:     bricks
Version:      1.0.0
Text Domain:  flame-the-dragon
*/

/* Global CSS Variables */
:root {
  --flame-red: #E85D3A;
  --dragon-green: #2D8B4E;
  --night-purple: #3D2B6B;
  --flame-gold: #F4A261;
  --parchment: #FFF8F0;
  --ink: #2C2C2C;
  
  --font-heading: 'Aclonica', sans-serif;
  --font-body: 'Nunito', sans-serif;
  
  --max-width: 1100px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  
  --shadow-sm: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  
  --transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Base Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body); color: var(--ink); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* Button Base Styles */
.brxe-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  outline: none;
  font-family: var(--font-body);
  text-decoration: none;
  transition: all 0.3s ease;
}

.brxe-button:focus-visible {
  outline: 2px solid var(--flame-gold);
  outline-offset: 2px;
}

/* Button Primary - Flame Gold */
.button-primary,
.btn-primary {
  background-color: var(--flame-gold);
  color: var(--ink);
  border-radius: 30px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 16px rgba(244, 162, 97, 0.3);
}

.button-primary:hover,
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244, 162, 97, 0.5);
  background-color: #E8943A;
}

/* Button Accent - Flame Red */
.button-accent,
.btn-accent {
  background-color: var(--flame-red);
  color: #ffffff;
  border-radius: 30px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 16px rgba(232, 93, 58, 0.3);
}

.button-accent:hover,
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 93, 58, 0.5);
  background-color: #D14A2A;
}

/* Button Outline - White Border */
.button-outline,
.btn-outline {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 30px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.button-outline:hover,
.btn-outline:hover {
  background-color: #ffffff;
  color: var(--night-purple);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

/* Button Sizes */
.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 18px;
}

/* Button Disabled State */
.brxe-button:disabled,
.brxe-button.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* Meet Flame Image - Rounded & Rotated */
#brxe-meetImage {
  border-radius: 24px !important;
  transform: rotate(3deg);
  overflow: hidden !important;
}

/* Hero Image - Rounded & Animated */
#brxe-heroImageBlock {
  border-radius: 32px !important;
  animation: heroFloat 6s ease-in-out infinite;
  transform: rotate(-3deg);
}

@keyframes heroFloat {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(-3deg) translateY(-12px); }
}

/* What If Section Cards - 30% + 20% Bigger */
#brxe-card1, #brxe-card2, #brxe-card3 {
  border-radius: 24px !important;
  overflow: hidden !important;
}
#brxe-card1Body, #brxe-card2Body, #brxe-card3Body {
  padding: 40px !important;
}
#brxe-card1Img, #brxe-card2Img, #brxe-card3Img {
  height: 310px !important;
}
