:root {
    --primary: #0f172a; /* Slate 900 */
    --accent: #c5a059; /* Champagne Gold */
    --accent-hover: #b08e4d;
    --text-main: #334155; /* Slate 700 */
    --text-light: #64748b; /* Slate 500 */
    --bg-light: #f8fafc; /* Ghost White */
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 992px) {
    .grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .reversed {
        direction: ltr; /* Reset orientation for mobile */
    }
}

/* Header & Nav */
.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
    color: var(--primary);
}

.logo-ai {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--accent);
    border: 2px solid var(--accent);
    border-radius: 50%;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    margin-right: 0;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.2);
}

.logo span {
    color: var(--accent);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero .highlight {
    color: var(--accent);
}

.hero p {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(197, 160, 89, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-accent {
    background: var(--primary);
    color: var(--white);
}

.btn-accent:hover {
    background: #1e293b;
    transform: translateY(-2px);
}

/* Profile Sections */
.profile-section {
    padding: 100px 0;
    background: var(--white);
}

.section-alt {
    background: #f1f5f9;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(197, 160, 89, 0.1);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-alt {
    background: rgba(15, 23, 42, 0.05);
    color: var(--primary);
}

.profile-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.accent {
    color: var(--accent);
}

.summary {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.experience h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.exp-item {
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.exp-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

.exp-details {
    margin: 1rem 0 0 1rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.exp-details li {
    margin-bottom: 0.5rem;
}

.education {
    margin-top: 2.5rem;
    margin-bottom: 2rem;
}

.edu-item h4 {
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.profile-visual {
    display: flex;
    justify-content: center;
}

.image-wrapper {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 4/5;
    background: #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.placeholder-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.avatar-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mute-btn {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.mute-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.mute-btn:active {
    transform: scale(0.95);
}

.bg-canan {
    background-image: url('canan.jpg');
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--primary);
    color: var(--white);
}

.contact-section h2 {
    color: var(--white);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.contact-card h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.contact-card p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    background: #0b1120;
    color: #64748b;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-left: 2rem;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--primary);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.3s;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

.lang-btn.active {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.3);
}

.lang-btn:hover:not(.active) {
    background: rgba(197, 160, 89, 0.1);
}

@media (max-width: 768px) {
    .lang-switcher {
        margin-left: 0;
        margin-top: 1rem;
    }
    .nav {
        flex-direction: column;
        height: auto;
        padding: 1rem 0;
    }
    .nav-links {
        margin-top: 1rem;
        gap: 1rem;
    }
}
