/* Hizmet Detay Sayfası CSS */

/* Hero Bölümü */
.service-hero {
    height: 60vh;
    min-height: 500px;
    background-image: url("../images/services-bg.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-hero .hero-content {
    text-align: center;
    padding-top: calc(
        80px + 7vh
    ); /* Responsive padding that adapts to viewport height */
    position: relative;
    z-index: 1; /* Ensure content stays above other elements */
}

.service-hero .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.service-icon-large {
    margin-top: 40px;
    background-color: rgb(30 76 107 / 53%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-icon-large i {
    font-size: 40px;
    color: var(--burgundy-color);
}

/* Giriş Bölümü */
.service-introduction {
    padding: 90px 0;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.intro-text h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    color: var(--burgundy-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.intro-text h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #c8a97e;
}

.intro-text .lead {
    font-size: 1.2rem;
    color: #4a4a4a;
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 500;
}

.intro-text p {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.8;
}

.intro-image {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.intro-image:hover img {
    transform: scale(1.05);
}

/* Hizmet Özellikleri Bölümü */
.service-details {
    padding: 90px 0;
    background-color: #f9f9f9;
}

.service-details h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.3rem;
    color: var(--burgundy-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.service-details h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #c8a97e;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(200, 169, 126, 0.2);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(200, 169, 126, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background-color: #c8a97e;
}

.feature-icon i {
    font-size: 28px;
    color: #c8a97e;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
    color: #fff;
}

.feature-card h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #192638;
    margin-bottom: 15px;
}

.feature-card p {
    color: #555;
    line-height: 1.7;
}

/* Feature Card Yeni Tasarım */
.feature-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    border: 1px solid #f0f0f0;
    position: relative;
}

.feature-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.feature-header {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #f0f0f0;
}

.feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 22px;
}

.feature-card h3 {
    margin: 0;
    color: var(--secondary-color);
    font-size: 18px;
    font-family: "Playfair Display", serif;
    flex-grow: 1;
}

.feature-content {
    padding: 20px 25px;
    color: #555;
}

.feature-content p {
    margin-top: 0;
    line-height: 1.6;
    color: #666;
}

.feature-content-expandable {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    opacity: 0;
}

.feature-content-expandable.active {
    max-height: 2000px;
    opacity: 1;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #e0e0e0;
}

.service-list h4 {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--burgundy-color);
}

.service-list ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.service-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 5px;
    line-height: 1.5;
}

