/* Genel Stiller */
:root {
    --primary-color: #0056b3;
    --secondary-color: #004085;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Navbar Stilleri */
.navbar {
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
}

.navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}

.navbar-brand img {
    max-height: 60px;
    width: auto;
}

.navbar.sticky-top {
    background-color: rgba(255, 255, 255, 0.95) !important;
}

.nav-link {
    color: var(--dark-color) !important;
    font-weight: 500;
    padding: 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Banner/Slider Stilleri */
.swiper {
    width: 100%;
    height: 600px; /* Masaüstü için ideal yükseklik */
}

.swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

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

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 1;
    width: 80%;
    max-width: 1000px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.slide-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Slider Navigasyon Stilleri */
.swiper-button-next,
.swiper-button-prev {
    color: white;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.8);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: white;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
}

/* Hizmetlerimiz */
.services {
    padding: 50px 0;
    margin-top: 10px;
    background-color: #f8f9fa;
}

.services h2 {
    margin-bottom: 20px;
    color: #333;
    font-weight: 700;
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #007bff, #0056b3);
    border-radius: 2px;
}

.services p {
    font-size: 1.15rem;
    max-width: 1000px;
    margin: 0 auto 50px;
    line-height: 1.7;
    color: #666;
}

.service-card {
    display: block;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(0,0,0,0.06);
    margin-bottom: 30px;
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,123,255,0.1) 0%, rgba(0,86,179,0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.service-card:hover .card-link {
    color: #0056b3;
}

.service-card:hover .card-link i {
    transform: translateX(8px);
}

.service-card .service-image {
    position: relative;
    overflow: hidden;
}

.service-card .service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.02) 100%);
    transition: all 0.4s ease;
}

.service-card:hover .service-image::after {
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.05) 100%);
}

