/**
 * Monavo Art Hero Banner Styles
 * 
 * Add to your theme's style.css or enqueue as separate stylesheet
 * Enqueue in functions.php with:
 * wp_enqueue_style('monavo-banner', get_template_directory_uri() . '/css/monavo-banner.css');
 */

:root {
  --monavo-ivory: #F5F0EB;
  --monavo-warm-white: #FAF8F5;
  --monavo-charcoal: #1A1A1A;
  --monavo-deep-brown: #2C2218;
  --monavo-gold-accent: #BA9668; /* Exact theme primary color */
  --monavo-soft-taupe: #B8A898;
  --monavo-warm-gray: #8C8279;
  
  /* Exact WoodMart theme fonts */
  --monavo-font-heading: 'Urbanist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --monavo-font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --monavo-font-secondary: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.monavo-banner {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  height: 580px;
  overflow: hidden;
  background: linear-gradient(155deg, #F0EBE3 0%, #E8E2D8 30%, #F2EDE6 60%, #EDE7DF 100%);
  padding-top: env(safe-area-inset-top);
}

/* Subtle wall texture */
.monavo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.025'/%3E%3C/svg%3E");
  z-index: 0;
}

/* Warm ambient light */
.monavo-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 35% 30%, rgba(255,255,255,0.4) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 70%, rgba(196,162,101,0.04) 0%, transparent 50%);
  z-index: 1;
}

.monavo-layout {
  display: grid;
  grid-template-columns: 50% 50%;
  height: 100%;
  position: relative;
  z-index: 2;
  align-items: center;
}

/* Left side - artwork framed on wall */
.monavo-art-side {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
  padding: 40px;
}

/* Pendant Light */
.monavo-pendant {
  position: absolute;
  top: 0;
  left: 33%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.monavo-pendant-wire {
  width: 1px;
  height: 60px;
  background: rgba(0,0,0,0.12);
}

.monavo-pendant-shade {
  width: 28px;
  height: 32px;
  background: linear-gradient(180deg, #fff, #F0EBE3);
  border-radius: 2px 2px 14px 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  position: relative;
}

.monavo-pendant-shade::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 6px;
  background: #B49A72;
  border-radius: 2px 2px 0 0;
}

/* Glow from pendant */
.monavo-pendant-glow {
  position: absolute;
  top: 92px;
  left: 29%;
  width: 180px;
  height: 300px;
  background: radial-gradient(ellipse at top, rgba(255,248,230,0.25) 0%, transparent 65%);
  z-index: 0;
  pointer-events: none;
}

/* Wall accent line */
.monavo-wall-accent {
  position: absolute;
  left: 60px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 200px;
  background: linear-gradient(to bottom, transparent, rgba(196,162,101,0.15), transparent);
}

/* Main Framed Artwork */
.monavo-main-frame {
  position: relative;
  width: 310px;
  height: 401.5px;
  z-index: 3;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.monavo-main-frame:hover {
  transform: translateY(-8px);
}

.monavo-frame-border {
  position: absolute;
  inset: 0;
  border: 14px solid #8B7355;
  border-image: linear-gradient(145deg, #A0875F, #7A6245, #B49A72, #8B7355) 1;
  box-shadow: 
    0 25px 60px rgba(0,0,0,0.18),
    0 8px 20px rgba(0,0,0,0.08),
    inset 0 0 0 1px rgba(255,255,255,0.1);
  z-index: 1;
  transition: box-shadow 0.3s ease;
}

.monavo-main-frame:hover .monavo-frame-border {
  box-shadow: 
    0 30px 70px rgba(0,0,0,0.22),
    0 12px 25px rgba(0,0,0,0.12),
    inset 0 0 0 1px rgba(255,255,255,0.1);
}

/* Inner mat/white border */
.monavo-mat {
  position: absolute;
  inset: 14px;
  border: 6px solid #FAFAFA;
  z-index: 2;
  box-shadow: inset 0 0 4px rgba(0,0,0,0.04);
}

.monavo-product-image {
  position: absolute;
  inset: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  object-fit: cover; /* Fills frame, crops edges of square images */
  object-position: center center;
  display: block;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

/* Alternative: contain mode - shows full image with letterboxing */
.monavo-main-frame.contain-mode .monavo-product-image {
  object-fit: contain;
  background: #FAFAFA; /* Matches mat color for letterbox areas */
}

/* Alternative: fill mode - stretches to fill (may distort) */
.monavo-main-frame.fill-mode .monavo-product-image {
  object-fit: fill;
}

.monavo-product-image.active {
  opacity: 1;
}

/* Shadow underneath frame on the wall */
.monavo-main-frame::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 12%;
  width: 76%;
  height: 18px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.07) 0%, transparent 70%);
  z-index: 0;
  transition: all 0.3s ease;
}

.monavo-main-frame:hover::after {
  bottom: -22px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.12) 0%, transparent 70%);
}

