/**
 * Hero Section with Jumper & Kater
 * Warm, Playful Design Featuring Our Beloved Mascots
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* ========================================
   Hero Section
   ======================================== */

.hero-modern {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 10rem;
    overflow: visible;
    background: linear-gradient(
        165deg,
        #F0F9FF 0%,
        #FFFFFF 35%,
        #F8FAFC 65%,
        #EFF6FF 100%
    );
}

/* ========================================
   Decorative Background
   ======================================== */

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

/* Soft gradient orbs */
.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.shape-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, transparent 70%);
    top: -250px;
    right: -150px;
    animation: float 25s ease-in-out infinite;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 186, 199, 0.15) 0%, transparent 70%);
    bottom: -200px;
    left: -150px;
    animation: float 20s ease-in-out infinite reverse;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 15s ease-in-out infinite;
}

/* Decorative paw prints */
.hero-bg-shapes::before,
.hero-bg-shapes::after {
    content: '🐾';
    position: absolute;
    font-size: 3rem;
    opacity: 0.08;
    animation: float 10s ease-in-out infinite;
}

.hero-bg-shapes::before {
    top: 15%;
    left: 10%;
    animation-delay: -2s;
}

.hero-bg-shapes::after {
    bottom: 20%;
    right: 15%;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(40px, -40px) scale(1.05);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.95);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.12;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 0.18;
    }
}

/* ========================================
   Hero Grid Layout
   ======================================== */

.hero-grid {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

/* ========================================
   Hero Content (Center)
   ======================================== */

.hero-content {
    max-width: 700px;
    text-align: center;
    padding: 0 2rem;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s backwards;
}

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

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12) 0%, rgba(6, 186, 199, 0.1) 100%);
    border: 2px solid rgba(14, 165, 233, 0.25);
    border-radius: 60px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0284C7;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    animation: fadeInScale 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s backwards;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.15);
}

.hero-badge svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.85);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Title */
.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: #0F172A;
    margin: 0 0 1.75rem;
    letter-spacing: -0.04em;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s backwards;
}

.hero-title-gradient {
    background: linear-gradient(135deg, #0EA5E9 0%, #06B6D4 50%, #0284C7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
    position: relative;
}

/* Description */
.hero-description {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    line-height: 1.7;
    color: #64748B;
    margin: 0 auto 3rem;
    max-width: 600px;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s backwards;
}

/* Action Buttons */
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s backwards;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2.25rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 16px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.hero-btn:hover::before {
    opacity: 1;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #0EA5E9 0%, #06B6D4 100%);
    color: white;
    box-shadow:
        0 8px 24px rgba(14, 165, 233, 0.35),
        0 0 0 0 rgba(14, 165, 233, 0.3);
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 12px 32px rgba(14, 165, 233, 0.45),
        0 0 0 6px rgba(14, 165, 233, 0.15);
}

.hero-btn-primary svg {
    transition: transform 0.35s ease;
}

.hero-btn-primary:hover svg {
    transform: translateX(5px);
}

.hero-btn-outline {
    background: white;
    color: #0EA5E9;
    border: 2.5px solid rgba(14, 165, 233, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.hero-btn-outline:hover {
    background: #F0F9FF;
    border-color: #0EA5E9;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.2);
}

/* ========================================
   Mascot Images - Jumper & Kater
   ======================================== */

.hero-image-container {
    display: none;
}

/* Kater (Cat) - Bottom Left */
.hero-mascot-kater {
    position: absolute;
    bottom: -5px;
    left: 8%;
    width: 380px;
    height: auto;
    z-index: 15;
    animation: mascotSlideInLeft 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.9s backwards;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    max-height: 550px;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
}

.hero-mascot-kater img {
    width: 100%;
    height: auto;
    display: block;
    animation: gentleBob 4s ease-in-out infinite;
    transform-origin: center bottom;
    position: relative;
    bottom: -5px;
    user-select: none;
    -webkit-user-drag: none;
}

/* Jumper (Dog) - Bottom Right */
.hero-mascot-jumper {
    position: absolute;
    bottom: -5px;
    right: 8%;
    width: 420px;
    height: auto;
    z-index: 15;
    animation: mascotSlideInRight 1.2s cubic-bezier(0.16, 1, 0.3, 1) 1s backwards;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    max-height: 600px;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
}

.hero-mascot-jumper img {
    width: 100%;
    height: auto;
    display: block;
    animation: gentleBob 4s ease-in-out infinite -2s;
    transform-origin: center bottom;
    position: relative;
    bottom: -5px;
    user-select: none;
    -webkit-user-drag: none;
}

@keyframes mascotSlideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px) translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }
}

@keyframes mascotSlideInRight {
    from {
        opacity: 0;
        transform: translateX(100px) translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }
}

@keyframes gentleBob {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Decorative elements around mascots */
.hero-mascot-kater::before,
.hero-mascot-jumper::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
}

.hero-mascot-kater::before {
    bottom: 30%;
    left: 20%;
}

.hero-mascot-jumper::before {
    bottom: 30%;
    right: 20%;
    animation-delay: -2s;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1400px) {
    .hero-mascot-kater {
        width: 320px;
        max-height: 480px;
        left: 5%;
    }

    .hero-mascot-jumper {
        width: 360px;
        max-height: 520px;
        right: 5%;
    }
}

@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.75rem;
    }

    .hero-mascot-kater {
        width: 280px;
        max-height: 420px;
        left: 2%;
    }

    .hero-mascot-jumper {
        width: 320px;
        max-height: 460px;
        right: 2%;
    }
}

@media (max-width: 1024px) {
    .hero-modern {
        min-height: 75vh;
        padding: 5rem 0 8rem;
    }

    .hero-title {
        font-size: 3.25rem;
    }

    .hero-description {
        font-size: 1.125rem;
    }

    .hero-mascot-kater {
        width: 240px;
        max-height: 360px;
        left: 0;
    }

    .hero-mascot-jumper {
        width: 280px;
        max-height: 400px;
        right: 0;
    }
}

@media (max-width: 768px) {
    .hero-modern {
        min-height: auto;
        padding: 4rem 0 5rem;
    }

    .hero-content {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 1rem 2rem;
    }

    /* Hide mascots on mobile for cleaner layout */
    .hero-mascot-kater,
    .hero-mascot-jumper {
        display: none;
    }

    /* Show subtle paw prints instead */
    .hero-bg-shapes::before,
    .hero-bg-shapes::after {
        font-size: 2rem;
        opacity: 0.12;
    }
}

@media (max-width: 480px) {
    .hero-modern {
        padding: 3rem 0 4rem;
    }

    .hero-badge {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 0.9375rem;
    }

    .hero-btn {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
}

/* ========================================
   Accessibility & Performance
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    .hero-content,
    .hero-badge,
    .hero-title,
    .hero-description,
    .hero-actions,
    .hero-mascot-kater,
    .hero-mascot-jumper,
    .shape {
        animation: none;
    }

    .hero-mascot-kater img,
    .hero-mascot-jumper img {
        animation: none;
    }

    .hero-btn {
        transition: none;
    }
}

/* Prevent scroll interference */
.hero-mascot-kater,
.hero-mascot-jumper {
    -webkit-touch-callout: none;
    touch-action: none;
}
