﻿/* ===== CSS VARIABLES: LIGHT THEME ===== */
:root {
    --bg-color: #f4f8fb;
    --text-color: #1f2937;
    --section-bg: #ffffff;
    --section-shadow: rgba(0, 0, 0, 0.05);
    --primary: #1e40af;
    --btn-bg: #ffffff;
    --btn-text: #1e40af;
    --blockquote-bg: #eef2ff;
    --blockquote-border: #7b61ff;
    --highlight: #00c2ff;
    --sticky-btn-color: #fff;
    --spotify-green: #1db954;
    --footer-color: #6b7280;
}

/* ===== DARK THEME OVERRIDE ===== */
body.dark-mode {
    --bg-color: #111827;
    --text-color: #e5e7eb;
    --section-bg: #1f2937;
    --section-shadow: rgba(255, 255, 255, 0.05);
    --primary: #3b82f6;
    --btn-bg: #1f2937;
    --btn-text: #e5e7eb;
    --blockquote-bg: #1e293b;
    --blockquote-border: #60a5fa;
    --highlight: #2563eb;
    --sticky-btn-color: #fff;
    --spotify-green: #1db954;
    --footer-color: #94a3b8;
}

/* ===== BASE STYLES ===== */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    scroll-behavior: smooth;
    transition: background 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

h1, h2, h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

p {
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #00c2ff, #7b61ff);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    margin-bottom: 1rem;
}

.btn-primary {
    display: inline-block;
    background-color: var(--btn-bg);
    color: var(--btn-text);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

    .btn-primary:hover {
        background-color: #f1f5f9;
        transform: scale(1.05);
    }

/* ===== SECTION STYLES ===== */
section {
    background: var(--section-bg);
    margin: 2rem 0;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px var(--section-shadow);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    transition: background 0.3s ease;
}

@keyframes fadeUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ===== SKILLS & EXPERIENCE ===== */
.skills ul, .experience ul {
    list-style: none;
    padding-left: 0;
}

.skills li, .experience li {
    margin-bottom: 0.5rem;
}

.job h3 {
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

/* ===== YOUTUBE CAROUSEL ===== */
.youtube .swiper {
    padding-top: 1rem;
}

.youtube iframe {
    width: 100%;
    height: 315px;
    border-radius: 12px;
    border: none;
}

/* Swiper controls */
.swiper-button-next,
.swiper-button-prev {
    color: #7b61ff;
    z-index: 10;
}

.swiper-pagination {
    z-index: 10;
}

/* ===== TESTIMONIALS ===== */
blockquote {
    font-style: italic;
    background-color: var(--blockquote-bg);
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    border-left: 4px solid var(--blockquote-border);
    border-radius: 12px;
}

/* ===== CONTACT FORM ===== */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

    form input,
    form textarea {
        padding: 0.75rem;
        font-size: 1rem;
        border-radius: 8px;
        border: 1px solid #d1d5db;
        width: 100%;
    }

    form button {
        background-color: var(--primary);
        color: white;
        border: none;
        padding: 0.75rem;
        border-radius: 8px;
        font-size: 1rem;
        cursor: pointer;
        transition: 0.3s ease;
    }

        form button:hover {
            background-color: #1e40af;
        }

/* ===== FOOTER ===== */
footer {
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    color: var(--footer-color);
}

/* ===== STICKY CTA BUTTON ===== */
.sticky-cta {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: var(--highlight);
    color: var(--sticky-btn-color);
    padding: 14px 20px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 999;
    font-size: 0.95rem;
}

    .sticky-cta a {
        color: white;
        text-decoration: none;
    }

/* ===== PODCAST BADGE ===== */
.hero-icons {
    margin-top: 1.5rem;
}

.podcast-link {
    display: inline-flex;
    align-items: center;
    background: var(--spotify-green);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    transition: background 0.3s ease;
    font-size: 0.95rem;
}

    .podcast-link:hover {
        background: #169c45;
    }

    .podcast-link img {
        width: 24px;
        height: 24px;
        margin-right: 0.5rem;
    }

/* ===== PODCAST FEED ===== */
.podcast-feed {
    background: var(--section-bg);
    padding: 2rem 1rem 3rem 1rem;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

    .podcast-feed h2 {
        margin-bottom: 0.5rem;
        font-size: 1.5rem;
    }

    .podcast-feed p {
        margin-bottom: 1.5rem;
        color: #4b5563;
    }

    .podcast-feed iframe {
        max-width: 100%;
        height: 600px;
        border-radius: 12px;
        border: none;
    }

/* ===== DARK MODE TOGGLE BUTTON ===== */
#theme-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1002;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .profile-img {
        width: 100px;
        height: 100px;
    }

    .btn-primary {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .youtube iframe {
        height: 250px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    section {
        padding: 1.5rem 1rem;
    }

    .sticky-cta {
        right: 10px;
        bottom: 120px;
        padding: 10px 16px;
    }
}
