/* =========================================================
   index.css — Ali Maroufi homepage  (full-bleed + radial menu)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=DM+Sans:wght@300;400;500&display=swap');

:root {
    --am-navy:       #0f1f3d;
    --am-navy-mid:   #1a3260;
    --am-navy-light: #2a4a80;
    --am-ink:        #1e2d4a;
    --am-muted:      #6b7a99;
}

/* ── Hide navbar + footer on homepage ── */
body.home-page .am-nav-wrapper { display: none; }
body.home-page .am-footer      { display: none; }
body.home-page { overflow: hidden; height: 100vh; }
body.home-page main { height: 100vh; overflow: hidden; }

/* ── FULL-BLEED HERO ── */
.am-hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    font-family: 'DM Sans', sans-serif;
}

.am-hero__photo-pane {
    position: absolute;
    inset: 0;
    background: var(--am-navy);
}

.am-hero__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.92);
}

.am-hero__photo--placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #0a1628, #0f1f3d, #1a3260);
}

.am-hero__photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(5,10,20,0.55) 0%,
        rgba(5,10,20,0.15) 35%,
        transparent 60%
    );
}

/* ── IDENTITY — bottom left ── */
.am-hero__content-pane {
    position: absolute;
    bottom: 3rem;
    left: 3.5rem;
    z-index: 10;
    pointer-events: none;
}

.am-hero__eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin: 0 0 0.5rem;
}

.am-hero__name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 700;
    line-height: 0.92;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 1rem;
    text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}

.am-hero__tagline {
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255,255,255,0.68);
    line-height: 1.65;
    margin: 0 0 1.4rem;
    max-width: 30ch;
}

.am-hero__cta {
    pointer-events: all;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    border-bottom: 1.5px solid rgba(255,255,255,0.4);
    padding-bottom: 0.15rem;
    width: fit-content;
    transition: color 0.2s, border-color 0.2s;
}
.am-hero__cta:hover { color: #fff; border-color: rgba(255,255,255,0.9); }

/* ── LOCATION PILL — bottom right ── */
.am-hero__location-pill {
    position: absolute;
    bottom: 3rem;
    right: 3.5rem;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255,255,255,0.72);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.16);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
}

/* ═══════════════════════════════════════════════════
   RADIAL QUARTER-CIRCLE MENU
   Hidden by default; JS adds .visible on mouse proximity
   ═══════════════════════════════════════════════════ */

#radial-arc {
    position: fixed;
    top: 0;
    right: 0;
    width: 20vmin;
    height: 20vmin;
    z-index: 8000;
    cursor: pointer;

    background: radial-gradient(
        circle at top right,
        rgba(12, 22, 52, 0.82) 0%,
        rgba(10, 18, 44, 0.76) 65%,
        transparent 72%
    );

    border-bottom-left-radius: 100%;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    opacity: 0;
    transform: scale(0.9);
    transform-origin: top right;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

#radial-arc.visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
}

/* Thin arc border line */
#radial-arc::after {
    content: '';
    position: absolute;
    inset: 0;
    border-bottom-left-radius: 100%;
    border-bottom: 1.5px solid rgba(255,255,255,0.14);
    border-left:   1.5px solid rgba(255,255,255,0.14);
    pointer-events: none;
}

/* ── MENU ITEM CIRCLES ── */
.radial-item {
    position: fixed;
    z-index: 9000;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.radial-item.visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
}

.radial-item__circle {
    width: clamp(38px, 3.5vmin, 52px);
    height: clamp(38px, 3.5vmin, 52px);
    border-radius: 50%;
    background: rgba(12,22,52,0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255,255,255,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    position: relative;
    box-shadow: 0 4px 16px rgba(0,0,0,0.35);
}

.radial-item__circle:hover {
    background: rgba(30,58,120,0.95);
    border-color: rgba(255,255,255,0.55);
    transform: scale(1.18);
    box-shadow: 0 6px 24px rgba(0,0,0,0.5);
}

.radial-item__circle svg {
    width: clamp(16px, 1.8vmin, 22px);
    height: clamp(16px, 1.8vmin, 22px);
    stroke: rgba(255,255,255,0.88);
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
    pointer-events: none;
}

/* Label expands to the left on hover */
.radial-item__label {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    white-space: nowrap;
    background: rgba(10,18,44,0.9);
    backdrop-filter: blur(10px);
    color: rgba(255,255,255,0.92);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.15);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.radial-item__circle:hover .radial-item__label {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* ── SECRET LOGIN BUTTON ── */
#secret-login-btn {
    position: fixed;
    top: 14px;
    right: calc(20vmin + 10px);
    z-index: 9500;
    display: none;
    align-items: center;
    gap: 0.4rem;
    background: rgba(26,50,96,0.92);
    backdrop-filter: blur(12px);
    color: rgba(255,255,255,0.9);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.2);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
    animation: fadeInRight 0.3s ease;
}
#secret-login-btn.show { display: flex; }
#secret-login-btn:hover { background: rgba(42,74,128,0.95); color: #fff; }

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(16px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
    .am-hero__content-pane { left: 1.5rem; bottom: 2rem; }
    .am-hero__location-pill { right: 1.5rem; bottom: 2rem; }
    #radial-arc { width: 26vmin; height: 26vmin; }
}
