/* =====================================================
   ANA SAYFA CSS - yunusgunduz.com
   Kırmızı tonları ve açık tema
   ===================================================== */

:root {
    /* Brand Colors - Ruby Crimson & Deep Navy */
    --primary: #E63946;
    --primary-rgb: 230, 57, 70;
    --primary-dark: #C1121F;
    --primary-light: #FAD2D4;
    --primary-gradient: linear-gradient(135deg, #E63946 0%, #C1121F 100%);
    --accent-glow: 0 0 20px rgba(230, 57, 70, 0.4);

    --success: #06D6A0;
    --warning: #FFD166;
    --danger: #E63946;
    --info: #118AB2;

    --bg: #F8FAFC;
    --bg-alt: #FFFFFF;
    --bg-dark: #0F172A;
    --text: #1E293B;
    --text-light: #F8FAFC;
    --text-muted: #64748B;
    --border: #E2E8F0;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
    --radius: 16px;
    --radius-lg: 28px;
}

/* Dark Theme */
body.dark-theme {
    --bg: #0B0F1A;
    --bg-alt: #161C2D;
    --bg-dark: #07090F;
    --text: #F1F5F9;
    --text-muted: #94A3B8;
    --border: #1E293B;
    --glass: rgba(22, 28, 45, 0.8);
    --glass-border: rgba(255, 255, 255, 0.05);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo {
    font-family: var(--font-heading);
    color: var(--text);
    line-height: 1.25;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sidebar Layout */
.app-layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styling */
/* Sidebar Styling */
.sidebar {
    width: 300px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    padding: 3rem 1.5rem;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1000;
    overflow-y: auto;
}

.sidebar-header {
    margin-bottom: 3.5rem;
    text-align: center;
}

.logo {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.logo-img {
    position: relative;
    padding: 6px;
    background: var(--primary-gradient);
    border-radius: 50%;
    box-shadow: var(--accent-glow);
}

.logo-img img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bg-alt);
}

.logo-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile Toggle Default Hidden */
.mobile-toggle {
    display: none;
}

/* Sidebar Navigation */
.nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0.875rem 1.25rem;
    border-radius: 12px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 1px solid transparent;
}

.nav-link i {
    font-size: 1.1rem;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(230, 57, 70, 0.05);
    transform: translateX(5px);
}

.nav-link.active {
    background: var(--primary-gradient);
    color: #FFFFFF;
    box-shadow: var(--accent-glow);
}

.nav-link.active i {
    color: #FFFFFF;
}

/* Sidebar Footer */
.sidebar-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.sidebar-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.sidebar-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: var(--transition);
}

.sidebar-social a:hover {
    background: var(--primary-gradient);
    color: #FFFFFF;
    border-color: transparent;
    transform: translateY(-4px) rotate(8deg);
    box-shadow: var(--shadow);
}

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

/* Main Content Styling */
.main-content {
    flex: 1;
    margin-left: 300px;
    /* Sidebar width */
    width: calc(100% - 300px);
    transition: var(--transition);
}

/* Sections - Full Page */
.section,
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 0;
    /* Add top/bottom padding for content breathing room */
}

/* Mobile Toggle - Hidden on Desktop */
.mobile-toggle {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.08) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 6rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1.2;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-text {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 550px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 0 0 auto;
    position: relative;
}

.hero-image img {
    width: 420px;
    height: 420px;
    border-radius: 32px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--glass-border);
    transform: perspective(1000px) rotateY(-8deg);
    transition: var(--transition);
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    right: -20px;
    bottom: -20px;
    background: var(--primary-gradient);
    border-radius: 32px;
    z-index: -1;
    opacity: 0.15;
}

.hero-social {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-social a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 50px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.hero-social a i {
    font-size: 1.1rem;
    color: var(--primary);
}

.hero-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
    transform: translateY(-3px);
}