.service-list li::before {
    content: "•";
    color: var(--burgundy-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.read-more-btn {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    padding: 8px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.read-more-btn i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more-btn:hover {
    color: var(--secondary-color);
}

.read-more-btn.active i {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .feature-header {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .read-more-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Modern Service Cards Styling */
.services-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--burgundy-color);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
}

.service-card:hover:before {
    transform: scaleY(1);
    transform-origin: top;
}

.service-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(139, 0, 0, 0.08);
    margin: 30px auto 15px;
    position: relative;
    transition: all 0.3s ease;
}

.service-card:hover .service-card-icon {
    background: var(--burgundy-color);
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(139, 0, 0, 0.2);
}

.service-card-icon i {
    font-size: 30px;
    color: var(--burgundy-color);
    transition: all 0.3s ease;
}

.service-card:hover .service-card-icon i {
    color: #fff;
    transform: scale(1.1);
}

.service-card-content {
    padding: 20px 30px 30px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card h3 {
    font-family: "Playfair Display", serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--burgundy-color);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.service-card:hover h3 {
    color: var(--burgundy-dark);
}

.service-card-link {
    color: var(--burgundy-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    padding: 5px 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card-link:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--burgundy-color);
    transition: width 0.3s ease;
}

.service-card:hover .service-card-link:before {
    width: 100%;
}

@media (max-width: 992px) {
    .services-cards {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .services-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Başarı Örnekleri Bölümü */
.case-studies {
    padding: 90px 0;
}

.case-studies h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.3rem;
    color: var(--burgundy-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.case-studies h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #c8a97e;
}

.case-studies-slider {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.case-study {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
}

.case-study::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(to bottom, #c8a97e, #9b7c50);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-study:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.case-study:hover::before {
    opacity: 1;
}

.case-content {
    padding: 30px;
}

.case-study h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #192638;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.case-study:hover h3 {
    color: #c8a97e;
}

.case-study p {
    color: #555;
    line-height: 1.7;
}

/* Süreç Bölümü */
.process-section {
    padding: 90px 0;
    background-color: #f9f9f9;
}

.process-section h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.3rem;
    color: var(--burgundy-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.process-section h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #c8a97e;
}

.process-steps {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-steps::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 30px;
    width: 2px;
    background: linear-gradient(
        to bottom,
        var(--burgundy-color),
        rgba(139, 0, 0, 0.3)
    );
}

.process-step {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--burgundy-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-right: 30px;
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.step-content {
    flex: 1;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.step-content h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--burgundy-color);
    margin-bottom: 10px;
}

.step-content p {
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* CTA Bölümü */
.cta-section {
    padding: 80px 0;
    background-color: #192638;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.cta-section::after {
    content: "";
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.3rem;
    margin-bottom: 20px;
    color: var(--burgundy-color);
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 30px;
}

.primary-btn {
    display: inline-block;
    padding: 14px 30px;
    background-color: #c8a97e;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #c8a97e;
}

.primary-btn:hover {
    background-color: transparent;
    border-color: #fff;
    transform: translateY(-3px);
}

/* Profesyonel Accordion Styles */
.accordion-container {
    width: 100%;
    margin: 30px 0;
}

.accordion-item {
    margin-bottom: 16px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    background-color: #fff;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.accordion-header {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    position: relative;
    user-select: none;
    border-left: 4px solid var(--burgundy-color);
}

.accordion-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--burgundy-color);
    color: white;
    border-radius: 8px;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(139, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.accordion-icon i {
    font-size: 22px;
    color: white;
}

.accordion-header h3 {
    margin: 0;
    color: var(--burgundy-color);
    font-size: 18px;
    font-family: "Playfair Display", serif;
    font-weight: 600;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.accordion-toggle {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f5f5f5;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.accordion-toggle i {
    color: var(--burgundy-color);
    font-size: 14px;
    transition: transform 0.4s ease;
}

/* Fix accordion content transition */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    padding: 0;
}

.accordion-item.active .accordion-content {
    max-height: 2000px !important; /* Ensure there's enough space */
    transition: max-height 1s ease-in-out;
}

/* Ensure accordion body is properly styled */
.accordion-body {
    padding: 0 24px 24px 94px;
    color: #555;
    line-height: 1.6;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.accordion-item.active .accordion-body {
    opacity: 1;
    padding: 0 24px 24px 94px;
}

/* Active State */
.accordion-item.active {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.accordion-item.active .accordion-header {
    border-bottom: 1px solid #f0f0f0;
}

.accordion-item.active .accordion-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(139, 0, 0, 0.4);
}

.accordion-item.active .accordion-toggle {
    background-color: var(--burgundy-color);
}

/* Responsive styles */
@media (max-width: 768px) {
    .accordion-header {
        padding: 18px 16px;
    }

    .accordion-icon {
        width: 40px;
        height: 40px;
        margin-right: 15px;
    }

    .accordion-icon i {
        font-size: 18px;
    }

    .accordion-header h3 {
        font-size: 16px;
    }

    .accordion-body {
        padding: 0 16px 16px 70px;
    }
}

@media (max-width: 480px) {
    .accordion-icon {
        width: 35px;
        height: 35px;
        margin-right: 12px;
    }

    .accordion-header h3 {
        font-size: 15px;
    }

    .accordion-body {
        padding: 0 16px 16px 16px;
    }
}

/* Responsive Düzenlemeler */
@media screen and (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-hero .hero-content {
        padding-top: calc(
            80px + 10vh
        ); /* Increased padding for medium screens */
    }
}

@media screen and (max-width: 992px) {
    .service-hero .hero-content {
        padding-top: calc(70px + 12vh); /* Adjusted for smaller screens */
    }

    .service-hero .hero-content h1 {
        font-size: 2.5rem;
    }

    .intro-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .intro-text {
        order: 1;
    }

    .intro-image {
        order: 2;
    }

    .case-studies-slider {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .service-hero {
        height: 50vh;
        min-height: 400px;
    }

    .service-hero .hero-content {
        padding-top: calc(
            60px + 15vh
        ); /* Further increased for mobile screens */
    }

    .service-hero .hero-content h1 {
        font-size: 2rem;
    }

    .service-icon-large {
        width: 80px;
        height: 80px;
    }

    .service-icon-large i {
        font-size: 32px;
    }

    .intro-text h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .process-steps::before {
        left: 25px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-right: 20px;
    }

    .step-content {
        padding: 20px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 576px) {
    .service-hero {
        min-height: 350px;
    }

    .service-hero .hero-content {
        padding-top: calc(50px + 15vh); /* Optimized for smallest screens */
    }

    .service-hero .hero-content h1 {
        font-size: 1.1rem;
    }

    .service-introduction,
    .service-details,
    .case-studies,
    .process-section {
        padding: 60px 0;
    }

    .intro-text h2,
    .service-details h2,
    .case-studies h2,
    .process-section h2 {
        font-size: 1.8rem;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .feature-icon i {
        font-size: 24px;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    .case-content {
        padding: 20px;
    }

    .case-study h3 {
        font-size: 1.2rem;
    }

    .step-content h3 {
        font-size: 1.2rem;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .primary-btn {
        padding: 12px 25px;
    }
}

/* Add a specific height-based media query to handle short but wide screens */
@media screen and (max-height: 700px) and (min-width: 768px) {
    .service-hero .hero-content {
        padding-top: 120px; /* Fixed minimum padding for short screens */
    }
}
