/* ============================================================
   HOME HERO — home-hero.css  (load after omegapix-theme.css)
   
   SECTIONS IN THIS FILE:
   1. HERO WRAPPER        — 3-col grid, warm left→right gradient
   2. LEFT TEXT COLUMN    — tagline, h1, divider, desc, buttons
   3. CENTER PHOTO FAN    — 5 fanned cards + service icon bar
   4. PORTAL COLUMN       — circle image + radial icons + enter btn
   5. SERVICES GRID       — 5 service tile cards
   6. RESPONSIVE          — mobile breakpoints
============================================================ */

/* ── 1. HERO WRAPPER ──────────────────────────────────────── */
/* Hero wrapper — centred tile, 12% smaller than viewport width */
.ox-hero-wrap {
  padding: 28px 0;          /* vertical spacing above/below the tile */
  background: #f0e4d4;      /* page bg visible around tile */
}

.ox-hero {
  display: grid;
  /* Left text | Center fan | Right portal */
  grid-template-columns: 25% 50% 25%;
  min-height: 384px;
  align-items: center;
  position: relative;
  overflow: hidden;          /* clip to rounded corners */

  /* ── TILE SHAPE ── */
  width: 88%;                /* 12% narrower than page = 6% margin each side */
  max-width: 1600px;
  margin: 0 auto;            /* centre horizontally */
  border-radius: 24px;       /* rounded tile corners */
  box-shadow: 0 8px 40px rgba(42,20,8,.18), 0 2px 8px rgba(42,20,8,.1);

  /* Warm gradient LEFT (cream) → RIGHT (dark brown) */
  background: linear-gradient(
    to right,
    #f8efe4 0%,
    #f4e8d8 12%,
    #eedad0 24%,
    #e8c8a8 38%,
    #d4a870 52%,
    #a06030 66%,
    #6b3818 80%,
    #3a1c08 92%,
    #1e0e04 100%
  );
}

/* Atmospheric radial glow overlays */
.ox-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 38% 55% at 12% 50%, rgba(248,239,228,.5) 0%, transparent 60%),
    radial-gradient(ellipse 45% 55% at 82% 45%, rgba(212,168,85,.1) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}

/* Floating petals */
.ox-hero-petal {
  position: absolute; pointer-events: none;
  color: rgba(199,29,33,.18);
  animation: petal-float 7s ease-in-out infinite;
  z-index: 1; font-size: 10px;
}
@keyframes petal-float {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-18px) rotate(25deg); }
}

/* ── 2. LEFT TEXT COLUMN ──────────────────────────────────── */
.ox-hero-left {
  padding: 28px 0 28px 44px;
  position: relative; z-index: 2;
}
.ox-hero-tagline {
  font-family: var(--font-script);
  font-size: 28px; color: var(--ox-coral);
  display: block; margin-bottom: 6px; letter-spacing: .5px;
}
.ox-hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 4.8vw, 72px);
  line-height: 1.02; font-weight: 700;
  color: #1a0c04; letter-spacing: -1px;
  margin: 6px 0 0;
}
/* "forever." — italic coral */
.ox-hero-h1 .hero-em { color: var(--ox-coral); font-style: italic; }

