/* ================================================
   Enes Sivri Portfolio - Main Stylesheet
   Modern, responsive ve güvenli CSS
   ================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #f8fffe;
    --bg-secondary: #ffffff;
    --text-primary: #1a2332;
    --text-secondary: #5a6c7d;
    --accent-turquoise: #06b6d4;
    --accent-yellow: #fbbf24;
    --accent-mint: #6ee7b7;
    --accent-sky: #38bdf8;
    --accent-teal: #14b8a6;
    --accent-cyan: #22d3ee;
    --gradient-1: linear-gradient(135deg, #06b6d4 0%, #38bdf8 100%);
    --gradient-2: linear-gradient(135deg, #6ee7b7 0%, #6ee7b7 100%);
    --gradient-3: linear-gradient(135deg, #6ee7b7 0%, #06b6d4 100%);
    --shadow-sm: 0 2px 10px rgba(6, 182, 212, 0.1);
    --shadow-md: 0 8px 30px rgba(6, 182, 212, 0.15);
    --shadow-lg: 0 15px 50px rgba(6, 182, 212, 0.2);
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.7;
}

/* ================================================
   Animated Background Blobs
   ================================================ */
.blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    opacity: 0.12;
    filter: blur(50px);
    animation: blob-animation 25s infinite ease-in-out;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--gradient-1);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: var(--gradient-2);
    top: 40%;
    right: -150px;
    animation-delay: 4s;
}

.blob-3 {
    width: 450px;
    height: 450px;
    background: var(--gradient-3);
    bottom: -100px;
    left: 30%;
    animation-delay: 8s;
}

@keyframes blob-animation {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    33% {
        transform: translate(40px, -60px) scale(1.15) rotate(120deg);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9) rotate(240deg);
    }
}

/* ================================================
   Navigation
   ================================================ */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(248, 255, 254, 0.95);
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding-top: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
}

nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(90deg, 
        var(--accent-turquoise) 0%, 
        var(--accent-sky) 20%,
        var(--accent-cyan) 40%,
        var(--accent-mint) 60%, 
        var(--accent-teal) 80%,
        var(--accent-turquoise) 100%);
    background-size: 400% 100%;
    animation: rainbow-flow 8s linear infinite, pulse-glow 2s ease-in-out infinite;
    box-shadow: 0 3px 15px rgba(6, 182, 212, 0.4);
}

@keyframes rainbow-flow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 400% 50%;
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 3px 15px rgba(6, 182, 212, 0.4);
        opacity: 1;
    }
    50% {
        box-shadow: 0 5px 25px rgba(110, 231, 183, 0.6);
        opacity: 0.9;
    }
}

nav.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

nav.scrolled::before {
    animation: rainbow-flow 6s linear infinite reverse, pulse-glow 2s ease-in-out infinite;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Caveat', cursive;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.logo::after {
    content: '📚';
    margin-left: 0.3rem;
    animation: book-wiggle 3s ease-in-out infinite;
}

@keyframes book-wiggle {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

.logo:hover {
    transform: scale(1.05) rotate(-2deg);
    filter: drop-shadow(0 3px 12px rgba(6, 182, 212, 0.4));
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-turquoise);
}

.nav-links a:hover::before,
.nav-links a.active::before {
    width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    width: 35px;
    height: 30px;
}

.mobile-menu-btn span {
    color: #1bc3de !important;
    width: 100%;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: absolute;
}

.mobile-menu-btn span:nth-child(1) {
    top: 0;
}

.mobile-menu-btn span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-btn span:nth-child(3) {
    bottom: 0;
}

.mobile-menu-btn.active span:nth-child(1) {
    color: #1bc3de !important;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
        color: #1bc3de !important;

    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-btn.active span:nth-child(3) {
        color: #1bc3de !important;

    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* ================================================
   Section Backgrounds
   ================================================ */
.section-wrapper {
    position: relative;
    width: 100%;
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-bg {
    background: 
        radial-gradient(circle at 15% 25%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(251, 191, 36, 0.1) 0%, transparent 50%);
}

.hero-icon {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.15;
    animation: float-3d 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float-3d {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(30px, -40px) rotate(10deg) scale(1.1);
    }
    50% {
        transform: translate(-20px, -80px) rotate(-15deg) scale(0.9);
    }
    75% {
        transform: translate(40px, -50px) rotate(20deg) scale(1.05);
    }
}

.hero-icon:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; }
.hero-icon:nth-child(2) { top: 20%; right: 10%; animation-delay: 2s; animation-duration: 18s; }
.hero-icon:nth-child(3) { top: 40%; left: 15%; animation-delay: 4s; animation-duration: 22s; }
.hero-icon:nth-child(4) { top: 60%; right: 20%; animation-delay: 1s; animation-duration: 19s; }
.hero-icon:nth-child(5) { bottom: 20%; left: 8%; animation-delay: 3s; animation-duration: 21s; }
.hero-icon:nth-child(6) { bottom: 30%; right: 12%; animation-delay: 5s; animation-duration: 17s; }
.hero-icon:nth-child(7) { top: 30%; left: 25%; animation-delay: 2.5s; font-size: 3rem; }
.hero-icon:nth-child(8) { top: 50%; right: 25%; animation-delay: 4.5s; font-size: 2rem; }
.hero-icon:nth-child(9) { bottom: 40%; left: 30%; animation-delay: 1.5s; font-size: 2.8rem; }
.hero-icon:nth-child(10) { top: 15%; left: 50%; animation-delay: 3.5s; animation-duration: 25s; }

.about-bg {
    background: linear-gradient(180deg, 
        rgba(6, 182, 212, 0.02) 0%, 
        rgba(110, 231, 183, 0.04) 50%,
        rgba(6, 182, 212, 0.02) 100%);
}

.about-book {
    position: absolute;
    font-size: 3rem;
    opacity: 0.12;
    animation: book-dance 25s ease-in-out infinite;
    pointer-events: none;
}

@keyframes book-dance {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.12;
    }
    25% {
        transform: translate(-50px, 60px) rotate(25deg) scale(1.2);
        opacity: 0.18;
    }
    50% {
        transform: translate(40px, -40px) rotate(-20deg) scale(0.8);
        opacity: 0.1;
    }
    75% {
        transform: translate(-30px, 30px) rotate(15deg) scale(1.1);
        opacity: 0.15;
    }
}

.about-book:nth-child(1) { top: 5%; left: 10%; animation-delay: 0s; }
.about-book:nth-child(2) { top: 15%; right: 8%; animation-delay: 3s; animation-duration: 28s; }
.about-book:nth-child(3) { top: 35%; left: 5%; animation-delay: 6s; animation-duration: 22s; }
.about-book:nth-child(4) { top: 55%; right: 15%; animation-delay: 2s; animation-duration: 30s; }
.about-book:nth-child(5) { bottom: 25%; left: 12%; animation-delay: 8s; font-size: 4rem; }
.about-book:nth-child(6) { bottom: 15%; right: 10%; animation-delay: 4s; animation-duration: 26s; }
.about-book:nth-child(7) { top: 25%; left: 40%; animation-delay: 5s; font-size: 2.5rem; }
.about-book:nth-child(8) { top: 70%; right: 35%; animation-delay: 7s; font-size: 3.5rem; }
.about-book:nth-child(9) { top: 45%; left: 60%; animation-delay: 1s; animation-duration: 24s; }
.about-book:nth-child(10) { bottom: 40%; right: 50%; animation-delay: 9s; font-size: 2.8rem; }

.projects-bg {
    background: linear-gradient(180deg, 
        rgba(251, 191, 36, 0.02) 0%, 
        rgba(110, 231, 183, 0.05) 50%,
        rgba(56, 189, 248, 0.02) 100%);
}

.project-energy {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.15;
    animation: energy-burst 18s ease-in-out infinite;
    pointer-events: none;
}

@keyframes energy-burst {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(0.5);
        opacity: 0;
    }
    20% {
        transform: translate(30px, -30px) rotate(180deg) scale(1.3);
        opacity: 0.2;
    }
    40% {
        transform: translate(-40px, -60px) rotate(360deg) scale(1);
        opacity: 0.15;
    }
    60% {
        transform: translate(50px, -40px) rotate(540deg) scale(1.2);
        opacity: 0.18;
    }
    80% {
        transform: translate(-20px, -80px) rotate(720deg) scale(0.9);
        opacity: 0.1;
    }
    100% {
        transform: translate(0, -100px) rotate(900deg) scale(0.5);
        opacity: 0;
    }
}