/* Product indicator dots */
.monavo-product-dots {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.monavo-product-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(140, 130, 121, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.monavo-product-dot:hover {
  background: rgba(196, 162, 101, 0.6);
  transform: scale(1.2);
}

.monavo-product-dot.active {
  background: var(--monavo-gold-accent);
  width: 24px;
  border-radius: 4px;
}

/* Right side - text */
.monavo-text-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px 60px 50px 50px;
  position: relative;
}

/* Decorative corner */
.monavo-text-side::after {
  content: '';
  position: absolute;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  border-bottom: 1px solid rgba(196,162,101,0.25);
  border-right: 1px solid rgba(196,162,101,0.25);
}

.monavo-brand {
  font-family: var(--monavo-font-body);
  font-size: 10px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--monavo-warm-gray);
  margin-bottom: 28px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: monavoFadeInUp 0.8s ease forwards;
}

.monavo-dot {
  width: 6px;
  height: 6px;
  background: var(--monavo-gold-accent);
  border-radius: 50%;
}

.monavo-headline {
  font-family: var(--monavo-font-heading);
  font-size: 54px;
  font-weight: 700; /* Bold 700 from theme */
  line-height: 1.12;
  color: var(--monavo-deep-brown);
  margin-bottom: 24px;
  opacity: 0;
  animation: monavoFadeInUp 0.8s ease 0.2s forwards;
}

.monavo-accent {
  display: block;
  font-style: italic;
  color: var(--monavo-gold-accent);
}

.monavo-desc {
  font-family: var(--monavo-font-body);
  font-size: 14px;
  font-weight: 400; /* Normal 400 from theme */
  color: var(--monavo-warm-gray);
  line-height: 1.75;
  max-width: 380px;
  letter-spacing: 0.2px;
  opacity: 0;
  animation: monavoFadeInUp 0.8s ease 0.4s forwards;
}

/* CTA Buttons */
.monavo-cta-buttons {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  opacity: 0;
  animation: monavoFadeInUp 0.8s ease 0.6s forwards;
}

.monavo-btn {
  font-family: var(--monavo-font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 16px 32px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.monavo-btn-primary {
  background: var(--monavo-gold-accent);
  color: white;
  box-shadow: 0 4px 16px rgba(196, 162, 101, 0.3);
}

.monavo-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.monavo-btn-primary:hover {
  background: #D4B87A;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(196, 162, 101, 0.4);
  color: white;
}

.monavo-btn-primary:hover::before {
  opacity: 1;
}

.monavo-btn-secondary {
  background: transparent;
  color: var(--monavo-deep-brown);
  border: 1.5px solid var(--monavo-deep-brown);
}

.monavo-btn-secondary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--monavo-deep-brown);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: -1;
}

.monavo-btn-secondary:hover {
  color: white;
  transform: translateY(-2px);
}

.monavo-btn-secondary:hover::after {
  transform: scaleX(1);
}

/* Trust badges */
.monavo-badges {
  display: flex;
  gap: 32px;
  margin-top: 50px;
  padding-top: 28px;
  border-top: 1px solid rgba(0,0,0,0.06);
  opacity: 0;
  animation: monavoFadeInUp 0.8s ease 0.8s forwards;
}

