/* --- Genel Ayarlar --- */
:root {
    --main-blue: #0077B6;
    --dark-blue: #023E8A;
    --light-blue: #f0fbff;
    --white: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: var(--white);
    line-height: 1.6;
}

.text-blue { color: var(--main-blue); }
.bg-blue { background-color: var(--main-blue); }
.bg-light-blue { background-color: var(--light-blue); }

/* --- Navbar --- */
.navbar {
    background: var(--white);
    padding: 15px 0;
    transition: 0.3s;
}
.nav-link {
    color: var(--dark-blue) !important;
    font-weight: 500;
    margin: 0 10px;
}
.nav-link:hover {
    color: var(--main-blue) !important;
}
.btn-teklif {
    background: var(--main-blue);
    color: white !important;
    border-radius: 50px;
    padding: 8px 25px;
    font-weight: 600;
}

/* --- Hero Slider --- */
.hero-slide {
    height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 119, 182, 0.4);
    border-radius: 50%;
    padding: 20px;
}

/* --- Kart Tasarımları --- */
.service-card, .product-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s ease;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.service-card:hover, .product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-card img, .product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* --- Footer --- */
footer {
    background: var(--dark-blue);
    color: white;
    padding: 80px 0 20px;
}
footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
    margin-bottom: 8px;
}
footer a:hover {
    color: white;
    padding-left: 5px;
}

/* WhatsApp Rengi */
.btn-success {
    background-color: #25D366 !important;
    border: none;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slide { height: 60vh; }
    .display-3 { font-size: 2.5rem; }
}/* --- İletişim Sayfası Özel --- */

/* Breadcrumb */
.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    font-size: 1.2rem;
    vertical-align: middle;
}

/* Bilgi Kartı */
.contact-info-card {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--main-blue) 100%);
    border-radius: 25px;
    color: white;
}

.icon-box {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.2rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.social-btn:hover {
    background: var(--white);
    color: var(--main-blue);
    transform: translateY(-3px);
}

/* Form Elemanları */
.custom-input {
    background-color: #f8f9fa;
    border: 1px solid #eee;
    padding: 12px 18px;
    transition: 0.3s;
}

.custom-input:focus {
    background-color: #fff;
    border-color: var(--main-blue);
    box-shadow: 0 0 10px rgba(0, 119, 182, 0.1);
}

.btn-blue-action {
    background-color: var(--main-blue);
    color: white;
    font-weight: 600;
    border: none;
    transition: 0.3s;
}

.btn-blue-action:hover {
    background-color: var(--dark-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(2, 62, 138, 0.2);
}/* --- Blog Sayfası Özel --- */

.blog-card {
    transition: 0.4s;
    border-radius: 20px;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 119, 182, 0.1) !important;
}

.blog-card .card-img-top {
    height: 220px;
    object-fit: cover;
}

.blog-card .badge {
    border-radius: 0 0 10px 0;
    font-weight: 500;
}

.category-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    color: #555;
    text-decoration: none;
    transition: 0.3s;
}

.category-list a:hover {
    color: var(--main-blue);
    padding-left: 5px;
}

.extra-small {
    font-size: 0.75rem;
}

.pagination .page-link {
    color: var(--main-blue);
    border: none;
    margin: 0 5px;
    border-radius: 10px;
    font-weight: 600;
}

.pagination .page-item.active .page-link {
    background-color: var(--main-blue);
    color: white;
}

.sidebar-widget {
    overflow: hidden;
}/* --- Hizmetler Sayfası Özel --- */

.service-detail-card {
    transition: all 0.4s ease;
    border-radius: 20px;
    background: #fff;
}

.service-detail-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 119, 182, 0.12) !important;
}

.img-zoom-container {
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.service-detail-card img {
    height: 230px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-detail-card:hover img {
    transform: scale(1.1);
}

.service-icon-box {
    width: 60px;
    height: 60px;
    background: var(--light-blue);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-top: -30px; /* Görselin üstüne hafif taşması için */
    position: relative;
    border: 4px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.service-detail-card h4 {
    color: var(--dark-blue);
    margin-top: 10px;
}

/* Sayfa özelinde buton stili */
.service-detail-card .btn-outline-primary {
    border-color: var(--main-blue);
    color: var(--main-blue);
    font-weight: 600;
}

.service-detail-card .btn-outline-primary:hover {
    background-color: var(--main-blue);
    color: #fff;
}/* --- Hizmet Detay Özel --- */

.border-blue {
    border-color: var(--main-blue) !important;
}

/* Galeri Stilleri */
.gallery-item {
    overflow: hidden;
    cursor: pointer;
    border-radius: 12px;
}

.gallery-item img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.8);
}

/* Sidebar Kutuları */
.sidebar-box {
    border-radius: 20px;
}

.list-group-item {
    padding: 12px 0;
    font-weight: 500;
    transition: 0.3s;
}

.list-group-item:hover {
    color: var(--main-blue) !important;
    padding-left: 10px;
}

/* Breadcrumb Rengi */
.breadcrumb-area .breadcrumb-item a:hover {
    color: var(--dark-blue);
}

@media (max-width: 768px) {
    .gallery-item img {
        height: 130px;
    }
}/* --- Blog Detay Özel --- */

.blog-post h1 {
    color: var(--dark-blue);
    line-height: 1.3;
}

.blog-post p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.blog-quote {
    font-style: italic;
    font-size: 1.2rem;
    color: var(--dark-blue);
}

.extra-small {
    font-size: 0.75rem;
}

.blog-detail-section .btn-outline-secondary {
    width: 35px;
    height: 35px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.blog-detail-section .btn-outline-secondary:hover {
    background-color: var(--main-blue);
    border-color: var(--main-blue);
    color: #fff;
}

/* Sidebar Responsive */
@media (max-width: 991px) {
    .blog-detail-section .sidebar-widget {
        margin-top: 30px;
    }
}/* --- Ürünler Sayfası Özel --- */

.product-card {
    transition: 0.3s;
    border-radius: 15px;
    overflow: hidden;
}

.product-img-wrapper {
    position: relative;
    overflow: hidden;
}

.product-img-wrapper img {
    height: 200px;
    object-fit: cover;
    transition: 0.5s;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 119, 182, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.1);
}

.product-title {
    font-size: 1rem;
    color: var(--dark-blue);
    margin-bottom: 5px;
}

.filter-sidebar {
    position: sticky;
    top: 100px;
}

.form-check-input:checked {
    background-color: var(--main-blue);
    border-color: var(--main-blue);
}

/* Pagination Style Override */
.pagination .page-link {
    border-radius: 50% !important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: white;
    color: var(--main-blue);
}

.pagination .page-item.active .page-link {
    background: var(--main-blue);
    color: white;
}/* --- Ürün Detay Özel --- */

.product-main-img img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.thumb-img {
    height: 80px;
    width: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: 0.3s;
    opacity: 0.6;
}

.thumb-img:hover, .thumb-img.active {
    opacity: 1;
    border-color: var(--main-blue) !important;
}

.product-info-content h1 {
    color: var(--dark-blue);
    font-size: 2.2rem;
}

.product-info-content .btn-success {
    background-color: #25D366 !important;
    border: none;
    font-weight: 600;
}

.product-tabs {
    border-top: 1px solid #eee;
}

/* Mobil için görsel yüksekliğini ayarla */
@media (max-width: 768px) {
    .product-main-img img {
        height: 300px;
    }
}