:root {
    /* Dark Theme Colors - Green/Coral */
    --bg-primary: #0a0f0e;
    --bg-secondary: #0d1412;
    --bg-card: #152220;
    --bg-elevated: #1a2a28;

    /* Text Colors */
    --text-primary: #f5f5f7;
    --text-secondary: #c4d4d2;
    --text-muted: #8a9a98;

    /* Brand Colors - Green/Coral Theme */
    --brand-green: #11998e;
    --brand-teal: #4ecdc4;
    --brand-mint: #38ef7d;
    --brand-coral: #FF6B6B;
    --brand-peach: #ff8585;
    --brand-yellow: #ffd166;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --gradient-secondary: linear-gradient(135deg, #4ecdc4 0%, #11998e 100%);
    --gradient-accent: linear-gradient(135deg, #FF6B6B 0%, #ff8585 100%);
    --gradient-bg: radial-gradient(circle at 20% 50%, rgba(17, 153, 142, 0.08) 0%, transparent 50%),
                   radial-gradient(circle at 80% 80%, rgba(78, 205, 196, 0.08) 0%, transparent 50%);

    /* Effects */
    --glow-green: 0 0 20px rgba(17, 153, 142, 0.3);
    --glow-teal: 0 0 20px rgba(78, 205, 196, 0.3);
    --glow-coral: 0 0 20px rgba(255, 107, 107, 0.3);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);

    /* Border & Radius */
    --border-subtle: 1px solid rgba(255, 255, 255, 0.08);
    --border-glow: 1px solid rgba(17, 153, 142, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Legacy compatibility variables */
    --primary-color: #11998e;
    --secondary-color: #4ecdc4;
    --accent-color: #FF6B6B;
    --text-color: #f5f5f7;
    --text-light: #c4d4d2;
    --bg-color: #0a0f0e;
    --bg-light: #152220;
    --border-color: rgba(255, 255, 255, 0.08);
    --success-color: #38ef7d;
    --warning-color: #ffd166;
    --error-color: #FF6B6B;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    background-image: var(--gradient-bg);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(180%) blur(12px);
    background: rgba(15, 21, 42, 0.95);
    border-bottom: 1px solid rgba(17, 153, 142, 0.2);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.nav-container {
    max-width: min(1100px, 92%);
    margin: 0 auto;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    min-height: 60px;
    position: relative;
}

.nav-brand {
    display: none;
    align-items: center;
    gap: 10px;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    text-decoration: none;
}

.nav-brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0d0d12, #1a1a24);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255,255,255,0.05);
    border: 1px solid rgba(17, 153, 142, 0.3);
    overflow: hidden;
}
.nav-brand-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--success-color), var(--primary-color));
    border-radius: 14px;
    z-index: -1;
    animation: logo-glow 3s ease-in-out infinite;
    opacity: 0.7;
}
.nav-brand-icon svg {
    width: 24px;
    height: 24px;
}
@keyframes logo-glow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.02); }
}

