/*
Theme Name: iPhotobooth Child
Theme URI: https://iphotobooth.gr
Description: Custom child theme for iPhotobooth.gr — built on Avada. Luxury design with warm ivory palette, green/gold/violet accents, mega menu, and cinematic homepage.
Author: iPhotobooth
Author URI: https://iphotobooth.gr
Template: Avada
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: iphotobooth
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --bg:            #F4F1EC;
  --bg2:           #EDEAE4;
  --bg3:           #E3DFD8;
  --bg4:           #D8D3CA;
  --white:         #FFFFFF;
  --dark:          #0E0E0E;
  --dark2:         #1C1C1C;
  --mid:           #3A3A3A;
  --muted:         #787878;
  --ghost:         #ABABAB;
  --green:         #1A4A2E;
  --green2:        #2A6B42;
  --green-dim:     rgba(26,74,46,0.08);
  --green-border:  rgba(26,74,46,0.2);
  --gold:          #B8902A;
  --gold2:         #D4A843;
  --gold-dim:      rgba(184,144,42,0.1);
  --gold-border:   rgba(184,144,42,0.28);
  --violet:        #6B4FA0;
  --violet2:       #8B6FBF;
  --violet-dim:    rgba(107,79,160,0.08);
  --violet-border: rgba(107,79,160,0.22);
  --section-padding: 68px 32px;
  --radius-sm: 0px;
  --radius-md: 0px;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--bg) !important;
  color: var(--mid);
  font-family: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  line-height: 1.15;
  color: var(--dark);
}
h1 { font-size: clamp(36px, 5vw, 60px); }
h2 { font-size: clamp(28px, 4vw, 48px); }
h3 { font-size: clamp(22px, 3vw, 32px); }
h4 { font-size: clamp(18px, 2.5vw, 24px); }
p  { line-height: 1.7; color: var(--mid); }
em { font-style: italic; color: var(--gold); }
strong { font-weight: 600; }

.eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  display: block;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.ipb-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}
.text-center { text-align: center; }
.text-white  { color: #fff; }
.text-gold   { color: var(--gold2); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green2); color: #fff; }
.btn-gold  { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold2); color: var(--dark); }
.btn-outline-white { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-outline-gold { background: transparent; color: var(--gold2); border: 1px solid var(--gold-border); }
.btn-outline-gold:hover { background: var(--gold-dim); }

/* ============================================================
   TOPBAR
   ============================================================ */
#ipb-topbar {
  background: var(--dark2);
  padding: 8px 0;
  font-size: 11px;
  color: var(--ghost);
  letter-spacing: 0.06em;
  position: relative;
  z-index: 1100;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}
.topbar-left { display: flex; align-items: center; gap: 20px; }
.topbar-left a {
  color: var(--ghost);
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color var(--transition);
}
.topbar-left a:hover { color: var(--gold2); }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.lang-switcher { display: flex; align-items: center; gap: 4px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; }
.lang-switcher a { color: var(--ghost); display: flex; align-items: center; gap: 4px; padding: 3px 7px; transition: color var(--transition); }
.lang-switcher a.current-lang,
.lang-switcher a:hover { color: #fff; }
.lang-sep { color: rgba(255,255,255,0.15); }

/* ============================================================
   NAVIGATION
   ============================================================ */
#ipb-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bg3);
  transition: box-shadow var(--transition);
}
#ipb-nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.08); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.nav-logo img { height: 40px; width: auto; }
.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--dark);
  letter-spacing: 0.04em;
}
.nav-links { display: flex; align-items: center; gap: 4px; height: 100%; }
.nav-item { position: static; height: 100%; display: flex; align-items: center; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 14px;
  height: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--mid);
  letter-spacing: 0.02em;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.nav-link:hover,
.nav-item.active > .nav-link { color: var(--green); border-bottom-color: var(--green); }
.nav-link .chev { font-size: 12px; transition: transform var(--transition); }
.nav-item.open > .nav-link .chev { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; width: 28px; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; height: 2px; background: var(--dark); transition: all var(--transition); border-radius: 1px; }
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   MEGA MENU
   ============================================================ */
