/* ========================================
   FIERPELL - Premium Personal Website CSS
   ======================================== */

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

/* ========================================
   CSS RESET & BASE STYLES
   ======================================== */

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

html {
    scroll-behavior:smooth;
    font-size: 16px;
    overflow-x: hidden !important;
    max-width: 100vw;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #0a0a0a;
}

/* ========================================
   VARIABLES
   ======================================== */

:root {
    /* Colors */    
    --primary-color: #00fe87;
    --secondary-color: #1e90ff;
    --accent-color: #ff6b6b;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #666666;
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-card: #1e1e1e;
    --border-color: rgba(255, 255, 255, 0.1);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #52a3ea 0%, #131968 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b6b 0%, #ffd93d 100%);
    --gradient-purple: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 100px 0;
    --card-padding: 30px;
    --border-radius: 15px;
    --border-radius-lg: 25px;
    
    /* Shadows */
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(0, 242, 254, 0.3);
    
    /* Transitions */
    --transition-fast: all 0.3s ease;
    --transition-medium: all 0.5s ease;
    --transition-slow: all 0.7s ease;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.ana{
    text-decoration: none;
}
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-medium);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.5);
}

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

.btn-secondary:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    border: none;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    position: relative;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   ANIMATED BACKGROUND
   ======================================== */

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.floating-shape {
    display: none;
    position: absolute;
    opacity: 0.1;
    animation: float 20s infinite linear;
}

.shape-1 {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: var(--gradient-secondary);
    border-radius: 30px;
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    top: 40%;
    left: 70%;
    animation-delay: 10s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    background: var(--gradient-purple);
    transform: rotate(45deg);
    top: 80%;
    left: 20%;
    animation-delay: 15s;
}

.shape-5 {
    width: 200px;
    height: 200px;
    background: var(--gradient-secondary);
    border-radius: 50px;
    top: 10%;
    right: 30%;
    animation-delay: 8s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
    }
    50% {
        transform: translateY(20px) rotate(180deg);
    }
    75% {
        transform: translateY(-10px) rotate(270deg);
    }
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition-fast);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: var(--container-max-width);
    margin: 0 auto;
}
.logo-text {
  display: inline-block;
  font-size: 32px;
  font-weight: 700;
  color: #1e90ff; /* FIERPELL için mavi */
}
    .logo-text:hover {
      transform: scale(1.08);
    }
    .logo-text .domain {
  color: #333; /* .com.tr için farklı renk (istersen mavi bırakabilirsin) */
  margin-left: 8px; /* sağa kaydırma */
  font-size: 28px; /* biraz daha küçük olabilir */
}
    .logo-text::after {
      content: '';
      position: absolute;
      top: 0;
      left: -50%; /* Başlangıçta solun dışında */
      width: 50%;
      height: 100%;
      background: rgba(255, 255, 255, 0.3);
      transform: skewX(-25deg);
      transition: left 0.1s ease, opacity 0.7s ease;
      opacity: 0;
      z-index: 1;
    }
    .logo-text:hover::after {
      left: 125%;
      opacity: 1;
      animation: slideFade 0.3s forwards;
    }
    .logo-text:hover .domain {
      opacity: 1;
      right: -50px; /* hoverda FIERPELL’in yanında daha sağda */
      transition-delay: 0.001s; /* gri şeritten sonra görünür */
    }
    @keyframes slideFade {
    0% {
        left: -50%;
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        left: 125%;
        opacity: 0;
    }
}
    
    .nav-logo .logo-text:hover {
    transform: scale(1.08);
}
.nav-logo .logo-text {
    position: relative;
    cursor: pointer;
    transition: transform 0.1s ease;
    display: inline-block; /* Önemli: animasyonlar için */
}
.nav-logo .logo-text .domain {
    position: absolute;
    top: 30px;
    right: -200px; /* Başlangıçta FIERPELL'in çok sağında */
    font-weight: 500;
    font-size: 1rem;
    color: #58a6ff; /* Mavi renk */
    opacity: 0; /* Başlangıçta görünmez */
    transition: opacity 0.1s ease, right 0.1s ease;
    z-index: 2;
    white-space: nowrap; /* Yazının satır atlamasını engelle */
}
.nav-logo .logo-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%; /* Başlangıçta solun dışında */
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3); /* Yarı şeffaf beyaz */
    transform: skewX(-25deg); /* Eğik efekt */
    transition: left 0.1s ease, opacity 0.7s ease;
    opacity: 0;
    z-index: 1;
    pointer-events: none; /* Mouse tıklamasını engelleme */
}
.nav-logo .logo-text:hover::after {
    left: 125%; /* Sağa doğru kayma */
    opacity: 1;
    animation: slideFade 0.3s forwards;
}
.nav-logo .logo-text:hover .domain {
    opacity: 1; /* Görünür hale gel */
    right: -60px; /* FIERPELL'in yanına gel */
    transition-delay: 0.001s; /* Gri şeritten hemen sonra görün */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-secondary);
    transition: var(--transition-fast);
}

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

