   /* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* Modern LinkedIn-style Design System */
        :root {
            /* Kremsi tonlar ve modern renkler */
            --bg-primary: #f8f6f2;
            --bg-secondary: #f4f2ed;
            --bg-tertiary: #ebe9e4;
            --bg-card: #ffffff;
            --bg-hover: #f0ede8;
            
            /* Profesyonel renkler */
            --text-primary: #2d2d2d;
            --text-secondary: #5e5e5e;
            --text-muted: #8a8a8a;
            --text-link: #0a66c2;
            
            /* Accent renkler (sadece ikonlar için) */
            --accent-blue: #0a66c2;
            --accent-green: #00875a;
            --accent-purple: #8b5cf6;
            --accent-orange: #ea580c;
            --accent-red: #dc2626;
            
            /* Gölgeler */
            --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-sm: 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-md: 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
            --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
            
            /* Border ve Radius */
            --border-color: #e5e2dd;
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 16px;
            --radius-full: 9999px;
        }

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


        /* Container Styles */
        .profile-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem 1rem;
        }

        /* Hero Banner */
        .hero-banner {
            background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://www.ercanatay.com/wp-content/uploads/header-about-scaled.jpg');
            background-size: cover;
            background-position: center;
            height: 300px;
            border-radius: var(--radius-lg) var(--radius-lg) 0 0;
            position: relative;
            overflow: hidden;
        }

        .hero-banner::before {
            content: '';
            position: absolute;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
            animation: float 20s infinite ease-in-out;
        }

        @keyframes float {
            0%, 100% { transform: translate(-10%, -10%); }
            50% { transform: translate(10%, 10%); }
        }

        /* Profile Card */
        .profile-card {
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-md);
            margin-top: -80px;
            position: relative;
            overflow: visible;
        }

        .profile-header {
            padding: 2rem;
            border-bottom: 1px solid var(--border-color);
        }

        .profile-photo {
            width: 150px;
            height: 150px;
            border-radius: var(--radius-full);
            border: 4px solid var(--bg-card);
            background: var(--bg-card);
            margin-top: -75px;
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            position: relative;
            flex-shrink: 0;
        }

        .profile-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            cursor: pointer;
        }

        .profile-info {
            margin-top: 1.5rem;
        }

        .profile-name {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--text-primary);
        }

        .profile-title {
            font-size: 1.2rem;
            font-weight: 500;
            color: var(--text-secondary);
            margin-bottom: 1rem;
        }

        .profile-stats {
            display: flex;
            gap: 2rem;
            margin-top: 1.5rem;
            flex-wrap: wrap;
        }

        .stat-item {
            text-align: center;
        }

        .stat-number {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--accent-blue);
        }

        .stat-label {
            font-size: 0.875rem;
            color: var(--text-muted);
        }

        /* Content Sections */
        .content-section {
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-sm);
            padding: 2rem;
            margin-bottom: 1.5rem;
            transition: all 0.3s ease;
        }

        .content-section:hover {
            box-shadow: var(--shadow-md);
        }

        .section-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid var(--border-color);
        }

        .section-icon {
            width: 40px;
            height: 40px;
            background: var(--bg-secondary);
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--accent-blue);
        }

        .section-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--text-primary);
        }

        /* Timeline Style */
        .timeline {
            position: relative;
            padding-left: 2rem;
        }

        .timeline::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 2px;
            background: var(--border-color);
        }

        .timeline-item {
            position: relative;
            padding-bottom: 2rem;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            left: -2.5rem;
            top: 0.5rem;
            width: 12px;
            height: 12px;
            background: var(--bg-card);
            border: 2px solid var(--accent-blue);
            border-radius: var(--radius-full);
        }

        .timeline-content {
            background: var(--bg-secondary);
            padding: 1.5rem;
            border-radius: var(--radius-md);
            transition: all 0.3s ease;
        }

        .timeline-content:hover {
            background: var(--bg-hover);
            transform: translateX(5px);
        }

        .timeline-date {
            font-size: 0.875rem;
            color: var(--text-muted);
            margin-bottom: 0.5rem;
        }

        .timeline-title {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
        }

        .timeline-subtitle {
            color: var(--text-secondary);
            font-size: 0.95rem;
        }

        .timeline-description {
            margin-top: 0.75rem;
            font-size: 0.875rem;
            color: var(--text-secondary);
            line-height: 1.6;
        }

        /* University Logo Styles */
        .timeline-item.with-logo {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
        }

        .timeline-item.with-logo::before {
            display: none; /* Hide the default dot for items with logo */
        }

        .university-logo {
            width: 60px;
            height: 60px;
            flex-shrink: 0;
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            margin-left: -2.5rem;
            margin-top: 0.5rem;
            background: var(--bg-card);
            position: relative;
            z-index: 2;
        }

        .university-logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            padding: 8px;
        }

        .timeline-content.with-logo {
            flex: 1;
            margin-left: 0;
        }

        /* Skills Grid */
        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            gap: 0.75rem;
        }

        .skill-tag {
            background: var(--bg-secondary);
            padding: 0.75rem 1rem;
            border-radius: var(--radius-full);
            font-size: 0.875rem;
            font-weight: 500;
            text-align: center;
            transition: all 0.3s ease;
            cursor: default;
        }

        .skill-tag:hover {
            background: var(--bg-hover);
            transform: translateY(-2px);
            box-shadow: var(--shadow-sm);
        }

        /* Certificate Gallery */
        .cert-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
            gap: 1rem;
        }

        .cert-item {
            background: var(--bg-secondary);
            padding: 0.5rem;
            border-radius: var(--radius-sm);
            aspect-ratio: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .cert-item:hover {
            transform: scale(1.05);
            box-shadow: var(--shadow-md);
        }

        .cert-item img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        /* Book Cards */
        .books-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
        }

        .book-card {
            background: var(--bg-secondary);
            border-radius: var(--radius-md);
            padding: 1.5rem;
            text-align: center;
            transition: all 0.3s ease;
        }

        .book-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .book-cover {
            width: 120px;
            height: 160px;
            margin: 0 auto 1rem;
            border-radius: var(--radius-sm);
            overflow: hidden;
            box-shadow: var(--shadow-md);
        }

        .book-cover img {
            width: 100%;
            height: 100%;
        }

        /* Course Cards */
        .course-card {
            background: var(--bg-secondary);
            padding: 1.5rem;
            border-radius: var(--radius-md);
            margin-bottom: 1rem;
            transition: all 0.3s ease;
        }

        .course-card:hover {
            background: var(--bg-hover);
            transform: translateX(5px);
            box-shadow: var(--shadow-sm);
        }

        .course-header {
            display: flex;
            align-items: start;
            justify-content: space-between;
            margin-bottom: 1rem;
        }

        .course-title {
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 0.25rem;
        }

        .course-meta {
            font-size: 0.875rem;
            color: var(--text-muted);
        }

        .course-skills {
            font-size: 0.875rem;
            color: var(--text-secondary);
            line-height: 1.6;
        }

        .cert-links {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 0.75rem;
        }

        .cert-link {
            display: inline-flex;
            align-items: center;
            gap: 0.375rem;
            background: var(--bg-card);
            color: var(--text-secondary);
            padding: 0.5rem 0.875rem;
            border-radius: var(--radius-full);
            text-decoration: none;
            font-size: 0.8rem;
            font-weight: 500;
            border: 1px solid var(--border-color);
            transition: all 0.2s ease;
        }

        .cert-link:hover {
            background: var(--accent-blue);
            color: white;
            border-color: var(--accent-blue);
        }

        /* Award Cards */
        .award-card {
            background: var(--bg-secondary);
            padding: 1.5rem;
            border-radius: var(--radius-md);
            text-align: center;
            transition: all 0.3s ease;
        }

        .award-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-md);
        }

        .award-icon {
            font-size: 2rem;
            color: var(--accent-orange);
            margin-bottom: 1rem;
        }

        /* Biography Accordion */
        .bio-accordion {
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            overflow: hidden;
        }

        .bio-item {
            border-bottom: 1px solid var(--border-color);
        }

        .bio-item:last-child {
            border-bottom: none;
        }

        .bio-header {
            background: var(--bg-secondary);
            padding: 1rem 1.5rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: all 0.3s ease;
        }

        .bio-header:hover {
            background: var(--bg-hover);
        }

        .bio-header.active {
            background: var(--accent-blue);
            color: white;
        }

        .bio-content {
            padding: 1.5rem;
            background: var(--bg-card);
            display: none;
        }

        .bio-content.active {
            display: block;
        }

        /* Action Buttons */
        .action-btn {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            padding: 0.75rem 1.5rem;
            border-radius: var(--radius-full);
            font-weight: 500;
            color: var(--text-primary);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .action-btn:hover {
            background: var(--bg-hover);
            border-color: var(--accent-blue);
            color: var(--accent-blue);
            transform: translateY(-2px);
            box-shadow: var(--shadow-sm);
        }

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

        .action-btn-primary:hover {
            background: #084d9b;
            border-color: #084d9b;
            color: white;
        }

        /* Badge Style */
        .badge {
            display: inline-flex;
            align-items: center;
            gap: 0.25rem;
            background: var(--bg-secondary);
            padding: 0.25rem 0.75rem;
            border-radius: var(--radius-full);
            font-size: 0.75rem;
            font-weight: 500;
        }

        .badge-icon {
            width: 16px;
            height: 16px;
        }

        /* Social Links */
        .social-links {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .social-link {
            width: 40px;
            height: 40px;
            background: var(--bg-secondary);
            border-radius: var(--radius-full);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-secondary);
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .social-link:hover {
            background: var(--accent-blue);
            color: white;
            transform: translateY(-3px);
            box-shadow: var(--shadow-md);
        }

        /* Modal Styles */
        .cert-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.8);
            z-index: 1000;
            padding: 2rem;
            overflow-y: auto;
        }

        .cert-modal.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .cert-modal-content {
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            max-width: 1000px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
        }

        .cert-modal-header {
            padding: 2rem;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .cert-modal-body {
            padding: 2rem;
        }

        .cert-modal-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
            gap: 1.5rem;
        }

        .close-modal {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--text-secondary);
            transition: all 0.2s ease;
        }

        .close-modal:hover {
            color: var(--text-primary);
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .uk-grid > div[class*="uk-width-2-3"] {
                width: 100% !important;
            }
            
            .uk-grid > div[class*="uk-width-1-3"] {
                width: 100% !important;
            }

            .uk-margin-large-top {
                margin-top: 1.5rem !important;
            }
        }

        @media (max-width: 768px) {
            .profile-container {
                padding: 1rem 0.5rem;
            }

            .profile-header {
                padding: 1.5rem 1rem;
            }

            .profile-photo {
                width: 120px;
                height: 120px;
                margin-top: -60px;
            }

            .profile-name {
                font-size: 1.5rem;
            }

            .profile-title {
                font-size: 1rem;
            }

            .profile-stats {
                gap: 1rem;
                justify-content: space-between;
                width: 100%;
            }

            .stat-item {
                flex: 1;
            }

            .content-section {
                padding: 1rem;
                margin-bottom: 1rem;
            }

            .skills-grid {
                grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
            }

            .cert-grid {
                grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
            }

            .books-grid {
                grid-template-columns: 1fr;
            }

            .action-btn {
                width: 100%;
                justify-content: center;
            }

            /* Course cards mobile optimization */
            .course-card {
                padding: 1rem;
                margin-bottom: 0.75rem;
            }

            .course-header {
                margin-bottom: 0.75rem;
            }

            .course-title {
                font-size: 0.95rem;
                line-height: 1.3;
                margin-bottom: 0.125rem;
            }

            .course-meta {
                font-size: 0.8rem;
                margin-bottom: 0.5rem;
            }

            .course-skills {
                font-size: 0.8rem;
                line-height: 1.4;
                margin-bottom: 0.5rem;
            }

            .cert-links {
                gap: 0.375rem;
                margin-top: 0.5rem;
                max-height: 60px;
                overflow: hidden;
            }

            .cert-link {
                font-size: 0.75rem;
                padding: 0.375rem 0.625rem;
            }

            /* Hide some cert links on mobile to reduce clutter */
            .cert-links .cert-link:nth-child(n+4) {
                display: none;
            }

            /* Show "more" indicator on mobile */
            .cert-links::after {
                content: "... ve daha fazlası";
                color: var(--text-muted);
                font-size: 0.75rem;
                font-style: italic;
                margin-left: 0.5rem;
            }

            .hero-banner {
                height: 300px;
            }

            /* Fix for mobile header overlap */
            .profile-header .uk-grid {
                flex-direction: column;
                text-align: center;
            }

            .profile-header .uk-grid > div {
                width: 100% !important;
            }

            .profile-info {
                margin-top: 0.5rem;
            }
        }

        /* Hover Animations */
        .hover-lift {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .hover-lift:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
        }

        /* Loading Animation */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .fade-in {
            animation: fadeIn 0.6s ease-out;
        }