/* Root Variables */
:root {
    --primary: #0d6efd;
    --secondary: #6c757d;
    --success: #198754;
    --dark: #212529;
    --light: #f8f9fa;
    --transition: all 0.3s ease;
    --border-color: #ddd;
    --hover-bg: lightyellow;
    --hover-border: lightblue;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

/* Web Development Section Styles */
.webDEV {
    /* Başlangıç durumu */
    transform: scale(1);
    background-color: transparent;
    /* Geçiş özellikleri */
    transition: transform 0.3s ease, 
                background-color 0.3s ease,
                box-shadow 0.3s ease;
}

.webDEV:hover {
    /* Hover durumu */
    transform: scale(1.05);
    background-color: var(--hover-bg);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Navbar Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    padding: 16px 0;
}

.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
}

.navbar-brand h2 {
    margin-bottom: 0;
    font-weight: 700;
    color: var(--primary);
}

.nav-link {
    font-weight: 500;
    padding: 8px 16px;
    color: var(--dark);
    transition: var(--transition);
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
    font-weight: 600;
}

/* Feature Box Styles */
.feature-box {
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
    text-align: left;
    cursor: pointer;
}

.feature-box:hover {
    background-color: var(--hover-bg);
    border-color: var(--hover-border);
    color: var(--dark);
}

.feature-box:hover i {
    color: var(--primary);
}

.feature-box i {
    font-size: 32px;
}

.feature-box .text {
    text-align: left;
}

.feature-box .icon {
    justify-content: flex-start;
    margin-bottom: 16px;
}

.feature-box h3 {
    margin-top: 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
}

.feature-box h3.subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-top: 5px;
    margin-bottom: 15px;
}

.feature-box p {
    margin-top: 10px;
    font-size: 16px;
    text-align: left;
}

/* Content Styles */
.content-wrapper {
    position: relative;
}

.visible-content {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
}

.hidden-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.feature-box.active .hidden-content {
    max-height: 1000px;
}

.feature-box.active .visible-content {
    -webkit-line-clamp: unset;
}

/* About Preview Section */
#about-preview {
    background-color: var(--light);
    padding: 5rem 0;
}