.has-mega { position: static !important; }
.mega-panel {
  position: fixed;
  left: 0; right: 0;
  top: 68px;
  background: var(--white);
  border-top: 1px solid var(--bg3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  display: none;
  grid-template-columns: 220px 1fr;
  z-index: 999;
  animation: megaFadeIn 0.18s ease;
}
@keyframes megaFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-item.has-mega:hover .mega-panel,
.nav-item.has-mega.open .mega-panel { display: grid; }
.mega-sidebar { background: var(--bg2); padding: 24px 0; border-right: 1px solid var(--bg3); }
.mega-cat-label { font-size: 9px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ghost); padding: 8px 20px 6px; display: block; }
.mega-cat {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  font-size: 13px; font-weight: 500; color: var(--mid);
  cursor: pointer; transition: all var(--transition);
  border-left: 2px solid transparent;
  text-decoration: none;
}
.mega-cat:hover, .mega-cat.active { color: var(--green); background: var(--white); border-left-color: var(--green); }
.mega-cat i { font-size: 16px; }
.mega-divider { height: 1px; background: var(--bg3); margin: 8px 20px; }
.mega-body { padding: 28px 32px; display: flex; flex-direction: column; gap: 20px; }
.mega-head { display: flex; align-items: center; justify-content: space-between; }
.mega-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 300; color: var(--dark); }
.mega-title em { color: var(--green); font-style: italic; }
.mega-see-all { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); display: flex; align-items: center; gap: 4px; }
.mega-see-all:hover { color: var(--green2); }
.mega-featured-card { display: grid; grid-template-columns: 200px 1fr; border: 1px solid var(--bg3); overflow: hidden; transition: box-shadow var(--transition); text-decoration: none; }
.mega-featured-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.mfc-image { background: var(--bg2); position: relative; min-height: 130px; overflow: hidden; }
.mfc-image img { width: 100%; height: 100%; object-fit: cover; }
.mfc-badge { position: absolute; top: 10px; left: 10px; padding: 3px 8px; font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.mfc-badge.new     { background: var(--violet); color: #fff; }
.mfc-badge.premium { background: var(--gold);   color: #fff; }
.mfc-badge.popular { background: var(--green);  color: #fff; }
.mfc-body { padding: 16px 20px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.mfc-body h3 { font-size: 18px; font-weight: 400; color: var(--dark); }
.mfc-body p  { font-size: 12px; color: var(--muted); line-height: 1.5; }
.mfc-link { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); display: flex; align-items: center; gap: 4px; }
.mega-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mega-service-card { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--bg3); transition: all var(--transition); text-decoration: none; }
.mega-service-card:hover { border-color: var(--green-border); background: var(--green-dim); }
.msc-icon { width: 56px; height: 56px; background: var(--bg2); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; color: var(--green); overflow: hidden; position: relative; }
.msc-icon img { width: 100%; height: 100%; object-fit: cover; }
.msc-name { font-size: 13px; font-weight: 500; color: var(--dark); }
.mega-promo { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--bg2); border: 1px solid var(--bg3); font-size: 13px; color: var(--muted); gap: 12px; }
.mp-btn { display: inline-flex; align-items: center; padding: 8px 16px; background: var(--green); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; transition: background var(--transition); }
.mp-btn:hover { background: var(--green2); color: #fff; }

/* Simple dropdown */
.has-dropdown { position: relative; }
.dropdown-panel { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: var(--white); border: 1px solid var(--bg3); box-shadow: 0 12px 32px rgba(0,0,0,0.1); min-width: 220px; padding: 8px 0; display: none; z-index: 999; animation: megaFadeIn 0.18s ease; }
.has-dropdown:hover .dropdown-panel,
.has-dropdown.open .dropdown-panel { display: block; }
.dropdown-item { display: flex; align-items: center; gap: 8px; padding: 10px 20px; font-size: 13px; color: var(--mid); transition: all var(--transition); text-decoration: none; }
.dropdown-item:hover { color: var(--green); background: var(--bg2); }
.dropdown-divider { height: 1px; background: var(--bg3); margin: 6px 0; }

/* ============================================================
   MOBILE DRAWER
   ============================================================ */
.mobile-drawer { position: fixed; top: 0; left: -100%; width: 320px; height: 100vh; background: var(--white); z-index: 2000; transition: left 0.3s cubic-bezier(0.4,0,0.2,1); overflow-y: auto; box-shadow: 4px 0 24px rgba(0,0,0,0.12); }
.mobile-drawer.open { left: 0; }
.mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1999; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.mobile-overlay.active { opacity: 1; pointer-events: all; }
.drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--bg3); }
.drawer-close { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--mid); cursor: pointer; }
.drawer-nav { padding: 8px 0; }
.drawer-item { border-bottom: 1px solid var(--bg3); }
.drawer-link { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; font-size: 14px; font-weight: 500; color: var(--dark); cursor: pointer; }
.drawer-link i.chev { transition: transform var(--transition); }
.drawer-item.open .drawer-link i.chev { transform: rotate(180deg); }
.drawer-sub { display: none; background: var(--bg2); padding: 8px 0; }
.drawer-item.open .drawer-sub { display: block; }
.drawer-sub-link { display: block; padding: 10px 32px; font-size: 13px; color: var(--mid); text-decoration: none; }
.drawer-sub-link:hover { color: var(--green); }
.drawer-cta { padding: 20px; border-top: 1px solid var(--bg3); }
.drawer-cta .btn { width: 100%; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
#ipb-hero { height: 590px; display: grid; grid-template-columns: 55% 45%; overflow: hidden; position: relative; }
.hero-left { position: relative; overflow: hidden; background: var(--dark); }
.hero-video-wrap { position: absolute; inset: 0; }
.hero-video-wrap video { width: 100%; height: 100%; object-fit: cover; }
.hero-video-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 60%, transparent 100%); }
.hero-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 32px 40px; z-index: 2; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.7); font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 12px; }
.hero-eyebrow::before { content: ''; display: block; width: 24px; height: 1px; background: var(--gold2); }
.hero-h1 { font-family: 'Cormorant Garamond', serif; font-size: 54px; font-weight: 300; color: #fff; line-height: 1.1; margin-bottom: 12px; }
.hero-h1 strong { display: block; font-weight: 700; }
.hero-h1 em { font-style: italic; color: var(--gold2); }
.hero-sub { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.6; max-width: 380px; margin-bottom: 24px; }
.hero-btns { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-right { display: grid; grid-template-rows: 1fr 1fr; gap: 3px; }
.hero-panel { position: relative; overflow: hidden; background: var(--bg3); }
.hero-panel img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.hero-panel:hover img { transform: scale(1.04); }
.hero-panel-badge { position: absolute; bottom: 14px; left: 14px; padding: 5px 12px; font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; z-index: 2; }
.badge-gold   { background: var(--gold); }
.badge-violet { background: var(--violet); }
.badge-green  { background: var(--green); }
.hero-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--bg3); color: var(--ghost); font-size: 12px; gap: 8px; }
.hero-placeholder i { font-size: 32px; opacity: 0.4; }
.hero-scroll { position: absolute; bottom: 32px; right: 32px; display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 4; color: rgba(255,255,255,0.5); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; }
.hero-scroll-line { width: 1px; height: 40px; background: rgba(255,255,255,0.3); animation: scrollPulse 2s infinite; }
@keyframes scrollPulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ============================================================
   STATS BAR
   ============================================================ */
