/*
 * FotoGirne — Bento Box Modern Home Page
 */

#fg-home-page-v2 {
    /* ── Light mode ── */
    --h2-bg:            #f8f9fa;
    --h2-text:          #16120c;
    --h2-text-muted:    #6b5f50;
    --h2-accent:        #1e75bb; /* Brand Blue */
    --h2-accent-text:   #ffffff;
    --h2-gold:          #c07a0a; /* Brand Gold */
    --h2-card-bg:       #ffffff;
    --h2-card-border:   rgba(30,117,187,0.12);
    --h2-card-shadow:   0 8px 30px rgba(30,117,187,0.06);
    
    --h2-grad-from:     #eaf2f8;
    --h2-grad-to:       #ffffff;
}

.dark #fg-home-page-v2 {
    /* ── Dark mode ── */
    --h2-bg:            #0f172a;
    --h2-text:          #f0e8d5;
    --h2-text-muted:    #94a3b8;
    --h2-accent:        #4fa8e8; /* Brand Blue */
    --h2-accent-text:   #0f172a;
    --h2-gold:          #f5a424; /* Brand Gold */
    --h2-card-bg:       #1e293b;
    --h2-card-border:   rgba(79,168,232,0.18);
    --h2-card-shadow:   0 8px 30px rgba(0,0,0,0.4);
    
    --h2-grad-from:     #1e293b;
    --h2-grad-to:       #0f172a;
}

#fg-home-page-v2 {
    background: var(--h2-bg);
    color: var(--h2-text);
    transition: background 0.5s ease, color 0.5s ease;
    font-family: 'Jost', 'Inter', -apple-system, sans-serif;
    min-height: 100dvh;
    overflow-x: hidden;
}

/* ══════════════════════════════════════════════════════════
   BENTO BOX CARDS
   ══════════════════════════════════════════════════════════ */
.bento-card {
    background: var(--h2-card-bg);
    border: 1px solid var(--h2-card-border);
    box-shadow: var(--h2-card-shadow);
    border-radius: 1.5rem; /* 24px */
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.dark #fg-home-page-v2 .bento-card:hover {
    box-shadow: 0 16px 40px rgba(0,0,0,0.6);
}

/* A gradient card for the hero */
.bento-card-gradient {
    background: linear-gradient(135deg, var(--h2-grad-from), var(--h2-grad-to));
}

/* ══════════════════════════════════════════════════════════
   ANIMATIONS & EFFECTS
   ══════════════════════════════════════════════════════════ */
@keyframes bento-fade-up {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.animate-bento-fade {
    animation: bento-fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Theme toggle */
.h2-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: var(--h2-card-bg);
    border: 1px solid var(--h2-card-border);
    transition: transform 0.2s ease, background 0.2s;
}
.h2-toggle:hover  { transform: scale(1.1) rotate(15deg); }
.h2-toggle:active { transform: scale(0.95); }

/* Shimmer text effect */
.text-shimmer {
    background: linear-gradient(90deg, var(--h2-text) 0%, var(--h2-text-muted) 50%, var(--h2-text) 100%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: text-shimmer-anim 4s linear infinite;
}

@keyframes text-shimmer-anim {
    to { background-position: 200% center; }
}

/* Primary Button */
.bento-btn-primary {
    background: var(--h2-accent);
    color: var(--h2-accent-text);
    transition: transform 0.2s, box-shadow 0.2s;
}
.bento-btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.dark #fg-home-page-v2 .bento-btn-primary:hover {
    box-shadow: 0 4px 15px rgba(255,255,255,0.15);
}

.bento-btn-secondary {
    background: transparent;
    border: 1px solid var(--h2-card-border);
    color: var(--h2-text);
    transition: background 0.2s, border-color 0.2s;
}
.bento-btn-secondary:hover {
    background: var(--h2-card-bg);
    border-color: var(--h2-text-muted);
}