.project-energy:nth-child(1) { top: 10%; left: 8%; animation-delay: 0s; }
.project-energy:nth-child(2) { top: 20%; right: 12%; animation-delay: 2s; animation-duration: 20s; }
.project-energy:nth-child(3) { top: 40%; left: 18%; animation-delay: 4s; animation-duration: 16s; }
.project-energy:nth-child(4) { top: 60%; right: 22%; animation-delay: 1s; font-size: 3rem; }
.project-energy:nth-child(5) { bottom: 30%; left: 15%; animation-delay: 6s; animation-duration: 22s; }
.project-energy:nth-child(6) { bottom: 15%; right: 10%; animation-delay: 3s; font-size: 2rem; }
.project-energy:nth-child(7) { top: 30%; left: 45%; animation-delay: 5s; animation-duration: 19s; }
.project-energy:nth-child(8) { top: 50%; right: 40%; animation-delay: 7s; font-size: 2.8rem; }

.blog-bg {
    background: linear-gradient(180deg, 
        rgba(110, 231, 183, 0.02) 0%, 
        rgba(56, 189, 248, 0.05) 50%,
        rgba(110, 231, 183, 0.02) 100%);
}

.blog-page {
    position: absolute;
    font-size: 3rem;
    opacity: 0.13;
    animation: page-flutter 22s ease-in-out infinite;
    pointer-events: none;
}

@keyframes page-flutter {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1) rotateY(0deg);
        opacity: 0.13;
    }
    25% {
        transform: translate(60px, -50px) rotate(15deg) scale(1.15) rotateY(180deg);
        opacity: 0.18;
    }
    50% {
        transform: translate(-50px, -100px) rotate(-25deg) scale(0.85) rotateY(360deg);
        opacity: 0.1;
    }
    75% {
        transform: translate(40px, -70px) rotate(20deg) scale(1.1) rotateY(540deg);
        opacity: 0.15;
    }
}

.blog-page:nth-child(1) { top: 8%; left: 6%; animation-delay: 0s; }
.blog-page:nth-child(2) { top: 18%; right: 10%; animation-delay: 3s; animation-duration: 25s; }
.blog-page:nth-child(3) { top: 38%; left: 12%; animation-delay: 6s; font-size: 2.5rem; }
.blog-page:nth-child(4) { top: 58%; right: 18%; animation-delay: 2s; animation-duration: 20s; }
.blog-page:nth-child(5) { bottom: 22%; left: 14%; animation-delay: 8s; font-size: 3.5rem; }
.blog-page:nth-child(6) { bottom: 12%; right: 8%; animation-delay: 4s; animation-duration: 24s; }
.blog-page:nth-child(7) { top: 28%; left: 38%; animation-delay: 5s; font-size: 2.8rem; }
.blog-page:nth-child(8) { top: 68%; right: 42%; animation-delay: 7s; }

.contact-bg {
    background: 
        radial-gradient(circle at 50% 20%, rgba(6, 182, 212, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 50% 80%, rgba(110, 231, 183, 0.08) 0%, transparent 60%);
}

.contact-icon {
    position: absolute;
    font-size: 2.8rem;
    opacity: 0.14;
    animation: wave-pulse 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes wave-pulse {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.14;
    }
    20% {
        transform: translate(-30px, 40px) scale(1.25) rotate(20deg);
        opacity: 0.2;
    }
    40% {
        transform: translate(50px, -30px) scale(0.85) rotate(-15deg);
        opacity: 0.1;
    }
    60% {
        transform: translate(-40px, -50px) scale(1.15) rotate(25deg);
        opacity: 0.17;
    }
    80% {
        transform: translate(35px, 45px) scale(0.95) rotate(-20deg);
        opacity: 0.12;
    }
}

.contact-icon:nth-child(1) { top: 12%; left: 9%; animation-delay: 0s; }
.contact-icon:nth-child(2) { top: 22%; right: 13%; animation-delay: 2.5s; animation-duration: 23s; }
.contact-icon:nth-child(3) { top: 42%; left: 16%; animation-delay: 5s; font-size: 3.2rem; }
.contact-icon:nth-child(4) { top: 62%; right: 19%; animation-delay: 1.5s; animation-duration: 18s; }
.contact-icon:nth-child(5) { bottom: 28%; left: 11%; animation-delay: 7s; font-size: 2.5rem; }
.contact-icon:nth-child(6) { bottom: 18%; right: 14%; animation-delay: 3.5s; animation-duration: 21s; }
.contact-icon:nth-child(7) { top: 32%; left: 43%; animation-delay: 6s; }
.contact-icon:nth-child(8) { top: 72%; right: 47%; animation-delay: 8s; font-size: 3rem; }

/* ================================================
   Section Container
   ================================================ */
section {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.content-section {
    position: relative;
    z-index: 1;
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* ================================================
   Dividers
   ================================================ */
.section-divider {
    width: 100%;
    height: 60px;
    position: relative;
    overflow: hidden;
}

.divider-1 {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(6, 182, 212, 0.3) 50%, 
        transparent 100%);
    animation: divider-glow 3s ease-in-out infinite;
}

.divider-1::before {
    content: '◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇ ◆ ◇';
    position: absolute;
    top: 50%;
    left: 0;
    width: 200%;
    text-align: center;
    transform: translateY(-50%);
    color: var(--accent-turquoise);
    opacity: 0.4;
    font-size: 1.5rem;
    animation: divider-slide 20s linear infinite;
}

.divider-2 {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(251, 191, 36, 0.3) 50%, 
        transparent 100%);
    animation: divider-glow 3s ease-in-out infinite 1s;
}

.divider-2::before {
    content: '● ○ ● ○ ● ○ ● ○ ● ○ ● ○ ● ○ ● ○ ● ○';
    position: absolute;
    top: 50%;
    left: 0;
    width: 200%;
    text-align: center;
    transform: translateY(-50%);
    color: var(--accent-yellow);
    opacity: 0.4;
    font-size: 1.5rem;
    animation: divider-slide-reverse 25s linear infinite;
}

.divider-3 {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(110, 231, 183, 0.3) 50%, 
        transparent 100%);
    animation: divider-glow 3s ease-in-out infinite 2s;
}