#ipb-stats { background: var(--green); padding: 28px 32px; }
.stats-inner { display: flex; align-items: center; justify-content: space-around; max-width: 1320px; margin: 0 auto; gap: 16px; }
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 300; color: var(--gold2); line-height: 1; }
.stat-label { font-size: 9px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.stat-sep { width: 1px; height: 36px; background: rgba(255,255,255,0.12); }

/* ============================================================
   EMOTIONAL STORY
   ============================================================ */
#ipb-story { background: var(--bg); padding: var(--section-padding); }
.story-header { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 32px; }
.story-title { font-size: clamp(32px, 4vw, 48px); font-weight: 300; }
.story-desc { font-size: 15px; color: var(--muted); line-height: 1.75; }
.story-moments { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3px; height: 300px; }
.moment-card { position: relative; overflow: hidden; background: var(--dark); cursor: pointer; }
.moment-card img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; transition: all 0.5s ease; }
.moment-card:hover img { opacity: 0.5; transform: scale(1.05); }
.moment-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%); }
.moment-tag { position: absolute; top: 14px; left: 14px; padding: 3px 8px; font-size: 8px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.moment-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px; }
.moment-quote { font-family: 'Cormorant Garamond', serif; font-size: 14px; font-style: italic; color: rgba(255,255,255,0.9); opacity: 0; transform: translateY(8px); transition: all var(--transition); margin-bottom: 6px; }
.moment-card:hover .moment-quote { opacity: 1; transform: translateY(0); }
.moment-meta { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.moment-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--bg3); color: var(--ghost); font-size: 24px; }

