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

/* ===== RESET & VARIABLES ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #050508;
    --gold: #d4a853;
    --gold2: #f0d590;
    --blue: #1e3a5f;
    --blue-l: #2d5a8e;
    --teal: #0d7377;
    --purple: #4a2d6e;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: #fff;
    line-height: 1.7;
    overflow-x: hidden;
}

/* ===== ANIMATED MESH BACKGROUND ===== */
.mesh-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0; pointer-events: none;
}

.mesh-bg .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.mesh-bg .orb:nth-child(1) {
    width: 600px; height: 600px;
    background: var(--blue-l);
    top: -10%; left: -10%;
    animation-delay: 0s;
}

.mesh-bg .orb:nth-child(2) {
    width: 500px; height: 500px;
    background: var(--teal);
    top: 30%; right: -15%;
    animation-delay: -7s;
    animation-duration: 25s;
}

.mesh-bg .orb:nth-child(3) {
    width: 400px; height: 400px;
    background: var(--purple);
    bottom: 10%; left: 20%;
    animation-delay: -14s;
    animation-duration: 22s;
}

.mesh-bg .orb:nth-child(4) {
    width: 350px; height: 350px;
    background: var(--gold);
    top: 60%; right: 30%;
    animation-delay: -5s;
    animation-duration: 28s;
    opacity: 0.08;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 40px) scale(0.95); }
    75% { transform: translate(30px, 20px) scale(1.05); }
}

.content { position: relative; z-index: 1; }

/* ===== NAV — glass ===== */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 3rem; height: 70px;
    background: rgba(5, 5, 8, 0.4);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.3s;
}

nav.scrolled { background: rgba(5, 5, 8, 0.85); }

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem; font-weight: 700;
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links { display: flex; gap: 2rem; list-style: none; }

.nav-links a {
    color: rgba(255,255,255,0.5); text-decoration: none;
    font-size: 0.78rem; font-weight: 500;
    letter-spacing: 1.5px; text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--gold); }

.lang-btns { display: flex; gap: 0.4rem; }

.lang-btns button {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.5);
    padding: 0.3rem 0.7rem; font-size: 0.7rem;
    cursor: pointer; border-radius: 6px;
    font-family: 'Inter', sans-serif; font-weight: 600;
    transition: all 0.3s; backdrop-filter: blur(10px);
}

.lang-btns button:hover,
.lang-btns button.active {
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    border-color: var(--gold);
    color: #000;
}

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 1.5px; background: var(--gold); transition: 0.3s; }

/* ===== HERO — FULL SCREEN PHOTO ===== */
.hero {
    margin-top: 70px;
    min-height: 100vh;
    display: flex; align-items: center;
    position: relative; overflow: hidden;
}

.hero-bg-photo {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}

.hero-bg-photo img {
    width: 100%; height: 100%; object-fit: cover;
    object-position: top center;
    filter: brightness(0.3);
}

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg,
        rgba(5,5,8,0.7) 0%,
        rgba(30,58,95,0.4) 50%,
        rgba(5,5,8,0.8) 100%);
    z-index: 1;
}

.hero-grain {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2; opacity: 0.03; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.hero-content {
    position: relative; z-index: 3;
    max-width: 1200px; margin: 0 auto;
    padding: 2rem 4rem; width: 100%;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(212, 168, 83, 0.1);
    border: 1px solid rgba(212, 168, 83, 0.2);
    padding: 0.5rem 1.2rem; border-radius: 50px;
    font-size: 0.75rem; color: var(--gold);
    font-weight: 500; letter-spacing: 2px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
    animation: fadeUp 1s ease 0.2s both;
}

.hero-badge .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--gold);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-name {
    font-family: 'Playfair Display', serif;
    font-size: 5rem; font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1rem;
    animation: fadeUp 1s ease 0.4s both;
}

.hero-name .gold {
    background: linear-gradient(135deg, var(--gold), var(--gold2), var(--gold));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    font-size: 1.15rem; color: rgba(255,255,255,0.6);
    font-weight: 300; margin-bottom: 2rem;
    max-width: 550px; line-height: 1.8;
    animation: fadeUp 1s ease 0.6s both;
}

.hero-stats-row {
    display: flex; gap: 2rem; flex-wrap: wrap;
    animation: fadeUp 1s ease 0.8s both;
}

.h-stat {
    padding: 1.5rem 2rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    min-width: 140px;
    transition: border-color 0.3s, transform 0.3s;
}

.h-stat:hover {
    border-color: rgba(212,168,83,0.3);
    transform: translateY(-3px);
}

.h-stat .num {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem; font-weight: 700;
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

.h-stat .lbl {
    font-size: 0.72rem; color: rgba(255,255,255,0.4);
    text-transform: uppercase; letter-spacing: 1.5px;
    font-weight: 500; margin-top: 0.2rem;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== SECTIONS ===== */
section { padding: 7rem 2rem; position: relative; }
.container { max-width: 1100px; margin: 0 auto; }

.sec-label {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-size: 0.7rem; letter-spacing: 4px;
    text-transform: uppercase; color: var(--gold);
    font-weight: 500; margin-bottom: 1rem;
}

.sec-label::before {
    content: ''; width: 30px; height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

.sec-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem; font-weight: 700;
    margin-bottom: 1rem; line-height: 1.2;
}

.sec-desc {
    color: rgba(255,255,255,0.4);
    font-size: 0.95rem; font-weight: 300;
    max-width: 500px; margin-bottom: 3rem;
}

/* ===== BIOGRAPHY — glass card ===== */
.bio-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 24px;
    padding: 3.5rem;
    backdrop-filter: blur(20px);
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.bio-text {
    font-size: 0.95rem; color: rgba(255,255,255,0.55);
    font-weight: 300; line-height: 2.1;
}

.bio-facts { list-style: none; }

.bio-facts li {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.bio-facts .k { color: rgba(255,255,255,0.35); font-size: 0.85rem; }

.bio-facts .v {
    color: var(--gold2); font-weight: 600;
    font-size: 0.88rem; text-align: right;
}

/* ===== CAREER — modern cards ===== */
.career-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.career-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(15px);
    transition: border-color 0.4s, transform 0.4s;
    position: relative;
    overflow: hidden;
}

.career-card::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--teal), var(--blue-l));
    opacity: 0;
    transition: opacity 0.4s;
}

