/* CSS Variables */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: rgba(18, 18, 26, 0.8);
    --bg-hover: rgba(30, 30, 45, 0.9);
    --cyan: #00d4ff;
    --purple: #a855f7;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.3);
    --transition: all 0.3s ease;
    --sidebar-width: 280px;
    --header-height: 70px;
}

.gitt {}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Preloader
================================================== */


/* Mobile Header */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 0 1.5rem;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

.mobile-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--cyan), #0066ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-menu-toggle {
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    z-index: 100;
    overflow-y: auto;
}

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

.logo {
    margin-bottom: 1rem;
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--cyan), #0066ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.profile-title {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.sidebar-nav {
    flex: 1;
    padding: 1.5rem 0;
}

.nav-list {
    padding: 0 1rem;
}

.nav-item {
    margin-bottom: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: 10px;
    color: var(--text-secondary);
    transition: var(--transition);
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(0, 212, 255, 0.1);
    color: var(--cyan);
}

.nav-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.sidebar-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--bg-card);
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--cyan);
    color: var(--bg-primary);
    transform: translateY(-3px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.copyright {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    position: relative;
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Tab Content */
.tab-content {
    display: none;
    padding: 4rem;
    min-height: 100vh;
    animation: fadeIn 0.5s ease;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Header */
.section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--cyan);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-description {
    color: var(--text-secondary);
    max-width: 850px;
    text-align: justify;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1.7fr 1.1fr;
    gap: 5rem;
    align-items: center;
    min-height: calc(100vh - 6rem);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--cyan);
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--cyan), #0066ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

}

.hero-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

.role {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.role-separator {
    color: var(--cyan);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan), #0066ff);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-hover);
    border-color: var(--cyan);
}

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--cyan), #0066ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Hero Image */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Yeni Çerçeve Konteyneri */
.rainbow-card-wrapper {
    position: relative;
    width: 380px;
    height: 380px;
    padding: 4px; /* Çerçevenin kalınlığı */
    background: var(--bg-card);
    border-radius: 20px; /* Köşeleri hafif yumuşatılmış kare */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Dönen Renkli Işık (Border) */
.rainbow-border-animation {
    position: absolute;
    width: 150%;
    height: 150%;
    /* İstediğin koyu lacivert ve gökyüzü mavisi tonları */
    background: conic-gradient(
        from 0deg,
        transparent 0%,
        #001a33 25%, /* Çok koyu lacivert */
        #0066ff 50%, /* Gökyüzü mavisi */
        #333333 75%, /* Açık mavi/cyan */
        transparent 100%
    );
    animation: rotate-border 3s linear infinite;
}

/* İçerideki Resim Alanı */
.hero-image-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    border-radius: 17px; /* Dış çerçeveden biraz daha az */
    z-index: 1;
    overflow: hidden;
}

.hero-image-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dönüş Animasyonu */
@keyframes rotate-border {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 2rem 2rem 2rem;
    transition: var(--transition);
}

#deneyim{
    padding: 2rem 0.65rem 2rem 0.65rem;
}

.about-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-5px);
}

.about-card.wide {
    grid-column: span 2;
}

.about-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.about-icon svg {
    width: 24px;
    height: 24px;
    color: var(--cyan);
}

.about-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.about-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.about-list li:last-child {
    border-bottom: none;
}

.about-list strong {
    color: var(--text-primary);
}

.about-text {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-text:last-child {
    margin-bottom: 0;
}


/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
}

.skill-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.skill-category-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
}

.skill-category-icon svg {
    width: 22px;
    height: 22px;
    color: var(--cyan);
}

.skill-category h3 {
    font-size: 1.1rem;
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skill-name {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.skill-percent {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cyan);
}

.skill-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    border-radius: 3px;
    width: 0;
    transition: width 1.5s ease;
}

/* Certificates Section */
.certificates-section {
    margin-top: 3rem;
}

.certificates-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.certificate-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.certificate-card:hover {
    border-color: var(--cyan);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.cert-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    margin: 0 auto 1rem;
}

.cert-icon svg {
    width: 22px;
    height: 22px;
    color: var(--cyan);
}

.certificate-card h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.certificate-card p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.cert-year {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(168, 85, 247, 0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--purple);
}

/* Projects Section */
.projects-filter {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--cyan);
    border-color: var(--cyan);
    color: var(--bg-primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.project-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-5px);
}

.project-card.hidden {
    display: none;
}

.project-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-view {
    padding: 0.6rem 1.25rem;
    background: var(--cyan);
    color: var(--bg-primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.project-content {
    padding: 1.25rem;
}

.project-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--cyan);
    margin-bottom: 0.75rem;
}

.project-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.project-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tech span {
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Experience Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--cyan), var(--purple));
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    padding-bottom: 3rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 11px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--cyan);
    border-radius: 50%;
    border: 4px solid var(--bg-primary);
    box-shadow: 0 0 0 2px var(--cyan);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
}

.timeline-header {
    margin-bottom: 1rem;
}