/* ============================================================
   SERVICES BENTO
   ============================================================ */
#ipb-services { background: var(--bg2); padding: var(--section-padding); }
.services-header { text-align: center; margin-bottom: 40px; }
.services-header .eyebrow { margin-bottom: 10px; }
.services-header h2 { margin-bottom: 12px; }
.services-header p { font-size: 15px; color: var(--muted); max-width: 560px; margin: 0 auto; }
.bento-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; }
.bento-card { background: var(--white); border: 1px solid var(--bg3); display: flex; flex-direction: column; overflow: hidden; transition: all var(--transition); position: relative; cursor: pointer; text-decoration: none; }
.bento-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--green), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform var(--transition); }
.bento-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.bento-card:hover::before { transform: scaleX(1); }
.bento-card.dark { background: var(--dark2); border-color: rgba(255,255,255,0.05); }
.bento-card.span-3 { grid-column: span 3; }
.bento-card.span-2 { grid-column: span 2; }
.bento-card.span-4 { grid-column: span 4; }
.bc-image { height: 160px; background: var(--bg3); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.bento-card.span-3 .bc-image,
.bento-card.span-4 .bc-image { height: 200px; }
.bc-image img { width: 100%; height: 100%; object-fit: cover; }
.bc-image-ph { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ghost); }
.bc-image-ph i { font-size: 28px; }
.bc-image-ph span { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.bc-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.bc-num { font-size: 9px; font-weight: 700; letter-spacing: 0.2em; color: var(--ghost); }
.bc-name { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 400; color: var(--dark); line-height: 1.2; }
.bento-card.dark .bc-num  { color: rgba(255,255,255,0.2); }
.bento-card.dark .bc-name { color: #fff; }
.bc-tag { display: inline-flex; align-items: center; padding: 2px 8px; font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; align-self: flex-start; }
.bc-tag.gold    { background: var(--gold-dim);   color: var(--gold);   border: 1px solid var(--gold-border); }
.bc-tag.violet  { background: var(--violet-dim); color: var(--violet); border: 1px solid var(--violet-border); }
.bc-tag.green   { background: var(--green-dim);  color: var(--green);  border: 1px solid var(--green-border); }
.bc-tag.dark-tag{ background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.1); }
.bc-footer { padding: 12px 16px; border-top: 1px solid var(--bg3); display: flex; align-items: center; justify-content: space-between; }
.bento-card.dark .bc-footer { border-top-color: rgba(255,255,255,0.05); }
.bc-link { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); display: flex; align-items: center; gap: 4px; }
.bento-card.dark .bc-link { color: var(--gold2); }

/* ============================================================
   SPLIT FEATURE — AI BOOTH
   ============================================================ */
#ipb-ai-feature { display: grid; grid-template-columns: 1fr 1fr; }
.ai-left { background: var(--dark); position: relative; padding: 64px 48px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; overflow: hidden; min-height: 420px; }
.ai-glow { position: absolute; width: 300px; height: 300px; background: radial-gradient(circle, rgba(26,74,46,0.4) 0%, transparent 70%); pointer-events: none; }
.ai-icon { width: 80px; height: 80px; border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 36px; color: var(--gold2); margin-bottom: 16px; position: relative; z-index: 1; }
.ai-left-label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); position: relative; z-index: 1; }
.ai-right { background: var(--bg2); padding: 64px 48px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.ai-eyebrow { display: flex; align-items: center; gap: 12px; }
.ai-eyebrow-line { width: 32px; height: 2px; background: var(--gold); }
.ai-title { font-size: clamp(28px, 3vw, 40px); font-weight: 300; line-height: 1.15; }
.ai-desc  { font-size: 15px; color: var(--muted); line-height: 1.75; max-width: 400px; }
.ai-tags  { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-tag   { padding: 5px 12px; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

/* ============================================================
   GALLERY MASONRY
   ============================================================ */
#ipb-gallery { background: var(--bg); padding: var(--section-padding); }
.gallery-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.gallery-header h2 { font-size: 32px; }
.gallery-link { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); display: flex; align-items: center; gap: 6px; }
.gallery-link:hover { color: var(--green2); }
.masonry-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 155px 155px 155px; gap: 3px; }
.mi1 { grid-column: 1/5;  grid-row: 1/3; }
.mi2 { grid-column: 5/8;  grid-row: 1/2; }
.mi3 { grid-column: 8/13; grid-row: 1/2; }
.mi4 { grid-column: 5/7;  grid-row: 2/4; }
.mi5 { grid-column: 7/10; grid-row: 2/3; }
.mi6 { grid-column: 10/13;grid-row: 2/3; }
.mi7 { grid-column: 1/5;  grid-row: 3/4; }
.mi8 { grid-column: 7/13; grid-row: 3/4; }
.mi { position: relative; overflow: hidden; background: var(--bg3); cursor: pointer; }
.mi img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.mi:hover img { transform: scale(1.06); }
.mi-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%); opacity: 0; transition: opacity var(--transition); }
.mi:hover .mi-overlay { opacity: 1; }
.mi-cap { position: absolute; bottom: 0; left: 0; right: 0; padding: 12px 14px; font-size: 11px; font-weight: 600; color: #fff; letter-spacing: 0.06em; opacity: 0; transform: translateY(6px); transition: all var(--transition); }
.mi:hover .mi-cap { opacity: 1; transform: translateY(0); }
.mi-badge { position: absolute; top: 12px; left: 12px; padding: 3px 8px; font-size: 8px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; background: var(--gold); color: #fff; }
.mi-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--bg3); color: var(--ghost); font-size: 20px; }

