:root {
    --bs-font-sans-serif: 'Poppins', sans-serif;
    --bs-primary-rgb: 70, 174, 247;
    --bs-primary: #46aef7;
    --bs-primary-dark: #3a8bc2;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden; 
}

main {
    flex-grow: 1;
}

.announcement-bar {
    background: linear-gradient(to right, #343a40, var(--bs-primary));
    color: white;
    height: 45px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.announcement-text {
    display: flex;
    align-items: center;
}

#fading-text {
    transition: opacity 0.5s ease-in-out;
}

/* ---- SOSYAL MEDYA İKONLARI (güncellendi) ---- */
.social-icons {
     display: flex;
  align-items: center;
  justify-content: flex-end; /* ikonları sağa hizalar */
  gap: 1rem; /* ikonlar arası boşluk */
  padding-right: 1rem; /* kenara değmesin */
  box-sizing: border-box;
  overflow: hidden; /* taşmayı engeller */
}

.social-icons a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    padding-right: 0 !important;
}

.social-icons a:hover {
    color: #adb5bd;
}

.navbar {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.btn-job-status {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem; 
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}
.btn-job-status:hover, .btn-job-status:focus {
    background-color: var(--bs-primary-dark);
    border-color: var(--bs-primary-dark);
}

.btn-job-status .dot {
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    position: relative; 
}

@keyframes pulse-white {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(2.5); opacity: 0; }
}

.btn-job-status .dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: white;
    border-radius: 50%;
    animation: pulse-white 1.5s ease-out infinite;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 992px) {
    .navbar .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: fadeIn 0.2s ease-out;
    }
    
    .navbar .dropdown-menu {
        border-radius: 0.5rem;
        border: 1px solid var(--bs-border-color);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    }
    
    .dropdown-item {
        padding: 0.5rem 1.25rem;
        transition: background-color 0.2s ease, color 0.2s ease;
        font-weight: 500;
    }

    .dropdown-item:hover,
    .dropdown-item:focus {
        color: var(--bs-primary);
        background-color: var(--bs-body-tertiary); 
    }
    .dropdown-item:active {
        color: var(--bs-primary);
        background-color: var(--bs-body-tertiary);
    }

    .navbar-nav .nav-link {
        position: relative;
        padding: 0.5rem 1rem;
        margin: 0 0.25rem;
        font-weight: 500;
        transition: color 0.3s ease;
    }

    .navbar-nav .nav-link:not(.dropdown-toggle)::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background-color: var(--bs-primary);
        transition: width 0.3s ease-out;
    }

    .navbar-nav .nav-link:hover:not(.dropdown-toggle)::after,
    .navbar-nav .nav-link.active:not(.dropdown-toggle)::after {
        width: 70%;
    }
}

@media (max-width: 991.98px) { 
    .offcanvas-body .navbar-nav .dropdown-menu {
        position: static;
        border: none;
        box-shadow: none;
        background-color: transparent; 
        width: 100%;
    }
    
    .offcanvas-body .navbar-nav .nav-link {
        font-size: 1.1rem;
        padding: 0.85rem 1rem;
        font-weight: 500;
        border-bottom: 1px solid var(--bs-border-color);
    }
    
    .offcanvas-body .navbar-nav .nav-link.active {
        color: var(--bs-primary);
        font-weight: 600;
    }

    .offcanvas-body .dropdown-item {
        padding-left: 2rem;
        font-size: 1rem;
        font-weight: 400;
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
    }
    
    .offcanvas-body .dropdown-item:hover,
    .offcanvas-body .dropdown-item:focus {
        color: var(--bs-primary);
        background-color: var(--bs-body-tertiary);
    }
    .offcanvas-body .dropdown-item:active {
        background-color: var(--bs-body-tertiary);
        color: var(--bs-primary);
    }
    
    .offcanvas-body .navbar-nav .nav-item:last-child .nav-link,
    .offcanvas-body .navbar-nav .nav-item.dropdown .nav-link {
        border-bottom: none;
    }
    
    .offcanvas-body .dropdown-menu {
        border-top: 1px solid var(--bs-border-color);
        margin-top: 0.5rem;
    }
}