.divider-3::before {
    content: '✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧';
    position: absolute;
    top: 50%;
    left: 0;
    width: 200%;
    text-align: center;
    transform: translateY(-50%);
    color: var(--accent-mint);
    opacity: 0.4;
    font-size: 1.5rem;
    animation: divider-slide 22s linear infinite;
}

@keyframes divider-glow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@keyframes divider-slide {
    0% {
        transform: translateY(-50%) translateX(0);
    }
    100% {
        transform: translateY(-50%) translateX(-50%);
    }
}

@keyframes divider-slide-reverse {
    0% {
        transform: translateY(-50%) translateX(-50%);
    }
    100% {
        transform: translateY(-50%) translateX(0);
    }
}

/* ================================================
   Hero Section - SPLIT SCREEN DESIGN
   ================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    width: 100%;
    padding: 2rem;
}

/* Left Side - Content */
.hero-left {
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(110, 231, 183, 0.15) 100%);
    border: 2px solid var(--accent-turquoise);
    border-radius: 50px;
    color: var(--accent-turquoise);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    animation: badge-float 3s infinite ease-in-out;
}

@keyframes badge-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: text-shimmer 3s ease-in-out infinite;
}

@keyframes text-shimmer {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-btn:hover::before {
    width: 300px;
    height: 300px;
}

.cta-btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow-md);
}

.cta-btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.cta-btn-secondary {
    background: transparent;
    color: var(--accent-turquoise);
    border: 2px solid var(--accent-turquoise);
}

.cta-btn-secondary:hover {
    background: var(--accent-turquoise);
    color: white;
    transform: translateY(-5px) scale(1.05);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Right Side - Image */
.hero-right {
    position: relative;
    z-index: 2;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    margin: 0 auto;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    box-shadow: var(--shadow-lg);
    border: 6px solid white;
    position: relative;
    z-index: 2;
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
}

.image-blob {
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    background: var(--gradient-1);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: 1;
    opacity: 0.2;
    animation: blob-rotate 10s linear infinite;
}

@keyframes blob-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 3;
}

.badge-icon {
    font-size: 1.5rem;
}

.badge-text {
    color: var(--text-primary);
}

.badge-1 {
    top: 10%;
    right: -10%;
    animation: float-badge 3s ease-in-out infinite;
}

.badge-2 {
    bottom: 30%;
    left: -15%;
    animation: float-badge 3s ease-in-out infinite 1s;
}

.badge-3 {
    bottom: 10%;
    right: 5%;
    animation: float-badge 3s ease-in-out infinite 2s;
}

@keyframes float-badge {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* ================================================
   Section Headers
   ================================================ */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(110, 231, 183, 0.1) 100%);
    border: 2px solid var(--accent-turquoise);
    border-radius: 50px;
    color: var(--accent-turquoise);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ================================================
   About Cards
   ================================================ */
.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card:hover {
    transform: translateY(-15px) rotate(2deg);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-turquoise);
}

.about-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: icon-bounce 2s ease-in-out infinite;
}

@keyframes icon-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ================================================
   Skills Container
   ================================================ */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
}

.skill-tag {
    padding: 0.8rem 1.8rem;
    background: white;
    border: 2px solid var(--accent-turquoise);
    border-radius: 50px;
    color: var(--accent-turquoise);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.skill-tag:hover {
    background: var(--gradient-1);
    color: white;
    transform: translateY(-5px) rotate(-2deg) scale(1.1);
    box-shadow: var(--shadow-md);
}

/* ================================================
   Projects Grid
   ================================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.project-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.project-card:hover::before {
    opacity: 0.05;
}

.project-card:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-turquoise);
}

.project-icon-wrapper {
    padding: 2.5rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, rgba(110, 231, 183, 0.05) 100%);
    position: relative;
    z-index: 1;
}

.project-icon {
    font-size: 4rem;
    display: inline-block;
    animation: bounce-icon 2s infinite ease-in-out;
}

@keyframes bounce-icon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.project-content {
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-turquoise);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-link:hover {
    gap: 1rem;
    color: var(--accent-mint);
}

/* ================================================
   Projects Grid Full (4 Columns with Images)
   ================================================ */
.projects-grid-full {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.project-card-full {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card-full:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(6, 182, 212, 0.2);
}

.project-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 100%);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card-full:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card-full:hover .project-overlay {
    opacity: 1;
}

.project-icon-badge {
    font-size: 2.5rem;
    background: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.project-card-full:hover .project-icon-badge {
    transform: translateY(0);
}

.project-image-empty {
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-icon-large {
    font-size: 5rem;
    opacity: 0.7;
}

.project-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-body .project-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.3;
}

.project-body .project-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    flex: 1;
}

.project-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-turquoise) 0%, var(--accent-sky) 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.2);
}

.project-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
    gap: 0.75rem;
}

.project-link-btn svg {
    transition: transform 0.3s ease;
}

.project-link-btn:hover svg {
    transform: translateX(3px);
}