.nav-link:hover {
    color:var(--secondary-color) ;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: 1rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    border-radius: 3px;
    transition: var(--transition-fast);
}

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

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

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

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    display: flex;
    width: 100%;
    min-height: 100vh;
    align-items: center;
    padding: var(--section-padding);
    position: relative;
    z-index: 0;
}

.hero::before{
    content: "";
    position: absolute;
    top: 0; left: 0;
    width:100%; height: 100%;
    background-image: url("profil resimlerim/izmir-resim.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: -1;
}

.hero-container {
    
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    display: flex;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.typing-text {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cursor {
    color: rgb(254, 254, 0);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 500;
}

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

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

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}




.avatar {
    width: 200px;   /* yuvarlak boyutu */
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 198, 255, 0.5);
    overflow: hidden;
}

.pulse-ring,
.pulse-ring-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.pulse-ring {
    width: 250px;
    height: 250px;
    animation-delay: 0s;
}

.pulse-ring-2 {
    width: 300px;
    height: 300px;
    animation-delay: 1s;
    border-color: var(--primary-color);
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.scroll-indicator {
    /*display: flex;
    flex-direction: column;
    justify-content: end;
    bottom: 30px;
    transform: translateX(-50%);
    color: var(--text-secondary);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    bottom: 30px;
    transform: translateX(-50%);
    color: var(--text-secondary);
    font-size: 1.5rem;
    animation: spin 1s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
    position: relative;
    display: flex;
    padding: var(--section-padding);
    background: var(--bg-secondary);
    z-index: 0;
}
.about::after{
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("profil resimlerim/turkbayragi.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: -1;
}
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: start;
}

.text-block {
    margin-bottom: 40px;
}

.text-block h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.text-block p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.skill-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    transition: var(--transition-fast);
}

.skill-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.skill-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.skill-item span {
    color: var(--text-primary);
    font-weight: 500;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   PROJECTS SECTION
   ======================================== */

.projects {
    position:relative;
    padding: var(--section-padding);
    background: var(--bg-primary);
    z-index: 0;
}
.project-card-link{
    text-decoration: none;
}
.projects::after{
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("profil resimlerim/eregli2.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: -1;
}
.projects-filter {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 25px;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-fast);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-secondary);
    color: white;
    border-color: black;
    transform: translateY(-2px);
}

.projects-grid {
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

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

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 230px;
    transition: transform 0.1s;
    opacity: 0.7;
    transition: opacity 0.1s;
}
.project-image:hover{
    opacity: 0.5;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}



.project-links {
    display: flex;
    gap: 20px;
}

.project-link {
    width: 50px;
    height: 50px;
    background: var(--gradient-secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-fast);
}

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

.project-content {
    padding: var(--card-padding);
}

.project-content h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.project-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-tech {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.project-tech span {
    padding: 5px 12px;
    background: var(--gradient-secondary);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ========================================
   BLOG SECTION
   ======================================== */

.blog {
    position: relative;
    padding: var(--section-padding);
    background: var(--bg-secondary);
    z-index: 0;
}

.blog::after{
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("profil resimlerim/kapadokya2.webp");
    background-size: cover;
    background-position: center;
    object-fit: contain;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: -1;
}


.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

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

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

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

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

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

.blog-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gradient-secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.blog-content {
    padding: var(--card-padding);
}

.blog-meta {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-content h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.blog-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.read-more:hover {
    gap: 15px;
}

/* ========================================
   GALLERY SECTION
   ======================================== */

.gallery {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    grid-auto-rows: 250px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-fast);
}

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

.gallery-item:nth-child(1) { grid-row: span 2; }
.gallery-item:nth-child(3) { grid-row: span 1.5; }
.gallery-item:nth-child(5) { grid-row: span 1.3; }

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 242, 254, 0.8), rgba(79, 172, 254, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

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

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

.gallery-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: var(--transition-fast);
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
}

.gallery-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.gallery-content p {
    font-size: 1rem;
    opacity: 0.9;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact {
    height: 700px;
    position: relative;
    padding:30px 0px;
    margin-top:0px;
    background: var(--bg-secondary);
    z-index:0;
}

.contact::after{
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("profil resimlerim/agalar2.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: -1;
}

.contact-content {
    display: flex;
    justify-content: center;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-item {
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-right: 50px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.contact-text h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-text p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--gradient-secondary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.contact-form {
    flex:1.5;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--text-secondary);
    box-shadow: var(--shadow-glow);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--text-muted);
    font-size: 1rem;
    transition: var(--transition-fast);
    pointer-events: none;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    color: var(--primary-color);
    background: var(--bg-secondary);
    padding: 0 10px;
}

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

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--bg-primary);
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

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

.footer-text p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--primary-color);
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-secondary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    z-index: 1000;
    box-shadow: var(--shadow-glow);
}

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

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.5);
}

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

