/* ============================================
   HIBE Sepeti — Custom Styles
   Tailwind ile karşılanmayan özel efektler
   ============================================ */

/* Base body — minimum viewport height fix */
body {
    min-height: max(884px, 100dvh);
    font-feature-settings: 'cv11', 'ss01';
}

/* Material Symbols default */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
    user-select: none;
}

/* ============================================
   Glassmorphism Card
   ============================================ */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.5);
}

/* ============================================
   Brand Gradients
   ============================================ */
.emerald-gradient {
    background: linear-gradient(135deg, #3F7A5C 0%, #4ADE80 100%);
}

.primary-gradient {
    background: linear-gradient(135deg, #181c57 0%, #2f336e 100%);
}

.hero-gradient {
    background:
        radial-gradient(ellipse at top left, rgba(74, 222, 128, 0.08), transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(24, 28, 87, 0.06), transparent 50%),
        #f7f9fb;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fade-in-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
}

.pulse-glow {
    animation: pulse-glow 2.5s ease-in-out infinite;
}

/* ============================================
   Form Elements — focus rings
   ============================================ */
.form-input {
    transition: all 0.2s ease;
}

.form-input:focus {
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.15);
    border-color: #4ADE80;
    outline: none;
}

/* ============================================
   Smooth scroll for whole document
   ============================================ */
html {
    scroll-behavior: smooth;
}

/* ============================================
   Mobile safe-area for bottom nav
   ============================================ */
@supports (padding: max(0px)) {
    .pb-safe {
        padding-bottom: max(env(safe-area-inset-bottom), 0px);
    }
}

/* Body bottom padding ki mobil nav içeriği örtmesin */
@media (max-width: 767px) {
    main {
        padding-bottom: 6rem;
    }
}

/* ============================================
   Custom scrollbar (subtle)
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: #c7c5d1;
    border-radius: 9999px;
    border: 2px solid #f2f4f6;
}

::-webkit-scrollbar-thumb:hover {
    background: #777681;
}

/* ============================================
   Hover lift effect
   ============================================ */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(24, 28, 87, 0.15);
}

/* ============================================
   Decorative blob backgrounds
   ============================================ */
.blob-emerald {
    position: absolute;
    width: 24rem;
    height: 24rem;
    background: rgba(74, 222, 128, 0.12);
    border-radius: 9999px;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.blob-primary {
    position: absolute;
    width: 24rem;
    height: 24rem;
    background: rgba(24, 28, 87, 0.08);
    border-radius: 9999px;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}
