/* Modern Day Hippie Couture UI Library */
/* Enhanced design system with brand colors, animations, and components */

:root {
    --hippie-green-50: #f0fdf4;
    --hippie-green-500: #38a169;
    --hippie-green-600: #16a34a;
    --hippie-green-700: #15803d;
    --hippie-sage-500: #68d391;
    --hippie-sage-600: #5a9f6b;
    --hippie-earth-500: #d4a574;
    --hippie-earth-600: #c49060;
    --hippie-sunset-500: #f97316;
    --hippie-sunset-600: #ea580c;
    --hippie-lavender-500: #9d7bff;
    --hippie-lavender-600: #8b5cf6;
}

/* Typography */
.font-script {
    font-family: 'Dancing Script', cursive;
}

.font-serif {
    font-family: 'Playfair Display', Georgia, serif;
}

.font-sans {
    font-family: 'Inter', system-ui, sans-serif;
}

/* Organic Shapes */
.rounded-organic {
    border-radius: 1.25rem 0.75rem 1.5rem 0.5rem;
}

/* Shadows */
.shadow-gentle {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-dreamy {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.shadow-earth {
    box-shadow: 0 10px 15px -3px rgba(212, 165, 116, 0.1), 0 4px 6px -2px rgba(212, 165, 116, 0.05);
}

.shadow-sage {
    box-shadow: 0 10px 15px -3px rgba(104, 211, 145, 0.1), 0 4px 6px -2px rgba(104, 211, 145, 0.05);
}

.shadow-lavender {
    box-shadow: 0 10px 15px -3px rgba(157, 123, 255, 0.1), 0 4px 6px -2px rgba(157, 123, 255, 0.05);
}

/* Background Gradients */
.bg-cosmic-flow {
    background: radial-gradient(circle at center, var(--hippie-lavender-500) 0%, var(--hippie-green-500) 50%, var(--hippie-sunset-500) 100%);
}

.bg-earth-vibes {
    background: linear-gradient(45deg, var(--hippie-earth-500) 0%, var(--hippie-green-500) 100%);
}

.bg-sage-dream {
    background: linear-gradient(180deg, var(--hippie-sage-500) 0%, var(--hippie-lavender-500) 100%);
}

.bg-hippie-sunset {
    background: linear-gradient(135deg, var(--hippie-sunset-500) 0%, var(--hippie-earth-500) 50%, var(--hippie-sage-500) 100%);
}

.bg-green-gradient {
    background: linear-gradient(45deg, var(--hippie-green-500), var(--hippie-sage-500), var(--hippie-lavender-500));
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse-gentle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

@keyframes groove {
    0%, 100% { transform: scale(1) rotate(0deg); }
    33% { transform: scale(1.05) rotate(1deg); }
    66% { transform: scale(0.95) rotate(-1deg); }
}

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

/* Animation Classes */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse-gentle {
    animation: pulse-gentle 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-wiggle {
    animation: wiggle 1s ease-in-out infinite;
}

.animate-groove {
    animation: groove 3s ease-in-out infinite;
}

.animate-shimmer {
    animation: shimmer 2s linear infinite;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.floating-element-1 {
    top: 15%;
    left: 8%;
    width: 80px;
    height: 80px;
    background: rgba(104, 211, 145, 0.15);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.floating-element-2 {
    top: 35%;
    right: 15%;
    width: 60px;
    height: 60px;
    background: rgba(212, 165, 116, 0.15);
    border-radius: 1.25rem 0.75rem 1.5rem 0.5rem;
    animation: float 7s ease-in-out infinite 1.5s;
}

.floating-element-3 {
    bottom: 40%;
    left: 20%;
    width: 50px;
    height: 50px;
    background: rgba(157, 123, 255, 0.15);
    border-radius: 50%;
    animation: float 9s ease-in-out infinite 3s;
}

.floating-element-4 {
    bottom: 15%;
    right: 25%;
    width: 90px;
    height: 90px;
    background: rgba(249, 115, 22, 0.15);
    border-radius: 1.25rem 0.75rem 1.5rem 0.5rem;
    animation: float 6.5s ease-in-out infinite 2s;
}

/* Enhanced Components */
.hippie-button {
    padding: 12px 24px;
    border-radius: 1.25rem 0.75rem 1.5rem 0.5rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.hippie-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hippie-button-primary {
    background: linear-gradient(45deg, var(--hippie-earth-500) 0%, var(--hippie-green-500) 100%);
}

.hippie-button-secondary {
    background: linear-gradient(180deg, var(--hippie-sage-500) 0%, var(--hippie-lavender-500) 100%);
}

.hippie-button-cosmic {
    background: radial-gradient(circle at center, var(--hippie-lavender-500) 0%, var(--hippie-green-500) 50%, var(--hippie-sunset-500) 100%);
}

.hippie-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hippie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 70px -12px rgba(0, 0, 0, 0.35);
}

.hippie-card-earth {
    border-color: var(--hippie-earth-500);
}

.hippie-card-sage {
    border-color: var(--hippie-sage-500);
}

.hippie-card-lavender {
    border-color: var(--hippie-lavender-500);
}

.hippie-input {
    border: 2px solid var(--hippie-sage-500);
    border-radius: 1.25rem 0.75rem 1.5rem 0.5rem;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    width: 100%;
    transition: all 0.3s ease;
    background: white;
}

.hippie-input:focus {
    outline: none;
    border-color: var(--hippie-green-500);
    box-shadow: 0 0 0 3px rgba(56, 161, 105, 0.1);
}

.hippie-gradient-text {
    background: linear-gradient(45deg, var(--hippie-green-500), var(--hippie-sage-500), var(--hippie-lavender-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hippie-hero {
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--hippie-green-50) 0%, white 50%, rgba(157, 123, 255, 0.05) 100%);
}

.hippie-section {
    position: relative;
    padding: 3rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hippie-card {
        padding: 1.5rem;
    }
    
    .hippie-button {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    .floating-element {
        display: none;
    }
}

/* Accessibility Enhancements */
.hippie-button:focus,
.hippie-input:focus {
    outline: 2px solid var(--hippie-green-500);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