/* ============================================================
   EVENT TYPES
   ============================================================ */
#ipb-events { background: var(--dark); }
.events-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; }
.event-card { position: relative; height: 270px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; border-right: 1px solid rgba(255,255,255,0.05); cursor: pointer; }
.event-card:last-child { border-right: none; }
.event-bg { position: absolute; inset: 0; background: var(--dark2); overflow: hidden; }
.event-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; transition: opacity 0.5s; }
.event-card:hover .event-bg img { opacity: 0.25; }
.event-bg-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%); }
.event-big-icon { position: absolute; top: 20px; right: 20px; font-size: 64px; opacity: 0.04; color: #fff; font-family: 'Cormorant Garamond', serif; font-weight: 700; line-height: 1; }
.event-gold-bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease; }
.event-card:hover .event-gold-bar { transform: scaleX(1); }
.event-content { position: relative; z-index: 1; }
.event-num  { font-size: 9px; font-weight: 700; letter-spacing: 0.2em; color: var(--gold2); margin-bottom: 8px; }
.event-name { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 300; color: #fff; line-height: 1.15; margin-bottom: 10px; }
.event-desc { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.6; max-width: 260px; }

/* ============================================================
   GREEN BAND
   ============================================================ */
#ipb-band { background: var(--green); padding: 32px; }
.band-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1320px; margin: 0 auto; gap: 32px; }
.band-text h3 { font-family: 'Cormorant Garamond', serif; font-size: clamp(22px, 3vw, 34px); font-weight: 300; color: #fff; margin-bottom: 6px; }
.band-text h3 em { color: var(--gold2); }
.band-text p { font-size: 13px; color: rgba(255,255,255,0.65); }

/* ============================================================
   BRANDS
   ============================================================ */
#ipb-brands { background: var(--bg2); padding: 40px 32px; text-align: center; }
.brands-label { font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ghost); margin-bottom: 24px; }
.brands-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 28px; max-width: 900px; margin: 0 auto; }
.brand-item { font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--ghost); transition: color var(--transition); }
.brand-item:hover { color: var(--mid); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
#ipb-testimonials { background: var(--bg); padding: var(--section-padding); }
.testimonials-header { text-align: center; margin-bottom: 40px; }
.testimonials-header .eyebrow { margin-bottom: 10px; }
.testimonials-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3px; max-width: 1320px; margin: 0 auto; }
.testi-card { background: var(--white); border: 1px solid var(--bg3); padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.testi-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--green), var(--gold)); }
.testi-stars { display: flex; gap: 3px; }
.testi-stars i { color: var(--gold); font-size: 14px; }
.testi-quote { font-family: 'Cormorant Garamond', serif; font-size: 17px; font-style: italic; color: var(--dark); line-height: 1.6; flex: 1; }
.testi-author { border-top: 1px solid var(--bg3); padding-top: 14px; }
.testi-name  { font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 3px; }
.testi-event { font-size: 11px; color: var(--ghost); letter-spacing: 0.06em; }

/* ============================================================
   CTA SECTION
   ============================================================ */
