/* Genel Renk Değişkenleri */
:root {
    --pistachio-green: #90EE90; /* Fıstık Yeşili */
    --main-brown: #795548;    /* Orta Kahverengi */
    --text-color: #212121;     /* Koyu Gri Metin */
    --light-bg: #f8f9fa;       /* Açık Gri Arka Plan (Bootstrap default body bg) */
    --header-text-color: #333; /* Header yazıları için biraz daha yumuşak siyah */
    --danger-color: #dc3545;   /* Bootstrap danger color */
    --primary-color-darker: #634c42; /* Ana kahverenginin koyusu */
    --link-color: #5D4037; /* Linkler için kahverengi tonu */

    .alert-organic-recommendation {
        border-left: 5px solid #198754;
    }
    .alert-organic-recommendation .alert-heading,
    .alert-organic-recommendation .alert-heading .bi-leaf {
        color: #0f5132 !important;
    }
/* admin_style.css veya <style> içine */
@media (max-width: 767.98px) {
    .admin-sidebar {
        position: static;
        width: 100%;
        height: auto;
        padding-top: 1rem; /* Header yüksekliği artık etkilemeyecek */
        margin-bottom: 1rem;
    }
    .admin-main-content-wrapper {
        margin-left: 0;
        width: 100%;
        padding-top: 1rem; /* Header bar hala fixed ise onun için boşluk */
    }
    .admin-header-bar { /* Eğer header bar mobil için farklı olacaksa */
        left: 0; 
    }
}
    --message-sent-bg: #007bff;
    --message-sent-color: white;
    --message-received-bg: #e9ecef;
    --message-received-color: #333;
    --message-time-color-sent: rgba(255, 255, 255, 0.7);
    --message-time-color-received: #6c757d;
    --message-border-color: #ddd;
    --message-box-bg: #f9f9f9;
    --conversation-hover-bg: #f1f1f1;
    --conversation-text-muted: #555;
    --last-message-color: #777;
    --unread-count-bg: #dc3545;
    --unread-count-color: white;
    --delete-btn-color: #dc3545;
    --delete-btn-hover-color: #c82333;

    --soil-card-bg: #fff;
    --soil-card-border: #ddd;
    --soil-result-bg-success: #d4edda;
    --soil-result-border-success: #c3e0b7;
    --soil-result-color-success: #155724;
    --soil-result-bg-warning: #fff3cd;
    --soil-result-border-warning: #ffeeba;
    --soil-result-color-warning: #856404;
    --soil-result-bg-info: #d1ecf1;
    --soil-result-border-info: #bee5eb;
    --soil-result-color-info: #0c5460;
    --soil-heading-color: var(--main-brown);
    --info-block-bg: #e9ecef;
    --info-block-border: #ced4da;

    --image-preview-border: var(--message-border-color);
    --image-preview-bg: var(--light-bg);
    --dark-green: #006400;
}

/* Genel Body ve Tipografi Stilleri */
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    background-color: var(--light-bg) !important;
    line-height: 1.6;
    padding-top: 90px; /* Navbar'ınızın yüksekliğine göre bu değeri ayarlayın */
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--main-brown);
    font-weight: 600;
}

a {
    color: var(--link-color);
    text-decoration: none;
}
a:hover {
    color: var(--primary-color-darker);
    text-decoration: underline;
}

