/*------------------------------------*\
  #ROOT VARIABLES
\*------------------------------------*/
:root {
    /* Renk Değişkenleri */
    --primary-color: #e2000f;
    --secondary-color: #06092b;
    --primary-color-hover: #c0000d;
    --secondary-color-hover: #121965; /* #06092b'nin biraz daha açık/farklı bir tonu */

    /* Mevcut Swiper Değişkenleri */
    --swiper-pagination-color: var(--primary-color); /* Ana rengi kullan */
    --swiper-navigation-color: #fff;
    --swiper-navigation-size: 30px !important;

    /* İsteğe bağlı: Diğer genel değişkenler (fontlar, boşluklar vb.) */
    /* --body-font: 'Roboto', sans-serif; */
    /* --base-spacing: 1rem; */
}

/*------------------------------------*\
  #LAYOUT & CONTAINERS
\*------------------------------------*/
/* .page-wrap {
    padding: 2rem 0;
} */

/*------------------------------------*\
  #HEADER & NAVIGATION
\*------------------------------------*/
/* Info Bar */
.info-bar {
    background: #06092b;
    font-size: 14px;
    color: #fff;
}

.info-bar-right {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.info-bar i {
    margin-right: 0.5rem;
}

.info-bar-left .social-icon i {
    font-size: 16px; /* İstenen ikon boyutu */
    vertical-align: middle;
}

.info-bar-left .social-icon {
    color: #fff; /* İkon rengini buradan ayarlayabilirsiniz, örneğin #333 */
    text-decoration: none;
}

.info-bar-right a {
    text-decoration: none;
    color: inherit; /* Üst elementin metin rengini alır */
}

.info-bar-right a:not([href^="tel:"]):not([href^="https://wa.me/"]):hover {
    text-decoration: none !important;
}

.info-bar-right a:hover {
    text-decoration: underline;
}

/* Main Navigation */
.navbar {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-nav {
    margin-left: auto;
}

/* Logo */
.custom-logo-link {
    display: block;
    padding: 0.5rem 0;
}

.custom-logo {
    height: 50px;
    width: auto;
}

/* Navigation Items */
.navbar-nav .menu-item {
    position: relative;
    margin: 0 0.5rem;
}

.navbar-nav .menu-item a {
    color: #333;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: block;
    font-weight: 500;
}

/* Dropdown Menus */
.navbar-nav .menu-item-has-children {
    position: relative;
}

.navbar-nav .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    margin-left: 0.5em;
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.navbar-nav .sub-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 200px;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
    list-style: none;
}

/*------------------------------------*\
  #SLIDER COMPONENTS
\*------------------------------------*/
/* Swiper Container */
.swiper-container, .swiper-container-main-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 21/9;
    overflow: hidden;
    border-radius: 10px;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Slide Content */
.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    color: #fff;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

/*------------------------------------*\
  #PAGE COMPONENTS
\*------------------------------------*/
/* Page Title */
.page-title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    position: relative;
}

/* About Hero */
.about-hero {
    position: relative;
    height: 400px;
    overflow: hidden;
    margin-bottom: 3rem;
}

/* Gallery Section */
.gallery-section {
    margin: 2rem 0;
}

/* Featured Image */
.featured-image {
    margin: 2rem 0;
    width: 100%;
    height: auto;
    overflow: hidden;
}

/*------------------------------------*\
  #LIGHTBOX
\*------------------------------------*/
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
}

/*------------------------------------*\
  #FOOTER
\*------------------------------------*/
.footer {
    background-color: #06092b;
    color: #fff;
    padding: 3rem 0;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
}

/*------------------------------------*\
  #UTILITIES
\*------------------------------------*/
/* Catalog Button */
.btn-catalog {
    background-color: #e2000f;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
}

/*------------------------------------*\
  #RESPONSIVE
\*------------------------------------*/
/* Desktop (1200px+) */
@media (max-width: 1400px) {
    .about-hero {
        max-width: 1140px;
    }
}

/* Tablet (992px - 1199px) */
@media (max-width: 1200px) {
    .about-hero {
        max-width: 960px;
    }
}

/* Mobile (768px - 991px) */
@media (max-width: 991px) {
    /* Mobile Navigation */
    .navbar-nav .sub-menu {
        position: static;
        box-shadow: none;
        padding-left: 1.5rem;
    }
    
    /* Mobile Buttons */
    .btn-catalog {
        margin-top: 1rem;
        text-align: center;
        display: block;
    }
}

