/* 
    Mohamed Banin | Premium Personal Brand Portfolio
    Visionary Executive Overhaul
*/

:root {
    --bg-deep: #05070A;
    --bg-luxury: #0A0F14;
    --brand-gold: #D4AF37;
    --brand-silver: #94A3B8;
    --text-primary: #F8FAFC;
    --text-muted: #64748B;
    --accent-cyan: #06B6D4;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition-premium: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

h1, h2, h3, .serif {
    font-family: 'Playfair Display', serif;
    font-weight: 300;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* --- Navigation & Globals --- */
section { padding: 9rem 0; }

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brand-gold);
    margin-bottom: 2rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--brand-silver) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* --- Hero --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 10% 10%, rgba(212, 175, 55, 0.03) 0%, transparent 40%);
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-role {
    font-size: 1.8rem;
    color: var(--brand-silver);
    margin-bottom: 2rem;
    max-width: 800px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    border-left: 1px solid var(--brand-gold);
    padding-left: 1.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.line { width: 30px; height: 1px; background: var(--brand-gold); }

/* --- Narrative --- */
.narrative-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.portrait-frame {
    position: relative;
    border-radius: 4px; /* Clean rectangular aesthetic */
    overflow: visible;
}

.portrait-frame img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    filter: brightness(0.9);
}

/* Restored Award Badges (High-Impact Circle) */
.award-badge {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--brand-gold), #8B732A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-deep);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
    z-index: 10;
    transition: var(--transition-premium);
    cursor: pointer;
}

.award-badge i { 
    width: 28px; 
    height: 28px; 
    stroke-width: 2px;
}

.award-badge.public-speaker { top: 15%; right: -8%; }
.award-badge.excellence { bottom: 20%; left: -8%; }

.award-badge:hover { 
    transform: translateY(-8px) scale(1.15); 
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.5); 
}

/* Tooltip for badges */
.award-badge .tooltip {
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-luxury);
    color: var(--text-primary);
    padding: 0.6rem 1rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-premium);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.award-badge:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Narrative Text */
.text-block p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.mission-text {
    color: var(--text-primary) !important;
    font-weight: 400;
    font-style: italic;
    border-left: 2px solid var(--accent-cyan);
    padding-left: 1.5rem;
}

.manifesto-lead {
    margin-top: 3rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--brand-gold);
    opacity: 0.8;
}

/* --- Strategic Stewardship (Bento) --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 320px);
    gap: 1.5rem;
    margin-top: 4rem;
}

.bento-item {
    background: var(--bg-luxury);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition-premium);
    position: relative;
}

.bento-item:hover { border-color: var(--brand-gold); }

.large { grid-column: span 2; }
.tall { grid-row: span 2; }

.bento-icon {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    color: var(--brand-gold);
    opacity: 0.4;
    width: 32px;
}

.bento-content h3 { font-size: 1.6rem; margin-bottom: 0.8rem; color: var(--text-primary); }
.bento-content p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

/* --- Public Speaking --- */
.speaking-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.speaking-topics {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.topic-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.topic-number { font-weight: 800; color: var(--brand-gold); font-size: 0.9rem; margin-top: 5px; }
.topic-item h3 { font-size: 1.3rem; font-weight: 400; color: var(--text-primary); }

/* --- Footer / Liaison --- */
.footer {
    text-align: center;
    padding: 10rem 0 5rem;
    background: linear-gradient(to top, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
}

.cta-button {
    display: inline-block;
    margin-top: 3rem;
    padding: 1.2rem 3rem;
    border: 1px solid var(--brand-gold);
    color: var(--brand-gold);
    text-decoration: none;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-premium);
}

.cta-button:hover { background: var(--brand-gold); color: black; }

.footer-bottom {
    margin-top: 6rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.5;
}

/* --- Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- Responsive --- */
@media (max-width: 968px) {
    .container { padding: 0 1.5rem; }
    section { padding: 5rem 0; }
    
    .hero { min-height: 100vh; height: auto; padding-top: 8rem; padding-bottom: 4rem; }
    .hero-title { font-size: clamp(2.5rem, 10vw, 3.5rem); margin-bottom: 1rem; }
    .hero-role { font-size: 1.4rem; margin-bottom: 1.5rem; }
    .hero-subtitle { font-size: 1rem; }
    
    .scroll-indicator {
        position: relative;
        bottom: 0;
        left: 0;
        margin-top: 3rem;
    }
    
    .narrative-grid, .speaking-layout { grid-template-columns: 1fr; gap: 3.5rem; }
    
    .bento-grid { grid-template-columns: 1fr; grid-template-rows: auto; gap: 1rem; margin-top: 2.5rem; }
    .bento-item { padding: 1.8rem; }
    .large, .tall { grid-column: auto; grid-row: auto; }
    
    .award-badge { position: absolute; margin: 0; width: 50px; height: 50px; }
    .award-badge i { width: 22px; height: 22px; }
    .award-badge.public-speaker { top: -10px; right: -5px; }
    .award-badge.excellence { bottom: -10px; left: -5px; }
    
    .footer { padding: 5rem 0 3rem; }
    .cta-button { padding: 1rem 2rem; width: 100%; text-align: center; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.5rem; }
}
