﻿/* Hero Section */
:root {
    --primary-blue: #0156B3;
}

.hero-carousel {
    position: relative;
}

    .hero-carousel .carousel-inner {
        height: 600px;
    }

.hero-slide {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?w=1920') center/cover no-repeat;
    width: 100%;
    height: 100%;
}

.hero-slide-content-wrap {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: stretch;
}

.hero-blue-panel {
    background: rgba(1, 86, 179, 0.90);
    width: 42%;
    min-width: 280px;
    display: flex;
    align-items: center;
    padding: 60px 50px 60px 60px;
    flex-shrink: 0;
}

    .hero-blue-panel h1 {
        font-size: 38px;
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 18px;
        color: #fff;
    }

    .hero-blue-panel p {
        font-size: 16px;
        font-weight: 300;
        margin-bottom: 28px;
        opacity: 0.9;
        color: #fff;
    }

.btn-hero {
    border: 2px solid #fff;
    color: #fff;
    padding: 10px 28px;
    font-weight: 600;
    font-size: 14px;
    background: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

    .btn-hero:hover {
        background: #fff;
        color: var(--primary-blue);
    }

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    opacity: 0.8;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
}


/* About Section */
.about-section {
    padding: 0;
}

.about-image {
    height: 100%;
    min-height: 380px;
    background: url('/Images/Hakkimizda/varzene-tesis.jpg') center/cover no-repeat;
}

.about-content {
    padding: 80px 50px;
    background: #f8f9fa;
}

.section-label {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 16px;
    text-decoration: underline;
    text-decoration-color: var(--primary-blue);
    text-underline-offset: 5px;
    margin-bottom: 15px;
    display: inline-block;
}

.about-content h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
}

.btn-primary-custom {
    background: var(--primary-blue);
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 0;
    transition: all 0.3s ease;
}

    .btn-primary-custom:hover {
        background: #004494;
        color: #fff;
    }

/* Products Section - Accordion */
.products-section {
    padding: 80px 0;
    background: #fff;
}

.products-header {
    margin-bottom: 50px;
}

    .products-header .section-label {
        margin-bottom: 10px;
    }

    .products-header h2 {
        font-size: 42px;
        font-weight: 700;
        color: var(--text-dark);
    }

.accordion-gallery {
    display: flex;
    width: 100%;
    height: 400px;
    gap: 8px;
}

.accordion-item-gallery {
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

    .accordion-item-gallery:hover {
        flex: 2;
    }

    .accordion-item-gallery img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .accordion-item-gallery:hover img {
        transform: scale(1.02);
    }

.accordion-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    transition: all 0.5s ease;
}

.accordion-item-gallery:hover .accordion-overlay {
    padding: 50px 25px 30px;
}

.accordion-overlay a{
    text-decoration:none;
}

.accordion-overlay h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
    transition: font-size 0.5s ease;
}

.accordion-item-gallery:hover .accordion-overlay h3 {
    font-size: 28px;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

:root {
    --primary-blue: #0156B3
}

.hc {
    position: relative;
    width: 100%;
    overflow: hidden;
    font-family: sans-serif
}

.hc-track {
    display: flex;
    transition: transform 0.5s ease
}

.hc-slide {
    min-width: 100%;
    position: relative;
    height: 520px;
    display: flex;
    align-items: stretch;
    flex-shrink: 0
}

.hc-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%
}

.hc-panel {
    position: relative;
    z-index: 2;
    width: 42%;
    min-width: 260px;
    background: rgba(1, 86, 179, 0.90);
    display: flex;
    align-items: center;
    padding: 50px 44px 50px 52px;
    flex-shrink: 0;
    left: 0%;
}

    .hc-panel h1 {
        font-size: 40px;
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 16px;
        color: #fff
    }

    .hc-panel p {
        font-size: 15px;
        font-weight: 300;
        margin-bottom: 26px;
        opacity: 0.9;
        color: #fff;
        line-height: 1.5
    }

.hc-btn {
    border: 2px solid #fff;
    color: #fff;
    padding: 10px 26px;
    font-weight: 600;
    font-size: 13px;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block
}

    .hc-btn:hover {
        background: #fff;
        color: var(--primary-blue)
    }

.hc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.25);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s
}

    .hc-arrow:hover {
        background: rgba(0,0,0,0.5)
    }

.hc-prev {
    left: 12px
}

.hc-next {
    right: 12px
}

.hc-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10
}

.hc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s
}

    .hc-dot.active {
        background: #fff
    }


/* Responsive */

@media (max-width: 480px) {
    .hero-blue-panel {
        padding: 30px 20px;
    }

        .hero-blue-panel h1 {
            font-size: 22px;
        }

    .hc-panel {
        padding: 28px 18px;
        left:0px;width:42%;
    }

        .hc-panel h1 {
            font-size: 20px
        }
}

@media (max-width: 768px) {
    .hero-carousel .carousel-inner {
        height: auto;
    }

    .hero-slide {
        height: auto;
    }

    .hero-slide-content-wrap {
        flex-direction: column;
    }

    .hero-slide-bg {
        position: relative;
        height: 220px;
        width: 100%;
    }

    .hero-blue-panel {
        width: 100%;
        min-width: unset;
        padding: 40px 30px;
    }

        .hero-blue-panel h1 {
            font-size: 26px;
        }

        .hero-blue-panel p {
            font-size: 14px;
        }

    .about-image {
        min-height: 300px;
    }

    .about-content {
        padding: 40px 20px;
    }

        .about-content h2,
        .products-header h2 {
            font-size: 28px;
        }

    .accordion-gallery {
        height: 300px;
        gap: 5px;
    }

    .accordion-overlay h3 {
        font-size: 16px;
    }

    .accordion-item-gallery:hover .accordion-overlay h3 {
        font-size: 20px;
    }

    .footer {
        text-align: center;
    }

    .footer-contact-item {
        justify-content: center;
    }

    .hc-slide {
        height: auto;
        flex-direction: column
    }

    .hc-bg {
        position: relative;
        height: 200px;
        width: 100%
    }

    .hc-panel {
        width: 100%;
        min-width: unset;
        padding: 36px 24px;
        left: 0%;
    }

        .hc-panel h1 {
            font-size: 24px
        }

        .hc-panel p {
            font-size: 13px
        }
}


@media (max-width: 991px) {


    .about-content {
        padding: 40px 30px;
    }

        .about-content h2,
        .products-header h2 {
            font-size: 32px;
        }

    .accordion-gallery {
        height: 350px;
    }
}


@media (max-width: 575px) {
    .navbar-brand img {
        max-width: 200px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .accordion-gallery {
        height: 250px;
    }

    .accordion-overlay h3 {
        font-size: 14px;
    }
}


@media (min-width: 1200px) {
    .hc-panel {
        width: 36.7%;
        min-width: unset;
        padding: 36px 24px;
        left: 5%;
    }
}
