/* ═══════════════════════════════════════════════════════════════
   style.css — Custom styles for Laughndry landing page
   ═══════════════════════════════════════════════════════════════ */

/* ── Base ──────────────────────────────────────────────────────── */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ── Signature brand gradient ─────────────────────────────────── */
.signature-gradient {
    background: linear-gradient(135deg, #00433a 0%, #035d51 100%);
}

/* ═══════════════════════════════════════════════════════════════
   REVEAL ANIMATIONS — used with Intersection Observer
   ═══════════════════════════════════════════════════════════════ */

/* Container-level reveal (whole section fades up) */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered item reveal (cards, etc.) */
.stagger-item {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.stagger-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   HERO — Entrance animations (play on page load automatically)
   ═══════════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-text-animate {
    animation: fadeInUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-text-animate-delay-1 {
    animation: fadeInUp 0.9s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-text-animate-delay-2 {
    animation: fadeInUp 0.9s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-text-animate-delay-3 {
    animation: fadeInUp 0.9s 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-image-animate {
    animation: fadeInRight 1.1s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ═══════════════════════════════════════════════════════════════
   INTERACTIVE — Hover & focus enhancements
   ═══════════════════════════════════════════════════════════════ */

/* Card hover lift */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 67, 58, 0.1);
}

/* Button press */
.btn-press {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-press:hover {
    transform: scale(1.05);
}

.btn-press:active {
    transform: scale(0.97);
}

/* Service card subtle */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 67, 58, 0.08);
}

/* Hover arrow at bottom-right */
.service-arrow {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    color: #035d51;
    font-size: 1.5rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-card:hover .service-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Icon bounce on card hover */
.card-hover:hover .icon-bounce,
.service-card:hover .icon-bounce {
    animation: iconBounce 0.5s ease;
}

@keyframes iconBounce {

    0%,
    100% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.18);
    }

    70% {
        transform: scale(0.95);
    }
}

/* Pricing row highlight */
.price-row {
    transition: background-color 0.2s ease;
}

/* Testimonial card */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 67, 58, 0.08);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE FINE-TUNING
   ═══════════════════════════════════════════════════════════════ */

/* Ensure pricing table doesn't overflow on tiny screens */
@media (max-width: 400px) {
    table td {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

/* Reduce animation distance on mobile (less jarring) */
@media (prefers-reduced-motion: reduce) {

    .reveal,
    .stagger-item,
    .hero-text-animate,
    .hero-text-animate-delay-1,
    .hero-text-animate-delay-2,
    .hero-text-animate-delay-3,
    .hero-image-animate {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ── Scroll-bar styling (Webkit) ──────────────────────────────── */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f3f3f3;
}

::-webkit-scrollbar-thumb {
    background: #bec9c5;
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6f7976;
}