@keyframes heroImageFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

#hero-banner {
    height: 480px;
    background: linear-gradient(120deg, #dddddd 0%, #ffffff 100%);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

#hero-banner .display-4 {
    text-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-weight: 700;
    color: var(--bs-body-color);
}

#hero-banner .lead {
    color: var(--bs-body-color);
}

#hero-banner img {
    animation: heroImageFloat 6s ease-in-out infinite;
}

#hero-banner .container {
    position: relative;
}

#hero-banner .btn-hero {
    padding-left: 2rem;
    padding-right: 2rem;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(var(--bs-primary-rgb), 0.25);
    transition: all 0.3s ease;
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

#hero-banner .btn-hero:hover {
    transform: translateY(-2px);
    background-color: var(--bs-primary-dark);
    border-color: var(--bs-primary-dark);
    box-shadow: 0 8px 25px rgba(var(--bs-primary-rgb), 0.4);
}

#hero-banner .btn-hero.btn-outline-primary {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
    box-shadow: none;
    background-color: #fff;
}
#hero-banner .btn-hero.btn-outline-primary:hover {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
    box-shadow: 0 8px 25px rgba(var(--bs-primary-rgb), 0.4);
}

@media (max-width: 768px) {
    #hero-banner {
        height: auto;
        min-height: 400px; 
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    
    #hero-banner .col-md-7 {
         text-align: center !important; 
         padding: 0;
    }
    #hero-banner .btn-hero {
        margin-bottom: 0.5rem;
    }
}

/* DÜZELTME: Tablet (md) için olan gereksiz media query kaldırıldı */

.sub-banner { 
    background-color: #343a40; 
    color: white; 
    height: 30px; 
    display: flex; 
    align-items: center; 
    font-size: 0.8rem; 
    letter-spacing: 1px; 
    font-family: 'Poppins', sans-serif;
}
.sub-banner .container { 
    height: 100%; 
    display: flex; 
    align-items: center; 
    justify-content: flex-start; 
}
.sub-banner p { 
    margin-bottom: 0; 
    text-align: left !important; 
}

.service-card {
    border: none;
    border-radius: 0.75rem;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--bs-card-bg);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.service-card .card-img-wrapper {
    overflow: hidden;
    border-radius: 0.75rem 0.75rem 0 0;
}

.service-card .card-img-top {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.4s ease;
}

.service-card:hover .card-img-top {
    transform: scale(1.05);
}

.service-card .card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
    padding: 1.5rem;
}

.service-card .card-title {
    font-weight: 600;
    color: var(--bs-body-color);
    margin-bottom: 0.75rem;
}