.nav-brand-text {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    gap: 2px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a,
.nav-link {
    padding: 18px 20px;
    color: rgba(232, 236, 248, 0.85);
    font-weight: 600;
    transition: all 0.2s ease;
    font-size: 15px;
    white-space: nowrap;
    position: relative;
    display: block;
    text-decoration: none;
}

.nav-menu a::after,
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 50%;
    height: 3px;
    background: linear-gradient(90deg, #11998e, #38ef7d);
    transition: all 0.3s ease;
    opacity: 0;
}

.nav-menu a:hover,
.nav-link:hover {
    color: #fff;
    background: rgba(17, 153, 142, 0.1);
}

.nav-menu a:hover::after,
.nav-link:hover::after {
    left: 0;
    right: 0;
    opacity: 1;
}

.nav-menu a.active,
.nav-link.active {
    color: #fff;
    background: rgba(17, 153, 142, 0.15);
}

.nav-menu a.active::after,
.nav-link.active::after {
    left: 0;
    right: 0;
    opacity: 1;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.menu-label {
    display: none;
    position: absolute;
    right: 62px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #fff;
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.profile-img {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.profile-img i {
    font-size: 4rem;
    color: white;
}

.hero h1,
.hero h2 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 12px 0 10px;
    line-height: 1.15;
}

.hero .title {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 5px;
    opacity: 0.95;
}

.hero .subtitle {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Styles */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    color: var(--text-color);
    position: relative;
}

section h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* About Section */
.about {
    background: var(--bg-light);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-light);
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.expertise-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.expertise-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.expertise-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.expertise-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Recent Work */
.recent-work {
    background: var(--bg-light);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.work-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.work-card:hover {
    transform: translateY(-5px);
}

.work-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.work-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.work-card h3 {
    margin-bottom: 10px;
    color: var(--text-color);
}

.work-card p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s;
}

.btn-link:hover {
    transform: translateX(5px);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.contact h2 {
    color: white;
}

.contact h2::after {
    background: white;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.contact-item i {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-item p {
    opacity: 0.9;
}

/* CV Page Styles */
.cv-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.cv-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--primary-color);
}

.cv-header h1 {
    font-size: 2.5rem;
    color: var(--text-color);
}

.print-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s;
}

.print-btn:hover {
    background: var(--secondary-color);
}

.cv-section {
    margin-bottom: 50px;
}

.cv-section h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    text-align: left;
    display: flex;
    align-items: center;
    gap: 15px;
}

.cv-section h2::after {
    display: none;
}

.cv-section h2 i {
    font-size: 1.5rem;
}

.cv-content {
    padding-left: 20px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.info-item {
    padding: 10px 0;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--border-color);
}

.timeline-date {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.timeline-content .institution {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 5px;
}

.timeline-content .department,
.timeline-content .thesis {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.timeline-content ul {
    list-style: disc;
    margin-left: 20px;
    color: var(--text-light);
}

.publication-list {
    counter-reset: publication;
    list-style: none;
}

.publication-list li {
    counter-increment: publication;
    position: relative;
    padding-left: 40px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.publication-list li::before {
    content: counter(publication) ".";
    position: absolute;
    left: 0;
    font-weight: 600;
    color: var(--primary-color);
}

.project-item {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.project-item h3 {
    color: var(--text-color);
    margin-bottom: 10px;
}

.project-info {
    color: var(--text-light);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.course-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.course-item ul {
    list-style: none;
}

.course-item ul li {
    padding: 5px 0;
    color: var(--text-light);
}

.award-list {
    list-style: none;
}

.award-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.award-list li:last-child {
    border-bottom: none;
}

.language-grid {
    display: grid;
    gap: 20px;
}

.language-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.skill-bar {
    flex: 1;
    height: 30px;
    background: var(--bg-light);
    border-radius: 15px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.skill-category h4 {
    color: var(--text-color);
    margin-bottom: 15px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background: var(--bg-light);
    color: var(--text-light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
}

.references-note {
    color: var(--text-light);
    font-style: italic;
    text-align: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
}

/* Courses Page Styles */
.courses-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.courses-header {
    text-align: center;
    margin-bottom: 50px;
}

.courses-header h1 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.courses-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.search-bar {
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-bar i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 2px solid var(--border-color);
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text-color);
    font-weight: 500;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.course-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.course-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.course-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.course-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.course-code {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 10px;
}

.course-level {
    margin-bottom: 15px;
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.badge-lisans {
    background: #dbeafe;
    color: #1e40af;
}

.badge-yukseklisans {
    background: #fce7f3;
    color: #a21caf;
}

.badge-doktora {
    background: #fef3c7;
    color: #b45309;
}

.badge-new {
    background: #d1fae5;
    color: #065f46;
}

.course-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.course-materials {
    margin-top: 20px;
}

.course-materials h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.material-list {
    list-style: none;
    max-height: 200px;
    overflow: hidden;
    transition: max-height 0.3s;
}

.material-list.expanded {
    max-height: 1000px;
}

.material-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    margin-bottom: 5px;
    background: var(--bg-light);
    border-radius: 5px;
    text-decoration: none;
    color: var(--text-color);
    transition: background 0.3s, transform 0.3s;
}

.material-link:hover {
    background: var(--border-color);
    transform: translateX(5px);
}

.material-link i {
    color: var(--primary-color);
}

.course-actions {
    margin-top: 20px;
}

.btn-expand {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background 0.3s;
}

.btn-expand:hover {
    background: var(--secondary-color);
}

.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background: var(--bg-light);
}

.upload-area.dragover {
    border-color: var(--primary-color);
    background: var(--bg-light);
}

.upload-area i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.upload-area p {
    color: var(--text-light);
}

.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.info-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.info-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.info-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Footer */
footer {
    background: var(--bg-card);
    color: var(--text-primary);
    text-align: center;
    padding: 30px 0;
    margin-top: 80px;
    border-top: 1px solid var(--border-subtle);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-brand {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-card);
        border-right: 1px solid var(--border-subtle);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 20px 0;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0;
    }

    .nav-menu .nav-link {
        display: block;
        padding: 15px 20px;
        color: var(--text-primary);
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border-subtle);
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: rgba(17, 153, 142, 0.1);
        color: var(--brand-blue);
    }

    .hamburger {
        display: flex;
    }

    .menu-label {
        display: block;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .title {
        font-size: 1.2rem;
    }

    .expertise-grid,
    .work-grid {
        grid-template-columns: 1fr;
    }

    .info-grid,
    .course-grid,
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .cv-header {
        flex-direction: column;
        gap: 20px;
    }

    .timeline {
        padding-left: 20px;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-item::before {
        left: -6px;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .filter-tabs {
        overflow-x: auto;
        justify-content: flex-start;
    }
}

/* Publication and Project Stats Styles */
.publication-stats,
.project-stats {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    border-left: 4px solid var(--primary-color);
}

.publication-stats p,
.project-stats p {
    margin-bottom: 8px;
    font-weight: 500;
}

.publication-stats strong,
.project-stats strong {
    color: var(--primary-color);
}

/* ResearchGate and Google Scholar Icons */
.fab.fa-researchgate::before {
    content: "RG";
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.8em;
}

.fab.fa-google-scholar::before {
    content: "GS";
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.8em;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.modal.show {
    opacity: 1;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: var(--bg-card);
    border: var(--border-glow);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg), var(--glow-blue);
    max-width: 900px;
    width: 90%;
    max-height: 85vh;
    overflow: hidden;
    transition: transform var(--transition-base);
}

.modal.show .modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    background: var(--gradient-primary);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
}

.close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
    max-height: calc(85vh - 120px);
    overflow-y: auto;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

/* Main Container & Page Header */
.main-container {
    width: min(1200px, 92%);
    margin: 0 auto;
    padding: 2rem 1rem;
    min-height: calc(100vh - 200px);
}

.page-header {
    text-align: center;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-header p {
    color: var(--text-secondary);
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Topics List */
.topics-list {
    display: grid;
    gap: 1rem;
}

.topic-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(17, 153, 142, 0.05);
    border: 1px solid rgba(17, 153, 142, 0.1);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    text-decoration: none;
}

.topic-item:hover {
    background: rgba(17, 153, 142, 0.1);
    border-color: var(--brand-blue);
    transform: translateX(8px);
    box-shadow: var(--glow-blue);
}

.topic-number {
    min-width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.topic-content {
    flex: 1;
}

.topic-content h4 {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.topic-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.topic-item i.fa-external-link-alt {
    color: var(--brand-cyan);
    transition: transform var(--transition-base);
}

.topic-item:hover i.fa-external-link-alt {
    transform: translateX(4px);
}

/* Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Course Cards */
.course-card {
    background: linear-gradient(135deg, rgba(26, 31, 46, 0.7), rgba(20, 37, 58, 0.5));
    backdrop-filter: blur(10px);
    border: var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), var(--glow-blue);
    border-color: rgba(17, 153, 142, 0.3);
}

.course-card:hover::before {
    opacity: 1;
}

.course-image {
    height: 200px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.course-icon {
    font-size: 4rem;
    color: white;
    opacity: 0.9;
    z-index: 2;
}

.course-level-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
}

.course-content {
    position: relative;
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.course-header h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 700;
    flex: 1;
}

.course-code {
    background: rgba(17, 153, 142, 0.2);
    color: var(--brand-blue);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.course-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.course-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stat-item i {
    color: var(--brand-cyan);
}

.course-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--glow-blue);
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(17, 153, 142, 0.4);
}

.btn-secondary {
    background: rgba(17, 153, 142, 0.1);
    color: var(--brand-blue);
    border: 1px solid var(--brand-blue);
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-secondary:hover {
    background: rgba(17, 153, 142, 0.2);
    transform: translateY(-2px);
    box-shadow: var(--glow-blue);
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    background: rgba(17, 153, 142, 0.1);
    border: 1px solid rgba(17, 153, 142, 0.2);
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn:hover {
    background: rgba(17, 153, 142, 0.2);
    border-color: var(--brand-blue);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    box-shadow: var(--glow-blue);
}

/* Print Styles */
@media print {
    .navbar,
    .print-btn,
    footer {
        display: none;
    }

    .cv-container {
        max-width: 100%;
        margin: 0;
    }

    .cv-section {
        page-break-inside: avoid;
    }
}
/* =================================================================
   ANA SAYFA MODERN İYİLEŞTİRMELER - İzzet İnce Portfolio
   ================================================================= */

/* Hero Card ve İsim Başlık */
.hero-card {
    padding: 32px !important;
}

.hero h2 {
    font-size: 36px !important;
    font-weight: 700 !important;
    letter-spacing: -0.5px !important;
    line-height: 1.15 !important;
    margin: 12px 0 10px !important;
}

.kicker {
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    font-weight: 500 !important;
    font-size: 13px !important;
}

/* Badge Tasarımı - Modern Gradient */
.badges .badge {
    border: 1px solid rgba(17, 153, 142, 0.2) !important;
    padding: 8px 14px !important;
    border-radius: 8px !important;
    font-size: 12.5px !important;
    background: linear-gradient(135deg, rgba(17, 153, 142, 0.08), rgba(0, 209, 178, 0.05)) !important;
    font-weight: 500 !important;
    letter-spacing: 0.2px !important;
    box-shadow: 0 2px 8px rgba(17, 153, 142, 0.05) !important;
}

/* Sosyal Medya İkonları */
.social {
    display: flex !important;
    gap: 12px !important;
    margin-top: 18px !important;
}

.social a {
    width: 40px !important;
    height: 40px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 12px !important;
    border: 1px solid rgba(17, 153, 142, 0.3) !important;
    background: white !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

.social a i {
    color: #11998e !important;
    font-size: 17px !important;
    transition: all 0.3s ease !important;
}

.social a:hover {
    background: #11998e !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(17, 153, 142, 0.25) !important;
    border-color: #11998e !important;
}

.social a:hover i {
    color: white !important;
    transform: scale(1.1) !important;
}

/* Light Mode */
:root.light .social a {
    background: #f7f9fc !important;
    border-color: rgba(17, 153, 142, 0.25) !important;
}

:root.light .social a i {
    color: #11998e !important;
}

:root.light .social a:hover {
    background: #11998e !important;
    border-color: #11998e !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 32px !important;
    }
    
    .hero-card {
        padding: 24px !important;
    }
}