/* Responsive - Projects Grid Full */
@media (max-width: 1400px) {
    .projects-grid-full {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .projects-grid-full {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .project-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .projects-grid-full {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-image {
        height: 250px;
    }
}

/* Projects Grid Home (Ana Sayfa - 3 Kolon) */
.projects-grid-home {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

@media (max-width: 992px) {
    .projects-grid-home {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .projects-grid-home {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Blog Grid Home (Ana Sayfa - 4 Kolon) */
.blog-grid-home {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

@media (max-width: 1400px) {
    .blog-grid-home {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .blog-grid-home {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .blog-grid-home {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Blog Card Full (Görsel Kartlar) */
.blog-card-full {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-full:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(110, 231, 183, 0.2);
}

.blog-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 100%);
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card-full:hover .blog-image img {
    transform: scale(1.1);
}

.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.blog-date-badge-overlay {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.blog-image-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
}

.blog-icon-large {
    font-size: 4rem;
    opacity: 0.5;
}

.blog-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-body .blog-title {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.5;
}

.blog-body .blog-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    flex: 1;
}

.blog-link-btn {
    margin-top: auto;   
    width: 100%;       
    text-align: center;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;

    background: linear-gradient(135deg, var(--accent-mint) 0%, var(--accent-turquoise) 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;

    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(110, 231, 183, 0.2);
}


.blog-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(110, 231, 183, 0.4);
    gap: 0.75rem;
}

.blog-link-btn svg {
    transition: transform 0.3s ease;
}

.blog-link-btn:hover svg {
    transform: translateX(3px);
}

/* ================================================
   Blog Grid (Paylasimlar.php için)
   ================================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

@media (max-width: 1400px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Blog Meta (Görsel kartlar içinde) */
.blog-body .blog-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    padding-top: 0.5rem;
    border-top: 1px solid #f0f0f0;
}

.blog-body .blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-body .blog-meta svg {
    opacity: 0.7;
}

/* Eski Blog Card Stilleri (Uyumluluk için) */

.blog-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
}

.blog-card:hover {
    transform: translateY(-15px) rotate(-1deg);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-mint);
}

.blog-header {
    padding: 2rem 2rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.blog-date-badge {
    padding: 0.5rem 1rem;
    background: var(--gradient-2);
    color: white;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
}

.blog-content {
    padding: 1.5rem 2rem 2rem;
}

.blog-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.4;
    font-weight: 600;
}

.blog-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: var(--accent-turquoise);
}

.blog-excerpt {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-meta svg {
    opacity: 0.7;
}

.blog-link {
    color: var(--accent-sky);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.blog-link:hover {
    gap: 1rem;
    color: var(--accent-turquoise);
}

/* ================================================
   Contact Cards
   ================================================ */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.contact-card {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-15px) rotate(2deg) scale(1.05);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-mint);
}

.contact-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--gradient-3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    animation: icon-pulse 2s ease-in-out infinite;
}

@keyframes icon-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.contact-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 700;
}

.contact-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin-top: 0.5rem;
}

.contact-link:hover {
    color: var(--accent-turquoise);
}

/* Sosyal Medya Bölümü */
.social-media-section {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 2px solid rgba(6, 182, 212, 0.1);
    text-align: center;
}

.social-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
}

.social-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-turquoise), var(--accent-mint));
    border-radius: 2px;
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2rem;
    background: white;
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.1), transparent);
    transition: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.2);
    border-color: var(--accent-turquoise);
    background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%);
}

.social-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.social-link:hover .social-icon {
    transform: scale(1.2) rotate(10deg);
}

.social-name {
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.social-link:hover .social-name {
    color: var(--accent-turquoise);
}

/* ================================================
   CTA Section
   ================================================ */
.cta-section {
    background: var(--gradient-1);
    color: white;
    padding: 5rem 2rem;
    border-radius: 30px;
    text-align: center;
    margin: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    animation: rotate-gradient 10s linear infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.03) 10px,
            rgba(255, 255, 255, 0.03) 20px
        );
    animation: diagonal-move 20s linear infinite;
    z-index: 0;
}

@keyframes diagonal-move {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

@keyframes rotate-gradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.cta-section h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.cta-section .cta-btn {
    background: white;
    color: var(--accent-turquoise);
    position: relative;
    z-index: 1;
}

.cta-section .cta-btn:hover {
    background: var(--accent-mint);
    color: white;
}

/* ================================================
   Footer
   ================================================ */
footer {
    background: linear-gradient(135deg, 
        rgba(6, 182, 212, 0.05) 0%, 
        rgba(110, 231, 183, 0.05) 100%);
    padding: 4rem 2rem 2rem;
    text-align: center;
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, 
        var(--accent-turquoise) 0%, 
        var(--accent-mint) 50%, 
        var(--accent-sky) 100%) 1;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 15px;
    background: linear-gradient(90deg, 
        var(--accent-turquoise) 0%, 
        var(--accent-mint) 50%, 
        var(--accent-sky) 100%);
    animation: gradient-flow 3s ease-in-out infinite;
    background-size: 200% 100%;
}

@keyframes gradient-flow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

footer::after {
    content: '📚 ✨ 📖 💫 🌟 ⭐ 📚 ✨ 📖 💫 🌟 ⭐';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    font-size: 1.5rem;
    opacity: 0.08;
    white-space: nowrap;
    animation: footer-float 40s linear infinite;
    line-height: 50px;
    pointer-events: none;
}

@keyframes footer-float {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.footer-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Caveat', cursive;
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: inline-block;
    animation: logo-pulse 3s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 2px 10px rgba(6, 182, 212, 0.3));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 5px 20px rgba(6, 182, 212, 0.5));
    }
}

.footer-logo::after {
    content: ' 📚';
    animation: book-wiggle 3s ease-in-out infinite;
}

.footer-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--shadow-sm);
}

.social-icon:hover {
    transform: translateY(-10px) rotate(360deg) scale(1.2);
    box-shadow: var(--shadow-lg);
}

.social-icon:nth-child(1) { background: var(--gradient-1); }
.social-icon:nth-child(2) { background: var(--gradient-3); }
.social-icon:nth-child(3) { background: linear-gradient(135deg, var(--accent-sky) 0%, var(--accent-turquoise) 100%); }

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-turquoise);
    transform: translateY(-2px);
}

.footer-link:hover::after {
    width: 100%;
}

.footer-divider {
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--accent-turquoise) 50%, 
        transparent 100%);
    margin: 2rem auto;
    animation: divider-pulse 2s ease-in-out infinite;
}

@keyframes divider-pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scaleX(1);
    }
    50% {
        opacity: 1;
        transform: scaleX(1.2);
    }
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-heart {
    color: var(--accent-turquoise);
    animation: heart-beat 1.5s ease-in-out infinite;
    display: inline-block;
}

@keyframes heart-beat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(1);
    }
    75% {
        transform: scale(1.15);
    }
}

.footer-credits {
    color: var(--text-secondary);
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ================================================
   Scroll to Top Button
   ================================================ */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    animation: bounce-button 2s ease-in-out infinite;
}

@keyframes bounce-button {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.scroll-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* ================================================
   Page Hero (for sub-pages)
   ================================================ */
.page-hero {
    padding: 150px 2rem 80px;
    text-align: center;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, rgba(110, 231, 183, 0.05) 100%);
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-badge {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(110, 231, 183, 0.15) 100%);
    border: 2px solid var(--accent-turquoise);
    border-radius: 50px;
    color: var(--accent-turquoise);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ================================================
   Post Styles (Blog Detail Page)
   ================================================ */
.post-hero {
    padding: 150px 2rem 60px;
    text-align: center;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, rgba(110, 231, 183, 0.05) 100%);
}

.post-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.post-date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-turquoise);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.post-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.post-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.post-content-wrapper {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: var(--shadow-sm);
}

.post-summary {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, rgba(110, 231, 183, 0.05) 100%);
    border-left: 4px solid var(--accent-turquoise);
    padding: 1.5rem 2rem;
    margin-bottom: 3rem;
    border-radius: 0 15px 15px 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.7;
}

.post-summary svg {
    flex-shrink: 0;
    margin-top: 0.2rem;
    color: var(--accent-turquoise);
}

