﻿

body {

    font-family: Inter, system-ui, Arial, sans-serif;
    background: #f5f6f8;
    color: #222;
}

/* Topbar */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 24px;
    background: linear-gradient(180deg,#fff,#fafafa);
    border-bottom: 1px solid #eee;
}

.left-icons, .right-contact {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .left-icons ion-icon, .right-contact ion-icon {
        font-size: 20px;
        cursor: pointer;
        transition: .2s;
    }

        .left-icons ion-icon:hover, .right-contact ion-icon:hover {
            color: var(--accent);
            transform: translateY(-3px);
        }

.phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

/* Marquee */
.marquee {
    background: #000;
    color: #fff;
    padding: 8px 0;
    overflow: hidden;
}

    .marquee p {
        display: inline-block;
        white-space: nowrap;
        padding-left: 100%;
        animation: marquee 12s linear infinite;
    }

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Header / Nav */
header {
    background: #fff;
    position: relative;
    z-index: 20;
}

.navwrap {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
}

.logo img {
    height: 40px;
    width: 118px;
}

nav ul {
    display: flex;
    gap: 18px;
    list-style: none;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #222;
    padding: 8px 10px;
    border-radius: 6px;
    transition: .2s;
}

    nav a:hover {
        background: var(--glass);
        transform: translateY(-3px);
    }

.has-sub {
    position: relative;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    padding: 12px 8px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,.06);
    display: none;
    min-width: 200px;
    z-index: 999;
}

.has-sub:hover .submenu {
    display: block;
}

.submenu a {
    display: block;
    padding: 6px 8px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 36px;
    height: 28px;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    background: var(--accent);
}

    .hamburger .bar {
        width: 100%;
        height: 4px;
        background: #fff;
        border-radius: 4px;
    }

/* Mobile menu */
.mobile-menu {
    position: fixed;
    right: -320px;
    top: 0;
    width: 320px;
    height: 100vh;
    background: #fff;
    transition: .28s;
    z-index: 40;
    padding: 20px;
    box-shadow: -12px 0 34px rgba(0,0,0,.12);
}

    .mobile-menu.open {
        right: 0;
    }

    .mobile-menu a {
        display: block;
        padding: 12px 8px;
        border-radius: 8px;
    }

.mobile-menu-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 30;
}

/* Carousel Slider */
.carousel-item img {
    object-fit: cover;
    width: 100%;
}

#myCarousel .carousel-item img {
    height: 500px;
}

@media(max-width:768px) {
    #myCarousel .carousel-item img {
        height: 400px;
    }
}

@media(max-width:480px) {
    #myCarousel .carousel-item img {
        height: 300px;
    }
}

/* Yatay Kayan Slider */
.scroll-slider {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    background: #fff;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    scroll-behavior: smooth;
    cursor: grab;
}

    .scroll-slider:active {
        cursor: grabbing;
    }

.scroll-track {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.slider-card {
    position: relative;
    flex-shrink: 0;
    width: 310px;
    height: 310px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 3px 8px rgba(0,0,0,.12);
    transition: transform .3s, box-shadow .3s;
}

    .slider-card:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(0,0,0,.2);
    }

    .slider-card img:first-child {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.slider-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}

    .slider-caption .center-img {
        width: 250px;
        height: 210px;
        object-fit: contain;
        margin: 0 auto 8px auto;
    }

    .slider-caption p {
        margin: 0;
        font-size: 1rem;
        font-weight: 600;
        color: #e31f5f;
        text-shadow: 0 2px 6px rgba(0,0,0,.5);
        transition: color .3s;
    }

.slider-card:hover .slider-caption p {
    color: var(--accent);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 5px;
}

    .social-icons a {
        color: #fff;
        font-size: 18px;
        transition: .3s;
    }

.slider-card:hover .social-icons a {
    color: var(--accent);
}

.detail-icon {
    margin-left: 5px;
    color: #fff;
    cursor: pointer;
    transition: .3s;
}

/* Cardlar */
.custom-card {
    border: none;
    transition: all .3s ease-in-out;
    cursor: pointer;
}

    .custom-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

    .custom-card .card-title {
        font-size: 1.2rem;
        font-weight: 600;
        color: #333;
        transition: color .3s ease;
    }

    .custom-card:hover .card-title {
        color: var(--accent);
    }

/* Kart sosyal ikonları */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}

    .social-icons a {
        color: #555;
        font-size: 1.3rem;
        transition: color .3s ease;
    }

        .social-icons a:hover {
            color: var(--accent);
        }

    .social-icons .detail-icon {
        font-size: 1.5rem;
        vertical-align: middle;
        color: #555;
        transition: color .3s ease;
    }

    .social-icons a:hover .detail-icon {
        color: var(--accent);
    }