.monavo-badge {
  font-family: var(--monavo-font-secondary);
  font-size: 10px;
  color: var(--monavo-warm-gray);
  letter-spacing: 1.5px;
  font-weight: 400;
  text-transform: uppercase;
}

.monavo-badge strong {
  display: block;
  font-family: var(--monavo-font-heading);
  font-size: 24px;
  font-weight: 700; /* Bold 700 from theme */
  color: var(--monavo-deep-brown);
  margin-bottom: 4px;
  text-transform: none;
  letter-spacing: 0;
}

/* Decorative vase */
.monavo-vase {
  position: absolute;
  bottom: 55px;
  left: 80px;
  z-index: 4;
  animation: monavoGentleSway 4s ease-in-out infinite;
}

.monavo-vase-body {
  width: 22px;
  height: 40px;
  background: linear-gradient(135deg, var(--monavo-gold-accent), #D4B87A);
  border-radius: 8px 8px 5px 5px;
  position: relative;
}

.monavo-vase-body::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 8px;
  background: var(--monavo-gold-accent);
  border-radius: 2px 2px 0 0;
}

/* Flower stems */
.monavo-vase-body::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 35px;
  background: linear-gradient(to top, #8B7355, #A0875F);
}

/* Flowers - using additional pseudo elements */
.monavo-vase::before {
  content: '';
  position: absolute;
  top: -25px;
  left: 8px;
  width: 8px;
  height: 8px;
  background: #D4B87A;
  border-radius: 50%;
  box-shadow: 
    6px 2px 0 0 #C4A265,
    3px -3px 0 0 #BA9668,
    -2px 1px 0 0 #A0875F;
}

/* Leaves */
.monavo-vase::after {
  content: '';
  position: absolute;
  top: -15px;
  left: 6px;
  width: 6px;
  height: 12px;
  background: #8B7355;
  border-radius: 50% 0 50% 0;
  transform: rotate(20deg);
  box-shadow: 
    8px -2px 0 0 #8B7355;
}


/* ============================================
   ALTERNATIVE: MINI SCULPTURE INSTEAD OF VASE
   ============================================
   To use sculpture instead of vase with flowers:
   1. Comment out the above "Flower stems", "Flowers", and "Leaves" sections
   2. Uncomment the section below
   3. Replace .monavo-vase-body styles with this:

.monavo-vase {
  position: absolute;
  bottom: 55px;
  left: 80px;
  z-index: 4;
}

.monavo-vase-body {
  width: 28px;
  height: 50px;
  background: linear-gradient(135deg, #8B7355, #A0875F);
  border-radius: 40% 40% 30% 30%;
  position: relative;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.monavo-vase-body::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  background: var(--monavo-gold-accent);
  border-radius: 50%;
}

.monavo-vase-body::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 6px;
  background: #2C2218;
  border-radius: 50%;
  opacity: 0.3;
}

.monavo-vase::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: #D4B87A;
  border-radius: 50%;
}

============================================ */

/* Animations */
@keyframes monavoFadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes monavoGentleSway {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(1deg); }
}

/* Responsive */
@media (max-width: 1200px) {
  .monavo-banner {
    max-width: 100%;
  }
  .monavo-text-side {
    padding: 40px 40px 40px 40px;
  }
}