#ipb-cta { background: var(--dark); padding: var(--section-padding); position: relative; overflow: hidden; text-align: center; }
.cta-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 500px; height: 300px; background: radial-gradient(ellipse, rgba(26,74,46,0.35) 0%, transparent 70%); pointer-events: none; }
.cta-top-line { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--green), var(--gold), var(--violet)); }
.cta-content { position: relative; z-index: 1; }
.cta-content .eyebrow { color: var(--gold2); margin-bottom: 14px; }
.cta-title { font-size: clamp(32px, 4vw, 48px); font-weight: 300; color: #fff; margin-bottom: 14px; }
.cta-title em { color: var(--gold2); }
.cta-sub  { font-size: 14px; color: rgba(255,255,255,0.55); margin-bottom: 32px; line-height: 1.7; }
.cta-btns { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 32px; flex-wrap: wrap; }
.cta-trust { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,0.45); }
.trust-item i { color: var(--green2); font-size: 14px; }

/* ============================================================
   FOOTER
   ============================================================ */
#ipb-footer { background: #090909; padding: 60px 32px 0; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 40px; max-width: 1320px; margin: 0 auto; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-logo { height: 36px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.7; margin-bottom: 20px; max-width: 260px; }
.footer-contact-list { display: flex; flex-direction: column; gap: 8px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: rgba(255,255,255,0.4); }
.footer-contact-item i { color: var(--green2); font-size: 14px; margin-top: 1px; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--gold2); }
.footer-col-title { font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.25); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold2); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; max-width: 1320px; margin: 0 auto; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.2); letter-spacing: 0.04em; }
.footer-social { display: flex; align-items: center; gap: 12px; }
.social-icon { width: 32px; height: 32px; border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.35); font-size: 15px; transition: all var(--transition); text-decoration: none; }
.social-icon:hover { border-color: var(--gold-border); color: var(--gold2); }

/* ============================================================
   INNER PAGES
   ============================================================ */