.post-image {
    margin-bottom: 3rem;
    border-radius: 20px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-body {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-primary);
}

.post-body h2 {
    font-size: 2rem;
    margin: 2.5rem 0 1rem;
    color: var(--text-primary);
}

.post-body h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--text-primary);
}

.post-body p {
    margin-bottom: 1.5rem;
}

.post-body ul,
.post-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-body li {
    margin-bottom: 0.5rem;
}

.post-body a {
    color: var(--accent-turquoise);
    text-decoration: underline;
}

.post-body a:hover {
    color: var(--accent-mint);
}

.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #f3f4f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.post-tags {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.post-tags svg {
    color: var(--accent-turquoise);
}

.post-tags span {
    padding: 0.4rem 1rem;
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-turquoise);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.post-share {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.share-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.share-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-turquoise);
    transition: all 0.3s ease;
    text-decoration: none;
}

.share-btn:hover {
    background: var(--accent-turquoise);
    color: white;
    transform: translateY(-3px);
}

.post-navigation {
    margin-top: 2rem;
    text-align: center;
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-turquoise);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-to-blog:hover {
    background: var(--accent-turquoise);
    color: white;
    transform: translateX(-5px);
}

.related-posts {
    margin-top: 4rem;
}

.related-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.related-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-turquoise);
}

.related-date {
    font-size: 0.85rem;
    color: var(--accent-turquoise);
    font-weight: 600;
    margin-bottom: 0.8rem;
    display: block;
}

.related-card-title {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.related-card-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-card-title a:hover {
    color: var(--accent-turquoise);
}

.related-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ================================================
   Pagination
   ================================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: white;
    color: var(--accent-turquoise);
    border: 2px solid var(--accent-turquoise);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: var(--accent-turquoise);
    color: white;
    transform: translateY(-2px);
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pagination-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: white;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.pagination-number:hover,
.pagination-number.active {
    background: var(--accent-turquoise);
    color: white;
    border-color: var(--accent-turquoise);
}

.pagination-dots {
    color: var(--text-secondary);
    font-weight: 600;
}

/* ================================================
   No Content
   ================================================ */
.no-content {
    text-align: center;
    padding: 4rem 2rem;
}

.no-content-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.no-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.no-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ================================================
   Utility Classes
   ================================================ */
.text-center {
    text-align: center;
}

/* ================================================
   Responsive Design
   ================================================ */
@media (max-width: 1024px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-right {
        order: -1;
    }

    .hero-image-wrapper {
        max-width: 400px;
    }

    .floating-badge {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
    }

    .badge-1 {
        right: 0;
    }

    .badge-2 {
        left: 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, rgba(6, 182, 212, 0.98) 0%, rgba(110, 231, 183, 0.98) 100%);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        gap: 2rem;
        transform: translateX(-100%);
        transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        opacity: 0;
    }

    .nav-links::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
        animation: float-circles 10s ease-in-out infinite;
        z-index: -1;
    }

    @keyframes float-circles {
        0%, 100% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.2);
        }
    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
    }

    .nav-links li {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.5s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.4s; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.5s; }

    .nav-links a {
        color: white;
        font-size: 1.5rem;
        font-weight: 700;
        text-align: center;
        padding: 1rem 2rem;
        border-radius: 20px;
        transition: all 0.3s ease;
    }

    .nav-links a::before {
        display: none;
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.1) rotate(-2deg);
    }

    .mobile-menu-btn {
        display: flex;
    }

    section {
        padding: 3rem 1.5rem;
    }

    .content-section {
        padding: 2rem 1.5rem;
    }

    .hero {
        padding-top: 70px;
        min-height: auto;
        padding-bottom: 3rem;
    }

    .hero-stats {
        gap: 2rem;
        justify-content: center;
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero-image-wrapper {
        max-width: 300px;
    }

    .floating-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }

    .badge-icon {
        font-size: 1.2rem;
    }

    .page-hero,
    .post-hero {
        padding: 120px 1.5rem 50px;
    }

    .post-content-wrapper {
        padding: 2rem 1.5rem;
    }

    .post-body {
        font-size: 1rem;
    }

    .post-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .projects-grid,
    .blog-grid,
    .about-cards,
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .social-links {
        gap: 1rem;
    }
    
    .social-link {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .social-icon {
        font-size: 1.3rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }

    .blob-1,
    .blob-2,
    .blob-3 {
        width: 250px;
        height: 250px;
    }

    .cta-section {
        padding: 3rem 1.5rem;
        margin: 2rem 1rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .nav-container {
        padding: 0 1.5rem;
    }

    .logo {
        font-size: 2rem;
    }

    nav {
        padding: 1rem 0;
    }

    nav::before {
        height: 15px;
    }

    .section-divider {
        height: 40px;
    }

    footer {
        padding: 3rem 1.5rem 1.5rem;
    }

    .footer-logo {
        font-size: 2.5rem;
    }

    .footer-description {
        font-size: 1rem;
    }

    .footer-links {
        gap: 1rem;
    }

    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .pagination {
        gap: 0.5rem;
    }

    .pagination-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .pagination-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem !important;
    }

    .section-title {
        font-size: 2rem !important;
    }

    .page-title,
    .post-title {
        font-size: 1.8rem !important;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-direction: column;
        align-items: stretch;
    }
    
    .social-link {
        justify-content: center;
    }
}
/* ================================================
   Modern Post Page (yazi.php)
   ================================================ */

/* Post Hero Modern - Cover Image */
.post-hero-modern {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 100%);
}

.post-cover-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.post-cover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.post-cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

.post-hero-content-modern {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
    text-align: center;
}

