/* ========================================
   BAHADIR DURSUN - PERSONAL WEBSITE
   Minimalist Light Theme
   ======================================== */

/* CSS Variables */
:root {
    --bg-primary: #fafafa;
    --bg-secondary: #ffffff;
    --bg-alt: #f3f4f6;
    --accent: #2563eb;
    --accent-light: #dbeafe;
    --accent-hover: #1d4ed8;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.2s ease;
    --max-width: 1100px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--accent-light);
    color: var(--accent);
}

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

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

ul, ol {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }

p {
    color: var(--text-secondary);
}

strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ========================================
   NAVIGATION
   ======================================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
}

#navbar.scrolled {
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo:hover {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-secondary);
}

.btn-primary:hover {
    background: #374151;
    transform: translateY(-1px);
}

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

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

.btn-lg {
    padding: 18px 36px;
    font-size: 1rem;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    padding: 140px 0 80px;
    background: var(--bg-secondary);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.hero-eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-highlight {
    color: var(--text-primary);
    font-weight: 600;
    background: linear-gradient(120deg, var(--accent-light) 0%, var(--accent-light) 100%);
    background-repeat: no-repeat;
    background-size: 100% 40%;
    background-position: 0 85%;
    padding: 0 4px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-profile-img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--bg-secondary);
}

.hero-image-placeholder {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.hero-image-placeholder span {
    font-size: 5rem;
    font-weight: 700;
    color: white;
    letter-spacing: 4px;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 48px 0;
    border-top: 1px solid var(--border);
    max-width: 600px;
    margin: 0 auto;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 8px;
}

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

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--bg-secondary);
}

.section-header {
    margin-bottom: 60px;
}

.section-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.highlight-card {
    padding: 28px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.highlight-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.highlight-card i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 16px;
    display: block;
}

.highlight-card h3 {
    margin-bottom: 8px;
}

.highlight-card p {
    font-size: 0.95rem;
    margin: 0;
}

/* ========================================
   PROJECTS SECTION
   ======================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    position: relative;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.project-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card--featured {
    grid-column: span 1;
    background: linear-gradient(135deg, var(--accent) 0%, #1e40af 100%);
    border: none;
}

.project-card--featured::before {
    display: none;
}

.project-card--featured .project-card__icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.project-card--featured .project-card__tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.project-card--featured h3 {
    color: white;
}

.project-card--featured p {
    color: rgba(255, 255, 255, 0.85);
}

.project-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: var(--radius);
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

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

.project-card__icon--startup {
    background: #fef3c7;
    color: #d97706;
}

.project-card__icon--iot {
    background: #d1fae5;
    color: #059669;
}

.project-card__icon--ai {
    background: #ede9fe;
    color: #7c3aed;
}

.project-card__icon--automation {
    background: #fce7f3;
    color: #db2777;
}

.project-card__content {
    position: relative;
}

.project-card__tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.project-card__tag--corporate {
    background: var(--accent-light);
    color: var(--accent);
}

.project-card__tag--startup {
    background: #fef3c7;
    color: #d97706;
}

.project-card__tag--iot {
    background: #d1fae5;
    color: #059669;
}

.project-card__tag--ai {
    background: #ede9fe;
    color: #7c3aed;
}

.project-card__tag--automation {
    background: #fce7f3;
    color: #db2777;
}

.project-card h3 {
    font-size: 1.125rem;
    margin-bottom: 10px;
    transition: var(--transition);
}

.project-card:hover h3 {
    color: var(--accent);
}

.project-card--featured:hover h3 {
    color: white;
}

.project-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* ========================================
   TIMELINE / EXPERIENCE
   ======================================== */
.timeline {
    position: relative;
    padding-left: 32px;
}

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

.timeline-item {
    position: relative;
    padding-bottom: 48px;
}

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

.timeline-marker {
    position: absolute;
    left: -32px;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    transform: translateX(-5px);
}