/* Small Mobile (< 768px) */
@media (max-width: 768px) {
    .swiper-container-main-slider {
        aspect-ratio: 16/9;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .footer {
        padding: 2rem 0;
    }
}

header .top-bar {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

header .top-bar li a {
  color: #000;
  font-weight: 400;
  padding: 0.25rem 1rem;
  text-decoration: none;
  transition: text-decoration 0.3s ease;
}

header .top-bar li a:hover {
  color: #e2000f;
  text-decoration: underline;
  text-underline-offset: 15px; /* Alt çizginin metin ile mesafesi */
  text-decoration-thickness: 2px; /* Alt çizginin kalınlığı */
  transition: text-decoration 0.3s ease;
}

.flag-icon {
  width: 20px;
  height: 20px;
  margin-right: 5px;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper {
  margin-left: auto;
  margin-right: auto;
}

/* Swiper slide içeriği */
.slide-content h2 {
  font-size: 24px;
  margin: 0 0 10px;
  font-weight: 600;
}

.slide-content p {
  font-size: 16px;
  margin: 0 0 10px 0;
  font-weight: 400;
}

/* Mobil cihazlar için aspect-ratio */
@media (max-width: 768px) {
  .swiper-container-main-slider {
    aspect-ratio: 16 / 9; /* Mobil cihazlar için daha yüksek bir oran */
  }
}

.info-bar i {
  margin-right: 5px;
  color: #b4b4b4;
}

.info-bar .info-bar-right div {
  display: flex;
  align-items: center;
}

/* Mobil düzenlemeler */
@media (max-width: 576px) {
    .info-bar {
        font-size: 12px;
    }

    .info-bar-right {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem 0;
    }

    .info-bar i {
        width: 16px;
        text-align: center;
    }
}

/* Ana sayfa slider stilleri */
.home-swiper {
    width: 100%;
    height: auto;
}

/* Ürün galerisi slider stilleri */
.product-gallery-swiper {
    position: relative;
    width: 100%;
    height: auto;
    margin: 2rem 0;
    padding: 1rem 0;
}

.product-gallery-swiper .swiper-slide {
    height: 200px;
    cursor: pointer;
}

.product-gallery-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.product-gallery-swiper .swiper-slide img:hover {
    transform: scale(1.05);
}

/* Ürün galerisi navigasyon butonları */
.product-gallery-next,
.product-gallery-prev {
    color: #000;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.product-gallery-next:after,
.product-gallery-prev:after {
    font-size: 18px;
}

/* Ürün galerisi pagination */
.product-gallery-pagination {
    position: relative;
    bottom: 0;
    margin-top: 20px;
}

.product-gallery-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #000;
    opacity: 0.5;
}

.product-gallery-pagination .swiper-pagination-bullet-active {
    opacity: 1;
}

.product-gallery-pagination {
    --swiper-pagination-color: #000;
}

.featured-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Lightbox stilleri */
.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
    user-select: none;
    transition: transform 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001;
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 1002;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
}

.lightbox-prev,
.lightbox-next {
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

lightbox-prev:hover,
lightbox-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Mobil için düzenleme */
@media (max-width: 768px) {
    .lightbox-nav {
        padding: 0 15px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        font-size: 30px;
        padding: 15px;
    }
}

/* Responsive ayarlar */
@media (max-width: 768px) {
    .product-gallery-swiper .swiper-slide {
        height: 150px;
    }
}

@media (max-width: 576px) {
    .product-gallery-swiper .swiper-slide {
        height: 120px;
    }
}

.product-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    text-align: left;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .product-title {
        font-size: 2rem;
        margin: 1.5rem 0;
    }
}

.gallery-header {
    margin: 3rem 0 2rem 0;
}

.gallery-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.separator {
    width: 100%;
    height: 1px;
    background-color: #e5e5e5;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .gallery-header h2 {
        font-size: 1.5rem;
    }
}

/* Ana menü stilleri */
.navbar-nav .nav-item {
    position: relative;
    margin: 0 0.5rem;
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
}

/* Dropdown menü stilleri */
.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
}

.navbar-nav .dropdown-item {
    padding: 0.5rem 1.5rem;
    color: #333;
}

.navbar-nav .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #000;
}

/* Alt menü ok işareti */
.navbar-nav .dropdown-toggle::after {
    margin-left: 0.5em;
}

/* Aktif menü öğesi */
.navbar-nav .nav-item.active .nav-link,
.navbar-nav .nav-link:hover {
    color: #007bff;
}

/* Mobil menü düzenlemeleri */
@media (max-width: 991px) {
    .navbar-nav .dropdown-menu {
        border: none;
        padding-left: 1rem;
        box-shadow: none;
    }

    .navbar-nav .nav-item {
        margin: 0;
    }
}

/* Ana menü stilleri */
.navbar-nav {
    margin-right: 0;
}

.navbar-nav .menu-item a {
    color: #333;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: block;
    font-weight: 500;
}

/* Dropdown menü */
.navbar-nav .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    margin-left: 0.5em;
    vertical-align: middle;
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.navbar-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    min-width: 200px;
    padding: 0.5rem 0;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    list-style: none;
}

.navbar-nav .menu-item-has-children:hover > .sub-menu {
    display: block;
}

.navbar-nav .sub-menu .menu-item a {
    padding: 0.5rem 1.5rem;
}

/* Aktif menü öğesi */
.navbar-nav .current-menu-item > a,
.navbar-nav .menu-item a:hover {
    color: #333;
    background-color: rgba(0,0,0,0.05);
}

/* Mobil menü */
@media (max-width: 991px) {
    .navbar-nav .sub-menu {
        display: block;
        position: static;
        box-shadow: none;
        padding-left: 1rem;
    }

    .navbar-nav .menu-item {
        margin: 0;
    }

    .navbar-nav .menu-item a {
        padding: 0.5rem 1rem;
    }
}

/* Birinci seviye dropdown menü */
.navbar-nav .menu-item-has-children > .sub-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 200px;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
    margin: 0;
    list-style: none;
}

/* Alt menüleri olan öğeler */
.navbar-nav .menu-item-has-children {
    position: relative;
}

/* İkinci seviye dropdown menüler */
.navbar-nav .sub-menu .menu-item-has-children > .sub-menu {
    top: 0;
    left: 100%;
}

/* Hover durumunda alt menüleri göster */
.navbar-nav .menu-item-has-children:hover > .sub-menu {
    display: block;
}

/* Birinci seviye menü öğeleri */
.navbar-nav > .menu-item-has-children > .sub-menu {
    top: 100%;
    left: 0;
}

/* Ok işaretlerini düzenle */
.navbar-nav .menu-item-has-children > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-nav .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    margin-left: 0.5em;
    vertical-align: middle;
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

/* Alt menü ok işaretleri */
.navbar-nav .sub-menu .menu-item-has-children > a::after {
    transform: rotate(-90deg);
    float: right;
    margin-top: 0.1em;
}

/* Mobil görünüm için ok işaretleri */
@media (max-width: 991px) {
    .navbar-nav .menu-item-has-children > a {
        padding-right: 1.5rem;
    }
    
    .navbar-nav .sub-menu .menu-item-has-children > a::after {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%) rotate(-90deg);
    }
}

/* Ok işaretlerini düzenle */
.navbar-nav .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    margin-left: 0.5em;
    vertical-align: middle;
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.navbar-nav .sub-menu .menu-item-has-children > a::after {
    transform: rotate(-90deg);
    float: right;
    margin-top: 0.1em;
}

/* Mobil görünüm için düzenleme */
@media (max-width: 991px) {
    .navbar-nav .sub-menu {
        position: static;
        display: none;
        box-shadow: none;
        padding-left: 1.5rem;
    }

    .navbar-nav .menu-item-has-children:hover > .sub-menu {
        display: none;
    }

    .navbar-nav .menu-item-has-children.show > .sub-menu {
        display: block;
    }
}