/* Breadcrumb */
.post-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.post-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.post-breadcrumb a:hover {
    color: white;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-current {
    color: rgba(255, 255, 255, 0.7);
}

/* Post Title Modern */
.post-title-modern {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Post Meta Modern */
.post-meta-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.post-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    font-weight: 500;
}

.post-meta-item svg {
    opacity: 0.9;
}

/* Post Summary Modern */
.post-summary-modern {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Post Section Modern */
.post-section-modern {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Post Content Modern */
.post-content-modern {
    background: white;
    border-radius: 25px;
    padding: 4rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 4rem;
}

/* Post Body Modern */
.post-body-modern {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.post-body-modern h1,
.post-body-modern h2,
.post-body-modern h3,
.post-body-modern h4 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

.post-body-modern h1 { font-size: 2.2rem; }
.post-body-modern h2 { font-size: 1.8rem; }
.post-body-modern h3 { font-size: 1.5rem; }
.post-body-modern h4 { font-size: 1.3rem; }

.post-body-modern p {
    margin-bottom: 1.5rem;
}

.post-body-modern img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 2rem 0;
}

.post-body-modern ul,
.post-body-modern ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-body-modern li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.post-body-modern blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-left: 4px solid var(--accent-turquoise);
    background: #f0fdfa;
    border-radius: 0 15px 15px 0;
    font-style: italic;
}

.post-body-modern code {
    background: #f1f5f9;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #e11d48;
}

.post-body-modern pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 15px;
    overflow-x: auto;
    margin: 2rem 0;
}

.post-body-modern pre code {
    background: none;
    color: inherit;
    padding: 0;
}

/* Post Gallery - Swiper Slider */
.post-gallery {
    margin: 4rem 0;
    padding: 3rem 0;
    border-top: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
}

.gallery-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.gallery-title svg {
    color: var(--accent-turquoise);
}

/* Swiper Gallery Container */
.gallery-swiper {
    padding: 2rem 3rem;
    position: relative;
}

.gallery-swiper .swiper-slide {
    height: auto;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.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);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.gallery-overlay svg {
    color: white;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay svg {
    opacity: 1;
    transform: scale(1);
}

/* Swiper Navigation Buttons */
.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.gallery-swiper .swiper-button-next:after,
.gallery-swiper .swiper-button-prev:after {
    font-size: 20px;
    color: var(--accent-turquoise);
    font-weight: bold;
}

.gallery-swiper .swiper-button-next:hover,
.gallery-swiper .swiper-button-prev:hover {
    background: var(--accent-turquoise);
    transform: scale(1.1);
}

.gallery-swiper .swiper-button-next:hover:after,
.gallery-swiper .swiper-button-prev:hover:after {
    color: white;
}

/* Swiper Pagination */
.gallery-swiper .swiper-pagination {
    bottom: 0;
}

.gallery-swiper .swiper-pagination-bullet {
    background: var(--accent-turquoise);
    opacity: 0.5;
    width: 10px;
    height: 10px;
}

.gallery-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 5px;
}

/* Responsive Swiper */
@media (max-width: 1024px) {
    .gallery-swiper {
        padding: 2rem 2.5rem;
    }
}

@media (max-width: 768px) {
    .gallery-swiper {
        padding: 1.5rem 2rem;
    }
    
    .gallery-swiper .swiper-button-next,
    .gallery-swiper .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .gallery-swiper .swiper-button-next:after,
    .gallery-swiper .swiper-button-prev:after {
        font-size: 16px;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: white;
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    z-index: 10001;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

.lightbox-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 10001;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-counter {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
}

/* Post Footer Modern */
.post-footer-modern {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.post-tags-modern {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.post-tags-modern svg {
    color: var(--accent-turquoise);
}

.post-tags-modern .tag {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #f0fdfa, #e0f2fe);
    color: var(--accent-turquoise);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.post-tags-modern .tag:hover {
    background: linear-gradient(135deg, var(--accent-mint), var(--accent-turquoise));
    color: white;
    transform: translateY(-2px);
}

.post-share-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.share-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    color: var(--text-primary);
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    background: linear-gradient(135deg, var(--accent-mint), var(--accent-turquoise));
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(110, 231, 183, 0.3);
}

/* Post Navigation Modern */
.post-navigation-modern {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid #f0f0f0;
}

.back-btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent-mint), var(--accent-turquoise));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(110, 231, 183, 0.2);
}

.back-btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(110, 231, 183, 0.4);
    gap: 1rem;
}

.back-btn-modern svg {
    transition: transform 0.3s ease;
}

.back-btn-modern:hover svg {
    transform: translateX(-5px);
}

/* Related Posts Modern */
.related-posts-modern {
    margin-top: 4rem;
}

.related-title-modern {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.related-title-modern svg {
    color: var(--accent-turquoise);
}

.related-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.related-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.related-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(110, 231, 183, 0.2);
}

.related-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0fdfa, #e0f2fe);
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-card-modern:hover .related-image img {
    transform: scale(1.1);
}

.related-image-empty {
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-icon {
    font-size: 4rem;
    opacity: 0.3;
}

.related-date-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.related-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.related-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.related-card-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-card-title a:hover {
    color: var(--accent-turquoise);
}

.related-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.related-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-turquoise);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.related-link:hover {
    gap: 0.75rem;
}

.related-link svg {
    transition: transform 0.3s ease;
}

.related-link:hover svg {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 1024px) {
    .post-content-modern {
        padding: 3rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .post-hero-modern {
        min-height: 50vh;
    }
    
    .post-title-modern {
        font-size: 2rem;
    }
    
    .post-meta-modern {
        gap: 1rem;
    }
    
    .post-summary-modern {
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }
    
    .post-content-modern {
        padding: 2rem;
        border-radius: 20px;
    }
    
    .post-body-modern {
        font-size: 1rem;
    }
    
    .post-footer-modern {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .related-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .lightbox-nav {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .post-section-modern {
        padding: 2rem 1rem;
    }
    
    .post-content-modern {
        padding: 1.5rem;
    }
    
    .post-breadcrumb {
        font-size: 0.8rem;
    }
}
/* ================================================
   Modern Post Page with Sidebar
   ================================================ */

/* Container */
.container-post {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Compact Header */
.post-header-compact {
    padding: 8rem 0 2rem;  /* Üstten 8rem padding (header için) */
    background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 100%);
    border-bottom: 1px solid #e5e7eb;
}

/* Ensure header stays on top */
header {
    position: relative;
    z-index: 1000;
}

header.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.post-breadcrumb-compact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.post-breadcrumb-compact a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.post-breadcrumb-compact a:hover {
    color: var(--accent-turquoise);
}

.post-breadcrumb-compact .current {
    color: var(--text-primary);
}

.post-title-compact {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.post-meta-compact {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.meta-item svg {
    color: var(--accent-turquoise);
}

/* Post Layout (2 columns) */
.post-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
    margin-top: 3rem;
    margin-bottom: 4rem;
}

/* Main Content Area */
.post-main {
    min-width: 0; /* Fix flex overflow */
}

.post-article {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

/* Featured Image (Small, Clickable) */
.post-featured-small {
    position: relative;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.post-featured-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.post-featured-small img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.post-featured-small:hover img {
    transform: scale(1.05);
}

.image-zoom-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.post-featured-small:hover .image-zoom-overlay {
    transform: translate(-50%, -50%) scale(1);
}

.image-zoom-overlay svg {
    color: var(--accent-turquoise);
}

/* Old Featured Image - Remove */
.post-featured-image {
    margin: 0 0 3rem 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Summary Box */
.post-summary-box {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 100%);
    border-left: 4px solid var(--accent-turquoise);
    border-radius: 10px;
    margin-bottom: 3rem;
}

.summary-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.summary-icon svg {
    color: var(--accent-turquoise);
}

.post-summary-box p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-primary);
}

/* Post Content */
.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

.post-content h1 { font-size: 2rem; }
.post-content h2 { font-size: 1.7rem; }
.post-content h3 { font-size: 1.4rem; }
.post-content h4 { font-size: 1.2rem; }

.post-content p {
    text-align:justify;
    margin-bottom: 1.5rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 2rem 0;
}

.post-content ul,
.post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.75rem;
}

.post-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem;
    border-left: 4px solid var(--accent-turquoise);
    background: #f8fafc;
    border-radius: 0 10px 10px 0;
    font-style: italic;
}

.post-content code {
    background: #f1f5f9;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #e11d48;
}

.post-content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 10px;
    overflow-x: auto;
    margin: 2rem 0;
}

.post-content pre code {
    background: none;
    color: inherit;
    padding: 0;
}

/* Gallery Section */
.post-gallery-section {
    margin: 4rem 0;
    padding: 3rem 0;
    border-top: 2px solid #f0f0f0;
}

.gallery-heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.gallery-heading svg {
    color: var(--accent-turquoise);
}

.gallery-swiper {
    position: relative;
    padding: 2rem 0;
}

.gallery-slide-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/9;
    transition: transform 0.3s ease;
}

.gallery-slide-item:hover {
    transform: scale(1.02);
}

.gallery-slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.gallery-slide-item:hover .gallery-zoom-icon {
    transform: translate(-50%, -50%) scale(1);
}

.gallery-zoom-icon svg {
    color: var(--accent-turquoise);
}

/* Swiper Customization */
.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
    background: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.gallery-swiper .swiper-button-next:after,
.gallery-swiper .swiper-button-prev:after {
    font-size: 18px;
    color: var(--accent-turquoise);
    font-weight: bold;
}

.gallery-swiper .swiper-button-next:hover,
.gallery-swiper .swiper-button-prev:hover {
    background: var(--accent-turquoise);
}

.gallery-swiper .swiper-button-next:hover:after,
.gallery-swiper .swiper-button-prev:hover:after {
    color: white;
}

.gallery-swiper .swiper-pagination-bullet {
    background: var(--accent-turquoise);
    opacity: 0.5;
}

.gallery-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 24px;
    border-radius: 5px;
}