.service-card .card-text {
    font-size: 0.9rem;
    color: var(--bs-secondary-color);
    flex-grow: 1; 
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-card .btn {
    margin-top: auto; 
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}
.service-card .btn:hover {
    background-color: var(--bs-primary-dark);
    border-color: var(--bs-primary-dark);
}

.service-card .btn .bi-arrow-right {
    transition: transform 0.3s ease;
}

.service-card .btn:hover .bi-arrow-right {
    transform: translateX(4px);
}

.info-section .text-pretitle {
    color: var(--bs-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.info-box {
    background-color: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 0.5rem;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.info-box:hover {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
    transform: scale(1.02);
}

.info-box .info-box-icon {
    color: var(--bs-primary);
    transition: color 0.3s ease;
}

.info-box:hover .info-box-icon {
    color: #fff;
}

.info-box .info-box-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--bs-body-color);
}

.info-box .info-box-text {
    font-size: 0.85rem;
    margin-bottom: 0;
    color: var(--bs-secondary-color);
    transition: color 0.3s ease;
}

.info-box:hover .info-box-text {
    color: #f8f9fa;
}

.referanslar h2,
.blog-section h2 {
    position: relative;
    padding-left: 1.25rem;
    border-left: 4px solid var(--bs-primary);
    font-size: 1.6rem; 
}

.referanslar h2 {
    margin-bottom: 2.5rem !important; 
}

.blog-card {
    border: 1px solid var(--bs-border-color);
    border-radius: 0.75rem;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--bs-card-bg);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.blog-card .card-img-wrapper {
    overflow: hidden;
}

.blog-card .card-img-top {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.4s ease;
}

.blog-card:hover .card-img-top {
    transform: scale(1.05);
}

.blog-card .card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
    padding: 1.5rem;
}

.blog-card .card-title {
    font-weight: 600;
    color: var(--bs-body-color);
    margin-bottom: 0.75rem;
}

.blog-card .card-text {
    font-size: 0.9rem;
    color: var(--bs-secondary-color);
    flex-grow: 1; 
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more-link {
    color: var(--bs-body-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    align-self: flex-start;
    margin-top: auto;
}

.read-more-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--bs-primary);
    transition: width 0.3s ease;
}

.blog-card:hover .read-more-link::after {
    width: 100%;
}

.blog-section .btn-primary {
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}
.blog-section .btn-primary:hover {
    background-color: var(--bs-primary-dark);
    border-color: var(--bs-primary-dark);
}

.reference-slider { 
    overflow: hidden; 
    position: relative; 
    width: 100%; 
}
.reference-slider::before, .reference-slider::after { 
    content: ""; 
    position: absolute; 
    top: 0; 
    width: 100px; 
    height: 100%; 
    z-index: 2; 
}
.reference-slider::before { 
    left: 0; 
    background: linear-gradient(to left, rgba(248, 249, 250, 0) 0%, #f8f9fa 100%); 
}
.reference-slider::after { 
    right: 0; 
    background: linear-gradient(to right, rgba(248, 249, 250, 0) 0%, #f8f9fa 100%); 
}
.reference-track { 
    display: flex; 
    width: calc(200px * 10); 
    animation: scroll 30s linear infinite; 
}
.reference-track .slide { 
    width: 200px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 0 2rem; 
}
.reference-track img { 
    height: 50px; 
    width: 150px; 
    object-fit: contain; 
    filter: grayscale(1); 
    opacity: 0.6; 
    transition: filter 0.3s, opacity 0.3s; 
}
.reference-track img:hover { 
    filter: grayscale(0); 
    opacity: 1; 
}
@keyframes scroll { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(calc(-200px * 5)); } 
}
.references-link a { 
    color: var(--bs-body-color); 
    text-decoration: none; 
    font-weight: 500; 
    transition: color 0.3s; 
}
.references-link a:hover { 
    color: var(--bs-primary);
}

footer { 
    background-color: #343a40; 
    color: #adb5bd; 
}
footer h5 { 
    color: white; 
    margin-bottom: 1.2rem; 
}
footer .list-unstyled a { 
    color: #adb5bd; 
    text-decoration: none; 
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-flex;
    align-items: center;
}
footer .list-unstyled a:hover { 
    color: white; 
    padding-left: 5px; 
}
footer .list-unstyled a .bi {
    font-size: 0.9rem;
    margin-right: 0.5rem;
    opacity: 0.6;
}
footer .footer-about { 
    font-size: 0.9rem; 
}

.nav-link.btn-contact { 
    display: none !important; 
}

#info-section-img {
    width: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 1 / 1; 
}

@media (min-width: 992px) {
    .info-section .col-lg-5 {
        padding-right: 0; 
    }
    
    .info-section .col-lg-7 {
        padding-left: 0; 
    }

    #info-section-img {
        max-width: 490px !important;
        min-height: 450px;
        aspect-ratio: auto; 
    }
}

.modal-header-premium {
    background-color: #343a40;
    color: #fff;
    border-bottom: 0;
}
.modal-header-premium .btn-close {
    filter: invert(1) grayscale(100) brightness(200%);
}

.form-floating > label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
}

.cta {
    background-color: #343a40;
}
.cta .btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}
.cta .btn-primary:hover {
    background-color: var(--bs-primary-dark);
    border-color: var(--bs-primary-dark);
}