.section-content h6 {
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-content h2 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.section-content .check-item {
    margin-bottom: 1rem;
}

.section-content .check-item i {
    color: var(--primary);
    margin-right: 10px;
}

/* Footer Styles */
footer {
    background-color: var(--dark);
    color: #fff;
}

footer h5 {
    font-weight: 600;
    margin-bottom: 24px;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

footer ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* Social Links Styles */
.social-links {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    color: var(--light);
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--light);
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
}

.social-links a i {
    font-size: 18px;
}

/* Contact Info Styles */
.contact-info li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.contact-info li i {
    margin-right: 10px;
    color: var(--primary);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

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

.back-to-top:hover {
    background: #0b5ed7;
    color: #fff;
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes float-x {
    0% {
        transform: translateX(0px); /* Başlangıç pozisyonu */
    }
    50% {
        transform: translateX(20px); /* Sağa hareket */
    }
    100% {
        transform: translateX(0px); /* Geri dönüş */
    }
}

@keyframes zoom {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .navbar-nav {
        padding: 16px 0;
    }

    .navbar .btn {
        margin-top: 16px;
        width: 100%;
    }

    .hero-content {
        text-align: center;
        padding: 2rem 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        margin-top: 2rem;
    }

    .section-content {
        text-align: center;
        padding: 2rem 0;
    }

    .check-item {
        justify-content: center;
    }

    #hero {
        height: 800px; /* Küçük ekranlarda da sabit yüksekliği koru */
    }
}

@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .feature-box {
        padding: 16px;
    }

    .icon-box {
        width: 60px;
        height: 60px;
    }

    .icon-box i {
        font-size: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .logo-container {
        height: 80px;
        width: 160px;
    }

    .abc-img {
        height: 500px;
    }
}

/* Utility Classes */
.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0b5ed7;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Image Styles */
.img-fluid {
    transition: transform 0.3s ease;
}

.img-fluid:hover {
    transform: scale(1.02);
}

.feature-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.feature-card:hover img {
    transform: rotate(5deg);
}

/* Blog Card Styles */
.blog-card {
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-content {
    padding: 20px;
    background: #fff;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Logo Container Styles */
.logo-container {
    height: 100px;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: left;
    overflow: hidden;
}

/* Fotoğrafı içeren div için stil */
.img {
    width: 100%; /* Div'in genişliğini tam yap */
    height: 300px; /* Div'in yüksekliğini ayarla */
    background-size: cover; /* Görselin kapsayıcıyı doldurmasını sağla */
    background-position: center; /* Görseli yatay ve dikeyde ortala */
    background-repeat: no-repeat; /* Görselin tekrar etmesini engelle */
    border: 1px solid #ddd; /* Çerçeve ekle */
    border-radius: 8px; /* Köşeleri yuvarla */
    overflow: hidden; /* Taşan kısımları gizle */
}

/* Fotoğrafın içindeki metin için stil */
.text {
    padding: 20px; /* İçerik için boşluk */
    font-size: 16px; /* Yazı boyutu */
    line-height: 1.6; /* Satır yüksekliği */
    color: #333; /* Yazı rengi */
}

/* Buton için stil */
#contactButton {
    background-color: #0d6efd; /* Butonun arka plan rengi */
    color: #fff; /* Yazı rengi */
    border: none; /* Çerçeve kaldır */
    border-radius: 5px; /* Köşeleri yuvarla */
    transition: all 0.3s ease; /* Geçiş efekti */
}

#contactButton:hover {
    background-color: #0056b3; /* Hover durumunda arka plan rengi */
    color: #fff; /* Yazı rengi */
}

/* Wrap About Border Styles */
.wrap-about-border {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.wrap-about-border:hover {
    border-color: var(--hover-bg);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* ABC Image Container */
.abc-img {
    width: 100%;
    height: 700px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    -webkit-transform: scale(0.95);
    transform: scale(0.95);
    transition: var(--transition);
}

.abc-img:hover {
    -webkit-transform: scale(1);
    transform: scale(1);
}

/* ABC Image Overlay (Opsiyonel) */
.abc-img::before {
    content: ''; /* Ek bir katman oluştur */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Yarı şeffaf siyah katman */
    z-index: 1; /* Katmanı üstte tut */
}

/* İçerik için stil (Opsiyonel) */
.abc-img .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white; /* Yazı rengini beyaz yap */
    text-align: center; /* Yazıyı ortala */
    z-index: 2; /* İçeriği üstte tut */
}

.container {
    max-width: 1400px;
}

.centered-content {
    display: flex;
    justify-content: center; /* Yatayda ortala */
    align-items: center; /* Dikeyde ortala */
    height: 200px; /* Gerekirse bir yükseklik belirleyin */
}

/* Custom Heading Styles */
.custom-heading {
    font-size: 2.5rem; /* Yazı boyutunu ayarla */
    font-weight: 700; /* Yazı kalınlığını ayarla */
    color: #333; /* Yazı rengini ayarla */
    text-transform: uppercase; /* Yazıyı büyük harfe çevir */
    letter-spacing: 1px; /* Harfler arasına boşluk ekle */
    text-align: left; /* Yazıyı ortala */
    margin-bottom: 20px; /* Alt boşluk ekle */
}

/* Timeline Styles */
.timeline-container {
    position: relative;
    padding-left: 30px;
}

/* ÇİZGİ */
.timeline-container::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: red;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

/* DAİRE */
.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: red;
    border: 2px solid white;
    box-shadow: 0 0 0 3px red;
}

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

.timeline-item .feature-box {
    margin-left: 20px;
    transition: all 0.3s ease;
}

.timeline-item .feature-box:hover {
    transform: translateX(10px);
}

.abcYazi, .blue-timeline-section {
    margin-left: 50px;
}

/* Preview Feature Box Styles */
.preview-feature-box {
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    border: 1px solid #e9ecef;
}

.preview-feature-box:hover {
    background: #e9ecef;
    transform: translateX(5px);
    border-color: #dee2e6;
}

.preview-feature-box i {
    font-size: 18px;
    margin-right: 10px;
    color: #0d6efd;
}

.preview-feature-box span {
    font-size: 15px;
    font-weight: 500;
    color: #212529;
}

/* Blue Timeline Styles */
.blue-timeline-section {
  padding: 50px 0;
  background-color: #f8f9fa;
}

.bx {
  background-color: #fff;
  color: #333;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #ddd;
}

.bx:hover {
  background-color: lightyellow;
  border-color: lightblue;
}

.bx h3 {
  color: #333;
  margin-bottom: 10px;
}

.bx .subtitle {
  color: #666;
  font-size: 1.1em;
  margin-bottom: 15px;
}

.bx .content-wrapper {
  position: relative;
}

.bx .visible-content {
  margin-bottom: 10px;
}

.bx .hidden-content {
  display: none;
  padding: 10px;
  /* background-color: #f8f9fa; */
  border-radius: 4px;
  margin-top: 10px;
}

.bx .hidden-content p {
  margin-bottom: 5px;
}

.bx.active .hidden-content {
  display: block;
}

.bx.active {
  background-color: lightyellow;
  border-color: lightblue;
}

/* Parallel Section Styles */
.parallel-section {
  padding: 50px 0;
  background-color: #f8f9fa;
}

.parallel-section .abcBlok {
  margin-bottom: 0;
}

.parallel-section .blue-timeline-section {
  padding: 0;
  margin-left: 30px;
}

.parallel-section .timeline-container {
  position: relative;
  padding-left: 50px;
}

/* ÇİZGİ */
.parallel-section .timeline-container::before {
  content: '';
  position: absolute;
  left: 23px; /* Çizgiyi merkeze almak için */
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #007bff;
}

.parallel-section .timeline-item {
  position: relative;
  margin-bottom: 30px;
}

/* DAİRE */
.parallel-section .timeline-item::before {
  content: '';
  position: absolute;
  left: -35px; /* Daireyi çizgiyle aynı hizaya getirmek için */
  top: 50%;
  width: 20px;
  height: 20px;
  background-color: #007bff;
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

/* İletişim Formu Stilleri */
.contact-section {
  background-color: #f8f9fa;
}

.form-container {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-container h3 {
  font-weight: 700;
  color: var(--primary);
}

.form-label {
  font-weight: 500;
  color: #333;
}

#message {
  resize: none;
}

#charCount {
  display: block;
  text-align: right;
  font-size: 0.9rem;
  margin-top: 5px;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

/* Table Styles */
.table {
    width: 100%;
    margin-bottom: 16px;
    background-color: transparent;
}

.table-bordered {
    border: 1px solid var(--border-color);
}

.table-dark {
    background-color: var(--dark);
    color: #fff;
}