.hero-social a:hover i {
    color: #FFFFFF;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.25rem;
    border: none;
    border-radius: 14px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #FFFFFF;
    box-shadow: 0 10px 25px rgba(230, 57, 70, 0.25);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(230, 57, 70, 0.35);
    color: #FFFFFF;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text);
}

.btn-outline:hover {
    background: var(--bg-alt);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-4px);
}

/* Sections */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: left;
    margin-bottom: 2.5rem;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.25rem;
    font-weight: 500;
    max-width: 600px;
}

/* About Section */
.about-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-text .btn {
    margin-top: 1rem;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-item {
    background: var(--bg);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.skill-bar {
    height: 10px;
    background: var(--bg-alt);
    border-radius: 5px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 5px;
    width: 0;
    /* Animated via JS */
    transition: width 1.5s ease-in-out;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--text);
    transition: var(--transition);
}

.skill-tag i {
    font-size: 1.25rem;
}

.skill-tag:hover {
    background: var(--primary);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.skill-tag:hover i {
    color: var(--text-light);
}

/* Achievements Section */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.achievement-item {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.achievement-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.achievement-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
}

.achievement-item:hover::before {
    opacity: 1;
}

.achievement-icon {
    flex: 0 0 60px;
    height: 60px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary);
    transition: var(--transition);
}

.achievement-item:hover .achievement-icon {
    background: var(--primary-gradient);
    color: #FFFFFF;
    transform: rotate(-10deg) scale(1.1);
}

.achievement-content {
    flex: 1;
}

.achievement-content h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.achievement-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.achievement-year {
    display: inline-flex;
    padding: 0.4rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}

/* Portfolio Section */
.portfolio-filter {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.portfolio-filter button {
    padding: 0.75rem 1.75rem;
    border: 1px solid var(--border);
    background: var(--bg-alt);
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-muted);
}

.portfolio-filter button:hover,
.portfolio-filter button.active {
    border-color: var(--primary);
    background: var(--primary-gradient);
    color: #FFFFFF;
    box-shadow: var(--accent-glow);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.portfolio-item {
    background: var(--bg-alt);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.portfolio-image {
    height: 240px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay a {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.5rem;
    box-shadow: var(--accent-glow);
}

.portfolio-info {
    padding: 2rem;
}

.portfolio-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.portfolio-info p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.portfolio-type {
    display: inline-flex;
    padding: 0.5rem 1rem;
    background: rgba(230, 57, 70, 0.1);
    color: var(--primary);
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    /* Tiny gap like Instagram */
    margin: 0 -15px;
    /* Pull to edges on mobile if container allows */
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    border-radius: 0;
    /* Square for Instagram look */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    color: var(--text-light);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 1.5rem;
    color: #FFFFFF;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.blog-card {
    background: var(--bg-alt);
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.blog-image {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.08);
}

.blog-content {
    padding: 2.5rem;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-meta i {
    color: var(--primary);
}

.blog-content h3 {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.blog-content h3 a {
    color: var(--text);
}

.blog-content h3 a:hover {
    color: var(--primary);
}

.blog-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    color: var(--primary);
}

.read-more i {
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(8px);
}

/* Contact Section */
.contact-wrapper {
    display: flex;
    justify-content: center;
    max-width: 1000px;
    /* Increased for better desktop use */
    margin: 0 auto;
    width: 100%;
}


.contact-form {
    background: var(--bg);
    padding: 3.5rem;
    /* Increased padding */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    width: 100%;
    /* Fill the wrapper */
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1.1rem;
    background: var(--bg);
    color: var(--text);
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23e63946'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 1.5rem;
    padding-right: 3.5rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.1);
}

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

select option {
    background: var(--bg-alt);
    color: var(--text);
    padding: 10px;
}

optgroup {
    font-weight: 700;
    color: var(--primary);
    background: var(--bg-alt);
}

.form-captcha {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-alt);
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
}

.captcha-question {
    font-weight: 600;
    color: var(--primary);
}

.captcha-input {
    width: 80px;
    padding: 0.5rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    text-align: center;
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--primary-light);
    border-radius: var(--radius);
}

.form-note i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.form-message {
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    display: none;
}

.form-message.success {
    background: #D4EDDA;
    color: #155724;
    display: block;
}

.form-message.error {
    background: #F8D7DA;
    color: #721C24;
    display: block;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--text-light);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

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

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.lightbox-nav:hover {
    background: var(--primary);
}

.lightbox-nav.prev {
    left: 30px;
}

.lightbox-nav.next {
    right: 30px;
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        background: rgba(0, 0, 0, 0.5);
    }

    .lightbox-nav.prev {
        left: 15px;
    }

    .lightbox-nav.next {
        right: 15px;
    }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.animate {
    animation: fadeInUp 0.6s ease forwards;
}

/* Honeypot - Bot protection */
.hp-field {
    position: absolute;
    left: -9999px;
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--text-light);
    animation: spin 1s linear infinite;
}

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

/* Blog Page Specific */
.blog-single {
    padding-top: 100px;
    min-height: 100vh;
}

.blog-header {
    margin-bottom: 2rem;
}

.blog-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.blog-featured-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
}

