
/* Genel Stiller */
body {
    font-family: 'Inter', sans-serif;
    color: #2d3748;
    background-color: #f7fafc;
    margin: 0;
}

body.loading {
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.loaded {
    opacity: 1;
}

main {
    padding-top: 50px;
}

/* Navbar */
.navbar {
    z-index: 1000;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-logo {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.navbar-nav .nav-link {
    transition: all 0.3s ease;
    color:#084596;
    font-weight: bold;
    padding: 10px 15px;
}

.navbar-nav .nav-link:hover {
    background-color: #f28c38;
    color: #ffffff;
    border-radius: 4px;
}

/* Hero Slider (index.html için) */
.hero {
    position: relative;
    background-color: #1a3c34;
    padding: 0;
}

.slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.slides {
    display: flex;
    width: 100%;
    height: 100%;
}

.slide {
    flex: 0 0 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#home-title {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: white;
    text-align: center;
}

#home-desc {
    margin-bottom: 1rem;
    color: white;
    text-align: center;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Hizmetler Bölümü (index.html için) */
.index-services-list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 15px;
    padding: 0 15px;
    max-width: 1400px;
    margin: 0 auto;
}

.service-item {
    flex: 0 0 calc(25% - 15px);
    min-width: 200px;
    max-width: 300px;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 200px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-item:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.index-services-list .service-item i {
    margin-bottom: 10px;
    color: #38a169;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.service-content strong {
    display: block;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin-bottom: 5px;
    color: #2d3748;
}

.service-content span {
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    color: #718096;
}

/* Hizmetler Yönlendirme Butonu (index.html için 4. kart) */
.service-redirect {
    flex: 0 0 calc(25% - 15px);
    min-width: 200px;
    max-width: 300px;
    padding: 20px;
    background-color: #38a169;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
}

.service-redirect:hover {
    background-color: #38a169;
    transform: translateY(-0.3125rem);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-redirect i {
    margin-bottom: 10px;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.service-redirect strong {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

/* Hizmetler Bölümü (services.html için) */
.services-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 15px;
    padding: 0 15px;
    max-width: 1400px;
    margin: 0 auto;
}

.services-list .service-item i {
    margin-bottom: 10px;
    color: #38a169;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

/* Hizmet Detay Sayfası için Ek Stiller */
.service-detail {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

#service-icon {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: #38a169;
    margin-bottom: 15px;
    display: block;
    text-align: center;
}

/* Referanslar Bölümü (index.html için) */
.index-references-list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 15px;
    padding: 0 15px;
    max-width: 1400px;
    margin: 0 auto;
}

.reference-card {
    flex: 0 0 calc(25% - 15px);
    min-width: 200px;
    max-width: 300px;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 200px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.reference-card:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.reference-img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.reference-content strong {
    display: block;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin-bottom: 5px;
    color: #2d3748;
}

.reference-content span {
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    color: #718096;
}

/* Referanslar Yönlendirme Butonu (index.html için 4. kart) */
.reference-redirect {
    flex: 0 0 calc(25% - 15px);
    min-width: 200px;
    max-width: 300px;
    padding: 20px;
    background-color: #38a169;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
}

.reference-redirect:hover {
    background-color: #38a169;
    transform: translateY(-0.3125rem);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.reference-redirect i {
    margin-bottom: 10px;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.reference-redirect strong {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

/* Referanslar Bölümü (references.html için) */
.references-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 15px;
    padding: 0 15px;
    max-width: 1400px;
    margin: 0 auto;
}

/* İstatistikler Bölümü (index.html için) */
.index-stats-list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 15px;
    padding: 0 15px;
    max-width: 1400px;
    margin: 0 auto;
}

.stat-item {
    flex: 0 0 calc(25% - 15px);
    min-width: 200px;
    max-width: 300px;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 150px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-item:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.index-stats-list .stat-item i {
    margin-bottom: 10px;
    color: #38a169;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.stat-content strong {
    display: block;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin-bottom: 5px;
    color: #2d3748;
}

.stat-content span {
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    color: #718096;
}

/* İstatistikler Bölümü (about.html için) */
.stats-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 15px;
    padding: 0 15px;
    max-width: 1400px;
    margin: 0 auto;
}

.stats-list .stat-item i {
    margin-bottom: 10px;
    color: #38a169;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.stat-content strong {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #38a169;
    transition: color 0.3s ease;
}

/* Haberler Bölümü (index.html için) */
.index-news-list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 15px;
    padding: 0 15px;
    max-width: 1400px;
    margin: 0 auto;
}

.news-card {
    flex: 0 0 calc(25% - 15px);
    min-width: 200px;
    max-width: 300px;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 200px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.news-card:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.news-img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.news-content strong {
    display: block;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin-bottom: 5px;
    color: #2d3748;
}

.news-content span {
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    color: #718096;
    flex-grow: 1;
}

.news-readmore-btn {
    display: inline-block;
    padding: 8px 15px;
    background-color: #38a169;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    text-align: center;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.news-readmore-btn:hover {
    background-color: #2f855a;
}

/* Haberler Yönlendirme Butonu (index.html için 4. kart) */
.news-redirect {
    flex: 0 0 calc(25% - 15px);
    min-width: 200px;
    max-width: 300px;
    padding: 20px;
    background-color: #38a169;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
}

.news-redirect:hover {
    background-color: #38a169;
    transform: translateY(-0.3125rem);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.news-redirect i {
    margin-bottom: 10px;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.news-redirect strong {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

/* Haberler Bölümü (news.html için) */
.news-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 15px;
    padding: 0 15px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Blog Yazısı (blog.html için) */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
}

.blog-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.blog-post h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 0 0 15px;
    color: #2d3748;
}

.blog-post p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #718096;
}

/* Blog ve Haber Sayfaları için Stil */
.blog-post, .news-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    padding: 20px;
}

.blog-img, .news-img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.blog-content-body, .news-card p {
    line-height: 1.3;
    font-size: 1.1rem;
    color: #333;
}

.blog-content-body h2, .news-card h2 {
    font-size: 2rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #1a73e8;
}

.blog-content-body h3, .news-card h3 {
    font-size: 1.5rem;
    margin-top: 25px;
    margin-bottom: 10px;
    color: #333;
}

.blog-content-body p, .news-card p {
    margin-bottom: 15px;
    text-align: justify;
}

.blog-content-body ul, .blog-content-body ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.blog-content-body blockquote {
    margin-left: 20px;
    border-left: 4px solid #1a73e8;
    padding-left: 15px;
    color: #555;
    font-style: italic;
}

.blog-content-body .ql-indent-1 {
    margin-left: 20px;
}

.blog-content-body .ql-indent-2 {
    margin-left: 40px;
}

/* Scroll-top butonu */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #38a169;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.scroll-top.show {
    opacity: 1;
}

.scroll-top:hover {
    transform: scale(1.1);
}

/* Footer */
footer {
    background-color: #137733;
    color: white;
}

.footer-content {
    padding: 20px 0;
}

.footer-left, .footer-right {
    margin-bottom: 20px;
}

.footer-left h3, .footer-right h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-left p {
    margin: 5px 0;
    font-size: 1rem;
}

.social-icons {
    margin: 15px 0;
}

.social-logo img {
    width: 30px;
    height: 30px;
    margin: 0 10px;
    object-fit: contain;
}

.social-logo img:hover {
    opacity: 0.8;
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.partner-logo {
    max-height: 40px;
    margin: 10px;
    object-fit: contain;
}

.contact-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #38a169;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.contact-btn:hover {
    background-color: #2f855a;
}

.footer-copyright {
    margin-top: 20px;
    font-size: 0.9rem;
}

.footer-policies {
    margin-top: 20px;
    font-size: 14px;
}

.footer-policies a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 5px;
}

.footer-policies a:hover {
    text-decoration: underline;
}

/* Politika Sayfaları için Stil */
.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    line-height: 1.6;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #333;
}

.policy-content h3 {
    font-size: clamp(1.5rem, 2.5vw, 1.8rem);
    margin: 20px 0 10px;
    color: #2d3748;
}

.policy-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.policy-content ul, .policy-content ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.policy-content blockquote {
    margin-left: 20px;
    border-left: 4px solid #38a169;
    padding-left: 15px;
    color: #555;
    font-style: italic;
}

/* Hata mesajları */
.text-danger {
    font-size: 1.1rem !important;
    padding: 10px;
    min-height: 30px;
    color: #dc3545 !important;
    background-color: #ffe5e5;
}

/* Responsive Tasarım */
@media (max-width: 767px) {
    main {
        padding-top: 60px;
    }
    .index-services-list, .index-references-list, .index-stats-list,
    .services-list, .references-list, .stats-list, .index-news-list {
        flex-direction: column;
        gap: 15px;
    }
    .service-item, .reference-card, .stat-item, .service-redirect,
    .reference-redirect, .news-card, .news-redirect {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .slider {
        height: 300px;
    }
    .reference-img, .news-img {
        height: 150px;
    }
    .footer-left, .footer-right {
        text-align: center;
    }
    .social-logo img {
        width: 25px;
        height: 25px;
        margin: 0 8px;
    }
    .partner-logo {
        max-height: 30px;
        margin: 8px;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        position:fixed;
        top: 66px;
        right: 0;
        width: 200px;
        background-color: #ffffff;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
        padding: 10px 0;
        transition: transform 0.3s ease-in-out;
    }

    .navbar-collapse.show {
        transform: translateX(0);
    }

    .navbar-nav {
        flex-direction: column;
        align-items: flex-end;
        margin: 0;
    }

    .navbar-nav .nav-link {
        width: 100%;
        text-align: right;
        padding: 8px 15px;
        margin-bottom: 2px;
    }
}

/* Büyük Ekranlar */
@media (min-width: 1200px) {
    .index-services-list, .index-references-list, .index-stats-list,
    .services-list, .references-list, .stats-list, .index-news-list {
        max-width: 1200px;
    }
}

/* Çok Geniş Ekranlar */
@media (min-width: 1600px) {
    .index-services-list, .index-references-list, .index-stats-list,
    .services-list, .references-list, .stats-list, .index-news-list {
        max-width: 1400px;
    }
}
