/* 
   Geladi.eu - Modern Premium Design System
   Color Palette: Champagne, Deep Charcoal, Soft Gold
*/

:root {
    --color-bg-dark: #0e0608;
    --color-text-light: #f5ede8;
    --color-accent-gold: #c9956c;
    --color-accent-soft: #f2c9a8;
    --color-accent-rose: #d4a5b5;
    --color-card-bg: rgba(20, 10, 15, 0.75);
    --color-card-border: rgba(255, 255, 255, 0.12);

    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;

    --transition-smooth: all 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    --glass-blur: blur(12px);
}

/* Import Modern Typography */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Montserrat:wght@300;400;500&display=swap');

/* ── Reset & Base ───────────────────────────────────── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg-dark) url('../images/intro-bg.jpg') center center / cover no-repeat fixed;
    color: var(--color-text-light);
    min-height: 100vh;
    overflow: hidden;
    line-height: 1.6;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, rgba(15, 8, 12, 0.4) 0%, rgba(15, 8, 12, 0.8) 100%);
    z-index: 0;
}

body>* {
    position: relative;
    z-index: 1;
}

/* ── Typography ─────────────────────────────────────── */
h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    font-style: italic;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #f2c9a8 0%, #fff 50%, #f2c9a8 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
}

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

.tagline {
    font-weight: 300;
    font-size: 0.9rem;
    letter-spacing: 0.4em;
    color: var(--color-accent-soft);
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* ── Splash loader ──────────────────────────────────── */
#splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #0e0608;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    transition: opacity 0.8s ease-in-out;
}

.splash-logo {
    width: 100px;
    filter: drop-shadow(0 0 20px rgba(201, 149, 108, 0.3));
    animation: splash-entrance 1.2s ease-out;
}

@keyframes splash-entrance {
    from {
        opacity: 0;
        transform: scale(0.8);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

.splash-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    letter-spacing: 0.3em;
    color: var(--color-accent-soft);
    text-transform: uppercase;
}

#splash.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* ── Glass Cards ────────────────────────────────────── */
.glass-card,
.card-bio {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-card-bg);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--color-card-border);
    border-radius: 2rem;
    padding: 3.5rem 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.glass-card::-webkit-scrollbar,
.card-bio::-webkit-scrollbar {
    display: none;
}

.glass-card.fly-out {
    transform: translate(-150%, -50%) rotate(-5deg);
    opacity: 0;
}

.card-bio {
    transform: translate(150%, -50%) rotate(5deg);
    opacity: 0;
    z-index: 11;
}

.card-bio.fly-in {
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 1;
}

/* ── Elements ───────────────────────────────────────── */
.site-logo {
    width: 100px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100px;
    margin: 0 auto 2.5rem;
}

.intro {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--color-text-light);
    opacity: 0.85;
}

.badge {
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--color-accent-soft) !important;
    border: 1px solid rgba(242, 201, 168, 0.2);
    padding: 0.6rem 1.2rem !important;
    font-weight: 400 !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.badge:hover {
    background: rgba(242, 201, 168, 0.1) !important;
    border-color: var(--color-accent-soft);
    transform: translateY(-2px);
}

.btn-toggle {
    background: transparent;
    border: 1px solid var(--color-accent-soft);
    color: var(--color-accent-soft);
    padding: 0.8rem 2rem;
    border-radius: 3rem;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin-top: 2rem;
    cursor: pointer;
}

.btn-toggle:hover {
    background: var(--color-accent-soft);
    color: var(--color-bg-dark);
    box-shadow: 0 0 20px rgba(242, 201, 168, 0.3);
}

.contact-line {
    margin-top: 2rem;
    font-weight: 300;
    font-size: 0.95rem;
}

.contact-line a {
    color: var(--color-accent-soft);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.contact-line a:hover {
    border-color: var(--color-accent-soft);
}

.social a.btn {
    color: var(--color-accent-rose);
    border: 1px solid rgba(212, 165, 181, 0.3);
    padding: 0.7rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.social a.btn:hover {
    background: var(--color-accent-rose);
    color: white;
}

/* ── Bio specific ───────────────────────────────────── */
.profile-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-accent-soft);
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.card-bio h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-accent-soft);
    margin-bottom: 1.5rem;
}

/* ── Animations ─────────────────────────────────────── */
.reveal {
    animation: reveal-up 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
    opacity: 0;
}

@keyframes reveal-up {
    from {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* ── Footer ─────────────────────────────────────────── */
footer {
    position: fixed;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--color-accent-rose);
    opacity: 0.6;
    z-index: 5;
    pointer-events: none;
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 600px) {
    h1 {
        font-size: 2.2rem;
    }

    .tagline {
        font-size: 0.75rem;
        letter-spacing: 0.2em;
        margin-bottom: 2rem;
    }

    .glass-card,
    .card-bio {
        padding: 2.5rem 1.5rem;
        width: 92%;
        border-radius: 1.5rem;
    }

    .site-logo {
        width: 70px;
    }

    .intro {
        font-size: 0.95rem;
    }

    footer {
        display: none;
    }
}

@media (max-width: 380px) {
    h1 {
        font-size: 1.8rem;
    }

    .glass-card,
    .card-bio {
        padding: 2rem 1rem;
    }
}

@media (max-height: 700px) {

    .glass-card,
    .card-bio {
        top: 50%;
        /* Keep centered but handle height better */
        transform: translate(-50%, -50%);
        max-height: 95vh;
    }

    footer {
        display: none;
    }
}
