﻿
.banner-background {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: #00000099;
    z-index: 1;
}

.slide-inner .container h1 {
    font-size: 50px;
    color: #fef8bc;
}

.slide-inner .container p {
    font-size: 21px;
    color: #fff; /* kendi istediğin */
}

/* Normal halde görünür */
.slide-inner .container h1,
.slide-inner .container p,
.slide-inner .container a {
    opacity: 1;
    transform: none;
}

.slide-inner .container {
    z-index: 4
}

/* Animasyon aktif olduğunda */
.slide-inner.textFx h1 {
    opacity: 0;
    transform: translateY(40px); /* aşağıdan yukarı */
    animation: h1Up .7s ease forwards;
    font-size: 50px;
    color: #fef8bc !important;
}

.slide-inner.textFx p {
    opacity: 0;
    transform: translateY(0); /* sabit */
    animation: pFade .7s ease .15s forwards;
    font-size: 21px;
}

.slide-inner.textFx a {
    opacity: 0;
    transform: translateY(-40px); /* yukarıdan aşağı */
    animation: btnDown .7s ease .3s forwards;
}

/* h1 aşağıdan yukarı */
@keyframes h1Up {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* p sabit fade-in */
@keyframes pFade {
    0% {
        opacity: 0;
        transform: translateY(0);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* buton yukarıdan aşağı */
@keyframes btnDown {
    0% {
        opacity: 0;
        transform: translateY(-40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


.hero-slider {
    width: 100%;
    min-height: 420px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    z-index: 0;
}

.first-section {
    margin-top: 2rem;
}

.blackfont {
    color: black !important;
}

.whitefont {
    color: #ffffff !important;
}

.swiper-button-prev {
    left: 0 !important;
    margin-left: 0 !important;
    background: blue !important;
}

.swiper-button-next {
    right: 0 !important;
    margin-right: 0 !important;
    background: blue !important;
}

@media (max-width: 991px) {
    .hero-slider {
        height: 420px;
    }

    .first-section {
        margin-top: 8rem;
    }
}

@media (max-width: 767px) {
    .hero-slider {
        height: 420px;
    }
}

.hero-slider .swiper-slide {
    overflow: hidden;
    color: #fff;
}

.hero-slider .swiper-container {
    width: 100%;
    height: 520px;
    position: absolute;
    left: 0;
    top: 0;
}

.hero-slider .slide-inner {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
}

.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
    background: transparent;
    width: 28px;
    height: 28px;
    line-height: 24px;
    // margin-top: -30px;
    text-align: center;
    border: 2px solid #d4d3d3;
    border-radius: 28px;
    opacity: 0;
    // visibility:hidden;
    transition: all .3s ease;
}

.hero-slider:hover .swiper-button-prev,
.hero-slider:hover .swiper-button-next {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

@media (max-width: 767px) {
    .hero-slider .swiper-button-prev,
    .hero-slider .swiper-button-next {
        display: none;
    }
}

.hero-slider .swiper-button-prev {
    left: 25px;
    transform: translateX(50px);
}

    .hero-slider .swiper-button-prev:before {
        font-family: "Font Awesome 5 Free";
        content: "\f060";
        font-size: 15px;
        color: #d4d3d3;
        font-style: normal;
        display: inline-block vertical-align: middle;
        font-weight: 900;
    }

.hero-slider .swiper-button-next {
    right: 25px;
    transform: translateX(-50px);
}

    .hero-slider .swiper-button-next:before {
        font-family: "Font Awesome 5 Free";
        content: "\f061";
        font-size: 15px;
        color: #d4d3d3;
        font-style: normal;
        display: inline-block vertical-align: middle;
        font-weight: 900;
    }

.hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    text-align: left;
    line-height: 12px;
    font-size: 12px;
    color: #000;
    opacity: 0.3;
    background: #fff;
    transition: all .2s ease;
}

.hero-slider .swiper-pagination-bullet-active {
    opacity: 1;
}

.hero-slider .swiper-container-horizontal > .swiper-pagination-bullets,
.hero-slider .swiper-pagination-custom,
.hero-slider .swiper-pagination-fraction {
    bottom: 30px;
}

@media screen and (min-width: 992px) {
    .hero-slider .swiper-container-horizontal > .swiper-pagination-bullets,
    .hero-slider .swiper-pagination-custom,
    .hero-slider .swiper-pagination-fraction {
        /*     display: none; */
    }
}

.swiper-pagination {
    text-align: left;
}

.hero-slider .swiper-container-horizontal > .swiper-pagination-bullets {
    bottom: 50px;
    max-width: 1200px;
    padding: 0 15px;
    display: table;
    margin: 0 auto;
    left: 50%;
    top: 90%;
    transform: translateX(-50%);
}

}

@media (min-width: 767px) {
    .hero-slider .swiper-container-horizontal > .swiper-pagination-bullets {
        bottom: 30px;
    }
}
/*--------------------------------------------------------------
	#hero-style
--------------------------------------------------------------*/
.hero-style {
    height: 520px;
    transition: all .4s ease;
}

@media (max-width: 991px) {
    .hero-style {
        height: 420px;
    }
}

@media (max-width: 767px) {
    .hero-style {
        height: 420px;
    }
}

@media screen and (min-width: 992px) {
    .hero-style .container {
        text-align: center;
    }
}

.hero-style .slide-title,
.hero-style .slide-text,
.hero-style .slide-btns {
    max-width: 690px;
}

    .hero-style .slide-title h2 {
        font-size: 50px;
        font-weight: 600;
        line-height: 1;
        color: #ffffff;
        margin: 0 0 40px;
        text-transform: capitalize;
        transition: all .4s ease;
    }

@media (max-width: 1199px) {
    .hero-style .slide-title h2 {
        font-size: 50px;
    }
}

@media (max-width: 991px) {
    .hero-style .slide-title h2 {
        font-size: 50px;
        margin: 0 0 35px;
    }
}

@media (max-width: 767px) {
    .hero-style .slide-title h2 {
        font-size: 35px;
        margin: 0 0 30px;
    }
}

.hero-style .slide-text p {
    opacity: 0.8;
    font-family: Roboto;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: normal;
    color: #ffffff;
    margin: 0 0 40px;
    transition: all .4s ease;
}

@media (max-width: 767px) {
    .hero-style .slide-text p {
        font-size: 16px;
        font-size: 1rem;
        font-weight: normal;
        margin: 0 0 30px;
    }
}

.hero-style .slide-btns > a:first-child {
    margin-right: 10px;
}




@media (max-width: 992px) {
}

@media (max-width: 768px) {
}





.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary);
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
}

    .section-title:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background-color: var(--accent);
    }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

.product-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .product-image img {
        width: 100%;
        height: 180px;
        object-fit: cover;
    }

.product-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary);
    font-weight: 600;
}