/* Mobil menü düzenlemeleri */
@media (max-width: 991px) {
    .navbar-nav .sub-menu {
        position: static;
        display: none;
        box-shadow: none;
        padding-left: 1.5rem;
        background: transparent;
    }

    .navbar-nav .menu-item-has-children > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .navbar-nav .menu-item-has-children > a::after {
        margin-left: auto;
        transition: transform 0.3s ease;
    }

    .navbar-nav .menu-item-has-children.show > a::after {
        transform: rotate(180deg);
    }

    .navbar-nav .menu-item {
        width: 100%;
    }

    .navbar-nav .menu-item a {
        padding: 0.75rem 1rem;
        width: 100%;
        display: flex;
        align-items: center;
    }

    /* Hover efektlerini devre dışı bırak */
    .navbar-nav .menu-item-has-children:hover > .sub-menu {
        display: none;
    }

    /* Show class'ı eklendiğinde alt menüyü göster */
    .navbar-nav .menu-item-has-children.show > .sub-menu {
        display: block;
    }
}

/* Mobil menü düzenlemeleri */
@media (max-width: 991px) {
    .navbar-nav .sub-menu {
        position: static !important;
        display: none;
        box-shadow: none;
        padding-left: 1.5rem;
        background: transparent;
        width: 100%;
        left: 0;
    }

    .navbar-nav .menu-item-has-children {
        position: relative;
        width: 100%;
    }

    .navbar-nav .menu-item-has-children > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .navbar-nav .menu-item-has-children > a::after {
        margin-left: auto;
        transition: transform 0.3s ease;
    }

    .navbar-nav .menu-item-has-children.show > a::after {
        transform: rotate(180deg);
    }

    /* Alt menülerin dikey açılmasını sağla */
    .navbar-nav .sub-menu .menu-item-has-children > .sub-menu {
        top: 0;
        left: 0;
        padding-left: 1rem;
    }

    /* Hover yerine click ile çalışması için */
    .navbar-nav .menu-item-has-children:hover > .sub-menu {
        display: none;
    }

    .navbar-nav .menu-item-has-children.show > .sub-menu {
        display: block;
    }
}

/* Katalog butonu */
.btn-catalog:hover {
    background-color: #c0000d;
    color: #fff;
}

/* Footer Styles */
.footer .custom-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-contact li {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #b4b4b4;
}

.footer-contact i {
    font-size: 1.4rem;
    color: #b4b4b4;
    flex-shrink: 0;
}

.footer-menu {
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu a {
    color: #b4b4b4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #b4b4b4;
    font-size: 1.8rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #fff;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 2rem;
    padding-top: 1.5rem;
    color: #b4b4b4;
}

/* Responsive */
@media (max-width: 991px) {
    .footer-title {
        margin-top: 2rem;
    }
    
    .social-links {
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 2rem 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .footer-title {
        margin-top: 1rem;
    }
}

/* Mobil düzenlemeler */
@media (max-width: 991px) {
    .btn-catalog {
        margin-top: 1rem;
        text-align: center;
        display: block;
    }
}

.about-hero {
    max-width: 1320px; /* Bootstrap container max-width */
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.about-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1400px) {
    .about-hero {
        max-width: 1140px;
    }
}

@media (max-width: 1200px) {
    .about-hero {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .about-hero {
        max-width: 720px;
    }
}

@media (max-width: 768px) {
    .about-hero {
        height: 300px;
        margin-bottom: 2rem;
        max-width: 540px;
    }
}

@media (max-width: 576px) {
    .about-hero {
        max-width: 100%;
    }
}

.about-content {
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

@media (max-width: 768px) {
    .about-hero {
        height: 300px;
        margin-bottom: 2rem;
    }
}

.page-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    margin: 1rem auto 0;
}

.reference-logo-wrapper {
    width: 180px; /* Boyutu artırıldı (örneğin 150px'den 180px'e) */
    height: 180px; /* Genişlikle aynı olmalı */
    margin: 0 auto 30px auto; /* Alt boşluk artırıldı (örneğin 0 auto'dan 0 auto 30px auto'ya) */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
}

.reference-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease-in-out;
}

.reference-logo:hover {
    filter: grayscale(0%);
}

.document-images-wrapper {
    width: 80%; /* Boyutu artırıldı (örneğin 150px'den 180px'e) */
    margin: 0 auto 30px auto; /* Alt boşluk artırıldı (örneğin 0 auto'dan 0 auto 30px auto'ya) */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
}

.document-images {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: filter 0.3s ease-in-out;
}

/* main.css */
.gallery-image-wrapper {
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    text-align: center;
    height: 200px; /* Veya istediğiniz bir yükseklik, ya da kaldırabilirsiniz */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-image-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain; /* Veya 'cover' */
}

.gallery-category-title {
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

/*------------------------------------*\
  #BUTTONS
\*------------------------------------*/
.btn {
    padding: 8px 24px;
    border-radius: 4px;
    /* Diğer genel buton stilleriniz buraya eklenebilir, 
       örneğin transition, font-weight vb. */
}

/* Bootstrap'in farklı .btn- türleri için de geçerli olmasını sağlar */
.btn-primary,
.btn-secondary,
.btn-success,
.btn-danger,
.btn-warning,
.btn-info,
.btn-light,
.btn-dark,
.btn-link,
.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-success,
.btn-outline-danger,
.btn-outline-warning,
.btn-outline-info,
.btn-outline-light,
.btn-outline-dark {
    padding: 8px 24px;
    border-radius: 4px;
}

/*------------------------------------*\
  #HORIZONTAL RULES
\*------------------------------------*/
hr {
    border: 0; /* Mevcut border'ı sıfırla */
    height: 1px; /* Yüksekliği ayarla */
    background-color: #f4f4f4; /* İstenen renk */
    color: #f4f4f4; /* Bazı tarayıcılar için fallback */
    opacity: 1; /* Bootstrap'in varsayılan opacity'sini kaldırabilir */
}

/*------------------------------------*\
  #HOMEPAGE SPECIFIC STYLES
\*------------------------------------*/

/* Homepage Buttons */
#home-about .btn,
#home-products .btn,
#home-cta .btn {
    background-color: #06092b;
    color: #fff;
    border-color: #06092b; /* Kenarlık rengini de ayarlar, outline butonlar için önemlidir */
}

/* Homepage button hover state (isteğe bağlı, daha koyu bir ton) */
#home-about .btn:hover,
#home-products .btn:hover,
#home-cta .btn:hover {
    background-color: #04061f; /* #06092b'nin biraz daha koyu bir tonu */
    color: #fff;
    border-color: #04061f;
}

/* Default Homepage Button Style (e.g., for #home-about or other sections if needed) */
#home-about .btn {
    background-color: #06092b;
    color: #fff;
    border: 1px solid #06092b;
}

