/* ===== Custom Properties & Tokens ===== */
:root {
    --bg-color: #0a0a0f;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    
    --primary-color: #6366f1; /* Indigo */
    --secondary-color: #ec4899; /* Pink */
    --accent-color: #06b6d4; /* Cyan */
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    --font-main: 'Outfit', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== Background Animations ===== */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.5;
    animation: float 20s infinite alternate ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary-color);
    bottom: -200px;
    right: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    top: 40%;
    left: 40%;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

/* ===== Glassmorphism Utilities ===== */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
}

/* ===== Navigation ===== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.glass-nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    border-radius: 50px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo span {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links li a {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.nav-links li a:hover {
    color: var(--text-primary);
}

.btn-nav {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    padding: 10px 24px;
    border-radius: 30px;
    color: white !important;
    font-weight: 600;
    transition: var(--transition);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 20px 20px;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.greeting {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.name {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
    background: linear-gradient(to right, #fff, #a0a0b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.role {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.role span {
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.image-wrapper {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    padding: 10px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float-img 6s ease-in-out infinite;
}

@keyframes float-img {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    z-index: 2;
}

.glow-ring {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    border-radius: 50%;
    background: conic-gradient(var(--primary-color), var(--secondary-color), var(--accent-color), var(--primary-color));
    z-index: 1;
    animation: spin 4s linear infinite;
    filter: blur(15px);
    opacity: 0.7;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* ===== Sections General ===== */
section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.divider {
    height: 4px;
    width: 80px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    margin: 0 auto;
    border-radius: 2px;
}

.section-subtitle {
    margin-top: 15px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ===== Services Section ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(to bottom right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-secondary);
}

/* ===== Projects Section ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    display: block;
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.project-card:hover::before {
    transform: translateX(100%);
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.highlight-card {
    border-color: rgba(6, 182, 212, 0.3);
}

.highlight-card:hover {
    border-color: var(--accent-color);
}

.project-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.project-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.project-link {
    color: var(--accent-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-link i {
    transition: var(--transition);
}

.project-card:hover .project-link i {
    transform: translateX(5px);
}

/* ===== Music Section ===== */
.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.music-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    transition: var(--transition);
}

.music-card:hover {
    transform: scale(1.02);
}

.music-card.spotify:hover {
    border-color: #1DB954;
}

.music-card.elevenlabs:hover {
    border-color: var(--secondary-color);
}

.music-logo {
    font-size: 3rem;
}

.spotify .music-logo {
    color: #1DB954;
}

.elevenlabs .music-logo {
    color: var(--secondary-color);
}

/* ===== Contact Section ===== */
.contact-box {
    text-align: center;
    padding: 60px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-box p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.pulse-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    padding: 16px 40px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(99, 102, 241, 0); }
    100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

/* ===== Footer ===== */
footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--glass-border);
    margin-top: 50px;
}

footer p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--text-primary);
}

/* ===== Expertise Section ===== */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.expertise-card {
    padding: 40px;
}

.expertise-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.expertise-card ul {
    list-style: none;
}

.expertise-card ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.expertise-card ul li i {
    color: var(--accent-color);
}

.edu-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.edu-item p {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.edu-item .year {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(236, 72, 153, 0.2);
    color: var(--secondary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ===== Socials Section ===== */
.socials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    transition: var(--transition);
}

.social-card:hover {
    transform: translateY(-5px);
}

.social-logo {
    font-size: 2.5rem;
}

.yt-card:hover { border-color: #ff0000; }
.yt-card .social-logo { color: #ff0000; }

.ig-card:hover { border-color: #E1306C; }
.ig-card .social-logo { 
    background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-card h3 { font-size: 1.2rem; margin-bottom: 5px; }
.social-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* ===== Videos Section ===== */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.video-card {
    padding: 20px;
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-card h3 { font-size: 1.1rem; margin-bottom: 10px; line-height: 1.4; }
.video-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    .name { font-size: 3.5rem; }
    .hero { flex-direction: column; text-align: center; padding-top: 150px; }
    .hero-cta { justify-content: center; }
    .hero-desc { margin: 0 auto 40px; }
}

@media (max-width: 768px) {
    .glass-nav { border-radius: 20px; padding: 15px 20px; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 20px;
        border-radius: 0 0 20px 20px;
        border: 1px solid var(--glass-border);
        border-top: none;
    }
    .nav-links.active { display: flex; }
    .hamburger { display: block; }
    
    .name { font-size: 2.8rem; }
    .image-wrapper { width: 280px; height: 280px; }
    .section-header h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
    /* Adjust text sizes */
    .name { font-size: 2.2rem; }
    .role { font-size: 1.4rem; }
    .hero-desc { font-size: 1rem; }
    .section-header h2 { font-size: 1.8rem; }
    .greeting { font-size: 1.2rem; }
    
    /* Hero Adjustments */
    .hero { padding-top: 110px; }
    .image-wrapper { width: 220px; height: 220px; }
    .hero-cta { flex-direction: column; width: 100%; gap: 15px; }
    .hero-cta .btn { width: 100%; }
    
    /* Ensure grids don't overflow on tiny screens */
    .projects-grid, 
    .videos-grid, 
    .music-grid, 
    .expertise-grid, 
    .services-grid, 
    .socials-grid {
        grid-template-columns: 1fr;
    }
    
    /* Adjust padding for smaller cards */
    section { padding: 60px 15px; }
    .service-card, 
    .project-card, 
    .music-card, 
    .social-card, 
    .expertise-card, 
    .video-card {
        padding: 20px 15px;
    }
    
    .contact-box { padding: 40px 20px; }
    .pulse-btn { width: 100%; justify-content: center; }
}