/* Lightbox Modal - FIXED */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.lightbox-close-btn {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-size: 2.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.lightbox-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-controls {
    position: fixed;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
}

.lightbox-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-count {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
}

/* Share Bar */
.post-share-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 2px solid #f0f0f0;
}

.share-title {
    font-weight: 600;
    color: var(--text-secondary);
}

.share-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f3f4f6;
    color: var(--text-primary);
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.share-icon:hover {
    background: var(--accent-turquoise);
    color: white;
    transform: translateY(-3px);
}

/* Back Nav */
.post-back-nav {
    margin-top: 3rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-mint), var(--accent-turquoise));
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(110, 231, 183, 0.3);
}

/* Sidebar */
.post-sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.sidebar-widget {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.widget-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.widget-title svg {
    color: var(--accent-turquoise);
}

/* Recent Posts List */
.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-post-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.recent-post-item:hover {
    background: #f8fafc;
}

.recent-post-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0fdfa, #e0f2fe);
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-thumb-empty {
    display: flex;
    align-items: center;
    justify-content: center;
}

.recent-post-thumb-empty svg {
    color: var(--accent-turquoise);
    opacity: 0.5;
}

.recent-post-info {
    flex: 1;
    min-width: 0;
}

.recent-post-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.recent-post-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Contact Widget */
.contact-widget-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-widget-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.contact-widget-item:hover {
    background: linear-gradient(135deg, #f0fdfa, #e0f2fe);
    transform: translateX(5px);
}

.contact-widget-item svg {
    flex-shrink: 0;
    color: var(--accent-turquoise);
}

.contact-widget-item span {
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 1200px) {
    .post-layout {
        grid-template-columns: 1fr 300px;
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .post-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .post-sidebar {
        position: static;
    }
    
    .post-article {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .container-post {
        padding: 0 1rem;
    }
    
    .post-header-compact {
        padding: 2rem 0 1.5rem;
    }
    
    .post-title-compact {
        font-size: 1.5rem;
    }
    
    .post-meta-compact {
        gap: 1rem;
        font-size: 0.85rem;
    }
    
    .post-article {
        padding: 1.5rem;
    }
    
    .post-content {
        font-size: 1rem;
    }
    
    .lightbox-controls {
        padding: 0 1rem;
    }
    
    .lightbox-btn {
        width: 40px;
        height: 40px;
    }
}
/* ================================================
   Media Row (Cover Left + Gallery Right)
   ================================================ */

.media-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Cover Image (Left) */
.media-cover {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.media-cover:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.media-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.media-cover:hover img {
    transform: scale(1.05);
}

/* Gallery Slider (Right) */
.media-gallery {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.media-swiper {
    border-radius: 15px;
    overflow: hidden;
}

.media-swiper .swiper-slide {
    height: auto;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Media Overlay (Zoom Icon) */
.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.media-cover:hover .media-overlay,
.gallery-item:hover .media-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.media-overlay svg {
    color: white;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
}

.media-cover:hover .media-overlay svg,
.gallery-item:hover .media-overlay svg {
    opacity: 1;
    transform: scale(1);
}

/* Swiper Buttons */
.media-swiper .swiper-button-next,
.media-swiper .swiper-button-prev {
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.media-swiper .swiper-button-next:after,
.media-swiper .swiper-button-prev:after {
    font-size: 16px;
    color: var(--accent-turquoise);
    font-weight: bold;
}

.media-swiper .swiper-button-next:hover,
.media-swiper .swiper-button-prev:hover {
    background: var(--accent-turquoise);
}

.media-swiper .swiper-button-next:hover:after,
.media-swiper .swiper-button-prev:hover:after {
    color: white;
}

.media-swiper .swiper-pagination-bullet {
    background: var(--accent-turquoise);
    opacity: 0.5;
}

.media-swiper .swiper-pagination-bullet-active {
    opacity: 1;
}

/* ================================================
   Media Popup Modal
   ================================================ */

.media-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.media-popup.active {
    display: block;
    opacity: 1;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90vw;
    max-height: 90vh;
    z-index: 10001;
}

.popup-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.popup-close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.popup-nav {
    position: fixed;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 10002;
}

.popup-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.popup-counter {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    z-index: 10002;
}

/* Responsive */
@media (max-width: 992px) {
    .media-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .popup-nav {
        padding: 0 1rem;
    }
    
    .popup-btn {
        width: 40px;
        height: 40px;
    }
    
    .popup-close {
        width: 40px;
        height: 40px;
        top: 1rem;
        right: 1rem;
    }
}

@media (max-width: 768px) {
    .media-cover,
    .gallery-item {
        aspect-ratio: 16/9;
    }
}
/* ================================================
   Media Section - Cover Left, Gallery Right
   ================================================ */

.media-section {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Cover Image Box */
.cover-image-box {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/5;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.cover-image-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.cover-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cover-image-box:hover img {
    transform: scale(1.05);
}

/* Gallery Slider Box */
.gallery-slider-box {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #f8fafc;
}

.gallery-slider-swiper {
    height: 100%;
    border-radius: 15px;
}

.gallery-slider-swiper .swiper-slide {
    height: auto;
}

.gallery-slider-item {
    position: relative;
    cursor: pointer;
    aspect-ratio: 16/9;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.gallery-slider-item:hover {
    transform: scale(0.98);
}

.gallery-slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-slider-item:hover img {
    transform: scale(1.1);
}

/* Media Overlay */
.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.3s ease;
}

.cover-image-box:hover .media-overlay,
.gallery-slider-item:hover .media-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.zoom-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cover-image-box:hover .zoom-icon,
.gallery-slider-item:hover .zoom-icon {
    opacity: 1;
    transform: scale(1);
}

.zoom-icon svg {
    color: var(--accent-turquoise);
}

.media-label,
.media-count {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cover-image-box:hover .media-label,
.gallery-slider-item:hover .media-count {
    opacity: 1;
}

/* Swiper Customization */
.gallery-slider-swiper .swiper-button-next,
.gallery-slider-swiper .swiper-button-prev {
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.gallery-slider-swiper .swiper-button-next:after,
.gallery-slider-swiper .swiper-button-prev:after {
    font-size: 16px;
    color: var(--accent-turquoise);
    font-weight: bold;
}

.gallery-slider-swiper .swiper-button-next:hover,
.gallery-slider-swiper .swiper-button-prev:hover {
    background: var(--accent-turquoise);
}

.gallery-slider-swiper .swiper-button-next:hover:after,
.gallery-slider-swiper .swiper-button-prev:hover:after {
    color: white;
}

.gallery-slider-swiper .swiper-pagination {
    bottom: 10px;
}

.gallery-slider-swiper .swiper-pagination-bullet {
    background: var(--accent-turquoise);
    opacity: 0.5;
    width: 8px;
    height: 8px;
}

.gallery-slider-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 24px;
    border-radius: 4px;
}

/* Fullscreen Modal */
.fullscreen-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.97);
    z-index: 100000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fullscreen-close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 2.5rem;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 100002;
}

.fullscreen-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg) scale(1.1);
}

.fullscreen-image {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fullscreen-info {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 100002;
}

.fullscreen-navigation {
    position: fixed;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 100002;
    pointer-events: none;
}

.fullscreen-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Header z-index fix */
.post-header-compact {
    position: relative;
    z-index: 100;
}

/* Responsive */
@media (max-width: 992px) {
    .media-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cover-image-box {
        aspect-ratio: 16/9;
    }
    
    .fullscreen-navigation {
        padding: 0 1rem;
    }
    
    .fullscreen-btn {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 768px) {
    .fullscreen-close {
        top: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 2rem;
    }
    
    .fullscreen-info {
        bottom: 1rem;
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }
}
/* ================================================
   Media Section (Cover Left + Gallery Right)
   ================================================ */

/* Media Section Container */
.media-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Cover Image Box (Left) */
.cover-image-box {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cover-image-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.cover-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    display: block;
    transition: transform 0.5s ease;
}

.cover-image-box:hover img {
    transform: scale(1.05);
}

/* Gallery Slider Box (Right) */
.gallery-slider-box {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.gallery-slider-swiper {
    border-radius: 15px;
    overflow: hidden;
}

.gallery-slider-item {
    position: relative;
    cursor: pointer;
    aspect-ratio: 4/3;
    transition: transform 0.3s ease;
}

.gallery-slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-slider-item:hover img {
    transform: scale(1.05);
}

/* Media Overlay (Both Cover & Gallery) */
.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.3s ease;
}

.cover-image-box:hover .media-overlay,
.gallery-slider-item:hover .media-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.zoom-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cover-image-box:hover .zoom-icon,
.gallery-slider-item:hover .zoom-icon {
    transform: scale(1);
}

.zoom-icon svg {
    color: var(--accent-turquoise);
}

.media-label,
.media-count {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.cover-image-box:hover .media-label,
.gallery-slider-item:hover .media-count {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery Swiper Customization */
.gallery-slider-swiper .swiper-button-next,
.gallery-slider-swiper .swiper-button-prev {
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gallery-slider-swiper .swiper-button-next:after,
.gallery-slider-swiper .swiper-button-prev:after {
    font-size: 16px;
    color: var(--accent-turquoise);
    font-weight: bold;
}

.gallery-slider-swiper .swiper-button-next:hover,
.gallery-slider-swiper .swiper-button-prev:hover {
    background: var(--accent-turquoise);
}

.gallery-slider-swiper .swiper-button-next:hover:after,
.gallery-slider-swiper .swiper-button-prev:hover:after {
    color: white;
}

.gallery-slider-swiper .swiper-pagination {
    bottom: 10px;
}

.gallery-slider-swiper .swiper-pagination-bullet {
    background: white;
    opacity: 0.7;
    width: 8px;
    height: 8px;
}

.gallery-slider-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--accent-turquoise);
    width: 20px;
    border-radius: 5px;
}

/* Fullscreen Modal */
.fullscreen-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fullscreen-close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-size: 2.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    z-index: 10001;
}

.fullscreen-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.fullscreen-image {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.fullscreen-info {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    z-index: 10001;
}

.fullscreen-navigation {
    position: fixed;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 10001;
}

.fullscreen-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 992px) {
    .media-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cover-image-box img,
    .gallery-slider-item {
        aspect-ratio: 16/9;
    }
}

@media (max-width: 768px) {
    .post-header-compact {
        padding: 6rem 0 1.5rem;
    }
    
    .fullscreen-navigation {
        padding: 0 1rem;
    }
    
    .fullscreen-btn {
        width: 40px;
        height: 40px;
    }
    
    .fullscreen-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }
}

/* Mobile Menu Open State */
body.menu-open {
    overflow: hidden;
}

body.menu-open nav {
    background: rgba(255, 255, 255, 0.98);
}

/* ================================================
   Mobile Navigation
   ================================================ */

@media (max-width: 992px) {
    .mobile-menu-btn {
        display: flex !important;
    }
    
    .nav-links {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        height: 100vh !important;
        width: 280px !important;
        background: linear-gradient(135deg, var(--accent-turquoise), var(--accent-cyan)) !important;
        flex-direction: column !important;
        padding: 6rem 2rem 2rem !important;
        gap: 2rem !important;
        transform: translateX(100%) !important;
        opacity: 0 !important;
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2) !important;
        z-index: 999 !important;
    }
    
    .nav-links.active {
        transform: translateX(0) !important;
        opacity: 1 !important;
    }
    
    .nav-links li {
        opacity: 0 !important;
        transform: translateY(20px) !important;
        transition: all 0.5s ease !important;
    }
    
    .nav-links.active li {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    
    .nav-links.active li:nth-child(1) { transition-delay: 0.1s !important; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.2s !important; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.3s !important; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.4s !important; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.5s !important; }
    
    .nav-links a {
        color: white !important;
        font-size: 1.2rem !important;
        font-weight: 600 !important;
        padding: 0.5rem 0 !important;
    }
    
    .nav-links a::before {
        background: white !important;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-links {
        width: 100%;
        padding: 6rem 2rem 2rem;
    }
    
    .logo {
        font-size: 2rem;
    }
}