.page-hero-bar { background: var(--bg2); padding: 64px 32px; text-align: center; border-bottom: 1px solid var(--bg3); }
.page-hero-bar .eyebrow { margin-bottom: 10px; }
.page-hero-bar h1 { margin-bottom: 12px; }
.page-hero-bar p { color: var(--muted); font-size: 16px; max-width: 560px; margin: 0 auto; }
.ipb-page-content { max-width: 1320px; margin: 0 auto; padding: var(--section-padding); }
.service-single-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.service-single-image { background: var(--bg3); aspect-ratio: 4/3; overflow: hidden; }
.service-single-image img { width: 100%; height: 100%; object-fit: cover; }
.service-single-body { display: flex; flex-direction: column; gap: 20px; }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.archive-card { background: var(--white); border: 1px solid var(--bg3); text-decoration: none; transition: all var(--transition); display: block; }
.archive-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-2px); }
.archive-card-img { height: 200px; background: var(--bg3); overflow: hidden; }
.archive-card-img img { width: 100%; height: 100%; object-fit: cover; }
.archive-card-body { padding: 20px; }
.archive-card-body h3 { font-size: 20px; color: var(--dark); margin-bottom: 8px; }
.archive-card-body p { font-size: 13px; color: var(--muted); }
.ipb-404 { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 60px 32px; gap: 16px; }
.ipb-404-num { font-family: 'Cormorant Garamond', serif; font-size: 120px; font-weight: 300; color: var(--bg3); line-height: 1; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .bento-grid { grid-template-columns: repeat(4, 1fr); }
  .bento-card.span-3 { grid-column: span 4; }
  .bento-card.span-4 { grid-column: span 4; }
  .bento-card.span-2 { grid-column: span 2; }
}
@media (max-width: 992px) {
  :root { --section-padding: 48px 24px; }
  .nav-links, .nav-actions .btn { display: none; }
  .nav-hamburger { display: flex; }
  #ipb-hero { grid-template-columns: 1fr; height: auto; }
  .hero-left { min-height: 420px; }
  .hero-right { display: none; }
  .hero-scroll { display: none; }
  .stats-inner { flex-wrap: wrap; gap: 20px; }
  .stat-sep { display: none; }
  .story-header { grid-template-columns: 1fr; gap: 16px; }
  .story-moments { grid-template-columns: 1fr 1fr; height: auto; }
  .story-moments .moment-card:first-child { grid-column: span 2; }
  .events-grid { grid-template-columns: 1fr; }
  .event-card { height: 200px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
  #ipb-ai-feature { grid-template-columns: 1fr; }
  .ai-left { min-height: 260px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .band-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-single-grid { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .topbar-left { gap: 10px; }
}
@media (max-width: 768px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card.span-3,
  .bento-card.span-4,
  .bento-card.span-2 { grid-column: span 2; }
  .story-moments { grid-template-columns: 1fr; height: auto; }
  .story-moments .moment-card { height: 180px; }
  .story-moments .moment-card:first-child { grid-column: span 1; height: 220px; }
  .masonry-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .mi1,.mi2,.mi3,.mi4,.mi5,.mi6,.mi7,.mi8 { grid-column: span 1; grid-row: span 1; height: 160px; }
}
@media (max-width: 576px) {
  :root { --section-padding: 40px 16px; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.span-3,
  .bento-card.span-4,
  .bento-card.span-2 { grid-column: span 1; }
  .hero-h1 { font-size: 36px; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; }
  .topbar-inner { flex-direction: column; gap: 6px; }
  .topbar-left { flex-wrap: wrap; justify-content: center; }
  .archive-grid { grid-template-columns: 1fr; }
  .masonry-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .mi1,.mi2,.mi3,.mi4,.mi5,.mi6,.mi7,.mi8 { grid-column: span 1; grid-row: span 1; height: 180px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============================================================
   PORTFOLIO FOOTER CTA (below avada_portfolio singles)
   ============================================================ */
.ipb-portfolio-footer-cta { background: var(--bg2); border-top: 1px solid var(--bg3); padding: 40px 32px; }
.ipfc-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1100px; margin: 0 auto; flex-wrap: wrap; }
.ipfc-text h3 { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 300; margin: 0 0 6px; }
.ipfc-text p  { font-size: 13px; color: var(--muted); margin: 0; }
.ipfc-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   FUSION-BUILT PAGES — full-width container, no theme wrapper
   ============================================================ */
.ipb-fusion-page {
    background: var(--white);
    /* Let Fusion's own containers handle layout; remove any margin Avada normally applies via the wrapper. */
}
.ipb-fusion-page .fusion-builder-row,
.ipb-fusion-page .fusion-row { margin-left: auto !important; margin-right: auto !important; }
.ipb-fusion-page img { max-width: 100%; height: auto; }
/* Hide Avada's edit-with-fusion banner when previewing */
.ipb-fusion-page .fusion-builder-live-edit-launcher { display: none !important; }

/* ============================================================
   AVADA OVERRIDES
   ============================================================ */
body .fusion-footer-widget-area,
body .fusion-footer-copyright-area { display: none !important; }
body #wrapper { background: none !important; }
body .fusion-page-title-bar { display: none; }
body #main .fusion-row { padding: 0 !important; }
.fusion-header-wrapper { display: none !important; }
#ipb-topbar, #ipb-nav { display: block !important; }

/* ============================================================
   HERO entrance — pure CSS (moved out of animations.js 2026-07-14:
   the GSAP version froze at opacity:0 when the tab loaded hidden).
   "both" fill starts hidden, always ends visible; no-JS = visible.
   ============================================================ */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow, .hero-h1, .hero-sub, .hero-btns {
  animation: heroFadeUp 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.hero-eyebrow { animation-delay: 0.30s; }
.hero-h1      { animation-delay: 0.42s; }
.hero-sub     { animation-delay: 0.54s; }
.hero-btns    { animation-delay: 0.66s; }
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow, .hero-h1, .hero-sub, .hero-btns { animation: none; }
}

/* ============================================================
   HERO layout fix (2026-07-14): the hero-right panels used in-flow
   <img height:100%> inside 1fr grid rows — with tall portrait photos
   the rows' min-height:auto let content inflate the whole hero row
   to 2500px+, pushing .hero-content (bottom:0) into the clipped
   overflow → the hero headline was NEVER visible. Absolutely
   positioned images escape the intrinsic-size loop entirely.
   ============================================================ */
.hero-right, .hero-panel { min-height: 0; }
.hero-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   Scroll-reveal (2026-07-15, pairs with rewritten animations.js).
   .anim-pre is added BY JavaScript only — no JS, nothing is hidden.
   ============================================================ */
.anim-pre { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.anim-pre.anim-in { opacity: 1; transform: translateY(0); }
.ai-left.anim-pre  { transform: translateX(-30px); }
.ai-right.anim-pre { transform: translateX(30px); }
.ai-left.anim-pre.anim-in, .ai-right.anim-pre.anim-in { transform: translateX(0); }