.kategori-menu {
    background-color: var(--bs-card-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    position: sticky;
    top: 100px;
}
.kategori-menu-title {
    font-weight: 600;
    font-size: 1.25rem;
    border-bottom: 1px solid var(--bs-border-color);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}
.kategori-menu .nav-link {
    color: var(--bs-body-color);
    font-weight: 500;
    padding: 0.6rem 0.5rem;
    transition: all 0.2s ease;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
}
.kategori-menu .nav-link:hover {
    color: var(--bs-primary);
    background-color: var(--bs-body-tertiary);
}
.kategori-menu .nav-link.active {
    color: var(--bs-primary);
    font-weight: 600;
    background-color: rgba(var(--bs-primary-rgb), 0.1);
}
.urun-item {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.page-header-simple {
    border-bottom: 1px solid var(--bs-border-color);
}
.page-header-simple h1 {
    color: var(--bs-body-color);
}
.page-header-simple .breadcrumb-item a {
    text-decoration: none;
    color: var(--bs-primary);
}
.page-header-simple .breadcrumb-item.active {
    color: #6c757d;
}

.product-detail-image {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.product-info-box-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.product-info-box {
    display: flex;
    align-items: center;
    background-color: var(--bs-body-tertiary);
    padding: 1rem;
    border-radius: 0.5rem;
}
.product-info-box i {
    font-size: 1.5rem;
    color: var(--bs-primary);
    margin-right: 1rem;
    flex-shrink: 0;
}
.product-info-box p {
    font-size: 0.9rem;
    color: var(--bs-secondary-color);
    margin-bottom: 0;
    line-height: 1.5;
}
.product-info-box strong {
    color: var(--bs-body-color);
}

.theme-toggle-btn {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}
.theme-toggle-btn .theme-icon-light {
    display: none;
}
.theme-toggle-btn .theme-icon-dark {
    display: inline-block;
}

[data-bs-theme="dark"] .logo-light {
    display: none;
}
[data-bs-theme="dark"] .logo-dark {
    display: inline-block;
}
[data-bs-theme="light"] .logo-light {
    display: inline-block;
}
[data-bs-theme="light"] .logo-dark {
    display: none;
}

[data-bs-theme="dark"] #hero-banner {
    background: linear-gradient(120deg, #2a2a2a 0%, #343a40 100%);
}

[data-bs-theme="dark"] #hero-banner .display-4 {
    color: #fff;
}

[data-bs-theme="dark"] #hero-banner .lead {
    color: #f8f9fa;
}

[data-bs-theme="dark"] #hero-banner .btn-hero.btn-outline-primary {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}
[data-bs-theme="dark"] #hero-banner .btn-hero.btn-outline-primary:hover {
    background-color: #fff;
    border-color: #fff;
    color: #000;
}

[data-bs-theme="dark"] .sub-banner { 
    background-color: #1a1a1a;
}

[data-bs-theme="dark"] .info-box:hover .info-box-title {
    color: #fff;
}

[data-bs-theme="dark"] .reference-slider::before { 
    background: linear-gradient(to left, rgba(33, 37, 41, 0) 0%, var(--bs-body-bg) 100%); 
}
[data-bs-theme="dark"] .reference-slider::after { 
    background: linear-gradient(to right, rgba(33, 37, 41, 0) 0%, var(--bs-body-bg) 100%); 
}
[data-bs-theme="dark"] .reference-track img { 
    filter: grayscale(1) invert(1);
    opacity: 0.4;
}
[data-bs-theme="dark"] .reference-track img:hover { 
    filter: grayscale(0) invert(0); 
    opacity: 1; 
}
[data-bs-theme="dark"] .references-link a { 
    color: var(--bs-body-color);
}

[data-bs-theme="dark"] footer { 
    background-color: #1c1e21; 
    border-top: 1px solid #343a40;
}

[data-bs-theme="dark"] .modal-header-premium {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    border-bottom: 1px solid var(--bs-border-color);
}
[data-bs-theme="light"] .modal-header-premium {
    background-color: #343a40;
    color: #fff;
    border-bottom: 0;
}
[data-bs-theme="light"] .modal-header-premium .btn-close {
    filter: invert(1) grayscale(100) brightness(200%);
}

