/* Cozy Llama NEW Aesthetic Global Styles */

/* 1. Typography Imports */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;400;600;700;900&family=Outfit:wght@300;400;600;700;900&display=swap');

/* 2. CSS Variables & Theme */
:root {
    /* Brand Colors - Adjusted for Vibrancy and Depth */
    --cozy-navy: #0f172a; /* Slate 900 - Deeper, richer navy */
    --cozy-navy-light: #1e293b; /* Slate 800 */
    --cozy-pink: #ec4899; /* Pink 500 - Kept consistent but used more vibrantly */
    --cozy-pink-light: #fbcfe8; /* Pink 100 */
    --cozy-cyan: #06b6d4; /* Cyan 500 */
    --cozy-cyan-light: #cffafe; /* Cyan 100 */
    --cozy-yellow: #fbbf24; /* Amber 400 - Warm and friendly */
    --cozy-yellow-light: #fef3c7; /* Amber 100 */
    
    /* Functional Colors */
    --bg-white: #ffffff;
    --bg-off-white: #fafaf9; /* Warm stone/paper white */
    
    /* Fonts */
    --font-heading: 'Fraunces', serif; /* Soft, characterful serif */
    --font-body: 'Outfit', sans-serif; /* Clean, modern geometric sans */
    
    /* Effects */
    --shadow-cartoon: 4px 4px 0px 0px var(--cozy-navy);
    --shadow-hover: 6px 6px 0px 0px var(--cozy-navy);
    --radius-lg: 1.5rem; /* Large rounded corners mostly */
    --radius-xl: 2rem;
}

/* 3. Global Resets & Typography Application */
body {
    font-family: var(--font-body);
    color: var(--cozy-navy);
    background-color: var(--bg-off-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; /* Prevent horizontal scroll from decorative elements */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-variation-settings: "SOFT" 100, "WONK" 1; /* Make it extra cozy and friendly */
    letter-spacing: -0.02em;
}

/* 4. Utility Classes for Gradients & Backgrounds */

/* Mesh Gradient - Subtle background depth */
.bg-mesh-gradient {
    background-color: #ffffff;
    background-image: 
        radial-gradient(at 0% 0%, hsla(328,98%,83%,1) 0px, transparent 50%),
        radial-gradient(at 100% 0%, hsla(189,100%,76%,1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, hsla(39,100%,79%,1) 0px, transparent 50%);
}

.text-stroke-navy {
    -webkit-text-stroke: 1.5px var(--cozy-navy);
    text-shadow: 2px 2px 0px var(--cozy-navy); /* Added shadow for legibility */
}

/* 5. Animations */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0; /* Star invisible */
}

/* Stagger delays */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-500 { animation-delay: 500ms; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(6, 182, 212, 0.2); }
    50% { box-shadow: 0 0 25px rgba(6, 182, 212, 0.6); }
}

.animate-pulse-glow {
    animation: pulseGlow 3s infinite;
}

/* 6. Component Overrides (Specific to current structure) */

/* Buttons */
.btn-primary {
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-primary:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-hover);
}

/* Cards */
.card-hover {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--shadow-hover) !important;
}

/* Navigation Link Effects */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -4px;
    left: 0;
    background-color: var(--cozy-pink);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}
