/*
 * Custom CSS — Supplementary Styles
 *
 * Additional animations, effects, and overrides
 * that complement the main style.css design system.
 *
 * @package StitchDesign
 */

/* ─── Neon Glow Effects ──────────────────────────────────── */
.neon-glow-orange {
    box-shadow: 0 0 15px rgba(242, 147, 13, 0.4);
}

.neon-glow-green {
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.6);
}

/* ─── Custom Scrollbar ───────────────────────────────────── */
.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

/* ─── Image loading skeleton ─────────────────────────────── */
.design-card img,
.about-image-wrapper img {
    background: linear-gradient(
        110deg,
        rgba(255,255,255,0.03) 8%,
        rgba(255,255,255,0.08) 18%,
        rgba(255,255,255,0.03) 33%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ─── Focus Styles (Accessibility) ───────────────────────── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ─── Selection Color ────────────────────────────────────── */
::selection {
    background: rgba(242, 147, 13, 0.3);
    color: #fff;
}

::-moz-selection {
    background: rgba(242, 147, 13, 0.3);
    color: #fff;
}

/* ─── Smooth page transitions ────────────────────────────── */
.site-main {
    animation: fadeInPage 0.6s ease-out;
}

@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Contact Form 7 overrides (when plugin is active) ───── */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: var(--color-text-light);
    font-family: var(--font-display);
    font-size: 0.95rem;
    transition: border-color 150ms ease;
    margin-bottom: 0.75rem;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(242, 147, 13, 0.15);
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: var(--color-text-muted);
}

.wpcf7 input[type="submit"] {
    width: 100%;
    padding: 1rem;
    background: var(--color-primary);
    color: var(--color-bg-dark);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: var(--radius-lg);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 150ms ease;
}

.wpcf7 input[type="submit"]:hover {
    background: #e0870c;
    transform: translateY(-1px);
}

.wpcf7-response-output {
    border-color: var(--color-primary) !important;
    color: var(--color-text-light) !important;
    padding: 1rem !important;
    border-radius: var(--radius-lg) !important;
    margin-top: 1rem !important;
}

/* ─── Smash Balloon Instagram Feed overrides ─────────────── */
#sb_instagram .sb_instagram_header {
    display: none !important;
}

#sbi_images .sbi_item {
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
}

/* ─── Facebook embed responsive fix ──────────────────────── */
@media (max-width: 560px) {
    .facebook-embed-wrapper iframe {
        width: 100% !important;
        min-height: 500px;
    }
}

/* ─── Bottom nav safe area for mobile form inputs ────────── */
@media (max-width: 767px) {
    .site-footer {
        padding-bottom: 6rem;
    }

    .enquiry-form {
        margin-bottom: 2rem;
    }
}

/* ─── Print styles ───────────────────────────────────────── */
@media print {
    .site-header,
    .mobile-bottom-nav,
    .whatsapp-float,
    .nav-mobile-overlay,
    .nav-mobile-drawer {
        display: none !important;
    }

    .hero {
        min-height: auto;
        page-break-after: always;
    }

    body {
        background: #fff;
        color: #000;
    }
}