[data-bs-theme="dark"] .cta {
    background-color: #212529;
}

[data-bs-theme="light"] .theme-toggle-btn .theme-icon-light {
    display: none;
}
[data-bs-theme="light"] .theme-toggle-btn .theme-icon-dark {
    display: inline-block;
}
[data-bs-theme="dark"] .theme-toggle-btn .theme-icon-light {
    display: inline-block;
}
[data-bs-theme="dark"] .theme-toggle-btn .theme-icon-dark {
    display: none;
}

/* --- Mobil overflow koruması --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}

/* ======================================== */
/* === PORTFOLYO FİLTRE STİLLERİ === */
/* ======================================== */

.portfolio-filter .nav-link {
    color: var(--bs-body-color);
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    transition: all 0.2s ease;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    margin: 0 0.25rem;
    border: 1px solid transparent;
}

.portfolio-filter .nav-link:hover {
    color: var(--bs-primary);
    background-color: var(--bs-body-tertiary);
}

.portfolio-filter .nav-link.active {
    color: var(--bs-primary);
    font-weight: 600;
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    border-color: rgba(var(--bs-primary-rgb), 0.3);
}

@media (max-width: 768px) {
    .portfolio-filter {
        flex-direction: column;
        align-items: stretch;
    }
    .portfolio-filter .nav-item {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    .portfolio-filter .nav-link {
        justify-content: center;
    }
}


/* ======================================== */
/* === YENİ PORTFOLYO KART STİLLERİ === */
/* ======================================== */

.portfolio-card {
    background-color: var(--bs-card-bg);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.portfolio-card .portfolio-image-link img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-radius: 0.75rem 0.75rem 0 0;
}
.portfolio-card:hover .portfolio-image-link img {
    transform: scale(1.05);
}

.portfolio-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
}

.portfolio-card-title {
    font-weight: 600;
    color: var(--bs-body-color);
    margin-bottom: 0.5rem; 
}

.portfolio-card-desc {
    font-size: 0.9rem;
    color: var(--bs-secondary-color);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1; 
}

