/*
 * style.css — Custom overrides and utilities for socialstardom.in
 * Loaded after Tailwind CDN in header.php.
 */

/* ─── iOS Safe Area Inset ────────────────────────────────────── */
.safe-area-top {
    padding-top: env(safe-area-inset-top, 0);
}

/* ─── Mobile Menu Open State ────────────────────────────────── */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity    0.3s ease;
    opacity: 0;
}
#mobileMenu.open {
    max-height: 600px;
    opacity: 1;
}

/* ─── Tab Active State ───────────────────────────────────────── */
.tab-active-electric {
    background: linear-gradient(135deg, #00f0ff22 0%, #0066ff22 100%);
    border: 1px solid #00f0ff66;
    color: #00f0ff;
    font-weight: 600;
}

/* ─── Service Panel Transitions ─────────────────────────────── */
.service-panel {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ─── Reveal Animation ───────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Glass Prism Card ───────────────────────────────────────── */
.glass-prism {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* ─── Gradient Text ──────────────────────────────────────────── */
.gradient-text {
    background: linear-gradient(135deg, #00f0ff 0%, #0066ff 50%, #ff00ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── Electric Border ────────────────────────────────────────── */
.electric-border {
    position: relative;
}
.electric-border::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, #00f0ff, #0066ff, #ff00ff);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* ─── Animated Orbs / Background ────────────────────────────── */
@keyframes orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(30px, -20px) scale(1.05); }
    66%       { transform: translate(-20px, 15px) scale(0.97); }
}
.orb {
    animation: orb-float 12s ease-in-out infinite;
}
.orb-2 { animation-delay: -4s; animation-duration: 15s; }
.orb-3 { animation-delay: -8s; animation-duration: 18s; }

/* ─── Breathing SVG ──────────────────────────────────────────── */
@keyframes breathing {
    0%, 100% { transform: scale(1);    opacity: 0.8; }
    50%       { transform: scale(1.04); opacity: 1;   }
}
.breathing-svg {
    animation: breathing 4s ease-in-out infinite;
}

/* ─── Custom Cursor ──────────────────────────────────────────── */
.cursor-dot, .cursor-outline {
    pointer-events: none;
    position: fixed;
    border-radius: 50%;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}
.cursor-dot {
    width: 6px;
    height: 6px;
    background: #00f0ff;
}
.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1.5px solid rgba(0, 240, 255, 0.6);
    transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease, opacity 0.3s ease;
}
.cursor-outline.hover {
    width: 46px;
    height: 46px;
    border-color: rgba(255, 0, 255, 0.7);
}
body.touch-device .cursor-dot,
body.touch-device .cursor-outline {
    display: none;
}

/* ─── Floating CTA ───────────────────────────────────────────── */
.floating-cta {
    transition: opacity 0.4s ease;
    opacity: 0;
}

/* ─── Form Inputs ────────────────────────────────────────────── */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    background: rgba(255,255,255,0.8);
    color: #1e293b;
    font-size: 0.875rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    appearance: none;
}
.form-input:focus {
    border-color: #00f0ff;
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.15);
}
.form-input::placeholder { color: #94a3b8; }

/* ─── Hamburger Menu Icon Animation ─────────────────────────── */
#menuBtn .bar {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
#menuBtn.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#menuBtn.active .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
#menuBtn.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ─── Blog Post Styles ───────────────────────────────────────── */
.prose h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-family: 'Electrolize', monospace;
}
.prose h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
.prose p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}
.prose ul {
    list-style: disc;
    padding-left: 1.5rem;
    color: #475569;
    margin-bottom: 1.25rem;
}
.prose ul li { margin-bottom: 0.375rem; }
.prose a {
    color: #0066ff;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.prose a:hover { color: #00f0ff; }
.prose strong { color: #1e293b; }
.prose blockquote {
    border-left: 3px solid #00f0ff;
    padding-left: 1rem;
    color: #64748b;
    font-style: italic;
    margin: 1.5rem 0;
}