#home-about .btn:hover {
    background-color: #04061f; /* #06092b'nin biraz daha koyu bir tonu */
    color: #fff;
    border-color: #04061f;
}

/* "Ürünleri Gör" buttons in #home-products */
#home-products .btn {
    background-color: transparent;
    color: #06092b;
    border: 1px solid #06092b;
}

#home-products .btn:hover {
    background-color: #06092b;
    color: #fff;
    border-color: #06092b;
}

#browse-all {
    background-color: #09116c !important;
    color: #fff !important;
}

#browse-all:hover {
    background-color: #06092b !important; /* #06092b'nin biraz daha koyu bir tonu */
    color: #fff !important;
    border-color: #06092b !important;
}

/* "Teklif Al / İletişim" button in #home-cta */
#home-cta .btn {
    background-color: #e2000f;
    color: #fff;
    border: 1px solid #e2000f;
}

#home-cta .btn:hover {
    background-color: #c0000d; /* #e2000f'nin biraz daha koyu bir tonu */
    color: #fff;
    border-color: #c0000d;
}

/* Teklif İsteyin butonu için özel stil */
.contact-cta .btn-primary {
    background-color: #e2000f;
    color: #fff;
    border-color: #e2000f;
}

.contact-cta .btn-primary:hover {
    background-color: #c1000d; /* #e2000f'nin daha koyu tonu */
    color: #fff;
    border-color: #c1000d;
}

/* Tıklanabilir marka logoları için stiller */
.brand-link {
    text-decoration: none;
    color: #333;
    display: block;
    transition: transform 0.3s ease;
}

.brand-link:hover {
    text-decoration: none;
    color: #06092b;
    transform: translateY(-5px);
}