.portfolio-card-link {
    color: var(--bs-body-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    align-self: flex-start; 
    margin-top: auto; 
}
.portfolio-card-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--bs-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.portfolio-card:hover .portfolio-card-link::after {
    transform: scaleX(1);
}

/* ======================================== */
/* === YENİ 2'Lİ CTA KUTULARI === */
/* ======================================== */
.cta-boxes-container {
    background-color: var(--bs-body-tertiary);
}

.cta-box {
    border-radius: 0.75rem;
    padding: 1.5rem; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

@media (min-width: 768px) {
    .cta-box {
        flex-direction: row;
        align-items: center;
        padding: 2rem; 
    }
}

.cta-box-content {
    flex-grow: 1;
    margin-bottom: 1rem; 
}
@media (min-width: 768px) {
    .cta-box-content {
        margin-bottom: 0;
        margin-right: 1.5rem;
    }
}

.cta-box .cta-box-title {
    font-weight: 700;
    margin-bottom: 0.25rem; 
    font-size: 1.15rem; 
}
.cta-box .cta-box-text {
    margin-bottom: 0;
    font-size: 0.9rem; 
}

.cta-box .btn {
    flex-shrink: 0;
    font-weight: 500;
    padding: 0.4rem 0.9rem;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem; 
    transition: opacity 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
@media (min-width: 768px) {
    .cta-box .btn {
        width: auto;
    }
}

@keyframes cta-blink {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.cta-box .btn:hover {
     animation: cta-blink 0.8s ease-in-out infinite;
}

/* Mavi Kutu Stilleri */
.cta-box-primary {
    background-color: var(--bs-primary);
    color: #fff;
}
.cta-box-primary .cta-box-text {
    color: rgba(255, 255, 255, 0.8);
}
.cta-box-primary .btn-light {
    color: var(--bs-primary);
}
.cta-box-primary .btn-light:hover {
     background-color: #e9ecef;
}
[data-bs-theme="dark"] .cta-box-primary .btn-light {
    color: var(--bs-primary);
}


/* Koyu Kutu Stilleri */
.cta-box-dark {
    background-color: #075E54;
    color: #fff;
}
.cta-box-dark .cta-box-text {
    color: rgba(255, 255, 255, 0.7);
}

.btn-whatsapp {
    background-color: #25D366;
    border-color: #25D366;
    color: #fff;
}
.btn-whatsapp:hover {
    background-color: #1DAE53; 
    border-color: #1DAE53;
    color: #fff;
}

[data-bs-theme="dark"] .cta-box-dark {
    background-color: #054D44;
}
[data-bs-theme="dark"] .cta-boxes-container {
    background-color: #1a1a1a;
}


/* ======================================== */
/* === BLOG LİSTESİ & DETAY STİLLERİ === */
/* ======================================== */

.blog-sidebar-module {
    background-color: var(--bs-card-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
}
.blog-sidebar-title {
    font-weight: 600;
    font-size: 1.25rem;
    border-bottom: 1px solid var(--bs-border-color);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

/* Popüler Yazılar Modülü */
.popular-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.popular-posts-list li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed var(--bs-border-color);
}
.popular-posts-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.popular-posts-list a {
    text-decoration: none;
    color: var(--bs-body-color);
    font-weight: 500;
    line-height: 1.4;
    display: block;
    margin-bottom: 0.25rem;
}
.popular-posts-list a:hover {
    color: var(--bs-primary);
}
.popular-posts-list span {
    font-size: 0.85rem;
    color: var(--bs-secondary-color);
}

/* Reklam Modülü */
.reklam-banner {
    background-color: var(--bs-body-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
}
.reklam-banner img {
    max-width: 100%;
    height: auto;
}

/* Medya Kart Stili (Liste sayfası) */
.blog-media-card {
    background-color: var(--bs-card-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
}
.blog-media-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.blog-media-image {
    display: block;
    height: 100%;
}
.blog-media-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-radius: 0.75rem 0.75rem 0 0;
}
@media (min-width: 768px) {
    .blog-media-image img {
        border-radius: 0.75rem 0 0 0.75rem;
    }
}
.blog-media-card:hover .blog-media-image img {
    transform: scale(1.05);
}

.blog-item-tag {
    padding: 0;
    margin-bottom: 0.75rem;
}
.blog-item-tag a {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    color: #fff;
}
.tag-sosyal-medya { background-color: #E1306C; }
.tag-mobil { background-color: #0D6EFD; }
.tag-internet { background-color: #198754; }
.tag-teknoloji { background-color: #6f42c1; }

.blog-media-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%; 
}
.blog-item-title {
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.blog-item-title a {
    text-decoration: none;
    color: var(--bs-body-color);
}
.blog-item-title a:hover {
    color: var(--bs-primary);
}
.blog-item-desc {
    font-size: 0.95rem;
    color: var(--bs-secondary-color);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1; 
}
.blog-media-content .btn-outline-primary {
    font-weight: 500;
    padding: 0.4rem 1rem;
    margin-top: auto; 
    align-self: flex-start; 
}

/* Detay Sayfası Stilleri */
.blog-detay-header {
    padding-top: 1rem;
}
.blog-detay-header .blog-item-tag a {
    font-size: 0.8rem;
}
.blog-detay-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
}
@media (max-width: 768px) {
    .blog-detay-header h1 {
        font-size: 1.8rem;
    }
}

.blog-detay-hero-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin-bottom: 1.5rem; 
    border-radius: 0.75rem;
}

/* Sosyal Medya Paylaşım Kutusu */
.blog-detay-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem; 
    padding: 1rem 1.5rem; 
    background-color: var(--bs-body-tertiary); 
    border: 1px solid var(--bs-border-color); 
    border-radius: 0.75rem; 
    margin: 1.5rem 0; 
}
.blog-detay-share strong {
    font-size: 0.9rem; 
    font-weight: 600;
    margin-right: 0.5rem;
}
.btn-share-social {
    color: var(--bs-secondary-color) !important; 
    font-size: 1.1rem; 
    padding: 0.35rem 0.7rem; 
    text-decoration: none;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    border: 1px solid transparent; 
    background-color: transparent; 
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.btn-share-social:hover {
    color: var(--bs-primary) !important; 
    background-color: var(--bs-body-bg) !important; 
    border-color: var(--bs-border-color) !important;
}


.blog-detay-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--bs-body-color);
}
.blog-detay-content p {
    margin-bottom: 1.5rem;
}
.blog-detay-content strong {
    color: var(--bs-body-color);
    font-weight: 600;
}
.blog-detay-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}
.blog-detay-content .figure-caption {
    font-size: 0.9rem;
    color: var(--bs-secondary-color);
}

.blog-detay-tags {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--bs-border-color);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.blog-detay-tags a {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--bs-secondary-color);
    background-color: var(--bs-body-tertiary);
    border: 1px solid var(--bs-border-color);
    border-radius: 5px;
    transition: all 0.2s ease;
}
.blog-detay-tags a:hover {
    color: #fff;
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

/* Yazar Kutusu stilleri kaldırıldı */


/* Sayfalama Stilleri */
.pagination {
    --bs-pagination-color: var(--bs-primary);
    --bs-pagination-hover-color: var(--bs-primary);
    --bs-pagination-active-bg: var(--bs-primary);
    --bs-pagination-active-border-color: var(--bs-primary);
    --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
    font-weight: 500;
}

/* ======================================== */
/* === HAKKIMIZDA SAYFASI STİLLERİ === */
/* ======================================== */

.about-image {
    width: 100%;
    height: 100%; 
    min-height: 450px; 
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .about-image {
        height: 400px; 
        min-height: auto;
    }
}

.stat-number-new {
    color: var(--bs-primary);
    font-size: 1.75rem !important; 
    font-weight: 700 !important;
}
.info-box:hover .stat-number-new {
    color: #fff !important; 
}


.about-founder-box {
    text-align: center;
    padding: 2rem;
    background-color: var(--bs-body-tertiary);
    border: 1px solid var(--bs-border-color);
    border-radius: 0.75rem;
}
.about-founder-box .author-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.about-founder-box .author-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bs-body-color);
    margin-bottom: 0.25rem;
}
.about-founder-box .text-pretitle {
    margin-bottom: 0.5rem;
}
.about-founder-box .author-bio {
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 600px; 
    margin: 0 auto; 
}

/* ======================================== */
/* === İLETİŞİM SAYFASI STİLLERİ === */
/* ======================================== */

/* Harita Stilleri */
.contact-map-section {
    line-height: 0; 
    border-bottom: 1px solid var(--bs-border-color);
}

[data-bs-theme="dark"] .contact-map-section iframe {
    filter: invert(90%) hue-rotate(200deg); 
}

.info-box .contact-info-link {
    text-decoration: none;
    color: var(--bs-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.info-box:hover .contact-info-link {
    color: #fff; 
}

.info-box.align-items-start .info-box-icon {
    padding-top: 0.25rem;
}

/* ======================================== */
/* === 404 HATA SAYFASI STİLLERİ === */
/* ======================================== */

.error-animation {
    font-size: 10rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

@keyframes float-error-num {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

.error-animation .num4 {
    color: var(--bs-body-color);
    animation: float-error-num 4s ease-in-out infinite;
    animation-delay: 0.2s;
}
.error-animation .num0 {
    color: var(--bs-primary);
    animation: float-error-num 4s ease-in-out infinite;
}

.error-search-form {
    max-width: 450px;
    margin: 0 auto 1rem auto;
    position: relative;
}
.error-search-form .form-control {
    height: 50px;
    padding-left: 1.25rem;
    padding-right: 50px;
}
.error-search-form .btn {
    position: absolute;
    top: 5px;
    right: 5px;
    bottom: 5px;
    width: 40px;
    padding: 0;
}

/* ================================== */
/* 13. PORTFOLYO GÖRSEL ZOOM (YENİ) */
/* ================================== */
.product-detail-image-wrapper {
    position: relative;
    display: block;
    overflow: hidden; 
    border-radius: 0.75rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175);
}

.product-detail-image-wrapper img {
    box-shadow: none !important; 
    border-radius: 0 !important; 
}

.product-detail-image-wrapper .zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0; 
    transition: opacity 0.3s ease;
}

.product-detail-image-wrapper:hover .zoom-overlay {
    opacity: 1; 
    cursor: pointer;
}

.product-detail-image-wrapper .zoom-overlay i {
    color: #fff;
    font-size: 3rem; 
}

/* Modal'ın kendisi */
#imageModal .modal-dialog {
    max-width: 900px; 
}

#imageModal .modal-content {
     background-color: transparent;
     border: none;
     box-shadow: none;
}

#imageModal .modal-header {
     z-index: 10; 
}

/* ================================== */
/* 14. ÇEREZ BİLDİRİMİ (YENİ) */
/* ================================== */
.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    max-width: 500px;
    background-color: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius-lg);
    padding: 1.5rem;
    z-index: 1050;
    display: none; /* JS ile gösterilecek */
    align-items: center;
}