.ox-hero-divider {
  width: 50px; height: 3px;
  background: linear-gradient(to right, var(--ox-coral), var(--ox-gold));
  border-radius: 2px; margin: 20px 0;
}
.ox-hero-desc {
  font-size: 14.5px; color: #5a4030;
  line-height: 1.75; margin-bottom: 28px;
  max-width: 340px; font-weight: 400;
}
.ox-hero-desc em { color: #c8782a; font-style: italic; }
.ox-hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── 3. CENTER PHOTO FAN ─────────────────────────────────── */
.ox-hero-center {
  display: flex; flex-direction: column;
  align-items: center; height: 384px;
  position: relative; z-index: 2;
  padding-bottom: 0;
}

/* Fan container */
.photo-fan {
  display: flex; align-items: flex-end;
  justify-content: center;
  flex: 1; width: 100%; position: relative;
}

/* Individual photo strip card */
.photo-card {
  width: 130px; height: 300px;
  overflow: hidden; border-radius: 18px;
  border: 3px solid rgba(255,255,255,.88);
  box-shadow: 0 22px 60px rgba(30,10,2,.32);
  position: relative; flex-shrink: 0;
  background: #c8986a;
  margin-right: -32px; /* overlap creates fan */
}
.photo-card:last-of-type { margin-right: 0; }
.photo-card img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
/* Neon text overlay on strip 2 */
.photo-card-neon {
  position: absolute; top: 36%; left: 50%;
  transform: translate(-50%,-50%);
  font-family: var(--font-script); font-size: 22px;
  color: #ff9070;
  text-shadow: 0 0 10px rgba(255,144,112,.75), 0 0 28px rgba(255,144,112,.35);
  white-space: nowrap; z-index: 5; pointer-events: none;
}

/* Fan rotation animations — slight float for depth */
.photo-card:nth-child(1) { z-index:1; animation: fan1 6s ease-in-out infinite; }
.photo-card:nth-child(2) { z-index:2; animation: fan2 7.5s ease-in-out infinite; }
.photo-card:nth-child(3) { z-index:3; animation: fan3 5.5s ease-in-out infinite; }
.photo-card:nth-child(4) { z-index:4; animation: fan4 8s ease-in-out infinite; }
.photo-card:nth-child(5) { z-index:5; animation: fan5 6.5s ease-in-out infinite; margin-right: 0; }

@keyframes fan1 { 0%,100%{transform:rotate(-22deg) translateY(30px);} 50%{transform:rotate(-22deg) translateY(12px);} }
@keyframes fan2 { 0%,100%{transform:rotate(-9deg) translateY(14px);}  50%{transform:rotate(-9deg) translateY(-2px);} }
@keyframes fan3 { 0%,100%{transform:rotate(0deg) translateY(0);}      50%{transform:rotate(0deg) translateY(-16px);} }
@keyframes fan4 { 0%,100%{transform:rotate(9deg) translateY(14px);}   50%{transform:rotate(9deg) translateY(-2px);} }
@keyframes fan5 { 0%,100%{transform:rotate(22deg) translateY(30px);}  50%{transform:rotate(22deg) translateY(12px);} }

/* Service icon bar — compact auto-width pill, centered under fan */
.svc-icon-bar {
  /* Same width/alignment as .ox-hero tile above it */
  width: 88%;
  max-width: 1600px;
  margin: 8px auto 0;       /* 8px gap between hero and bar */
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212,168,85,.2);
  border-radius: 20px;      /* ALL corners rounded */
  padding: 14px 0 18px;
  box-shadow: 0 6px 24px rgba(42,20,8,.1);
}
.svc-icon-item {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 10px 32px; border-radius: 10px;
  transition: all .22s; text-decoration: none;
  min-width: 100px;
}
.svc-icon-item:hover { background: rgba(199,29,33,.07); }
.svc-icon-item:hover i, .svc-icon-item:hover span { color: var(--ox-coral); }
.svc-icon-item i { font-size: 22px; color: #c8782a; }
.svc-icon-item span {
  font-size: 10px; font-weight: 700;
  letter-spacing: .6px; text-transform: uppercase;
  color: #6a5040; white-space: nowrap;
}

/* ── 4. PORTAL COLUMN ────────────────────────────────────── */
.ox-hero-portal {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 20px 40px 28px 12px;
  height: 384px; position: relative;
  overflow: visible; z-index: 2;
}

/* Contains the circle + radial icons */
.portal-ring-wrap {
  position: relative;
  width: 250px; height: 250px;
  flex-shrink: 0;
}

/* ── THE PORTAL CIRCLE ──
   NO box-shadow ring around it (that was the ugly gold/green).
   The glow effect is ONLY on :hover via filter.
   The circle clips the image cleanly with just border-radius:50%.
   ── */
.portal-circle {
  position: absolute; top: 0; left: 0;
  width: 250px; height: 250px;
  border-radius: 50%;
  overflow: hidden;
  display: block; cursor: pointer; text-decoration: none;
  /* NO box-shadow here — removes the ugly gold ring entirely */
  transition: transform .4s ease, filter .4s ease;
  z-index: 2;
}
/* On hover: warm amber glow via filter (no ring!) */
.portal-circle:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 28px rgba(255,160,40,.7))
          drop-shadow(0 0 60px rgba(255,120,20,.4));
}
.portal-circle img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 8%; /* show the arch top */
  display: block;
}