@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


    @media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    /* Logo domain ayarları */
    .nav-logo .logo-text .domain {
        font-size: 0.8rem;
        right: -150px;
    }
    .nav-logo .logo-text:hover .domain {
        right: -40px;
    }
    
    
    .hamburger {
        display: flex;
    }
    
    .language-switcher {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .lang-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.9);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    /* HERO SECTION MOBİL DÜZELTME */
    .hero {
        min-height: 100vh;
        padding-top: 100px; /* Navbar için üst boşluk */
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px; /* Boşluğu azalttık */
        text-align: center;
        padding-top: 20px; /* Ek üst padding */
    }
    
    .hero-visual {
        order: -1;
        margin-top: 20px; /* Avatar için üst boşluk */
        margin-bottom: 20px;
    }
    
    .avatar-container {
        margin-top: 10px; /* Container için ek boşluk */
    }
    
    .avatar {
        width: 180px; /* Mobilde biraz büyük */
        height: 180px;
        margin: 0 auto;
    }
    
    .pulse-ring {
        width: 220px;
        height: 220px;
    }
    
    .pulse-ring-2 {
        width: 260px;
        height: 260px;
    }
    
    .hero-text {
        margin-top: 30px; /* Avatar ve metin arası boşluk */
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
        padding: 0 10px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        margin-top: 20px;
    }
    
    .projects-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-filter {
        justify-content: center;
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    /* Contact form mobil düzeltme */
    .contact-content {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    /* Çok küçük ekranlar için ek ayarlar */
    .hero {
        padding-top: 50px; /* Daha fazla üst boşluk */
    }
    
    .hero-visual {
        margin-top: 40px; /* Çok küçük ekranlarda daha fazla boşluk */
    }
    
    .avatar {
        width: 160px;
        height: 160px;
    }
    
    .pulse-ring {
        width: 200px;
        height: 200px;
    }
    
    .pulse-ring-2 {
        width: 240px;
        height: 240px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
    
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(5) {
        grid-row: span 1;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}


/* ========================================
   ANIMATIONS & EFFECTS
   ======================================== */

/* Fade in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading animation */
.loading {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover effects for interactive elements */
.interactive-hover {
    transition: var(--transition-fast);
}

.interactive-hover:hover {
    transform: translateY(-2px);
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--gradient-secondary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-primary);
}

/* Selection color */
::selection {
    background: var(--secondary-color) ;
    color: white;
}


/* Smooth transitions for all interactive elements */
* {
    transition: color 0.3s ease, background-color 0.3s ease;
}

#nah{
    color: red;
}


.blog-card-link{
    text-decoration: none;
}

.github_link{
    color: greenyellow !important;
    font-weight: bold;
    text-decoration: none;
}
.github_link:hover{
    color: var(--secondary-color) !important;
}
.language-switcher {
            display: flex;
            gap: 0.5rem;
            margin-left: 2rem;
        }

.lang-btn {
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 1);
color: white;
padding: 0.5rem 1rem;
border-radius: 25px;
cursor: pointer;
font-size: 0.9rem;
font-weight: 500;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}

.lang-btn:hover {
background: rgba(255, 255, 255, 0.2);
border-color: white;
color: white;
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.lang-btn.active {
background:var(--secondary-color);
color: #333;
border: none;
box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.lang-btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: left 0.5s ease;
}

.lang-btn:hover::before {
left: 100%;
}

.lang-btn i {
margin-right: 0.5rem;
}

.demo-content {
            margin-top: 100px;
            padding: 2rem;
            text-align: center;
            color: white;
        }

        .demo-content h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .demo-content p {
            font-size: 1.2rem;
            max-width: 800px;
            margin: 0 auto 2rem;
            line-height: 1.6;
            opacity: 0.9;
        }

         .language-demo {
            background: rgba(255, 255, 255, 0.1);
            padding: 2rem;
            border-radius: 15px;
            margin: 2rem auto;
            max-width: 600px;
            backdrop-filter: blur(5px);
        }

        .fade-transition {
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .fade-transition.active {
            opacity: 1;
        }

.kutu {
  position: relative;
  top: 20px;   /* Aşağı kayar */
  left: 30px;  /* Sağa kayar */
}   

.hr{
    height: 2px; border: none; 
    background: linear-gradient(to right, black 1%, #0f82ed 50%, black 99%);
}



/*analog saat kısmı*/
/* ========================================
   ANALOG SAAT STİLLERİ
   ======================================== */

/* Hero visual container güncelleme */
.hero-visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    gap: 30px;
}

/* Analog Saat Container */
.analog-clock-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Analog Saat Stilleri */
.analog-clock {
    width: 200px;
    height: 200px;
    border: 8px solid rgba(30, 144, 255, 0.3);
    border-radius: 50%;
    position: relative;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(30, 30, 30, 0.9));
    box-shadow: 
        0 0 30px rgba(30, 144, 255, 0.3),
        inset 0 0 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    animation: clockGlow 4s ease-in-out infinite;
}

.clock-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: #1e90ff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    box-shadow: 0 0 10px rgba(30, 144, 255, 0.5);
}

.clock-marks {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.clock-mark {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    transform-origin: 50% 92px;
}

.clock-mark.hour {
    width: 3px;
    height: 20px;
    top: 2px; /* Daha da yukarı taşımak için */
    left: 50%;
    margin-left: -1.5px;
    background: rgba(30, 144, 255, 0.8);
}

.clock-hand {
    position: absolute;
    left: 50%;
    transform-origin: bottom center;
    border-radius: 3px;
}

.hour-hand {
    width: 4px;
    height: 50px;
    background: linear-gradient(to top, #1e90ff, #4fa8ff);
    bottom: 50%;
    margin-left: -2px;
    box-shadow: 0 0 5px rgba(30, 144, 255, 0.3);
}

.minute-hand {
    width: 3px;
    height: 70px;
    background: linear-gradient(to top, #00d4aa, #00fe87);
    bottom: 50%;
    margin-left: -1.5px;
    box-shadow: 0 0 5px rgba(0, 254, 135, 0.3);
}

.second-hand {
    width: 1px;
    height: 80px;
    background: #ff4757;
    bottom: 50%;
    margin-left: -0.5px;
    box-shadow: 0 0 3px rgba(255, 71, 87, 0.5);
}

.digital-time {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    color: #1e90ff;
    background: rgba(26, 26, 26, 0.8);
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid rgba(30, 144, 255, 0.3);
    box-shadow: 0 0 15px rgba(30, 144, 255, 0.2);
    letter-spacing: 2px;
    backdrop-filter: blur(10px);
}

.time-counter {
    text-align: center;
    margin-top: 15px;
}

.time-counter p {
    color: #b3b3b3;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.time-spent {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    color: #00fe87;
    background: rgba(26, 26, 26, 0.8);
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid rgba(0, 254, 135, 0.3);
    box-shadow: 0 0 10px rgba(0, 254, 135, 0.2);
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    display: inline-block;
}

@keyframes clockGlow {
    0%, 100% { box-shadow: 0 0 30px rgba(30, 144, 255, 0.3), inset 0 0 20px rgba(0, 0, 0, 0.3); }
    50% { box-shadow: 0 0 40px rgba(30, 144, 255, 0.5), inset 0 0 20px rgba(0, 0, 0, 0.3); }
}

/* Mobil responsive ekleyin */
@media (max-width: 768px) {
    .analog-clock {
        width: 160px;
        height: 160px;
    }
    
    .hour-hand { height: 40px; }
    .minute-hand { height: 55px; }
    .second-hand { height: 65px; }
}


/*tarih kısmı*/
.mini-calendar{
    background:rgba(26,26,6,0.9);
    border: 1px solid rgba(30,144,255,0.2);
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 0 20px rgba(30, 144, 255, 0.2);
    backdrop-filter: blur(10px);
    width: 220px;
    margin: 0 auto;
}

.calendar-header{
    text-align: center;
    color: #1e90ff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(30, 144, 255, 0.2);
}

.calendar-grid{
    display: grid;
    grid-template-columns: repeat(7,1fr);
    gap: 2px;
    margin-bottom: 10px;
}

.calendar-day{
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #b3b3b3;
    border-radius: 4px;
    transition: all 0.3 ease;
    cursor: pointer;
}

.calendar-day.other-month{
    color:#555;
}

.calendar-day:hover:not(.today) {
    background:rgba(30, 144, 255, 0.2);
    color: white;
}

.calendar-weekday{
    font-size: 0.7rem;
    color:#00fe87;
    font-weight: 600;
    text-align: center;
    padding: 3px 0;
}

.today-info{
    text-align: center;
    color: #00fe87;
    font-size: 0.9rem;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1 solid rgba(0, 254, 135, 0.2);
    font-weight: 500;
}