/* Responsive */
@media(max-width:768px) {
    nav ul {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .carousel-item img {
        height: 300px;
    }

    .slider-card {
        width: 240px;
        height: 240px;
    }

    .slider-caption .center-img {
        width: 200px;
        height: 170px;
    }
}

@media(max-width:480px) {
    .slider-card {
        width: 180px;
        height: 250px;
    }

    .slider-caption .center-img {
        width: 150px;
        height: 130px;
    }





    /* ====== Footer Mobil Düzenleme ====== */
    .site-footer {
        background: #000;
        color: #fff;
        padding: 50px 0 25px;
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .site-footer .footer-logo {
        width: 150px;
        margin-bottom: 10px;
    }

    .site-footer h5 {
        color: #fff;
        font-weight: 700;
        margin-bottom: 15px;
        font-size: 1.1rem;
    }

    .site-footer p {
        margin-bottom: 10px;
        color: #ccc;
    }

    .site-footer .footer-links {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .site-footer .footer-links li {
            margin-bottom: 8px;
        }

            .site-footer .footer-links li a {
                color: #fff;
                text-decoration: none;
                transition: color 0.3s;
            }

                .site-footer .footer-links li a:hover {
                    color: var(--accent);
                }

    .site-footer .footer-social {
        display: flex;
        justify-content: flex-start;
        gap: 10px;
    }

        .site-footer .footer-social a {
            color: #fff;
            font-size: 1.4rem;
            transition: color 0.3s, transform 0.3s;
        }

            .site-footer .footer-social a:hover {
                color: var(--accent);
                transform: translateY(-3px);
            }


    .topbar .phone a.phone-link {
        color: #000; /* normal renk */
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
    }

        .topbar .phone a.phone-link:hover {
            color: #ff9900; /* hover rengi */
            transform: scale(1.1); /* hafif büyütme efekti */
            text-decoration: underline;
            cursor: pointer;
        }
    /* ===== Responsive ===== */
    @media (max-width: 992px) {
        .site-footer .footer-social {
            justify-content: center;
        }
    }

    @media (max-width: 768px) {
        .site-footer {
            text-align: center;
            padding: 40px 20px 20px;
        }

            .site-footer .footer-logo {
                margin-bottom: 15px;
            }

            .site-footer .footer-links {
                text-align: center;
            }

                .site-footer .footer-links li {
                    display: inline-block;
                    margin: 0 8px 8px;
                }

            .site-footer .footer-social {
                justify-content: center;
                margin-top: 10px;
            }

            .site-footer h5 {
                margin-top: 25px;
            }

            .site-footer p {
                font-size: 0.9rem;
            }

        .footer-copy {
            margin-top: 15px;
            font-size: 0.8rem;
            color: #bbb;
        }
    }

    @media (max-width: 480px) {
        .site-footer {
            padding: 35px 15px 15px;
        }

            .site-footer .footer-logo {
                width: 130px;
            }

            .site-footer h5 {
                font-size: 1rem;
            }

        .footer-copy {
            font-size: 0.75rem;
        }
    }


    .video-section {
        position: relative;
        width: 100%; /* tam genişlik */
        background: url("~/Content/arka2.png") no-repeat left center;
        background-size: 500px auto; /* genişlik: 500px */
        padding: 60px 0; /* üst/alt boşluk, yan padding yok */
    }

    /* Tablet */
    @media(max-width: 768px) {
        .video-section {
            background-size: 300px auto;
            background-position: left top;
        }
    }

    /* Telefon */
    @media(max-width: 480px) {
        .video-section {
            background: none; /* küçük ekranda resmi kaldır */
        }
    }



    /* Arka plana 1.png soldan yerleştir */
    .cards-section {
        position: relative;
        background: url("/Content/image/arka1.png") no-repeat left center;
        background-size: 500px auto; /* genişlik: 500px, yükseklik otomatik */
        padding: 60px 20px; /* üst/alt boşluk + sağ/sol */
    }

    /* Mobilde arka plan bozulmasın diye küçültme */
    @media(max-width: 768px) {
        .cards-section {
            background-size: 300px auto;
            background-position: left top;
        }
    }

    @media(max-width: 480px) {
        .cards-section {
            background: none; /* Çok küçük ekranda resmi gizle */
        }
    }


    .custom-big-card {
        border: none;
        border-radius: 18px;
        overflow: hidden;
        height: 100%;
        box-shadow: 0 6px 18px rgba(0,0,0,0.12);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .custom-big-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 14px 28px rgba(0,0,0,0.25);
        }

        .custom-big-card img {
            height: 260px; /* Daha büyük görsel */
            width: 100%;
            object-fit: cover; /* Resmi ortala kırp */
            object-position: center; /* Dikey/ yatay ortalama */
        }

        .custom-big-card .card-body {
            padding: 20px;
        }

        .custom-big-card .card-title {
            font-size: 1.4rem;
            font-weight: 700;
            color: #333;
            transition: color 0.3s;
        }

        .custom-big-card .social-icons {
            margin-top: 12px;
            display: flex;
            justify-content: center;
            gap: 15px;
        }

            .custom-big-card .social-icons a {
                color: #555;
                font-size: 1.5rem;
                transition: color 0.3s;
            }

        /* Hover efekti → hem yazı hem ikon renk değişir */
        .custom-big-card:hover .card-title,
        .custom-big-card:hover .social-icons a {
            color: var(--accent);
        }

    /* Responsive */
    @media(max-width: 768px) {
        .custom-big-card img {
            height: 200px;
        }

        .custom-big-card .card-title {
            font-size: 1.2rem;
        }
    }

    @media(max-width: 480px) {
        .custom-big-card img {
            height: 350px;
        }

        .custom-big-card .card-title {
            font-size: 1.1rem;
        }
    }

   






}