.cookie-text {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.cookie-link {
    font-weight: 600;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* Mobil cihazlar için (alt alta) */
@media (max-width: 576px) {
    .cookie-banner {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        flex-direction: column;
        align-items: stretch;
    }
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    .cookie-buttons .btn {
        width: 100%;
    }
}

/* Tablet ve üstü (yan yana) */
@media (min-width: 577px) {
    .cookie-banner {
        flex-direction: row;
        gap: 1.5rem;
    }
    .cookie-text {
        margin-bottom: 0;
    }
    .cookie-buttons {
        flex-direction: row;
    }
}

/* Yasal metin sayfaları için stil */
.hukuki-metin {
    line-height: 1.8;
}
.hukuki-metin h3 {
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.hukuki-metin p {
    margin-bottom: 1rem;
}
.hukuki-metin ul {
    margin-bottom: 1.5rem;
}

/* --- HEADER GİRİŞ & KAYIT BUTONLARI (ÖZEL) --- */
.btn-auth-login {
    color: var(--bs-body-color);
    border: 1px solid var(--bs-border-color);
    background-color: transparent;
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    border-radius: 50px; /* Oval tasarım */
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-auth-login:hover {
    background-color: var(--bs-body-tertiary);
    border-color: var(--bs-primary);
    color: var(--bs-primary);
    transform: translateY(-2px);
}

.btn-auth-register {
    background: linear-gradient(45deg, var(--bs-primary), var(--bs-primary-dark));
    color: #fff;
    border: none;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-radius: 50px; /* Oval tasarım */
    box-shadow: 0 4px 10px rgba(var(--bs-primary-rgb), 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-auth-register:hover {
    box-shadow: 0 6px 15px rgba(var(--bs-primary-rgb), 0.5);
    transform: translateY(-2px);
    color: #fff;
}

/* Giriş yapmış kullanıcı menüsü için */
.user-menu-btn {
    border: 1px solid var(--bs-border-color);
    background-color: var(--bs-body-bg);
    border-radius: var(--bs-border-radius); /* Standart Bootstrap ovali */
    padding: 0.5rem 1.25rem; /* Biraz daha geniş ve ferah */
    font-weight: 500;
    transition: all 0.3s ease;
}
.user-menu-btn:hover, .user-menu-btn[aria-expanded="true"] {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}

/* --- HOVER MENÜ DÜZELTMESİ --- */

/* Menü konumunu sabitle */
.navbar .nav-item.dropdown .dropdown-menu {
    margin-top: 10px !important; /* Görsel boşluğu buradan veriyoruz */
    display: none; /* Varsayılan olarak gizli */
}

/* Hover durumunda göster */
.navbar .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

/* KÖPRÜ KODU: Menü ile buton arasındaki boşluğu dolduran görünmez alan */
.navbar .nav-item.dropdown .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -15px; /* Menünün üstündeki boşluğu kapsar */
    left: 0;
    width: 100%;
    height: 15px; /* Boşluk kadar yükseklik */
    background: transparent; /* Görünmez */
}