.career-card:hover::before { opacity: 1; }

.career-card:hover {
    border-color: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.career-card .year {
    font-family: 'Playfair Display', serif;
    font-size: 2rem; font-weight: 700;
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.career-card h3 {
    color: #fff; font-size: 0.95rem;
    font-weight: 600; margin-bottom: 0.3rem;
}

.career-card p {
    color: rgba(255,255,255,0.4);
    font-size: 0.83rem; font-weight: 300;
}

/* ===== ACHIEVEMENTS — big numbers ===== */
.ach-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.ach-item {
    text-align: center;
    padding: 3rem 1.5rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    transition: all 0.4s;
}

.ach-item:hover {
    background: rgba(212,168,83,0.05);
    border-color: rgba(212,168,83,0.15);
    transform: translateY(-5px);
}

.ach-item .big-num {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem; font-weight: 800;
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.ach-item h3 {
    font-size: 0.75rem; letter-spacing: 2px;
    text-transform: uppercase; color: rgba(255,255,255,0.6);
    font-weight: 600; margin: 0.8rem 0 0.4rem;
}

.ach-item p {
    color: rgba(255,255,255,0.3);
    font-size: 0.8rem; font-weight: 300;
}

/* ===== GALLERY — modern masonry ===== */
.gal-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 120px;
    gap: 0.8rem;
}

.gal-item {
    border-radius: 16px; overflow: hidden;
    cursor: pointer; position: relative;
    transition: transform 0.4s;
}

.gal-item:hover { transform: scale(1.02); }

.gal-item::after {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(transparent 50%, rgba(0,0,0,0.6));
    opacity: 0; transition: opacity 0.4s;
}

.gal-item:hover::after { opacity: 1; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; }
.gal-item:nth-child(1) { grid-column: span 5; grid-row: span 3; }
.gal-item:nth-child(2) { grid-column: span 4; grid-row: span 2; }
.gal-item:nth-child(3) { grid-column: span 3; grid-row: span 2; }
.gal-item:nth-child(4) { grid-column: span 4; grid-row: span 2; }
.gal-item:nth-child(5) { grid-column: span 3; grid-row: span 1; }

/* ===== GREETINGS ===== */
.greet-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.greet-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(15px);
    position: relative;
    transition: all 0.4s;
}

.greet-card:hover {
    border-color: rgba(212,168,83,0.15);
    transform: translateY(-3px);
}

.greet-card .quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 5rem; line-height: 1;
    background: linear-gradient(135deg, var(--gold), transparent);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    position: absolute; top: 1rem; left: 2rem;
}

.greet-card .text {
    position: relative; z-index: 1;
    color: rgba(255,255,255,0.7);
    font-style: italic; font-weight: 300;
    font-size: 0.95rem; line-height: 1.9;
    margin-top: 1.5rem; margin-bottom: 1.5rem;
}

.greet-card .author-line {
    display: flex; align-items: center; gap: 1rem;
}

.greet-card .author-dot {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--teal));
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 700; color: #000;
}

.greet-card .auth { color: #fff; font-weight: 600; font-size: 0.9rem; }
.greet-card .role { color: rgba(255,255,255,0.35); font-size: 0.78rem; }

/* ===== CONTACT ===== */
.contact-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.ct-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(15px);
    text-align: center;
    transition: all 0.4s;
}

.ct-card:hover {
    border-color: rgba(212,168,83,0.2);
    transform: translateY(-3px);
}

.ct-card .icon { font-size: 1.5rem; margin-bottom: 1rem; }

.ct-card h3 {
    font-size: 0.7rem; letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold); font-weight: 600;
    margin-bottom: 0.5rem;
}

.ct-card p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem; font-weight: 300;
}

/* ===== FOOTER ===== */
footer {
    text-align: center; padding: 4rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.04);
}

footer .f-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem; font-weight: 700;
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

footer p {
    color: rgba(255,255,255,0.25);
    font-size: 0.78rem; font-weight: 300;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none; position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(20px);
    z-index: 9999;
    align-items: center; justify-content: center;
    cursor: pointer;
}

.lightbox.active { display: flex; }

.lightbox img {
    max-width: 90%; max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }

    .nav-links.open {
        display: flex; flex-direction: column;
        position: absolute; top: 70px; left: 0; right: 0;
        background: rgba(5,5,8,0.95);
        backdrop-filter: blur(30px);
        padding: 1.5rem 2rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .hero-name { font-size: 2.8rem; }
    .hero-content { padding: 2rem; }
    .bio-card { grid-template-columns: 1fr; padding: 2rem; }
    .ach-row { grid-template-columns: repeat(2, 1fr); }

    .gal-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }

    .gal-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
    .gal-item:nth-child(n) { grid-column: span 1; grid-row: span 1; }

    section { padding: 4rem 1.5rem; }
    nav { padding: 0 1.5rem; }
    .sec-title { font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero-name { font-size: 2rem; }
    .hero-stats-row { gap: 1rem; }
    .h-stat { min-width: 110px; padding: 1rem 1.2rem; }
    .ach-row { grid-template-columns: 1fr 1fr; }
    .ach-item .big-num { font-size: 2.5rem; }
}