.product-description {
    color: var(--gray);
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--accent);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
    align-self: flex-start;
    font-size: 13px;
}

    .product-button:hover {
        background-color: #e67300;
    }

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .section-title {
        font-size: 1.7rem;
    }
}




.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text {
    padding-right: 20px;
}

    .about-text h2 {
        color: var(--primary);
        font-size: 1.8rem;
        margin-bottom: 20px;
        font-weight: 600;
    }

    .about-text p {
        color: var(--gray);
        margin-bottom: 15px;
        font-size: 1.05rem;
    }

.about-image {
    width: 600px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f5; /* arka plan boş alanlar için nötr renk */
    border-radius: 10px;
    overflow: hidden;
}

    .about-image img {
        max-width: 1500px;
        max-height: 880px;
        object-fit: contain;
        top: 80px;
        width: 140%;
        position: relative;
        height: 150%;
    }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 1.8rem;
}

.feature-title {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-description {
    color: var(--gray);
    font-size: 0.95rem;
}

.text-center {
    text-align: center;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-text {
        padding-right: 0;
    }

    .about-image {
        height: 250px;
        order: -1;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

.section-subtitle {
    text-align: center;
    margin-bottom: 50px;
    color: var(--gray);
    font-size: 1.2rem;
    font-weight: 400;
}

.blog-section {
    padding: 80px 0;
    background: var(--light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 60px;
    font-weight: 400;
}

#blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

    .blog-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }

.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

    .blog-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(30, 60, 114, 0.1) 100%);
}

.blog-content {
    padding: 11px 25px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    color: var(--gray);
    font-size: 0.9rem;
}

    .blog-meta i {
        width: 16px;
        height: 16px;
    }

.blog-card h4 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 4px;
    line-height: 1.4;
    font-weight: 600;
}

.blog-card p:first-of-type {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 10px;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card p:not(:first-of-type) {
    display: none;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
    transition: gap 0.3s ease;
}

.blog-card:hover .read-more {
    gap: 10px;
}

.blog-cta {
    text-align: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

    .cta-button:hover {
        background: var(--secondary);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(42, 82, 152, 0.3);
    }

/* Responsive */
@media (max-width: 1024px) {
    #blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .about-image img {
        top: 0;
        width: 100%;
        height: 100%;
    }

    .about-image {
        width: 100%;
    }

    .slide-inner .container h1 {
        font-size: 25px;
    }

    .slide-inner .container p {
        font-size: 16px;
    }

    .btn {
        display: inline-block;
        background-color: var(--accent);
        color: var(--white);
        padding: 7px 10px;
        border-radius: 4px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
        text-align: center;
        font-size: 12px;
        width: max-content;
    }

    .blog-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    #blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 500px;
    }

    .blog-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .blog-content {
        padding: 20px;
    }

    .blog-card h4 {
        font-size: 1.2rem;
    }

    .cta-button {
        padding: 12px 28px;
        font-size: 1rem;
    }
}

#pagination {
    margin: 20px 0;
    text-align: center;
    gap: 5px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

    #pagination a, #pagination span {
        padding: 6px 12px;
        margin: 2px;
        border-radius: 5px;
        text-decoration: none;
        background-color: #eee;
        color: #333;
        cursor: pointer;
    }

    #pagination .current {
        font-weight: bold;
        background-color: #333;
        color: #fff;
    }