.timeline-title {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.timeline-company {
    display: block;
    color: var(--cyan);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.timeline-period {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.timeline-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.timeline-achievements {
    list-style: disc;
    padding-left: 1.25rem;
}

.timeline-achievements li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition);
}

.contact-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
}

.contact-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    color: var(--cyan);
}

.contact-details h3 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.contact-details a,
.contact-details span {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.contact-details a:hover {
    color: var(--cyan);
}

.contact-availability {
    margin-top: 1rem;
    padding: 1.5rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
}

.availability-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: #10b981;
}

.availability-dot {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.availability-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cyan);
    background: rgba(0, 212, 255, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}


/* Modal Styles */
.modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 2rem;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-content-large {
    max-width: 800px;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #ef4444;
}

.modal-close svg {
    width: 18px;
    height: 18px;
}

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

.modal-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
}

.modal-icon svg {
    width: 26px;
    height: 26px;
    color: var(--cyan);
}

.modal-title-section {
    flex: 1;
}

.modal-title {
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
}

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

.modal-header-compact {
    padding: 1.5rem 1.5rem 0;
}

.modal-category {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--cyan);
    margin-bottom: 0.75rem;
}

.modal-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.modal-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.modal-info-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
}

.info-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-section {
    margin-bottom: 1.5rem;
}

.modal-section:last-of-type {
    margin-bottom: 0;
}

.modal-section h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--cyan);
}

.modal-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.skill-tags,
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tags span,
.tech-tags span {
    padding: 0.4rem 0.85rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--cyan);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-weight: bold;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* Responsive Design */

@media (max-width: 1300px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .certificates-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-title {
        font-size: 2.60rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

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

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

    .about-card.wide {
        grid-column: span 1;
    }

    .contact-grid {
        gap: 3rem;
        width: 95%;
    }

    .contact-info {
        gap: 1rem;
        width: 95%;

    }

    .contact-form-wrapper {
        width: 95%;
    }

    .contact-form {
        width: 95%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }


    .tab-content {

        padding: 1rem;

        width: 100%;
    }

    .section-title {
        font-size: 1.80rem;
    }
}

@media (max-width: 768px) {
    .mobile-header {
        display: flex;
    }

    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        width: 280px;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        padding-top: var(--header-height);
    }

    .tab-content {
        padding: 2rem 1rem;
    }

    .section-title {
        font-size: 1.70rem;
    }



    .hero-title {
        font-size: 2.5rem;
    }

    .hero-roles {
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

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

    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-item {
        padding-left: 45px;
    }

    .timeline-marker {
        left: 6px;
        width: 18px;
        height: 18px;
    }

    .modal-info-grid {
        grid-template-columns: 1fr;
    }

    .modal-actions {
        flex-direction: column;
    }

    .modal {
        padding: 1rem;
    }

    .modal-content {
        max-height: 85vh;
    }
}

@media (max-width: 480px) {
    .rainbow-card-wrapper {
        width: 310px;
        height: 310px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-roles {
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

    .stat-number {
        font-size: 1.5rem;
    }

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

    .projects-filter {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .modal-header {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1.5rem 1rem;
    }

    .modal-body {
        padding: 1rem 1.5rem 1.5rem;
    }
}




/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Blog Grid (2'li sistem) */
@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}



/* Yetenek Butonları Tasarımı */
.clickable-skills span {
    cursor: pointer;
    transition: var(--transition);
    padding: 0.8rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: inline-block;
    margin: 5px;
    border-radius: 12px;
}

.clickable-skills span:hover {
    border-color: var(--cyan);
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-3px);
}

@media (max-width:1250px) {

    .contact-grid {
        grid-template-columns: 1fr;

    }


}

@media (max-width:1100px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-image {
        order: -1;
    }
}

#c001 {
    color: #019cbb;
}


/* Mevcut certificate-card stilini bul ve sadece bunu ekle veya güncelle */
.certificate-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.4s ease,
        visibility 0.4s ease;
    /* Kendi orijinal flex/grid/width ayarların aynen kalsın */
}

/* Kartların grid içinde düzgün hizalanması için filtreleme alanı kapsayıcısı */
.certificates-grid {
    position: relative;
    display: grid;
    /* Orijinal grid yapın */
    transition: all 0.5s ease;
}




/* Aktivite Akışı Tasarımı */
.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* Boşlukları biraz daralttık */
    max-width: 700px;
    /* Genişliği biraz daha daralttık */
    margin: 1.5rem auto;
}

.activity-card {
    display: flex;
    /* Yatay yerleşim için */
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    /* Köşeleri biraz daha az yuvarladık */
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    min-height: 160px;
    /* Sabit minimum yükseklik */
}

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

/* Mobilde dikey, masaüstünde yatay görünüm için */
@media (max-width: 600px) {
    .activity-card {
        flex-direction: column;
    }

    .activity-image {
        width: 100% !important;
        height: 150px !important;
    }
}