.blog-body {
    font-size: 1.1rem;
    line-height: 1.9;
}

.blog-body p {
    margin-bottom: 1.5rem;
}

.blog-body h2,
.blog-body h3 {
    margin: 2rem 0 1rem;
}

.blog-back {
    margin-top: 3rem;
}

/* =====================================================
   ÖZGEÇMIS (RESUME) PAGE
   ===================================================== */

/* Header Card */
.cv-header-card {
    position: relative;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    margin-bottom: 3.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.cv-header-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.cv-header-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-gradient);
}

.cv-header-info {
    position: relative;
    z-index: 1;
}

.cv-name {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 0.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cv-title-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.cv-bio {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 2rem;
}

/* Contact Pills */
.cv-contact-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.cv-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
    text-decoration: none;
}

.cv-pill i {
    color: var(--primary);
    font-size: 0.85rem;
}

a.cv-pill:hover {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

a.cv-pill:hover i {
    color: #FFFFFF;
}

/* Social Row */
.cv-social-row {
    display: flex;
    gap: 0.75rem;
}

.cv-social-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 1.15rem;
    transition: var(--transition);
}

.cv-social-btn:hover {
    background: var(--primary-gradient);
    color: #FFFFFF;
    border-color: transparent;
    transform: translateY(-3px) rotate(5deg);
    box-shadow: var(--accent-glow);
}

/* Decorative Rings */
.cv-header-decor {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 280px;
    height: 280px;
    pointer-events: none;
    z-index: 0;
}

.cv-decor-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(230, 57, 70, 0.08);
    animation: cv-ring-pulse 6s ease-in-out infinite;
}

.cv-decor-ring:first-child {
    width: 200px;
    height: 200px;
    top: 20px;
    right: 20px;
}

.cv-decor-ring--2 {
    width: 150px;
    height: 150px;
    top: 50px;
    right: 50px;
    animation-delay: 1s !important;
    border-color: rgba(230, 57, 70, 0.05) !important;
}

.cv-decor-ring--3 {
    width: 100px;
    height: 100px;
    top: 80px;
    right: 80px;
    animation-delay: 2s !important;
    border-color: rgba(230, 57, 70, 0.03) !important;
}

@keyframes cv-ring-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.6; }
}

/* Section Blocks */
.cv-section-block {
    margin-bottom: 3.5rem;
}

.cv-section-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cv-section-heading h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.cv-section-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(230, 57, 70, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: var(--transition);
}

.cv-section-block:hover .cv-section-icon {
    background: var(--primary-gradient);
    color: #FFFFFF;
    transform: rotate(-8deg) scale(1.05);
}

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

