﻿@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=Inter:wght@300;400;500&display=swap');

body {
    /*    font-family: 'Inter', sans-serif;*/
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
}

.about-section {
    max-width: 1100px;
    margin: 70px auto 0 auto;
    padding: 10px;
    display: flex;
    gap: 20px;
    align-items: center;
/*    background-color: #F8F5F1;*/
}


.about-left img {
    width: 500px;
    height: auto;
    border-radius: 12px;
}


.about-right h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 10px;
}

.about-right h2 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-bottom: 20px;
}

.about-right p {
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 20px;
}
.btn-about-randevu {
    display: inline-flex; /* İçindeki metin kadar yer kaplar */
    align-items: center;
    justify-content: center;
    background-color: #3d5a40; /* Kurumsal yeşil tonu */
    color: #ffffff !important;
    padding: 12px 28px;
    border-radius: 50px; /* Tam yuvarlak köşeler */
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: fit-content; /* İçeriğe göre genişlik */
}

    .btn--about-randevu:hover {
        background-color: #2f4730; /* Hoverda biraz daha koyu */
        transform: translateY(-2px); /* Hafif yukarı zıplama efekti */
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

/* 992px ve altı (tablet) */
@media (max-width: 992px) {
    .about-section {
        position: relative;
        padding-top:55px;
        flex-direction: column;
        text-align: center;
        gap: 0;
    }

    .about-left {
        position: relative; /* şeffaflık ve yazı için gerekli */
        width: 100%;
        max-width: 100%;
    }

        .about-left img {
            width: 100%;
            height: auto;
            border-radius: 0;
            opacity: 0.4; /* arka plan daha şeffaf */
            display: block;
            filter: brightness(0.8); /* istenirse hafif karartma */
        }

    .about-right {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #fff; /* yazı rengini beyaz yaptık */
        padding: 20px 15px;
        width: 90%;
        max-width: 500px;
        background: rgba(0, 0, 0, 0.4); /* arka planın üstüne yarı saydam koyu kutu */
        border-radius: 12px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    }


        .about-right h1 {
            font-size: 28px;
            margin: 0 0 10px 0;
            font-weight: 700;
            text-shadow: 0 2px 5px rgba(0,0,0,0.5);
        }

        .about-right h2 {
            font-size: 16px;
            margin-bottom: 10px;
            font-weight: 600;
            text-shadow: 0 2px 4px rgba(0,0,0,0.45);
        }

        .about-right p {
            font-size: 14px;
            line-height: 1.5;
            text-shadow: 0 1px 3px rgba(0,0,0,0.4);
        }

    .btn-randevu {
        margin-top: 15px;
        padding: 10px 20px;
        font-size: 14px;
        background: rgba(0, 0, 0, 0.4);
    }
}

/* 480px ve altı (telefon) */
@media (max-width: 480px) {
    .about-left img {
        opacity: 0.3;
        filter: brightness(0.75);
    }

    .about-right {
        width: 95%;
        padding: 15px 15px;
    }

        .about-right h1 {
            font-size: 22px;
        }

        .about-right h2 {
            font-size: 14px;
        }

        .about-right p {
            font-size: 12px;
        }

    .btn-about-randevu {
        padding: 8px 16px;
        font-size: 13px;
    }
}