/* Radial icon items — positioned via inline PHP transform */
/* Center = top:150px left:150px (half of 300x300) */
.pi {
  position: absolute;
  top: 125px; left: 125px;
  width: 64px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  cursor: pointer; text-decoration: none;
  transition: all .22s; z-index: 6;
}
/* Dark semi-transparent ring — readable on dark right bg */
.pi-ring {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(18,8,2,.85);
  border: 1.5px solid rgba(212,168,85,.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 14px rgba(0,0,0,.5), inset 0 0 10px rgba(212,168,85,.06);
  transition: all .25s;
}
.pi-ring svg {
  width: 18px; height: 18px;
  stroke: rgba(212,168,85,.8);
  fill: none;
  transition: stroke .25s;
  flex-shrink: 0;
}
.pi-lbl {
  font-size: 7px; font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase;
  color: rgba(242,201,139,.88); /* warm gold text */
  text-align: center; line-height: 1.2;
  transition: color .22s; white-space: nowrap;
}
.pi:hover .pi-ring {
  border-color: rgba(212,168,85,.9);
  background: rgba(212,168,85,.14);
  box-shadow: 0 4px 18px rgba(212,168,85,.3), inset 0 0 14px rgba(212,168,85,.12);
}
.pi:hover .pi-ring svg { stroke: #f2c98b; } /* brighter gold on hover */
.pi:hover .pi-lbl { color: #f2c98b; }



/* ── 5. SERVICE TILES ────────────────────────────────────── */
.ox-services {
  padding: 76px 0 68px;
  /* Warm sand background matching the reference */
  background: linear-gradient(to bottom, #f8f0e4, #f4e8d8);
}
.ox-services-inner { max-width: 1760px; margin: 0 auto; padding: 0 52px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px; margin-top: 44px;
}

/* Each service tile — warm tan/gold bg */
.svc-tile {
  background: #edc08a; /* warm tan matching reference */
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 10px 32px rgba(90,50,20,.12);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
  text-decoration: none;
}
.svc-tile:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 48px rgba(90,50,20,.2);
}

/* Tile image area */
.svc-tile-img {
  /* Fixed aspect ratio box — prevents stretching */
  aspect-ratio: 4 / 3;     /* 4:3 ratio — clean landscape crop */
  overflow: hidden;
  position: relative;
  background: linear-gradient(160deg,#d4a878,#a07040);
  /* No fixed height — ratio controls it */
}
.svc-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;        /* fill box, crop edges — never stretch */
  object-position: center;  /* crop from center */
  display: block;
  transition: transform .5s ease;
}
.svc-tile:hover .svc-tile-img img { transform: scale(1.05); }
/* Gradient overlay on image */
.svc-tile-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 45%, rgba(42,20,8,.35));
  pointer-events: none;
}
/* Coral badge */
.svc-tile-badge {
  position: absolute; bottom: 9px; left: 10px; z-index: 1;
  background: rgba(199,29,33,.9); color: #fff;
  padding: 3px 10px; border-radius: 100px;
  font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}

/* Tile body */
.svc-tile-body { padding: 16px 18px 22px; flex: 1; }
.svc-tile-icon { font-size: 26px; color: #5a4030; opacity: .7; margin-bottom: 8px; }
.svc-tile-title {
  font-size: 12.5px; font-weight: 700;
  color: #1a0c04; margin-bottom: 10px;
  letter-spacing: .3px; text-transform: uppercase; line-height: 1.35;
}
.svc-tile-list { list-style: none; padding: 0; margin: 0 0 14px; }
.svc-tile-list li {
  font-size: 11.5px; color: #5a4030;
  line-height: 1.5; padding: 4px 0;
  border-bottom: 1px solid rgba(90,50,20,.1);
  display: flex; align-items: flex-start; gap: 6px;
}
.svc-tile-list li:last-child { border-bottom: none; }
.svc-tile-list li::before { content:"→"; color:var(--ox-coral); font-size:10px; flex-shrink:0; margin-top:2px; }
.svc-tile-link {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--ox-coral); font-size: 11px; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase;
  transition: gap .2s;
}
.svc-tile:hover .svc-tile-link { gap: 8px; }

/* ── 6. RESPONSIVE ───────────────────────────────────────── */

/* Tablet landscape (≤1350px) */
@media (max-width: 1350px) {
  .ox-hero { grid-template-columns: 24% 50% 26%; width: 92%; }
  .svc-icon-bar { width: 92%; border-radius: 18px; }
  .portal-ring-wrap { width: 220px; height: 220px; }
  .portal-circle    { width: 220px; height: 220px; }
  .pi               { top: 110px; left: 110px; }
  .photo-card       { width: 112px; height: 265px; margin-right: -24px; }
  .ox-hero-h1       { font-size: clamp(40px,4vw,62px); }
}

/* Tablet portrait (≤1050px) */
@media (max-width: 1050px) {
  .ox-hero          { grid-template-columns: 22% 52% 26%; width: 95%; }
  .services-grid    { grid-template-columns: repeat(3,1fr); }
  .photo-card       { width: 94px; height: 224px; margin-right: -20px; }
  .photo-fan        { justify-content: center; }
  .portal-ring-wrap { width: 200px; height: 200px; }
  .portal-circle    { width: 200px; height: 200px; }
  .pi               { top: 100px; left: 100px; }
}

/* Mobile — single column hero (≤768px) */
@media (max-width: 768px) {
  .ox-hero-wrap   { padding: 14px; background: #f0e4d4; }
  .ox-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(165deg, #f8efe4 0%, #e8c8a0 45%, #6b3818 100%);
  }

  /* Left text — centered */
  .ox-hero-left     { padding: 30px 20px 16px; text-align: center; }
  .ox-hero-h1       { font-size: clamp(36px,8vw,54px); letter-spacing: -.5px; }
  .ox-hero-tagline  { font-size: 22px; }
  .ox-hero-desc     { margin: 0 auto 22px; max-width: 320px; font-size: 14px; }
  .ox-hero-buttons  { justify-content: center; flex-wrap: wrap; gap: 10px; }
  .ox-hero-divider  { margin: 14px auto; }

  /* Photo fan — compact */
  .ox-hero-center   { height: 260px; }
  .photo-fan        { justify-content: center; }
  .photo-card       { width: 76px; height: 200px; margin-right: -16px; border-radius: 12px; }
  .photo-card-neon  { font-size: 13px; top: 32%; }

  /* Hide portal column — show mobile link instead */
  .ox-hero-portal          { display: none; }
  .ox-hero-mobile-school   { display: flex !important; justify-content: center; padding: 12px 20px 24px; }

  /* Service icon bar — full width on mobile matching hero */
  .svc-icon-bar   { width: 94%; border-radius: 14px; margin-top: 8px; flex-wrap: wrap; padding: 12px 8px; gap: 0; }
  .svc-icon-item  { padding: 8px 12px; min-width: 80px; flex: 0 0 33.33%; }
  .svc-icon-item i  { font-size: 19px; }
  .svc-icon-item span { font-size: 9px; }

  /* Services tiles */
  .services-grid  { grid-template-columns: 1fr 1fr; gap: 14px; }
  .ox-services    { padding: 44px 0; }
  .ox-services-inner { padding: 0 14px; }
  .svc-tile-img   { height: 130px; }
}

/* Small mobile (≤480px) */
@media (max-width: 480px) {
  .ox-hero-wrap { padding: 10px; }
  .ox-hero      { border-radius: 12px; }
  .photo-card   { width: 60px; height: 162px; margin-right: -12px; }
  .ox-hero-center { height: 210px; }
  .ox-hero-h1   { font-size: 34px; }
  .services-grid { grid-template-columns: 1fr; }
  .svc-icon-item { flex: 0 0 50%; }
  .ox-services-inner { padding: 0 12px; }
}





/* ==================================================
PROMO ROW
================================================== */

.promo-row{


max-width:1600px;

margin:0 auto;

padding:0 40px 80px;

display:grid;

grid-template-columns:
    1fr
    2fr
    1fr;

gap:25px;


}

.promo-banner{


min-height:260px;

border-radius:24px;

overflow:hidden;

background:
    linear-gradient(
        135deg,
        #1f130a,
        #5b3518
    );

color:white;

padding:35px;

display:flex;

align-items:flex-end;


}

.promo-label{


color:#f2c98b;

text-transform:uppercase;

letter-spacing:2px;

font-size:12px;


}

.promo-content h3{


font-size:32px;

margin:10px 0;


}

.promo-content p{


line-height:1.7;


}