.brand-logo-wrapper {
    border: 1px solid #eee;
    border-radius: 8px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.brand-logo {
    max-height: 180px;
    max-width: 100%;
    transition: filter 0.3s ease;
}

.brand-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(6, 9, 43, 0.75); /* #06092b rengi ile uyumlu, hafif şeffaf */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.view-details {
    color: #fff;
    font-weight: 500;
    padding: 5px 15px;
    border: 2px solid #fff;
    border-radius: 4px;
}

.brand-link:hover .brand-overlay {
    opacity: 1;
}

.brand-link:hover .brand-logo-wrapper {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.brand-name {
    font-weight: 500;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.brand-link:hover .brand-name {
    color: #06092b;
}

/* İletişim Sayfası Stilleri */
.contact-info {
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    background-color: #f8f9fa;
}

.contact-item i {
    font-size: 1.5rem;
    color: #fff;
}

.social-icons {
    display: flex;
    align-items: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #06092b;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #fff;
}

.contact-form {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 400px;
    position: relative;
    height: 0;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Sosyal Medya İkonları - Genel Stillemeler */
.social-icons {
    display: flex;
    align-items: center;
    gap: 10px; /* İkonlar arası boşluk */
}

/* İletişim sayfasındaki sosyal ikonlar */
.contact-info .social-icon-con {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.contact-info .social-icon-con:hover {
    background-color: var(--secondary-color-hover);
    color: #fff;
    transform: translateY(-3px);
}

/* Footer'daki sosyal ikonlar */
.footer .social-icon-con {
    color: #b4b4b4;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer .social-icon-con:hover {
    color: #fff;
    transform: translateY(-3px);
}

/* İletişim sayfası gönder butonu */
.contact-form .btn-primary,
#contactForm .btn-primary {
    background-color: #e2000f;
    border-color: #e2000f;
    color: #fff;
}

.contact-form .btn-primary:hover,
#contactForm .btn-primary:hover {
    background-color: #c1000d; /* Biraz daha koyu tonu */
    border-color: #c1000d;
    color: #fff;
}

/* Referans logoları için stiller */
.reference-logo-wrapper {
    border: 1px solid #eee;
    border-radius: 8px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    background-color: #fff;
    overflow: hidden;
}

.reference-logo-wrapper:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.reference-logo {
    max-height: 100%;
    max-width: 100%;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    -webkit-filter: grayscale(100%);
}

.reference-logo-wrapper:hover .reference-logo {
    filter: grayscale(0%);
}

.reference-name {
    font-size: 0.9rem;
    color: #555;
    margin-top: 10px;
    font-weight: 500;
}

/* Product List Sayfası Stilleri */
.product-list-hero {
    /* Gelecekte hero görseli için:
    background-size: cover;
    background-position: center;
    position: relative;
    */
    background-color: #171f7a;
}

.product-list-hero .page-title {
    font-weight: bold;
    /* text-shadow: 1px 1px 3px rgba(0,0,0,0.3); /* Başlık okunurluğunu artırmak için */
}

.product-list-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.product-list-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.product-list-card-img {
    height: 200px; /* Kart görselleri için sabit yükseklik */
    object-fit: cover; /* Resmin orantılı olarak alanı kaplamasını sağlar */
}

.product-list-card-title {
    color: #333;
    font-weight: 600;
    margin-top: 0.5rem;
}

.product-list-card a:hover .product-list-card-title {
    color: #e2000f; /* Hover durumunda başlık rengi */
}

/* Product Single Page Styles */
.product-hero-image-acf img {
    max-height: 500px; /* İsteğe bağlı: Hero görseli için maksimum yükseklik */
    object-fit: cover;
    border-radius: 4px;
}

.product-title {
    font-weight: bold;
    color: #333;
}

.page-content {
    line-height: 1.8;
}

.gallery-header .section-title {
    margin-bottom: 0.5rem;
}

hr.short-hr {
    width: 80px;
    margin: 0.5rem auto 1.5rem auto;
    border-top: 3px solid #e2000f; /* Ana renklerinizden biriyle uyumlu yapabilirsiniz */
    opacity: 1;
}

.product-photo-gallery .gallery-image-wrapper {
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    text-align: center;
    height: 200px; /* Galeri görselleri için sabit yükseklik */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 4px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.product-photo-gallery .gallery-image-wrapper:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.product-photo-gallery .gallery-image-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-single-hero {
    /* Gerekirse ek padding veya margin ayarları buraya eklenebilir */
}

.product-single-hero .product-title {
    font-weight: bold;
    /* text-shadow: 1px 1px 2px rgba(0,0,0,0.2); /* Beyaz metnin okunurluğunu artırmak için hafif gölge */
    position: relative; /* ::after pseudo-elementi için gereklidir */
}

.product-single-hero .product-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #fff; /* Başlık alanı koyu renk olduğu için beyaz çizgi */
    margin: 1rem auto 0; /* Başlığın altında ortalanmış çizgi */
}

/*------------------------------------*\
  #HOMEPAGE PRODUCT SLIDER
\*------------------------------------*/
.home-product-slider.swiper-container {
    height: auto;
    max-height: 320px; /* Slider yüksekliği */
}

.home-product-slider .swiper-wrapper {
    height: auto;
    max-height: 320px;;
}

.home-product-slider .swiper-slide {
    height: auto; /* Slaytın yüksekliği içeriğine göre ayarlanacak */
    display: flex; 
    flex-direction: column;
    justify-content: flex-start; /* Kartı slaytın üstüne yasla */
}

.home-product-slider .product-card {
    display: flex;
    flex-direction: column;
    width: 100%; 
    border: 1px solid #eee; 
    border-radius: 0.25rem; 
    overflow: hidden; 
    background-color: #fff;
    flex-grow: 0; /* Kartın dikeyde büyümesini engelle (istediğiniz gibi) */
}

.home-product-slider .product-card-link {
    display: block; /* Resmin tamamının tıklanabilir olması için */
}

.home-product-slider .product-card-img {
    width: 100%;
    height: 200px; /* Sabit resim yüksekliği, tasarımınıza göre ayarlayın */
    object-fit: cover; /* Resmin orantısını koruyarak alanı kaplaması */
}

.home-product-slider .product-card-body {
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Kartın alt kısmını doldurur */
}

.home-product-slider .product-card-title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: #333;
}

.home-product-slider .product-card-button {
    /* Buton için ek stiller gerekirse buraya eklenebilir */
}

/* Swiper Navigasyon ve Pagination için ek stiller (gerekirse) */
.home-product-slider .swiper-button-next,
.home-product-slider .swiper-button-prev {
    color: var(--swiper-navigation-color, #fff); /* Değişkenden veya varsayılan renk */
    /* Görsel yüksekliği 200px olduğu için dikey ortası 100px */
    top: 100px; 
    /* Swiper'ın varsayılan margin-top'unu kaldır (varsa) */
    margin-top: 0; 
    /* Okun kendi yüksekliğine göre dikey ortalamasını sağla */
    transform: translateY(-50%); 
    /* Ok boyutunu değişkenden al (isteğe bağlı, zaten tanımlıysa) */
    /* height: var(--swiper-navigation-size, 44px); */
    /* width: calc(var(--swiper-navigation-size, 44px) / 27 * 14); */ /* Swiper varsayılan en/boy oranı */
}

/* Okların üzerine gelince hafif opaklık (isteğe bağlı) */
.home-product-slider .swiper-button-next:hover,
.home-product-slider .swiper-button-prev:hover {
    opacity: 0.85;
}

.home-product-slider .home-product-pagination .swiper-pagination-bullet-active {
    background: #06092b; /* Aktif pagination noktasının rengi (mevcut) */
}

/*------------------------------------*\
  #VIDEO BANNER SECTION
\*------------------------------------*/
.full-width-video-section {
    position: relative;
    width: 100%;
    /* Yüksekliği ihtiyacınıza göre ayarlayın (viewport height veya sabit px) */
    height: 80vh; 
    /* min-height: 400px; */
    overflow: hidden;
    background-color: #06092b; /* Video yüklenemezse gösterilecek renk */
}

/* Tam genişlik sağlamak için ana container'ın kısıtlamalarını kaldırabilir */
/* Bu kısım temanızın genel yapısına bağlıdır */
/* Örneğin, .page-wrap veya .container'ın max-width'ini geçersiz kılmak gerekebilir */
/* Veya negatif margin kullanılabilir: */
/*
.full-width-video-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
*/

.full-width-video-section video#bgvid {
    position: absolute;
    /* Dikeyde üste hizala */
    top: 0; 
    /* Yatayda ortala */
    left: 50%; 
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    /* Sadece yatay transformasyon uygula */
    transform: translateX(-50%); 
    object-fit: cover; /* Videonun alanı kaplamasını sağlar */
}

.full-width-video-section .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* #06092b rengi %70 opaklıkla */
    background-color: rgba(6, 9, 43, 0.8); 
    z-index: 2; /* Videonun üzerinde */
}

.full-width-video-section .video-content-container {
    position: relative; /* İçeriğin overlay üzerinde olmasını sağlar */
    z-index: 3;
    height: 100%; /* Container'ın bölüm yüksekliğini kullanmasını sağlar */
    display: flex;
    flex-direction: column;
    justify-content: center; /* İçeriği dikeyde ortalar */
    align-items: center; /* İçeriği yatayda ortalar */
    text-align: center;
    color: #fff; /* İçerik rengi (isteğe bağlı) */
}

/* Video üzerindeki içerik için ek stiller (isteğe bağlı) */
.full-width-video-section .video-content-container h2 {
    /* text-shadow: 1px 1px 3px rgba(0,0,0,0.5); */
}

/*------------------------------------*\
  #VIDEO BANNER SECTION - Scroll Down Indicator
\*------------------------------------*/
.scroll-down-indicator {
    position: absolute;
    bottom: 30px; /* Alttan boşluk */
    left: 50%;
    transform: translateX(-50%);
    z-index: 4; /* Overlay ve içerikten yukarıda */
    color: #fff; /* İkon rengi */
    font-size: 2.5rem; /* İkon boyutu */
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    animation: bounce 2s infinite; /* Animasyon adı, süresi, tekrarı */
}

.scroll-down-indicator:hover {
    opacity: 1;
}

/* Basit Bounce Animasyonu */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-15px); /* Yukarı zıplama */
    }
    60% {
        transform: translateX(-50%) translateY(-7px); /* Biraz daha az zıplama */
    }
}