.activity-date {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.7rem;

    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.4);
    padding: 3px 8px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    z-index: 5;
}



/* Özel İçerik Rozeti */
.private-badge {

    color: rgba(0, 255, 255, 0.3);
    /* Parlak ama ince durması için cyan */
    font-size: 0.5rem;
    /* Tarihten biraz daha küçük */
    font-weight: 500;
    text-transform: uppercase;
    /* Daha profesyonel görünür */
}


.activity-image {
    width: 200px;
    /* Görsel genişliğini sabitledik */
    flex-shrink: 0;
    border-right: 1px solid var(--border-color);
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.activity-content {
    padding: 1.2rem 1.5rem;
    /* İç boşlukları küçülttük */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.activity-tag {
    font-size: 0.65rem;
    /* Daha küçük tag */
    padding: 2px 8px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 4px;
    width: fit-content;
    margin-bottom: 0.5rem;
}

.activity-content h3 {
    font-size: 1.1rem;
    /* Başlık küçüldü */
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.activity-content p {
    font-size: 0.9rem;
    /* Metin küçüldü */
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* Çok uzun açıklamaları 3 satırda keser */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.activity-controls {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    background: var(--bg-card);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.filter-group label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.custom-select {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    outline: none;
    cursor: pointer;
    transition: var(--transition);
    min-width: 140px;
}

.custom-select:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

/* Görseli olmayan kartlar için destek */
.activity-card:not(:has(.activity-image)) .activity-content {
    width: 100%;
}



/* Ek Görseller Galerisi */
.activity-extra {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.activity-extra span {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.5rem;
}

.activity-gallery {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.activity-gallery img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.activity-gallery img:hover {
    border-color: var(--cyan);
    transform: scale(1.1);
}

/* Lightbox Ana Ekran */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    border-radius: 8px;
    box-shadow: var(--shadow-glow);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Navigasyon Butonları */
.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    /* Her şeyin üstünde */
    line-height: 1;
    transition: color 0.3s;
}

.close-lightbox:hover {
    color: var(--cyan);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 30px;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--cyan);
    color: black;
}

.lightbox-prev {
    left: 5%;
}

.lightbox-next {
    right: 5%;
}


/* Devamını Oku Stilleri */
.activity-description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Sadece 1 satır göster */
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 3;
    max-height: 3em;
    /* 1 satır yüksekliği */
    transition: max-height 0.3s ease-out;
    /* Yumuşak açılış */
}

.activity-description.expanded {
    display: block;
    /* Clamp'i devre dışı bırakır */
    -webkit-line-clamp: unset;
    max-height: 1000px;
    /* Tahmini büyük bir değer */
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--cyan);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0;
    margin-top: 5px;
    font-weight: 600;
    text-decoration: underline;
}

/* Lightbox Altyazı Stili */
.lightbox-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 80%;
}

.lightbox-caption {
    color: white;
    margin-top: 15px;
    font-size: 1rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 8px;
    border-left: 3px solid var(--cyan);
}


/* Auth Grubu ve Buton */
.auth-group {
    display: flex;
    align-items: center;
}

.login-trigger-btn {
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    background: var(--cyan);
    color: #000;
    border: none;
    font-weight: bold;
    transition: 0.3s;
}

.login-trigger-btn:hover {
    filter: brightness(1.2);
}

.logout-link {
    color: #ff4d4d;
    margin-left: 10px;
    text-decoration: none;
    font-weight: bold;
}

/* MODAL TEMEL YAPI */
#loginModal {
    display: none;
    /* Başlangıç */
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.8) !important;
    /* TEST İÇİN KIRMIZI */
    z-index: 99999999 !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.auth-modal {
    background: #1a1a1a !important;
    border: 3px solid #00ffff !important;
    padding: 40px !important;
    min-width: 300px !important;
    min-height: 200px !important;
    color: white !important;
    position: relative !important;
    z-index: 100000000 !important;
    position: relative;
}

/* JS display: flex yaptığında çalışacak kural */
.modal[style*="display: flex"] {
    display: flex !important;
}

.google-login-btn {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
}

/* Açılış Animasyonu */
@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    /* Hafif şeffaf bir arka plan dairesi */
    color: #888;
    font-size: 24px;
    font-weight: 300;
    /* Daha zarif, ince bir çarpı */
    line-height: 30px;
    /* Çarpıyı dikeyde ortalamak için */
    text-align: center;
    border-radius: 50%;
    /* Tam yuvarlak yap */
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
}

/* Üzerine gelince (Hover) efekti */
.close-modal:hover {
    background: rgba(0, 255, 255, 0.1);
    /* Cyan tonunda hafif parlama */
    color: #00ffff;
    /* Çarpı rengi parlasın */
    border-color: rgba(0, 255, 255, 0.3);
    transform: rotate(90deg);
    /* Şık bir dönüş efekti */
}

#activityFeed,
#blogGrid {
    transition: opacity 0.3s ease-in-out;
}