/* Navbar Stilleri */
.navbar {
    border-bottom: 1px solid #dee2e6;
    z-index: 1050;
}
.navbar-brand { font-weight: 600; }
.navbar .nav-link,
.navbar .navbar-brand { color: var(--header-text-color) !important; }
.navbar .nav-link:hover,
.navbar .navbar-brand:hover { color: var(--main-brown) !important; }
.navbar-nav .nav-item .nav-link.active { color: var(--main-brown) !important; font-weight: bold; }
.navbar-nav .nav-item-bordered { border: 1px solid #dee2e6; border-radius: .25rem; margin-right: 0.5rem; transition: background-color 0.2s ease-in-out; }
.navbar-nav .nav-item-bordered:hover { background-color: #f1f1f1; }
.navbar-nav .nav-item-bordered .nav-link { padding: .4rem .6rem !important; display: flex; align-items: center; }
.nav-link i, .btn i { margin-right: 0.35rem; }
.unread-messages-badge { font-size: 0.7em; vertical-align: top; margin-left: 5px; padding: .35em .65em; }
@keyframes blink-badge { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }
.blink-badge { animation: blink-badge 1.5s linear infinite; }
.navbar .dropdown-menu { z-index: 1040; }
@keyframes blink-red { 0% { color: var(--bs-nav-link-color, #0d6efd); font-weight: normal; } 50% { color: red !important; font-weight: bold; } 100% { color: var(--bs-nav-link-color, #0d6efd); font-weight: normal; } }
.navbar-nav .nav-item a#pazaryeriLink.blink-animation,
.navbar-nav .nav-item a#navbarDropdownPazaryeri.blink-animation { animation: blink-red 1.5s infinite; }

/* Form Stilleri */
.form-label { font-weight: 600; }
.form-control:focus,
.form-select:focus { box-shadow: 0 0 0 0.25rem rgba(121, 85, 72, 0.25); border-color: var(--main-brown); }

/* --- SAYFA ÖZEL STİLLER --- */
.article-title { margin-bottom: 1.5rem; font-size: 2.5rem; }
.article-meta { font-size: 0.9em; color: #6c757d; margin-bottom: 2rem; }
.article-image { max-width: 100%; height: auto; border-radius: 8px; margin-bottom: 2rem; box-shadow: 0 .125rem .25rem rgba(0,0,0,.075); }
.article-content h2 { margin-top: 2.5rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid #eee; font-size: 1.75rem; color: var(--text-color); }
.article-content h3 { margin-top: 2rem; margin-bottom: 0.8rem; font-size: 1.5rem; color: var(--text-color); }
.article-content p { margin-bottom: 1.2rem; }
.article-content ul { list-style: none; padding-left: 0; margin-bottom: 1.5rem; }
.article-content ul li { padding-left: 1.8em; margin-bottom: 0.8rem; position: relative; }
.article-content ul li::before { content: "\F28E"; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 0.1em; color: var(--pistachio-green); font-size: 1.1em; font-weight: normal; }
.article-content img { max-width: 100%; height: auto; border-radius: 5px; margin: 1rem 0; }
.donation-card { background-color: white; padding: 2rem; border-radius: 8px; box-shadow: 0 .125rem .25rem rgba(0,0,0,.075); }
.highlight { color: var(--pistachio-green); font-weight: 600; }
.blog-card img.card-img-top,
.product-card img.card-img-top,
.ilan-card img.card-img-top { width: 100%; height: 200px; object-fit: cover; }
.blog-card .card-title { font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--main-brown); }
.blog-card .card-text { font-size: 0.95em; color: #555; }
.blog-card .btn-read-more { background-color: var(--pistachio-green); border: none; color: white; }
.blog-card .btn-read-more:hover { background-color: #7aa87a; }
.pagination { justify-content: center; margin-top: 2rem; }
.pagination .page-link { color: var(--pistachio-green); }
.pagination .page-item.active .page-link { background-color: var(--pistachio-green); border-color: var(--pistachio-green); color: white; }
.pagination .page-link:hover { color: #7aa87a; }
.pagination .page-item.disabled .page-link { color: #6c757d; }
.about-section h1 { margin-bottom: 1rem; }
.about-section h2 { margin-top: 2rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid #eee; font-size: 1.75rem; color: var(--text-color); }
.about-section p { margin-bottom: 1.2rem; }
.about-section .lead { font-weight: 400; color: #555; margin-bottom: 2rem; font-size: 1.15rem; }
.about-section ul { list-style: none; padding-left: 0; }
.about-section ul li { padding-left: 1.8em; margin-bottom: 0.8rem; position: relative; }
.about-section ul li::before { content: "\F28E"; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 0.1em; color: var(--pistachio-green); font-size: 1.1em; font-weight: normal; }
.ilan-detay-card { background-color: #fff; border-radius: 8px; box-shadow: 0 .125rem .25rem rgba(0,0,0,.075); padding: 30px; }
.carousel-item img { width: 100%; height: 400px; object-fit: cover; border-radius: 8px; }
.info-frame, .seller-info-frame { border: 1px solid var(--message-border-color); border-radius: 8px; padding: 20px; margin-bottom: 20px; background-color: #fefefe; }
.info-frame h2, .seller-info-frame h2 { margin-top: 0; margin-bottom: 15px; color: var(--header-text-color); font-size: 1.3rem; padding-bottom: 10px; border-bottom: 1px dashed #eee; }
.info-frame p, .seller-info-frame p { margin-bottom: 10px; }
.detail-label { font-weight: 600; margin-right: 5px; color: var(--conversation-text-muted); }
.farming-method-detail { color: #28a745; font-weight: bold; }
.pazarlik-var { color: #28a745; font-weight: bold; }
.pazarlik-yok { color: var(--danger-color); font-weight: bold; }
.carousel-control-prev, .carousel-control-next { opacity: 0.3; transition: opacity 0.15s ease; }
.carousel-control-prev:hover, .carousel-control-next:hover { opacity: 0.8; }
.message-button-container { margin-top: 15px; text-align: center; }
.message-button-container .btn { width: 100%; }
.ilan-form-card { background-color: #fff; border-radius: 8px; box-shadow: 0 .125rem .25rem rgba(0,0,0,.075); padding: 30px; }
.preview-images img { max-width: 120px; height: auto; margin: 5px; border: 1px solid var(--message-border-color); border-radius: 4px; }
.teslimat-options .form-check { margin-bottom: 0.5rem; }
.fiyat-pazarlik-options .form-check-inline { margin-right: 1rem; }

/* Footer Stilleri */
footer { background-color: var(--main-brown); color: white; padding: 20px 0; text-align: center; margin-top: auto; }
footer a { color: #f1f1f1; }
footer a:hover { color: #fff; }

/* Ana Sayfa Hero Bölümü Stilleri (index.php) */
.hero-section { position: relative; height: 80vh; min-height: 500px; display: flex; align-items: center; justify-content: center; text-align: center; color: white; overflow: hidden; }
.video-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; overflow: hidden; background-color: #333; }
.video-foreground, .video-foreground iframe { position: absolute; top: 50%; left: 50%; width: 100vw; height: 56.25vw; min-width: 177.77vh; min-height: 100vh; transform: translate(-50%, -50%); pointer-events: none; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%); z-index: -1; }
.hero-content { position: relative; z-index: 1; padding: 20px; }
.hero-content h1 { font-size: calc(2.5rem + 1.5vw); font-weight: 700; text-shadow: 2px 2px 6px rgba(0,0,0,0.6); color: #fff; }
.hero-content p.lead { font-size: calc(1rem + 0.3vw); margin-bottom: 2.5rem; text-shadow: 1px 1px 3px rgba(0,0,0,0.5); color: rgba(255,255,255,0.95); }
.search-card { margin-top: 2rem; }
.search-card .card { background-color: rgba(255, 255, 255, 0.97); border: none; border-radius: 0.5rem; }
.search-card .card-title { color: var(--main-brown); }
.search-card .form-control { border-radius: 0.3rem; }
.search-card .input-group-text { border-radius: 0.3rem 0 0 0.3rem; }
.search-card .btn-lg { border-radius: 0 0.3rem 0.3rem 0; } /* btn-primary idi, genel .btn-lg yaptık */

/* İlan ve Ürün Kartları */
.ilan-card, .product-card { border: 1px solid var(--message-border-color); border-radius: 8px; margin-bottom: 20px; background-color: #fff; box-shadow: 0 .125rem .25rem rgba(0,0,0,.075); transition: transform 0.2s ease-in-out; height: 100%; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.ilan-card:hover, .product-card:hover { transform: translateY(-5px); box-shadow: 0 .25rem .5rem rgba(0,0,0,.1); }
.ilan-card > a, .product-card > a { border-radius: 8px; display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; } /* product-card için de a eklendi */
.ilan-card .card-body, .product-card .card-body { padding: 15px; flex-grow: 1; display: flex; flex-direction: column; }
.ilan-card .card-body h5, .product-card .card-body h5 { margin-bottom: 5px; font-size: 1.1rem; }
.ilan-card .card-text { font-size: 0.9rem; color: #555; margin-bottom: 5px; }
.product-card .card-text { font-size: 0.9rem; color: #555; margin-bottom: 10px; flex-grow: 1; }
.farming-method-overlay { position: absolute; top: 10px; left: 10px; background-color: rgba(40, 167, 69, 0.8); color: white; padding: 5px 10px; border-radius: 5px; font-size: 0.8rem; font-weight: bold; z-index: 10; }
.ilan-card .card-footer { background-color: var(--light-bg); border-top: 1px solid var(--message-border-color); padding: 10px 15px; font-size: 0.85rem; color: #777; margin-top: auto; }
.ilan-card a:hover h5, .product-card a:hover h5 { color: #007bff; } /* product-card için de hover eklendi */
.product-card .btn-detail { margin-top: auto; align-self: flex-start; }

/* Admin Paneli */
.admin-container { margin-top: 30px; margin-bottom: 30px; }
.admin-sidebar { background-color: #343a40; color: white; padding: 15px; border-radius: 5px; }
.admin-sidebar .nav-link { color: #adb5bd; }
.admin-sidebar .nav-link.active, .admin-sidebar .nav-link:hover { color: white; background-color: #495057; }
.admin-content { background-color: white; padding: 20px; border-radius: 5px; box-shadow: 0 .125rem .25rem rgba(0,0,0,.075); }
.table th, .table td { vertical-align: middle; }
.status-badge, .type-badge { padding: 0.35em 0.65em; font-size: 0.75em; font-weight: 700; line-height: 1; text-align: center; white-space: nowrap; vertical-align: baseline; border-radius: 0.25rem; }
.status-badge.published { background-color: #28a745; color: white; }
.status-badge.draft { background-color: #ffc107; color: #212529; }
.status-badge.archived { background-color: #6c757d; color: white; }
.status-badge.pending_approval { background-color: #0dcaf0; color: #000; }
.type-badge.genel { background-color: #0d6efd; color: white; }
.type-badge.akademik { background-color: #6f42c1; color: white; }
.badge.bg-success { background-color: #198754 !important; }
.badge.bg-warning { background-color: #ffc107 !important; color: #000 !important; }
.badge.bg-info { background-color: #0dcaf0 !important; color: #000 !important; }
.badge.bg-secondary { background-color: #6c757d !important; }
.badge.bg-primary { background-color: #0d6efd !important; }
.article-image-preview { max-width: 150px; height: auto; margin-top: 10px; border: 1px solid var(--message-border-color); padding: 5px; border-radius: 4px; }

/* Profil Sayfası */
.profile-page-section { padding-top: 30px; padding-bottom: 50px; }
.profile-sidebar .card-header h5 { font-size: 1.1rem; font-weight: 600; }
.profile-sidebar .list-group-item { font-size: 0.95rem; border-left: 3px solid transparent; border-radius: 0; }
.profile-sidebar .list-group-item.active { border-left-color: var(--bs-success); background-color: #e9f5e9; color: var(--bs-success); font-weight: 600; }
.profile-sidebar .list-group-item i { width: 20px; text-align: center; }
.tab-content .card-header h5 { font-size: 1.1rem; font-weight: 600; }
.profile-info-icon { color: var(--bs-secondary); }
#profilDetaylariContent dt { font-weight: 600; color: #555; font-size: 0.9rem; }
#profilDetaylariContent dd { font-size: 0.95rem; margin-bottom: 0.5rem; }
#havaDurumuContent .form-label { font-size: 0.9rem; margin-bottom: 0.25rem; }
#havaDurumuContent .form-select { font-size: 0.9rem; }
.current-weather-display .weather-icon { width: 70px; height: 70px; }
.current-weather-display h4 { font-weight: 600; color: var(--bs-primary); }
.current-weather-display .weather-details p { margin-bottom: 0.3rem; font-size: 0.95rem; }
.current-weather-display .weather-details p strong i { width: 20px; }
.weather-alerts ul { list-style-type: none; padding-left: 0; margin-top: 0.5rem; }
.weather-alerts ul li { background-color: #fff3cd; border-left: 5px solid #ffeeba; padding: 10px; margin-bottom: 8px; border-radius: .375rem; font-size: 0.9rem; }
.weather-alerts ul li strong { display: block; margin-bottom: 0.25rem; }
.forecast-card { background-color: var(--light-bg); border: 1px solid var(--message-border-color); border-radius: .375rem; padding: 0.75rem; box-shadow: 0 .125rem .25rem rgba(0,0,0,.075); }
.forecast-card strong { font-size: 0.9rem; color: var(--header-text-color); }
.forecast-card img { width: 35px; height: 35px; margin: 3px auto; }
.forecast-card p { font-size: 0.8rem; margin-bottom: 0.2rem; }
.forecast-card .text-primary { color: var(--bs-primary) !important; }
.forecast-card .text-info { color: var(--bs-info) !important; }
#weatherResult .spinner-border { width: 2rem; height: 2rem; }
#weatherResult .ms-2.text-primary { font-size: 1rem; }
.profile-page-section .btn { font-size: 0.9rem; }

/* Mesajlaşma Sayfası Stilleri */
.messaging-container { background-color: #fff; border-radius: 8px; box-shadow: 0 .125rem .25rem rgba(0,0,0,.075); padding: 20px; }
.message-box { border: 1px solid var(--message-border-color); border-radius: 8px; padding: 15px; height: 400px; overflow-y: auto; margin-bottom: 15px; background-color: var(--message-box-bg); display: flex; flex-direction: column; }
.message-wrapper { position: relative; margin-bottom: 10px; max-width: 80%; word-wrap: break-word; display: flex; align-items: center; }
.message-wrapper.sent { align-self: flex-end; flex-direction: row-reverse; }
.message-wrapper.received { align-self: flex-start; flex-direction: row; }
.message { padding: 8px 12px; border-radius: 5px; max-width: calc(100% - 30px); }
.message-wrapper.sent .message { background-color: var(--message-sent-bg); color: var(--message-sent-color); margin-left: 5px; }
.message-wrapper.received .message { background-color: var(--message-received-bg); color: var(--message-received-color); margin-right: 5px; }
.message small { display: block; font-size: 0.75rem; margin-top: 3px; color: var(--message-time-color-sent); }
.message-wrapper.received small { color: var(--message-time-color-received); }
.delete-message-btn { background: none; border: none; color: var(--delete-btn-color); cursor: pointer; font-size: 0.9rem; padding: 0 5px; opacity: 0; transition: opacity 0.2s ease-in-out; }
.message-wrapper:hover .delete-message-btn { opacity: 1; }
.message-input-form { display: flex; gap: 10px; }
.message-input-form textarea { flex-grow: 1; resize: none; height: 60px; }
.conversation-header { margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #eee; }
.conversation-header h2 { margin-top: 0; font-size: 1.2rem; color: #555; }
.conversation-header h3 { margin-top: 5px; font-size: 1.5rem; color: #333; }
.conversation-list-item-wrapper { background-color: #fff; border: 1px solid var(--message-border-color); border-radius: 8px; margin-bottom: 15px; padding: 15px; transition: background-color 0.2s ease-in-out; display: flex; align-items: center; }
.conversation-list-item-wrapper:hover { background-color: var(--conversation-hover-bg); }
.conversation-list-item { flex-grow: 1; text-decoration: none; color: inherit; display: block; padding-right: 10px; }
.conversation-info h5 { margin-bottom: 5px; font-size: 1.1rem; color: var(--header-text-color); }
.conversation-info p { margin-bottom: 5px; font-size: 0.9rem; color: var(--conversation-text-muted); }
.last-message { font-style: italic; color: var(--last-message-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 80%; display: inline-block; }
.conversation-meta { font-size: 0.8rem; color: #999; text-align: right; }
.conversation-list-item-wrapper .unread-count { animation: blink 1.5s infinite; }
.delete-conversation-btn { background: none; border: none; color: var(--delete-btn-color); cursor: pointer; font-size: 1.2rem; padding: 5px; margin-left: 10px; transition: color 0.2s ease-in-out; }
.delete-conversation-btn:hover { color: var(--delete-btn-hover-color); }

/* Toprak Analizi ve Teşhis Sayfaları */
.page-title-section { margin-bottom: 30px; }
.image-preview, .ref-img-display { max-width: 100%; height: auto; max-width: 450px; display: block; margin: 0 auto; }
.analysis-detail-img-modal { max-width: 100%; height: auto; max-height: 350px; display: block; margin: 10px auto; border: 1px solid var(--message-border-color); padding: 3px; border-radius: 5px; }
.styled-card { background-color: #fff; border: 1px solid #ddd; border-radius: 8px; box-shadow: 0 .125rem .25rem rgba(0,0,0,.075); padding: 20px; }
.styled-card .card-header { background-color: transparent; border-bottom: 1px solid #eee; padding: 0; margin-bottom: 15px; }
.styled-card .card-header h2.h5 { margin-top: 0; margin-bottom: 0; font-size: 1.2rem; color: var(--main-brown); padding-bottom: 10px; }
.soil-results-section { margin-top: 30px; padding-top: 20px; border-top: 1px solid #eee; }
.soil-result-card .card-header.bg-success { background-color: var(--soil-result-bg-success) !important; border-color: var(--soil-result-border-success) !important; color: var(--soil-result-color-success) !important; }
.soil-result-card .card-header.bg-warning { background-color: var(--soil-result-bg-warning) !important; border-color: var(--soil-result-border-warning) !important; color: var(--soil-result-color-warning) !important; }
.soil-result-card .card-header.bg-info { background-color: var(--soil-result-bg-info) !important; border-color: var(--soil-result-border-info) !important; color: var(--soil-result-color-info) !important; }
.soil-result-card .card-header.bg-danger { background-color: var(--danger-color) !important; border-color: var(--danger-color) !important; color: white !important; }
.soil-result-card .card-body h3.h5 { color: var(--soil-heading-color); margin-bottom: 15px; }
.soil-result-card .card-body dt { font-weight: 600; color: var(--conversation-text-muted); margin-bottom: 5px; }
.soil-result-card .card-body dd { margin-bottom: 15px; }
.recommendations-list .alert { margin-bottom: 10px; }
.recommendations-list .alert .alert-heading { font-size: 1rem; }
.recommendations-list .alert p { margin-bottom: 0; }
.info-block { background-color: var(--info-block-bg); border: 1px solid var(--info-block-border); border-radius: 8px; padding: 20px; margin-bottom: 20px; }
.info-block h3 { color: var(--soil-heading-color); margin-top: 0; margin-bottom: 15px; }

/* Uzmanlara Danış */
.expert-sidebar { padding: 15px; border-right: 1px solid #eee; min-height: 400px; }
.expert-sidebar h3 { font-size: 1.3rem; margin-top: 0; margin-bottom: 15px; color: var(--main-brown); padding-bottom: 10px; border-bottom: 1px solid #eee; }
.expert-sidebar .nav-link { color: var(--text-color); padding: 8px 10px; transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-left-color 0.2s ease-in-out; border-radius: 4px; }
.expert-sidebar .nav-link:hover { color: var(--pistachio-green); background-color: #f1f1f1; }
.expert-sidebar .nav-link.active { font-weight: 600; color: var(--main-brown); border-left: 3px solid var(--pistachio-green); background-color: #e9f5e9; }
.expert-card { background-color: #fff; border: 1px solid #ddd; border-radius: 8px; padding: 20px; text-align: center; box-shadow: 0 .125rem .25rem rgba(0,0,0,.075); height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.expert-photo { width: 100px; height: 100px; object-fit: cover; border-radius: 50%; margin-bottom: 15px; border: 3px solid var(--pistachio-green); padding: 3px; background-color: white; }
.expert-card h3 { font-size: 1.2rem; margin-bottom: 5px; color: var(--main-brown); font-weight: 600; }
.expert-card p { font-size: 0.95rem; color: #555; margin-bottom: 8px; line-height: 1.4; flex-grow: 1; }
.expert-card p strong { color: var(--header-text-color); }
.expert-what-they-do { font-style: italic; color: #777; margin-top: 0; font-size: 0.9em; }
.expert-what-they-do strong { font-style: normal; }
.expert-card .expert-contact-info { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #eee; width: 100%; }
.expert-card .expert-contact-info p { margin-bottom: 5px; flex-grow: 0; }
.expert-card .expert-contact-info p:last-child { margin-bottom: 0; }
.expert-card .expert-contact-info i { margin-right: 8px; color: var(--pistachio-green); font-size: 1.1em; }
.consult-expert-cta { background-color: var(--pistachio-green); color: white; padding: 15px; border-radius: 8px; margin-top: 15px; text-align: center; }
.consult-expert-cta a { color: white; text-decoration: underline; font-weight: bold; }
.consult-expert-cta a:hover { text-decoration: none; color: #f1f1f1; }


/* ==========================================================================
   MOBİL CİHAZLAR İÇİN ÖZEL STİLLER
   ========================================================================== */
@media (max-width: 767.98px) {
    body {
        /* padding-top: 70px; */ /* Mobil navbar yüksekliği farklıysa buradan ayarlanabilir */
    }
    .container { padding-left: 15px; padding-right: 15px; }
    h1 { font-size: 1.8rem; } /* Mobil için h1 daha da küçültüldü */
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }

    /* Ana Sayfa Hero Bölümü Mobil Düzenlemeleri */
    .hero-section { height: auto; min-height: 380px; padding-top: 30px; padding-bottom: 30px; } /* Yükseklik ayarı */
    .hero-content h1 { font-size: calc(1.8rem + 1.5vw); margin-bottom: 1rem; }
    .hero-content p.lead { font-size: calc(0.9rem + 0.3vw); margin-bottom: 1.5rem; }
    .hero-section .search-card { display: none !important; } /* !important ile kesin gizleme */
    .hero-section .video-background { display: none !important; } /* !important ile kesin gizleme */
    .hero-section .text-center a.btn-info[href="products.php"] { display: none !important; } /* "Tüm Ürünleri Gör" butonu mobilde gizle */

    /* Mobil İçin Yeni Buton Alanı ve Buton Stilleri */
    .mobile-buttons-container { display: flex; flex-direction: column; align-items: center; width: 100%; padding: 20px 0; }
    .mobile-buttons-container .btn { font-size: 1.05rem; padding: 12px 20px; margin-bottom: 12px; width: 90%; max-width: 340px; display: flex; align-items: center; justify-content: center; }
    .mobile-buttons-container .btn i { margin-right: 10px; font-size: 1.25em; }

    /* Diğer Sayfalar Mobil Düzenlemeleri */
    .how-it-works .col { margin-bottom: 2rem; }
    .how-it-works .card-img-top { height: 160px; }
    .how-it-works .card-title { font-size: 1.15rem; }
    .how-it-works .card-text { font-size: 0.9rem; }
    .cta-section h2 { font-size: 1.5rem; }
    .cta-section p.lead { font-size: 1rem; }
    .cta-section .btn-cta { font-size: 0.95rem; padding: 10px 18px; margin-bottom: 12px; }
    .info-section-img { margin-top: 1.5rem; }
    .styled-card { margin-bottom: 25px; padding: 15px; }
    .info-block { padding: 15px; }
    .expert-sidebar { border-right: none; border-bottom: 1px solid #eee; margin-bottom: 25px; min-height: auto; }
    .expert-sidebar h3 { text-align: center; border-bottom: none; padding-bottom: 8px; }
    .expert-sidebar .nav { flex-direction: row !important; justify-content: space-around; flex-wrap: wrap; } /* Linkleri daha iyi yay */
    .expert-sidebar .nav-item { margin-right: 5px; margin-bottom: 8px; } /* Boşlukları ayarla */
    .expert-sidebar .nav-link { padding: 8px; font-size: 0.9rem;} /* Font ve padding ayarı */
    .expert-sidebar .nav-link.active { border-left: none; border-bottom: 3px solid var(--pistachio-green); padding-left: 8px; padding-bottom: 5px; }
    .expert-card { text-align: left; align-items: center; flex-direction: column; padding: 15px; } /* Tekrar dikey hizalama */
    .expert-card .expert-photo { margin-right: 0; margin-bottom: 10px; } /* Fotoğraf üste */
    .expert-card h3 { font-size: 1.15rem; text-align:center;}
    .expert-card p { font-size: 0.9rem; text-align:center;}
    .expert-what-they-do { font-size: 0.85rem; text-align:center;}
    .profile-page-section { padding-top: 15px; padding-bottom: 30px;}
    #profilDetaylariContent .d-sm-none { display: block !important; }
    #profilDetaylariContent .d-none.d-sm-block { display: none !important; }
    .carousel-item img { height: 300px; } /* Mobil için ilan detay carousel yüksekliği */
}

@media (max-width: 575.98px) {
    .hero-content h1 { font-size: calc(1.6rem + 1.2vw); }
    .hero-content p.lead { font-size: calc(0.85rem + 0.2vw); margin-bottom: 1.2rem; }
    .mobile-buttons-container .btn { width: 95%; font-size: 1rem; padding: 10px 15px; }
    .cta-section h2 { font-size: 1.35rem; }
    .cta-section p.lead { font-size: 0.95rem; }
    .cta-section .btn-cta { font-size: 0.9rem; width: 100%; }
    .cta-section .btn-cta.ms-2 { margin-left: 0 !important; margin-top:10px; }
    .message-box { height: 320px; }
    .message-input-form textarea { height: 55px; }
    .carousel-item img { height: 250px; }
    .admin-sidebar .nav-link, .expert-sidebar .nav-link { font-size: 0.85rem; padding: 6px;} /* Daha küçük ekranlarda menü linkleri */
    .expert-sidebar .nav-item { margin-right: 3px; margin-bottom: 5px;}
}