/*------------------------------------*\
  #VIDEO BANNER SECTION - Buttons
\*------------------------------------*/
.video-banner-buttons {
    display: flex; /* Butonları yan yana dizer */
    flex-wrap: wrap; /* Küçük ekranlarda alt satıra geçmesini sağlar */
    justify-content: center; /* Butonları yatayda ortalar */
}

/* Outline butonunun rengini belirginleştirmek için (isteğe bağlı) */
.video-banner-buttons .btn-outline-light {
    border-width: 2px; /* Kenarlığı biraz kalınlaştır */
}
.video-banner-buttons .btn-outline-light:hover {
    color: #06092b; /* Üzerine gelince metin rengi */
}

/*------------------------------------*\
  #CONTACT FORM 7 - Material Inspired Styling
\*------------------------------------*/

/* Form genel container */
.wpcf7-form {
    /* Gerekirse ek boşluklar */
}

/* Form satırları (genellikle p etiketleri) */
.wpcf7-form p {
    margin-bottom: 1.5rem; /* Alanlar arası dikey boşluk */
    position: relative; /* Label konumlandırması için */
}

/* Input, Textarea genel stilleri */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea.wpcf7-textarea {
    display: block;
    width: 100%;
    padding: 10px 0 8px 0; /* Alt çizgi için boşluk */
    font-size: 1rem;
    border: none;
    border-bottom: 1px solid #ced4da; /* İnce alt çizgi */
    background-color: transparent;
    transition: border-color 0.3s ease;
    border-radius: 0; /* Köşe yuvarlaklığını kaldır */
    box-shadow: none; /* Gölgeyi kaldır */
    color: #495057; /* Metin rengi */
}