.timeline-content {
    padding-left: 24px;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.timeline-header h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.timeline-role {
    font-size: 0.95rem;
    color: var(--accent);
    font-weight: 500;
}

.timeline-date {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.timeline-description {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.timeline-tags span {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 6px 12px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 100px;
}

/* ========================================
   SKILLS SECTION
   ======================================== */
.skills-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.skills-main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.skill-card {
    position: relative;
    padding: 32px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    overflow: hidden;
}

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

.skill-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.skill-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-size: 1.5rem;
    transition: var(--transition);
}

.skill-card:hover .skill-card__icon {
    transform: scale(1.1);
}

.skill-card__icon--blue {
    background: var(--accent-light);
    color: var(--accent);
}

.skill-card__icon--purple {
    background: #ede9fe;
    color: #7c3aed;
}

.skill-card__icon--green {
    background: #d1fae5;
    color: #059669;
}

.skill-card__icon--orange {
    background: #fef3c7;
    color: #d97706;
}

.skill-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

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

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.skill-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.skill-item__name {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    min-width: 120px;
}

.skill-item__bar {
    flex: 1;
    height: 8px;
    background: var(--bg-alt);
    border-radius: 100px;
    overflow: hidden;
}

.skill-item__progress {
    height: 100%;
    border-radius: 100px;
    transition: width 1s ease-out;
}

.skill-item__progress--blue { background: linear-gradient(90deg, var(--accent), #60a5fa); }
.skill-item__progress--purple { background: linear-gradient(90deg, #7c3aed, #a78bfa); }
.skill-item__progress--green { background: linear-gradient(90deg, #059669, #34d399); }
.skill-item__progress--orange { background: linear-gradient(90deg, #d97706, #fbbf24); }

/* Tools & Technologies Grid */
.tools-section {
    padding: 40px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.tools-section__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    text-align: center;
}

.tools-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.tool-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition);
}

.tool-badge:hover {
    background: var(--accent-light);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.tool-badge i {
    font-size: 1rem;
    color: var(--text-secondary);
}

.tool-badge:hover i {
    color: var(--accent);
}

/* ========================================
   EDUCATION SECTION
   ======================================== */
.education-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.education-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

/* Education Card */
.edu-card {
    position: relative;
    display: flex;
    gap: 20px;
    padding: 28px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    overflow: hidden;
}

.edu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #60a5fa);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.edu-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.edu-card:hover::before {
    transform: scaleX(1);
}

.edu-card__icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: var(--radius);
    color: var(--accent);
    font-size: 1.5rem;
    transition: var(--transition);
}

.edu-card:hover .edu-card__icon {
    transform: scale(1.1);
}

.edu-card__content {
    flex: 1;
}

.edu-card__degree {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.3;
}

.edu-card__school {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.edu-card__school i {
    font-size: 0.8rem;
    color: var(--accent);
}

.edu-card__year {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    background: var(--bg-alt);
    border-radius: 100px;
    color: var(--text-secondary);
}

.edu-card__year i {
    font-size: 0.7rem;
}

.edu-card__year--active {
    background: var(--accent-light);
    color: var(--accent);
}

/* Section Title */
.education-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.education-section-title i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: white;
    border-radius: var(--radius);
    font-size: 1rem;
}

/* Certificate Cards - edu-card benzeri tasarım */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.cert-card {
    position: relative;
    display: flex;
    gap: 20px;
    padding: 28px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    overflow: hidden;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #7c3aed, #a78bfa);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.cert-card:hover {
    border-color: #7c3aed;
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.cert-card:hover::before {
    transform: scaleX(1);
}

.cert-card__icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ede9fe;
    border-radius: var(--radius);
    color: #7c3aed;
    font-size: 1.5rem;
    transition: var(--transition);
}

.cert-card:hover .cert-card__icon {
    transform: scale(1.1);
}

.cert-card__content {
    flex: 1;
}

.cert-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.3;
}

.cert-card__issuer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.cert-card__issuer i {
    font-size: 0.8rem;
    color: #7c3aed;
}

.cert-card__year {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    background: var(--bg-alt);
    border-radius: 100px;
    color: var(--text-secondary);
}

.cert-card__year i {
    font-size: 0.7rem;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.section-contact {
    background: var(--bg-secondary);
    text-align: center;
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-content .section-header {
    margin-bottom: 48px;
}

.contact-content .section-description {
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 28px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.contact-item:hover {
    border-color: var(--accent);
}

.contact-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: 50%;
    color: var(--accent);
    font-size: 1.25rem;
}

.contact-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.contact-value:hover {
    color: var(--accent);
}

.contact-cta {
    margin-bottom: 48px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-links a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    transform: translateY(-2px);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 32px 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

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

.footer p {
    font-size: 0.9rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--accent);
}

/* ========================================
   SCROLL TO TOP
   ======================================== */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--text-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

/* ========================================
   STICKY CONTACT BUTTONS
   ======================================== */
.sticky-contact {
    position: fixed;
    bottom: 96px;
    right: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.sticky-btn {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.sticky-btn:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.sticky-btn--whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.sticky-btn--whatsapp:hover {
    background: linear-gradient(135deg, #2be074 0%, #159c8a 100%);
}

.sticky-btn--email {
    background: linear-gradient(135deg, var(--accent) 0%, #1e40af 100%);
}

.sticky-btn--email:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.sticky-btn--phone {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.sticky-btn--phone:hover {
    background: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-image {
        order: -1;
    }

    .hero-image-placeholder {
        width: 200px;
        height: 200px;
    }

    .hero-image-placeholder span {
        font-size: 3.5rem;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .education-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cert-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-item {
        flex-direction: row;
        text-align: left;
    }

    .contact-details {
        text-align: left;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 16px 24px;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

    .hero {
        padding: 120px 0 60px;
    }

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

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

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

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

    .section {
        padding: 80px 0;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .project-card {
        padding: 24px;
    }

    .project-card--featured {
        grid-column: span 2;
    }

    .timeline {
        padding-left: 24px;
    }

    .timeline-marker {
        left: -24px;
    }

    .timeline-content {
        padding-left: 16px;
    }

    .timeline-header {
        flex-direction: column;
    }

    .skills-main {
        grid-template-columns: 1fr;
    }
    
    .tools-section {
        padding: 24px;
    }
    
    .tool-badge {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
    
    .education-row {
        grid-template-columns: 1fr;
    }
    
    .edu-card {
        padding: 20px;
    }
    
    .edu-card__icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        font-size: 1.25rem;
    }
    
    .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .cert-card {
        padding: 20px;
    }
    
    .cert-card__icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        font-size: 1.25rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }

    .sticky-contact {
        bottom: 76px;
        right: 20px;
        gap: 10px;
    }

    .sticky-btn {
        width: 46px;
        height: 46px;
        font-size: 1.2rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

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

    .hero-image-placeholder {
        width: 160px;
        height: 160px;
    }

    .hero-image-placeholder span {
        font-size: 2.5rem;
    }

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

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

    .stat-label {
        font-size: 0.8rem;
    }

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

    .project-card--featured {
        grid-column: span 1;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.loaded .highlight-card,
body.loaded .project-card,
body.loaded .timeline-item,
body.loaded .skill-category,
body.loaded .education-item,
body.loaded .contact-item,
body.loaded .stat {
    animation: fadeInUp 0.5s ease forwards;
}

body.loaded .stat:nth-child(1) { animation-delay: 0s; }
body.loaded .stat:nth-child(2) { animation-delay: 0.1s; }
body.loaded .stat:nth-child(3) { animation-delay: 0.2s; }
body.loaded .stat:nth-child(4) { animation-delay: 0.3s; }

body.loaded .project-card:nth-child(1) { animation-delay: 0s; }
body.loaded .project-card:nth-child(2) { animation-delay: 0.05s; }
body.loaded .project-card:nth-child(3) { animation-delay: 0.1s; }
body.loaded .project-card:nth-child(4) { animation-delay: 0.15s; }
body.loaded .project-card:nth-child(5) { animation-delay: 0.2s; }
body.loaded .project-card:nth-child(6) { animation-delay: 0.25s; }
body.loaded .project-card:nth-child(7) { animation-delay: 0.3s; }
body.loaded .project-card:nth-child(8) { animation-delay: 0.35s; }
body.loaded .project-card:nth-child(9) { animation-delay: 0.4s; }
body.loaded .project-card:nth-child(10) { animation-delay: 0.45s; }
body.loaded .project-card:nth-child(11) { animation-delay: 0.5s; }
body.loaded .project-card:nth-child(12) { animation-delay: 0.55s; }

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    body.loaded .highlight-card,
    body.loaded .project-card,
    body.loaded .timeline-item,
    body.loaded .skill-category,
    body.loaded .education-item,
    body.loaded .contact-item,
    body.loaded .stat {
        animation: none;
        opacity: 1;
    }
}

/* Print Styles */
@media print {
    .nav-toggle,
    .scroll-top,
    .hero-buttons {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    .section {
        padding: 40px 0;
        page-break-inside: avoid;
    }

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