@media (max-width: 900px) {
  .monavo-banner {
    height: auto;
    min-height: 600px;
  }
  
  .monavo-layout { 
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  
  .monavo-art-side { 
    height: 450px;
    padding: 40px 20px 80px;
    order: 1;
  }
  
  .monavo-text-side {
    order: 2;
    padding: 40px 20px 40px;
    position: relative;
    z-index: 10;
    background: linear-gradient(155deg, #F0EBE3 0%, #E8E2D8 30%, #F2EDE6 60%, #EDE7DF 100%);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .monavo-headline { 
    font-size: 42px;
    line-height: 1.15;
  }
  
  .monavo-desc {
    max-width: 100%;
    font-size: 14px;
  }
  
  .monavo-main-frame {
    width: 280px;
    height: 380px;
  }
  
  .monavo-cta-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .monavo-btn {
    flex: 1 1 auto;
    min-width: 140px;
    padding: 14px 24px;
    text-align: center;
  }
  
  .monavo-badges {
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 40px;
  }
  
  .monavo-badge {
    flex: 1 1 auto;
    min-width: 80px;
  }
  
  /* Adjust decorative elements for tablet */
  .monavo-pendant {
    left: 38%;
  }
  
  .monavo-pendant-glow {
    left: 34%;
  }
  
  .monavo-vase {
    left: 60px;
    bottom: 90px;
  }
  
  .monavo-wall-accent {
    left: 30px;
  }
  
  .monavo-product-dots {
    bottom: -65px;
  }
}

@media (max-width: 600px) {
  .monavo-banner {
    height: auto;
    min-height: 520px;
    margin-top: 0;
  }
  
  .monavo-art-side {
    height: 360px;
    padding: 50px 15px 70px;
  }
  
  .monavo-text-side {
    padding: 30px 20px 40px;
  }
  
  .monavo-main-frame {
    width: 220px;
    height: 280px;
  }
  
  .monavo-frame-border {
    border-width: 10px;
  }
  
  .monavo-mat {
    inset: 10px;
    border-width: 8px;
  }
  
  .monavo-product-image {
    inset: 18px;
    width: calc(100% - 36px);
    height: calc(100% - 36px);
  }
  
  .monavo-brand {
    display: none; /* Hide brand tagline on mobile */
  }
  
  .monavo-dot {
    display: none;
  }
  
  .monavo-headline {
    font-size: 28px;
    line-height: 1.25;
    margin-bottom: 16px;
    font-weight: 700; /* Bold 700 same as desktop */
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
  }
  
  .monavo-desc {
    font-size: 13px;
    line-height: 1.6;
    font-weight: 400; /* Normal 400 same as desktop */
    text-align: center;
    max-width: 100%;
  }
  
  .monavo-cta-buttons {
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
  }
  
  .monavo-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 11px;
    letter-spacing: 0.5px;
  }
  
  .monavo-badges {
    gap: 16px;
    margin-top: 30px;
    padding-top: 22px;
    justify-content: center;
    width: 100%;
  }
  
  .monavo-badge {
    font-size: 8px;
    letter-spacing: 1px;
    min-width: 65px;
    text-align: center;
  }
  
  .monavo-badge strong {
    font-size: 18px;
    margin-bottom: 2px;
    font-weight: 700; /* Bold 700 same as desktop */
  }
  
  /* Adjust pendant light on mobile */
  .monavo-pendant {
    left: 33%;
    transform: scale(1);
    display: flex;
  }
  
  .monavo-pendant-wire {
    height: 15px;
  }
  
  .monavo-pendant-shade {
    width: 20px;
    height: 24px;
  }
  
  .monavo-pendant-glow {
    left: 12%;
    width: 80px;
    height: 150px;
    top: 55px;
  }
  
  /* Show vase on mobile - align bottom with frame bottom */
  .monavo-vase {
    left: 45px;
    bottom: 50px;
    transform: scale(0.8);
  }
  
  .monavo-wall-accent {
    display: none;
  }
  
  .monavo-text-side::after {
    display: none;
  }
  
  .monavo-product-dots {
    bottom: -65px;
    gap: 7px;
  }
  
  .monavo-product-dot {
    width: 6px;
    height: 6px;
  }
  
  .monavo-product-dot.active {
    width: 18px;
  }
}

@media (max-width: 400px) {
  .monavo-banner {
    min-height: 520px;
  }
  
  .monavo-art-side {
    height: 340px;
    padding: 25px 10px 70px;
  }
  
  .monavo-main-frame {
    width: 200px;
    height: 270px;
  }
  
  .monavo-headline {
    font-size: 28px;
  }
  
  .monavo-text-side {
    padding: 30px 15px;
  }
  
  .monavo-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .monavo-badge {
    width: 100%;
  }
}