.cv-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), rgba(230, 57, 70, 0.1));
    border-radius: 2px;
}

.cv-timeline-item {
    position: relative;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

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

.cv-timeline-dot {
    position: absolute;
    left: -2rem;
    top: 1.75rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-gradient);
    border: 3px solid var(--bg);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.2);
    z-index: 1;
    transform: translateX(calc(-50% + 8px));
}

.cv-timeline-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cv-timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
}

.cv-timeline-card:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.cv-timeline-card:hover::before {
    opacity: 1;
}

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

.cv-timeline-header h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.cv-company {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.cv-company i {
    color: var(--primary);
    margin-right: 0.25rem;
    font-size: 0.85rem;
}

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

.cv-loc i {
    margin-left: 0.25rem;
}

.cv-period-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    background: rgba(230, 57, 70, 0.08);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.825rem;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.cv-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.cv-highlights {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.cv-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.5;
}

.cv-highlights li i {
    color: var(--success);
    font-size: 0.85rem;
    margin-top: 4px;
    flex-shrink: 0;
}

/* Skills Grid */
.cv-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.cv-skill-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.cv-skill-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.cv-skill-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(230, 57, 70, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.cv-skill-card:hover .cv-skill-card-icon {
    background: var(--primary-gradient);
    color: #FFFFFF;
    transform: rotate(-10deg) scale(1.1);
}

.cv-skill-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cv-skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.cv-skill-tag {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}

.cv-skill-card:hover .cv-skill-tag {
    border-color: var(--primary-light);
    color: var(--text);
}

/* Language Grid */
.cv-lang-grid {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cv-lang-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    min-width: 160px;
}

.cv-lang-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.cv-lang-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
}

.cv-lang-level {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    background: rgba(230, 57, 70, 0.08);
    border-radius: 50px;
}

/* Certifications */
.cv-cert-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cv-cert-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: var(--transition);
}

.cv-cert-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.cv-cert-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(230, 57, 70, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.cv-cert-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.cv-cert-info h3 a {
    color: var(--text);
}

.cv-cert-info h3 a:hover {
    color: var(--primary);
}

.cv-cert-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Interests */
.cv-interests {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cv-interest-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.25rem;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    transition: var(--transition);
}

.cv-interest-chip:hover {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

/* Action Bar */
.cv-actions-bar {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    padding-top: 3rem;
    margin-top: 2rem;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

/* Awards Grid */
.cv-awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.cv-award-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.cv-award-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FFD700, #FFA500);
}

.cv-award-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 215, 0, 0.3);
}

.cv-award-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 165, 0, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
    color: #F59E0B;
    transition: var(--transition);
}

.cv-award-card:hover .cv-award-icon {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #FFFFFF;
    transform: rotate(-10deg) scale(1.15);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.cv-award-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.cv-award-comp {
    display: inline-flex;
    padding: 0.35rem 1rem;
    background: rgba(245, 158, 11, 0.08);
    color: #D97706;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* Projects Grid */
.cv-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.cv-project-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.cv-project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
}

.cv-project-card:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.cv-project-card:hover::before {
    opacity: 1;
}

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

.cv-project-header h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    flex: 1;
}

.cv-project-tech {
    display: inline-flex;
    padding: 0.3rem 0.85rem;
    background: rgba(230, 57, 70, 0.08);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.cv-project-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Print Styles */
@media print {
    .sidebar,
    .cv-actions-bar,
    .cv-header-decor,
    .lightbox {
        display: none !important;
    }

    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
    }

    .cv-header-card,
    .cv-timeline-card,
    .cv-skill-card,
    .cv-lang-card,
    .cv-cert-item {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }

    .cv-timeline-item {
        opacity: 1 !important;
        animation: none !important;
    }

    .cv-skill-card {
        opacity: 1 !important;
        animation: none !important;
    }

    body {
        background: #fff !important;
        color: #000 !important;
    }
}