/* Odaklanıldığında alt çizgi rengi */
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea.wpcf7-textarea:focus {
    outline: none; /* Varsayılan focus çerçevesini kaldır */
    border-bottom-color: var(--bs-primary, #0d6efd); /* Ana renk veya istediğiniz bir renk */
}

/* Textarea için özel yükseklik ayarı */
.wpcf7-form textarea.wpcf7-textarea {
    min-height: 100px; /* Minimum yükseklik */
    resize: vertical; /* Sadece dikeyde boyutlandırma */
}

/* Label Stilleri (Input'un üstünde duracak şekilde) */
.wpcf7-form label {
    display: block; /* Input'un üstünde yer alması için */
    margin-bottom: 0.5rem; /* Input ile label arası boşluk */
    color: #6c757d; /* Biraz soluk label rengi */
    font-weight: 500;
    font-size: 0.9rem;
}

/* Checkbox Stilleri */
.wpcf7-form .wpcf7-list-item { /* CF7 checkbox/radio container */
    margin: 0;
}
.wpcf7-form .wpcf7-list-item-label { /* Checkbox yanındaki metin */
    display: inline;
    font-weight: normal;
    font-size: 0.9rem;
    color: #495057;
}
.wpcf7-form input[type="checkbox"] {
    margin-right: 0.5rem;
    vertical-align: middle; /* Metinle hizala */
    width: auto; /* Tam genişlik olmasın */
    /* İsteğe bağlı: Daha modern checkbox görünümü için ek stil */
    /* appearance: none; -webkit-appearance: none; ... */
}
.wpcf7-form .wpcf7-acceptance label a { /* Aydınlatma metni linki */
    color: var(--bs-primary, #0d6efd);
    text-decoration: underline;
}

/* Gönder Butonu */
.wpcf7-form input[type="submit"].wpcf7-submit {
    background-color: #e2000f;
    color: #fff;
    border: none;
    padding: 10px 25px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px; /* Hafif yuvarlak köşeler */
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Hafif gölge */
    text-transform: uppercase; /* Büyük harf */
    letter-spacing: 0.5px;
    /* Butonun kendisi inline-block veya inline olabilir, 
       bu yüzden text-align container'da çalışır */
    display: inline-block; 
}

.wpcf7-form input[type="submit"].wpcf7-submit:hover,
.wpcf7-form input[type="submit"].wpcf7-submit:focus {
    background-color: #c0000d; /* Hover'da biraz koyu renk */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    outline: none;
}

/* Gönder butonunu içeren paragrafı sağa yasla */
.wpcf7-form p:has(input[type="submit"].wpcf7-submit) {
    text-align: right;
    margin-bottom: 0; /* Genellikle formun son elemanı olduğu için alt boşluğu kaldırabiliriz */
    position: relative; /* Spinner'ın buna göre konumlanması için */
}

/* Spinner'ı mutlak konumlandır */
.wpcf7-spinner {
    position: absolute;
    right: -25px; /* Butonun sağına konumlandır (değeri ayarlayın) */
    top: 50%;
    transform: translateY(-50%); /* Dikeyde ortala */
    /* display: none; */ /* CF7 zaten gizliyor olmalı */
}

/* CF7 Hata/Başarı Mesajları (Opsiyonel Temel Stil) */
.wpcf7-response-output {
    margin: 1rem 0 0 0 !important; /* Üstten boşluk */
    padding: 1rem !important;
    border-radius: 4px;
}
div.wpcf7-validation-errors { /* Hata mesajı */
    border: 1px solid #dc3545 !important;
    background-color: #f8d7da !important;
    color: #721c24 !important;
}
div.wpcf7-mail-sent-ok { /* Başarı mesajı */
     border: 1px solid #198754 !important;
     background-color: #d1e7dd !important;
     color: #0f5132 !important;
}

/* Google reCAPTCHA Rozetini Gizle */
.grecaptcha-badge { 
    visibility: hidden !important; /* veya opacity: 0 !important; pointer-events: none !important; */
}

/* Gönder butonu ve reCAPTCHA metnini içeren paragraf için Flexbox */
.wpcf7-form p:has(input[type="submit"].wpcf7-submit) {
    display: flex;
    justify-content: space-between; /* Öğeleri iki uca yasla */
    align-items: center; /* Dikeyde ortala */
    flex-wrap: wrap; /* Küçük ekranlarda alt satıra geçebilir */
    gap: 1rem; /* Metin ve buton arasına boşluk (isteğe bağlı) */
    margin-bottom: 0; 
    /* position: relative; kaldırıldı veya flex ile gereksiz olabilir */
    /* text-align: right; kaldırıldı */
}

/* reCAPTCHA Bilgilendirme Metni Stili */
.wpcf7-form .recaptcha-notice {
    font-size: 0.8rem; /* Küçük font boyutu */
    color: #6c757d; /* Soluk renk */
    text-align: left; /* Metni sola yasla (flex container içinde) */
    flex-grow: 1; /* Mümkünse alanı doldurur */
    /* Gerekirse max-width eklenebilir */
}

.wpcf7-form .recaptcha-notice a {
    color: #6c757d; /* Link rengini metinle aynı yap */
    text-decoration: underline; /* Altını çiz */
}
.wpcf7-form .recaptcha-notice a:hover {
    color: #343a40; /* Hover rengi */
}


/* Gönder Butonu (Flexbox içinde olduğu için display:inline-block gerekmeyebilir) */
.wpcf7-form input[type="submit"].wpcf7-submit {
    /* display: inline-block; kaldırılabilir veya kalabilir */
    order: 2; /* Butonun sağda kalmasını garantile (metin 1. sırada) */
    flex-shrink: 0; /* Butonun küçülmesini engelle */
}

/* Spinner'ı Butonun Yanına Konumlandır (Mutlak Konumlandırma Kaldırıldı) */
.wpcf7-spinner {
    /* position: absolute; kaldırıldı */
    /* right: -25px; kaldırıldı */
    /* top: 50%; kaldırıldı */
    /* transform: translateY(-50%); kaldırıldı */
    margin-left: 8px; /* Buton ile arasına boşluk */
    order: 3; /* Butondan sonra gelmesini sağla */
    display: inline-block; /* Flex içinde görünür olması için */
    vertical-align: middle; /* Butonla hizala */
}

/*------------------------------------*\
  #CONTACT PAGE - Contact Info Styling (Material Inspired)
\*------------------------------------*/

.contact-info {
    background-color: #f8f9fa; 
    border-radius: 4px; 
    padding: 1.5rem; 
    border: 1px solid #dee2e6; 
    height: 100%; 
    display: flex; /* <<<< Flex container yap */
    flex-direction: column; /* <<<< Öğeleri dikey sırala */
}

.contact-info h3 { /* Ana Başlık */
    font-size: 1.5rem; /* Biraz daha büyük */
    font-weight: 500;
    margin-bottom: 1.5rem; /* mb-4 */
    color: #343a40;
}

.contact-info .contact-item {
    margin-bottom: 1.5rem; /* mb-4 */
}

.contact-info .contact-item h4.h5 { /* Alt Başlıklar */
    font-size: 0.9rem;
    font-weight: 600; /* Biraz daha belirgin */
    color: #495057;
    margin-bottom: 0.75rem; /* mb-3 */
    text-transform: uppercase; /* Büyük harf */
    letter-spacing: 0.5px;
}

.contact-info .contact-item .d-flex {
    align-items: flex-start; /* İkon ve metni üste hizala */
}

.contact-info .contact-item i.bx { /* İkonlar */
    font-size: 1.5rem; /* İkon boyutu */
    line-height: 1.5; /* Metinle daha iyi hizalama için */
    color: var(--secondary-color); /* <<<< DEĞİŞTİRİLDİ: İkincil renk */
    flex-shrink: 0; /* İkonun küçülmesini engelle */
}

/* Genel İletişim Öğesi İkonları (Adres, Telefon, E-posta vb.) */
.contact-info .contact-item .d-flex > i.bx { /* Direkt .d-flex altındaki ikonları hedefler */
    font-size: 1.5rem;
    line-height: 1.5;
    color: var(--secondary-color); /* İkincil renk */
    flex-shrink: 0;
    margin-right: 1rem; /* me-3 Bootstrap sınıfı varsa bu gereksiz olabilir */
}

.contact-info .contact-item p,
.contact-info .contact-item a { /* Metin ve Linkler */
    font-size: 1rem;
    color: #495057; /* Form input metniyle aynı */
    line-height: 1.6;
    margin-bottom: 0; /* Paragrafın alt boşluğunu kaldır */
}

.contact-info .contact-item a {
    color: var(--secondary-color); /* Link rengi */
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info .contact-item a:hover {
    color: #c0000d; /* Hover rengi (form butonu hover ile aynı) */
    text-decoration: underline;
}

/* Sosyal Medya İkonları */
.contact-info .social-icons {
    margin-top: 0.5rem; /* Başlıkla arasına boşluk */
}

.contact-info .social-icons a.social-icon-con {
    display: inline-flex; /* İkonları ortalamak için */
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%; /* Yuvarlak */
    background-color: #f9f9f9; /* <<<< DEĞİŞTİRİLDİ: İkincil renk */
    color: #fff; /* <<<< DEĞİŞTİRİLDİ: Beyaz ikon */
    margin-right: 0.5rem;
    font-size: 1.2rem;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease; /* transform eklendi */
}

.contact-info .social-icons a.social-icon-con:hover {
    background-color: var(--secondary-color-hover); /* <<<< DEĞİŞTİRİLDİ: İkincil hover rengi */
    color: #fff; /* Beyaz ikon */
    transform: translateY(-3px); /* Hover efekti */
}

/* Sosyal Medya İkonları */
.contact-info .social-icons {
    margin-top: 0.5rem;
}

.contact-info .social-icons a.social-icon-con {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--secondary-color); /* Arka plan ikincil renk */
    margin-right: 0.5rem;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

/* Sosyal Medya İkonlarının KENDİSİ (i elementi) */
.contact-info .social-icons a.social-icon-con i.bx {
    font-size: 1.2rem;
    color: #fff !important; /* Beyaz ikon - !important gerekebilir */
    /* background-color: transparent !important; */ /* Üstteki kuraldan etkilenmemesi için */
}

.contact-info .social-icons a.social-icon-con:hover {
    background-color: var(--secondary-color-hover);
    transform: translateY(-3px);
}

/* Sosyal medya hover durumunda içindeki ikon rengi değişmesin isteniyorsa: */
.contact-info .social-icons a.social-icon-con:hover i.bx {
    color: #fff !important; /* Beyaz kalsın */
}

/* Çalışma Saatleri */
.contact-info .working-hours {
    margin-top: 1.5rem; /* pt-4 */
    padding-top: 1.5rem; /* pt-4 */
    border-top: 1px solid #dee2e6; /* border-top */
}
.contact-info .working-hours h4.h5 {
     margin-bottom: 0.75rem; /* mb-3 */
}
.contact-info .working-hours p {
    font-size: 0.95rem;
    margin-bottom: 0.25rem; /* mb-2 */
}
.contact-info .working-hours p strong {
    font-weight: 500;
    color: #343a40;
}

/* Sosyal Medya bölümünü en alta it */
.contact-info .contact-item-social {
    margin-top: auto; /* <<<< Bu, öğeyi flex container'ın sonuna iter */
    margin-bottom: 0;
    /* border-top: 1px solid #dee2e6; */ /* Zaten vardı, kalabilir veya kaldırılabilir */
    /* padding-top: 1.5rem; */ /* Zaten vardı, kalabilir veya kaldırılabilir */
    /* margin-top: 1.5rem; */ /* margin-top: auto; bunu geçersiz kılar, bu satır kaldırılabilir */
}

/* CF7 Hata/Başarı Mesajları */
/* ...existing message styles... */

/*------------------------------------*\
  #WHATSAPP FLOATING BUTTON
\*------------------------------------*/
.whatsapp-float {
    position: fixed; /* Bu satır kalmalı */
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366; /* WhatsApp Yeşili */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px; /* İkon boyutu */
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 1000; /* Diğer elementlerin üzerinde kalması için */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    /* Tooltip için position:relative gerekli DEĞİL, çünkü position:fixed zaten bu işlevi görür */
    /* position: relative; */ /* <<<< BU SATIRI SİLİN VEYA YORUM SATIRINA ALIN >>>> */
}

.whatsapp-float:hover {
    background-color: #128C7E; /* Hover rengi */
    color: #FFF;
    transform: scale(1.1); /* Hafif büyüme efekti */
}

.whatsapp-float i.bx {
    line-height: 1; /* İkonun dikeyde tam ortalanmasına yardımcı olur */
}

/* WhatsApp Tooltip */
.whatsapp-float::before {
    content: "Bize Yazın";
    position: absolute;
    bottom: 100%; /* Butonun hemen üstünde */
    left: 50%;
    transform: translateX(-50%) translateY(-8px); /* Yatayda ortala, yukarıda 8px boşluk */
    background-color: #333; /* Koyu arka plan */
    color: #fff; /* Beyaz metin */
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px; /* Tooltip font boyutu */
    white-space: nowrap; /* Metnin tek satırda kalmasını sağla */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1001; /* Butonun üzerinde */
    pointer-events: none; /* Tooltip'in fare olaylarını engellememesi için */
}

/* Tooltip Oku (isteğe bağlı) */
.whatsapp-float::after {
    content: '';
    position: absolute;
    bottom: 100%; /* Butonun hemen üstünde, ::before ile aynı hizada */
    left: 50%;
    transform: translateX(-50%) translateY(0px); /* Okun ::before'un altına gelmesi için ayar */
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent; /* Yukarı bakan ok */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1001;
    pointer-events: none;
}

.whatsapp-float:hover::before,
.whatsapp-float:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-8px); /* Hover'da konumu tekrar ayarla (gerekirse) */
}

/* Ok için hover'da konum ayarı (::before ile aynı hizada kalması için) */
.whatsapp-float:hover::after {
    transform: translateX(-50%) translateY(0px); 
}

/*------------------------------------*\
  #HOME PRODUCT SLIDER FIX
\*------------------------------------*/
/* Mobil görünümde kart gövdesinin görünür olmasını sağla */
@media (max-width: 767.98px) {
    .home-product-slider .swiper-slide {
        height: auto !important; /* Yüksekliği içeriğe göre otomatik ayarla */
    }
    
    .home-product-slider .product-card {
        height: 100%; /* Kartın tam yükseklikte olmasını sağla */
        display: flex;
        flex-direction: column;
    }
    
    .home-product-slider .card-body.product-card-body {
        display: block !important; /* Gizliyse göster */
        visibility: visible !important;
        opacity: 1 !important;
        flex: 1; /* Kart gövdesi esnek olsun */
    }
    
    .home-product-slider .product-card-img {
        height: 200px; /* Resimleri sabit yükseklikte tut */
        object-fit: cover; /* Resmi orantılı olarak sığdır */
    }
}

/* Genel kartlar ve slider ayarları */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Kartın tam yükseklikte olmasını sağla */
    display: flex;
    flex-direction: column;
}

.product-card-body {
    flex: 1; /* Kart gövdesi boş alanı doldursun */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Swiper özelleştirme */
.home-product-slider .swiper-slide {
    height: auto; /* Yüksekliği içeriğe göre otomatik ayarla */
}

.home-product-slider .swiper-button-next,
.home-product-slider .swiper-button-prev {
    z-index: 11; /* Diğer elementlerin üzerinde olmasını sağla */
}