:root {
    --bg-color: #FBF9F7; /* Krem Rengi Arka Plan */
    --text-color: #5C4033; /* Koyu Kahve Metin */
    --primary-color: #D97925; /* Ana Turuncu */
    --secondary-color: #E8A87C; /* İkincil Açık Turuncu */
    --light-bg: #f8f9fa;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Montserrat', sans-serif;
}

body {
    font-family: var(--body-font);
    background-color: var(--bg-color);
    color: var(--text-color);
}

h2.text-center {
    font-family: var(--heading-font);
    font-size: 2.8rem;
    color: var(--text-color);
}

/* Hero Section & Nav */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding: 150px 0;
    background: linear-gradient(rgba(44, 34, 28, 0.6), rgba(44, 34, 28, 0.6)), url('https://images.unsplash.com/photo-1477322524744-0eece9e79640?q=80&w=1950&auto=format&fit=crop') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar {
    transition: background-color 0.5s ease;
}

.navbar.scrolled {
    background-color: rgba(44, 62, 80, 0.9); /* Koyu Mavi-Gri */
}

.navbar-brand {
    font-family: 'Great Vibes', cursive;
    font-size: 2.8rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.nav-link {
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 8px;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transform-origin: center;
    transition: transform 0.3s ease-out;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* Hero Content */
.hero-content h1 {
    font-family: var(--heading-font);
}

/* About on Hero Section */
.about-on-hero {
    background-color: rgba(251, 249, 247, 0.5);
    color: var(--text-color);
    padding: 4rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-on-hero h2 {
    font-family: var(--heading-font);
    color: var(--text-color);
}

.about-on-hero .img-fluid {
    width: 100%;
    max-width: 325px;
    border: 8px solid white;
}

.cta-button {
    background-color: var(--primary-color);
    border: 0;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cta-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    color: white;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Services Section */
#services .service-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#services .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

#services .service-card-img {
    height: 180px; /* Sabit yükseklik */
    object-fit: cover; /* Görseli kırparak sığdır */
    width: 100%; /* Genişliği tam doldur */
    border-radius: 8px; /* Hafif yuvarlak köşeler */
}

/* Blog Section */
#blog {
    background-color: var(--light-bg);
}

.blog-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.blog-card .card-img-top {
    height: 220px; /* Sabit yükseklik */
    object-fit: cover; /* Görseli kırparak sığdır */
    width: 100%; /* Genişliği tam doldur */
}

.blog-post .blog-post-title {
    font-family: var(--heading-font);
    margin-bottom: 1.5rem;
}

.blog-post-image {
    box-shadow: 0 1rem 2.5rem .5rem rgba(0,0,0,.3);
    margin-bottom: 1rem;
    max-width: 100%;
    height: auto;
}

@media (min-width: 992px) { /* LG breakpoint and up */
    .blog-post-image {
        float: left;
        margin-right: 1.5rem;
        max-width: 350px;
    }
}

@media (max-width: 991.98px) { /* Below LG breakpoint */
    .blog-post-image {
        display: block;
        float: none;
        width: calc(100% - 2rem);
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1.5rem;
    }
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* FAQ Section */
.accordion-item {
    background-color: #fff;
    border: 1px solid #eee;
    margin-bottom: 1rem;
    border-radius: 10px !important;
    overflow: hidden;
}

.accordion-button {
    color: var(--text-color);
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background-color: var(--secondary-color);
    color: white;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(217, 121, 37, 0.25);
}

/* Footer */
.site-footer {
    background-color: #41322A; /* Koyu Kahve */
    color: rgba(251, 249, 247, 0.7); /* Opak Krem Rengi */
    padding: 4rem 0 0;
    font-size: 0.9rem;
}

.site-footer .footer-brand {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.site-footer .footer-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.site-footer a {
    color: rgba(251, 249, 247, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #fff;
}

.site-footer .social-icons a {
    display: inline-block;
    color: #fff;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.site-footer .social-icons a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.site-footer .list-unstyled li {
    margin-bottom: 0.5rem;
}

.footer-quote {
    text-align: left;
}

.footer-quote .blockquote {
    font-size: 1rem;
    font-style: italic;
    color: rgba(251, 249, 247, 0.8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.5rem; /* Yazı ile yazar arasına boşluk */
}

.footer-quote .blockquote-footer {
    color: rgba(251, 249, 247, 0.6);
    margin-top: 1rem;
}

.footer-bottom {
    background-color: #352821; /* Daha Koyu Kahve */
    padding: 1.5rem 0;
    margin-top: 3rem;
}

.footer-bottom p {
    color: rgba(251, 249, 247, 0.5);
}

/* Mobil Menu Düzenlemesi */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(65, 50, 42, 0.95); /* Koyu Kahve - Hafif Şeffaf */
        padding: 1.5rem;
        border-radius: 10px;
        margin-top: 10px;
    }
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(44, 34, 28, 0.7), rgba(44, 34, 28, 0.7)), url('https://images.unsplash.com/photo-1487088678257-3a541e6e3922?q=80&w=1974&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    padding: 8rem 0;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-family: var(--heading-font);
    font-size: 3.5rem;
}

/* About Page Specifics */
.about-page-section .h1 {
    font-family: var(--heading-font);
}

.about-page-section .img-fluid {
    width: 100%;
    max-width: 350px;
    border: 8px solid white;
    margin: 0 auto;
}

.approach-section {
    background-color: var(--light-bg);
}

.education-list li {
    border-left: 3px solid var(--primary-color);
    padding-left: 20px;
    margin-bottom: 2rem;
}

.education-list h5 {
    font-family: var(--heading-font);
    color: var(--text-color);
}
/* Services Page Specifics */
.service-detail-item .h1 {
    font-family: var(--heading-font);
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.service-detail-item img {
    border: 8px solid white;
}

/* Contact Page Specifics */
.contact-form .form-control {
    border-radius: 5px;
    padding: 12px;
    border: 1px solid #ddd;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(217, 121, 37, 0.25);
}

.contact-details {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
}

.contact-details .h2, .contact-section .h1 {
     font-family: var(--heading-font);
}

.contact-details ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.contact-details ul li i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
    width: 20px;
    text-align: center;
}

.contact-details ul li a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.contact-details ul li a:hover {
    color: var(--primary-color);
}

.map-placeholder {
    border-radius: 10px;
    overflow: hidden; /* Ensures the iframe respects the border-radius */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 100%; /* 1:1 aspect ratio, can be adjusted */
    position: relative;
    height: 0;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    border: 0;
}

.whatsapp-float-button {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    line-height: 60px; /* Dikeyde ortalamak için */
    transition: transform 0.3s ease;
}

.whatsapp-float-button:hover {
    transform: scale(1.1);
    color: white;
}

/* Blog Carousel */
.blog-carousel-container {
    padding: 20px 0;
    position: relative;
}

.blog-carousel-track {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center cards vertically */
}

.blog-carousel-card {
    width: 100%;
    max-width: 400px; /* Max width for cards on mobile */
    margin-bottom: 1.5rem;
    white-space: normal;
    display: inline-block; /* Allow margin auto to center */
}

.blog-carousel-track:hover {
    animation-play-state: paused;
}

@media (min-width: 992px) {
    .blog-carousel-container {
        overflow: hidden;
        white-space: nowrap;
    }

    .blog-carousel-container:before,
    .blog-carousel-container:after {
        content: "";
        position: absolute;
        top: 0;
        width: 150px;
        height: 100%;
        z-index: 2;
    }

    .blog-carousel-container:before {
        left: 0;
        background: linear-gradient(to left, rgba(248, 249, 250, 0), #f8f9fa);
    }

    .blog-carousel-container:after {
        right: 0;
        background: linear-gradient(to right, rgba(248, 249, 250, 0), #f8f9fa);
    }

    .blog-carousel-track {
        display: flex;
        flex-direction: row;
        align-items: stretch; /* Ensure equal height on desktop */
        animation: blog-scroll 40s linear infinite;
    }

    .blog-carousel-card {
        display: inline-block;
        flex: 0 0 320px;
        width: 320px;
        max-width: none;
        margin: 0 15px;
        vertical-align: top;
    }
}

@keyframes blog-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
