/* ═══════════════════════════════════════════════════════════════════════════
   Photo Pro Studio — Hero animation styles
   Loaded only on index.php via includes/hero-animation.php
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 1. Transparent nav ─────────────────────────────────────────────────── */
#main-nav {
    transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
#main-nav.nav-hero {
    background:              transparent !important;
    border-bottom-color:     transparent !important;
    box-shadow:              none        !important;
    backdrop-filter:         none        !important;
    -webkit-backdrop-filter: none        !important;
}
/* Nav bar links — white when hero is visible */
#main-nav.nav-hero a,
#main-nav.nav-hero button:not(.bg-primary) { color: rgba(255,255,255,0.90) !important; }
#main-nav.nav-hero a:hover,
#main-nav.nav-hero button:not(.bg-primary):hover { color: #fff !important; }

/* Dropdown panel sits on white bg — force dark text */
#main-nav .nav-dropdown-menu a,
#main-nav .nav-dropdown-menu a:hover { color: hsl(220 15% 10%) !important; }
#main-nav .nav-dropdown-menu a:hover { background-color: hsl(220 14% 96% / .6); }

/* ── 2. Hero — white text on dark bg ───────────────────────────────────── */
.pps-hero { position: relative; }
.pps-hero .text-muted-foreground { color: rgba(255,255,255,0.75) !important; }
.pps-hero .text-foreground,
.pps-hero h1,
.pps-hero h2   { color: #fff !important; }
.pps-hero .text-primary { color: hsl(var(--primary)) !important; }
.pps-hero strong { color: #fff !important; }

/* Scoped left column overrides (when JS adds .pps-hero-left) */
.pps-hero .pps-hero-left .text-muted-foreground { color: rgba(255,255,255,0.75) !important; }
.pps-hero .pps-hero-left .text-foreground,
.pps-hero .pps-hero-left h1   { color: #fff !important; }
.pps-hero .pps-hero-left strong { color: #fff !important; }

/* ── 3. Scene container ─────────────────────────────────────────────────── */
.pps-hero-right {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pps-scene {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: scene-cycle 12s infinite;
    pointer-events: none;
}
.pps-scene:nth-child(1) { animation-delay: 0s; }
.pps-scene:nth-child(2) { animation-delay: 4s; }
.pps-scene:nth-child(3) { animation-delay: 8s; }
@keyframes scene-cycle {
    0%   { opacity: 0; transform: scale(0.96) translateY(6px);  }
    6%   { opacity: 1; transform: scale(1)    translateY(0);    }
    28%  { opacity: 1; transform: scale(1)    translateY(0);    }
    33%  { opacity: 0; transform: scale(1.02) translateY(-4px); }
    100% { opacity: 0; }
}

/* ── 4. Phone ───────────────────────────────────────────────────────────── */
.pps-phone {
    width: 300px; height: 580px;
    background: #1a1a2e;
    border-radius: 48px;
    border: 8px solid #333;
    position: relative;
    box-shadow: 0 40px 100px rgba(0,0,0,.6);
    overflow: hidden;
}
.pps-phone-notch {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 100px; height: 28px;
    background: #1a1a2e;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}
.pps-phone-screen {
    position: absolute; inset: 0;
    background: linear-gradient(160deg, #f8f9ff 0%, #f0f2ff 100%);
    border-radius: 40px;
    overflow: hidden;
}
.pps-notification {
    position: absolute; top: 56px; left: 16px; right: 16px;
    background: rgba(255,255,255,.95);
    border-radius: 20px;
    padding: 16px 18px;
    box-shadow: 0 12px 32px rgba(0,0,0,.18);
    animation: notif-drop .6s .4s both cubic-bezier(.34,1.56,.64,1);
}
.pps-notification-title {
    font-size: 14px; font-weight: 700; color: #111;
    margin-bottom: 4px;
    display: flex; align-items: center; gap: 8px;
}
.pps-notification-body { font-size: 13px; color: #555; line-height: 1.5; }
.pps-notif-dot { width: 10px; height: 10px; border-radius: 50%; background: #ef0000; flex-shrink: 0; }
.pps-phone-status {
    position: absolute; top: 32px; left: 24px; right: 24px;
    display: flex; justify-content: space-between; align-items: center;
}
.pps-phone-time { font-size: 15px; font-weight: 700; color: #222; }
@keyframes notif-drop {
    from { opacity: 0; transform: translateY(-20px) scale(.92); }
    to   { opacity: 1; transform: none; }
}
.pps-phone-float { animation: float-phone 3s ease-in-out infinite; }
@keyframes float-phone {
    0%, 100% { transform: translateY(0)     rotate(-2deg); }
    50%       { transform: translateY(-10px) rotate(-2deg); }
}

/* ── 5. Laptop ──────────────────────────────────────────────────────────── */
.pps-laptop { position: relative; }
.pps-laptop-screen {
    width: 500px; height: 310px;
    background: #fff;
    border-radius: 14px 14px 0 0;
    border: 8px solid #222;
    overflow: hidden;
    box-shadow: 0 -6px 32px rgba(0,0,0,.25);
}
.pps-laptop-base {
    width: 560px; height: 22px;
    background: linear-gradient(180deg, #333, #222);
    border-radius: 0 0 10px 10px;
    margin: 0 auto;
    box-shadow: 0 6px 28px rgba(0,0,0,.5);
}
.pps-laptop-base::after {
    content: ''; display: block;
    width: 80px; height: 5px;
    background: #555; border-radius: 3px;
    margin: 8px auto 0;
}
.pps-dashboard { display: grid; grid-template-columns: 78px 1fr; height: 100%; }
.pps-sidebar {
    background: #1a1a2e;
    padding: 14px 8px;
    display: flex; flex-direction: column; gap: 8px;
}
.pps-sidebar-item { height: 8px; border-radius: 4px; background: rgba(255,255,255,.15); }
.pps-sidebar-item.active { background: #ef0000; width: 70%; }
.pps-main { background: #f4f6ff; padding: 12px; }
.pps-dash-header {
    background: #fff; border-radius: 8px;
    padding: 8px 12px; margin-bottom: 8px;
    display: flex; align-items: center; justify-content: space-between;
    box-shadow: 0 1px 6px rgba(0,0,0,.06);
}
.pps-dash-title { font-size: 11px; font-weight: 700; color: #111; }
.pps-dash-badge { font-size: 9px; background: #ef0000; color: #fff; padding: 2px 7px; border-radius: 10px; }
.pps-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin-bottom: 8px; }
.pps-card { background: #fff; border-radius: 7px; padding: 8px 10px; box-shadow: 0 1px 4px rgba(0,0,0,.07); }
.pps-card-num { font-size: 14px; font-weight: 800; color: #111; }
.pps-card-lbl { font-size: 8px; color: #888; margin-top: 2px; }
.pps-calendar { background: #fff; border-radius: 7px; padding: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.07); }
.pps-cal-row { display: flex; gap: 4px; margin-top: 4px; }
.pps-cal-day { flex: 1; height: 22px; border-radius: 4px; background: #f0f2ff; }
.pps-cal-day.booked  { background: #ef0000; }
.pps-cal-day.booked2 { background: #ffd6d6; }
.pps-laptop-float { animation: float-laptop 4s ease-in-out infinite; }
@keyframes float-laptop {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

/* ── 6. Email ───────────────────────────────────────────────────────────── */
.pps-email-win {
    width: 420px;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,.4);
    animation: float-laptop 3.5s ease-in-out infinite;
}
.pps-email-header {
    background: #1a1a2e;
    padding: 14px 18px;
    display: flex; align-items: center; gap: 10px;
}
.pps-email-dots { display: flex; gap: 6px; }
.pps-email-dot { width: 11px; height: 11px; border-radius: 50%; }
.pps-email-body { padding: 20px; }
.pps-email-field {
    font-size: 12px; color: #888;
    border-bottom: 1px solid #f0f0f0;
    padding: 6px 0; margin-bottom: 6px;
}
.pps-email-field span { color: #111; font-weight: 600; }
.pps-email-content { font-size: 13px; color: #444; line-height: 1.7; margin: 12px 0; min-height: 70px; }
.pps-email-cursor {
    display: inline-block; width: 2px; height: 13px;
    background: #ef0000;
    animation: blink .8s infinite;
    vertical-align: middle;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.pps-send-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: #ef0000; color: #fff;
    font-size: 12px; font-weight: 700;
    padding: 10px 20px; border-radius: 24px;
    cursor: pointer; margin-top: 12px;
    animation: send-pulse 2s 2s infinite;
}
@keyframes send-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