.service-card .service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-card .overlay-content {
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.service-card:hover .overlay-content {
    transform: translateY(0);
}

.service-card .overlay-content i {
    color: #fff;
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.service-card .overlay-content span {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
}

.service-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.service-card .card-body {
    padding: 30px;
    position: relative;
    z-index: 2;
}

.service-card .card-title {
    color: #222;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.service-card:hover .card-title {
    color: #0056b3;
}

.service-card .card-text {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 25px;
}

.service-card .card-link {
    color: #007bff;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: all 0.4s ease;
}

.service-card .card-link i {
    transition: transform 0.4s ease;
    font-size: 0.9rem;
}

/* Responsive Ayarlar */
@media (max-width: 991px) {
    .services {
        padding: 50px 0;
    }
    
    .services h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .services p {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }
    
    .service-card img {
        height: 220px;
    }
    
    .service-card .card-body {
        padding: 25px;
    }
    
    .service-card .card-title {
        font-size: 1.4rem;
    }
    
    .service-card .card-text {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .service-card .overlay-content i {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }
    
    .service-card .overlay-content span {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .services {
        padding: 40px 0;
    }
    
    .services h2 {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .services p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .service-card img {
        height: 200px;
    }
    
    .service-card .card-body {
        padding: 20px;
    }
    
    .service-card .card-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .service-card .card-text {
        font-size: 0.95rem;
        margin-bottom: 15px;
        line-height: 1.6;
    }
    
    .service-card .card-link {
        font-size: 0.95rem;
    }
    
    .service-card .overlay-content i {
        font-size: 1.6rem;
        margin-bottom: 6px;
    }
    
    .service-card .overlay-content span {
        font-size: 0.95rem;
    }
}

/* WhatsApp Butonu */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    line-height: 60px;
    z-index: 1000;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    background-color: #128c7e;
    color: white;
    transform: scale(1.1);
}

/* Responsive Ayarlar */
@media (max-width: 1200px) {
    .swiper {
        height: 500px;
    }
    
    .slide-content h2 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .swiper {
        height: 400px;
    }
    
    .slide-content h2 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .slide-content {
        width: 90%;
        padding: 15px;
    }
    
    .service-card img {
        height: 180px;
    }
    
    .service-card .card-body {
        padding: 12px;
    }
    
    .service-card .card-title {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }
    
    .service-card .card-text {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
        height: 2.6em;
    }
}

@media (max-width: 576px) {
    .swiper {
        height: 300px;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
}

/* Hizmet Bölgeleri Sayfası */
.service-areas {
    padding: 20px 0;
}

.service-areas-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.service-area-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-decoration: none;
    display: block;
    background: white;
}

.service-area-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.service-area-card img {
    height: 80px;
    object-fit: cover;
    width: 100%;
}

.service-area-card .card-body {
    padding: 5px;
    text-align: center;
    background: white;
}

.service-area-card .card-title {
    color: var(--primary-color);
    margin: 0;
    font-weight: 600;
    font-size: 0.8rem;
}

/* Responsive ayarlar */
@media (max-width: 1200px) {
    .service-areas-row {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 991px) {
    .service-areas-row {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    
    .service-area-card img {
        height: 70px;
    }
    
    .service-area-card .card-title {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .service-areas-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    
    .service-area-card img {
        height: 65px;
    }
}

@media (max-width: 576px) {
    .service-areas-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }
    
    .service-area-card img {
        height: 60px;
    }
    
    .service-area-card .card-title {
        font-size: 0.7rem;
    }
}

.cta-section {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.cta-section .btn {
    background-color: white;
    color: var(--primary-color);
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-section .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Çalışmalarımız Sayfası */
.page-banner {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    padding: 60px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/mfyvincplatform/images/pattern.png');
    opacity: 0.1;
}

.page-banner h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.page-banner .lead {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

.portfolio-filters {
    background-color: white;
    padding: 20px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

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

.portfolio-gallery {
    background-color: #f8f9fa;
    padding: 30px 0;
}

.portfolio-card {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    background: white;
    margin-bottom: 15px;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.portfolio-content {
    padding: 12px;
    text-align: center;
}

.portfolio-content h3 {
    color: #333;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.portfolio-content p {
    color: #666;
    font-size: 0.8rem;
    margin-bottom: 0;
    line-height: 1.4;
}

/* Eski overlay stillerini kaldırıyoruz */
.portfolio-overlay {
    display: none;
}

.portfolio-zoom {
    display: none;
}

@media (max-width: 991px) {
    .page-banner {
        padding: 40px 0;
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
    
    .page-banner .lead {
        font-size: 1.1rem;
    }
    
    .portfolio-filters {
        top: 60px;
    }
    
    .filter-btn {
        padding: 6px 16px;
        font-size: 0.9rem;
    }
    
    .portfolio-content h3 {
        font-size: 0.9rem;
    }
    
    .portfolio-content p {
        font-size: 0.75rem;
    }
}

@media (max-width: 767px) {
    .page-banner h1 {
        font-size: 1.8rem;
    }
    
    .page-banner .lead {
        font-size: 1rem;
    }
    
    .portfolio-content {
        padding: 10px;
    }
    
    .portfolio-content h3 {
        font-size: 1rem;
    }
    
    .portfolio-content p {
        font-size: 0.8rem;
    }
}

/* Galeri Stilleri */
.gallery-item {
    position: relative;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 86, 179, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

#galleryModal .modal-content {
    background-color: rgba(255, 255, 255, 0.95);
}

#galleryModal .modal-body img {
    max-height: 70vh;
    width: auto;
    margin: 0 auto;
}

#galleryModal .modal-header {
    position: absolute;
    right: 0;
    z-index: 1;
}

#galleryModal .btn-close {
    background-color: white;
    opacity: 0.8;
    border-radius: 50%;
    padding: 0.5rem;
    margin: 0.5rem;
}

/* Teklif Formu */
.quote-form {
    background: #fff;
    border-radius: 8px;
}

.quote-form .form-label {
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
}

.quote-form .form-control {
    border: 1px solid #ddd;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
}

.quote-form .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.quote-form textarea {
    resize: none;
}

.quote-form button[type="submit"] {
    padding: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Diğer Hizmetler */
.sidebar .card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.sidebar .card-title {
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
}

.sidebar ul li a {
    color: #555;
    transition: color 0.3s ease;
}

.sidebar ul li a:hover {
    color: #0d6efd;
}

.sidebar ul li i {
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 991px) {
    .service-detail .service-image img {
        height: 300px;
    }
    
    .machine-selector {
        gap: 8px;
    }
    
    .machine-btn {
        padding: 6px;
    }
    
    .machine-btn img {
        height: 70px;
        margin-bottom: 6px;
    }
    
    .machine-title {
        font-size: 0.75rem;
    }
}

@media (max-width: 767px) {
    .service-detail .service-image img {
        height: 250px;
    }
    
    .quote-form {
        margin-top: 2rem;
    }
    
    .machine-btn img {
        height: 60px;
    }
    
    .machine-title {
        font-size: 0.7rem;
    }
}

/* Hizmet Detay Sayfası */
.service-detail {
    background-color: #f8f9fa;
}

.service-detail .service-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.service-detail .service-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.service-detail .service-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.service-detail h1 {
    color: #333;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.service-detail .content {
    line-height: 1.8;
    color: #444;
}

.service-detail .content h2 {
    color: #333;
    margin: 1.5rem 0 1rem;
    font-size: 1.5rem;
}

.service-detail .content p {
    margin-bottom: 1rem;
}

.service-detail .sidebar .card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.service-detail .sidebar .card-title {
    color: #333;
    font-weight: 600;
    font-size: 1.2rem;
}

.service-detail .sidebar .list-unstyled li a {
    color: #666;
    transition: all 0.3s ease;
    display: block;
    padding: 8px 0;
}

.service-detail .sidebar .list-unstyled li a:hover {
    color: #007bff;
    padding-left: 5px;
}

/* Makine Seçici */
.machine-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.machine-option {
    position: relative;
}

.machine-btn {
    width: 100%;
    padding: 8px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: white;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 0;
}

.machine-btn:hover {
    border-color: #0d6efd;
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

.machine-btn img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 6px;
}

.machine-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: #333;
    line-height: 1.2;
}

.btn-check:checked + .machine-btn {
    border-color: #0d6efd;
    background-color: #f8f9fa;
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.2);
}

@media (max-width: 991px) {
    .machine-btn img {
        height: 70px;
    }
    
    .machine-title {
        font-size: 0.8rem;
    }
}

@media (max-width: 767px) {
    .machine-btn img {
        height: 60px;
    }
    
    .machine-title {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .machine-btn img {
        height: 80px;
    }
    
    .machine-title {
        font-size: 0.75rem;
    }
}

/* Referanslar Slider Stilleri */
.references {
    background-color: #f8f9fa;
    padding: 0;
    margin-bottom: -300px;
}

.references h2 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0;
}

.references-slider {
    padding: 0;
}

.reference-logo {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.reference-logo img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
    filter: none;
    opacity: 1;
}

.references-slider .swiper-button-next,
.references-slider .swiper-button-prev {
    display: none;
}

@media (max-width: 768px) {
    .references {
        padding: 10px 0;
    }
    
    .reference-logo {
        height: 100px;
        padding: 8px;
    }
    
    .reference-logo img {
        max-height: 80px;
    }
}

/* Footer Stilleri */
.footer {
    background-color: #1a1a1a;
    color: #fff;
}

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

.footer h5 {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer h5:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

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

.footer .contact-info p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer .contact-info i {
    color: var(--primary-color);
    width: 20px;
}

@media (max-width: 991px) {
    .footer-logo {
        max-height: 50px;
    }
    
    .footer h5 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer ul li a,
    .footer .contact-info p {
        font-size: 0.85rem;
    }
} 