/*
* Avukat Zeynep Kara - Hukuk Bürosu Web Sitesi
* Ana CSS Dosyası
*/

/* Genel Stil */
:root {
    --primary-color: #a67c52;
    --secondary-color: #2c3e50;
    --dark-color: #1a2530;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
    --text-color: #343a40;
    --border-color: #dee2e6;
    --white: #ffffff;
    --black: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

p {
    margin-bottom: 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container {
    max-width: 1200px;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

/* Butonlar */
.btn {
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Header Stili */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.top-bar {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.contact-info-scroll {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.contact-info-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.contact-info span {
    margin-right: 20px;
    display: inline-block;
}

.contact-info i {
    margin-right: 5px;
    color: var(--primary-color);
}

/* Adres bilgisi için ek stil */
.address-info {
    max-width: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: middle;
}

.social-icons a {
    color: var(--white);
    margin-left: 15px;
    font-size: 14px;
}

.social-icons a:hover {
    color: var(--primary-color);
}

.navbar {
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand img {
    height: 50px;
}

.navbar-toggler {
    border: none;
    padding: 10px;
}

.navbar-toggler-icon {
    color: var(--secondary-color);
    font-size: 24px;
}

.navbar-nav .nav-item {
    margin: 0 10px;
}

.navbar-nav .nav-link {
    color: var(--secondary-color);
    font-weight: 700;
    padding: 10px 0;
    position: relative;
}

.navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover:after,
.navbar-nav .active .nav-link:after {
    width: 100%;
}

.navbar-nav .active .nav-link {
    color: var(--primary-color);
}

/* Hero Bölümü */
.hero {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 150px 0;
    text-align: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.hero h1 {
    color: var(--white);
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 900;
}

.hero .subtitle {
    font-size: 22px;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Hakkımda Önizleme */
.about-preview {
    background-color: var(--white);
}

.image-placeholder {
    background-color: var(--light-gray);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-color);
    border-radius: 8px;
    overflow: hidden;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hizmetler Bölümü */
.services {
    background-color: var(--light-color);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    font-weight: 900;
    color: var(--secondary-color);
}

.section-title:after {
    content: '';
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px 20px;
    margin-bottom: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card .icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    background-color: var(--light-gray);
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 28px;
    transition: all 0.3s ease;
}

.service-card:hover .icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Blog Önizleme */
.blog-preview {
    background-color: var(--white);
}

.blog-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

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

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-card h3 {
    font-size: 18px;
    padding: 20px 20px 10px;
}

.blog-card .date {
    font-size: 14px;
    color: var(--gray-color);
    padding: 0 20px;
    margin-bottom: 10px;
}

.blog-card p {
    padding: 0 20px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.read-more {
    display: inline-block;
    padding: 0 20px 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.read-more:hover {
    color: var(--secondary-color);
}

/* İletişim Önizleme */
.contact-preview {
    background-color: var(--light-color);
}

.contact-info {
    margin-bottom: 30px;
}

/* Anasayfa için özel iletişim listesi */
.home-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.contact-item-home {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-item-home:last-child {
    border-bottom: none;
}

.contact-icon-home {
    min-width: 24px;
    margin-right: 10px;
}

.contact-icon-home i {
    color: var(--primary-color);
    font-size: 16px;
}

.contact-text-home {
    flex: 1;
}

.home-contact-info .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.home-contact-info .contact-icon {
    margin-right: 10px;
    width: 20px;
}

.home-contact-info .contact-text {
    flex: 1;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.form-control {
    height: 50px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    padding: 10px 15px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(166, 124, 82, 0.25);
}

textarea.form-control {
    height: auto;
}

/* Footer Stili */
.site-footer {
    background-color: var(--dark-color);
    color: var(--light-color);
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-widget {
    margin-bottom: 30px;
}

.widget-title {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.widget-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.white-filter {
    filter: brightness(0) invert(1);
}

.footer-widget .social-icons {
    margin-top: 20px;
}

.footer-widget .social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: var(--white);
}

.footer-widget .social-icons a:hover {
    background-color: var(--primary-color);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: var(--light-color);
}

.footer-links li a:hover {
    color: var(--primary-color);
    margin-left: 5px;
}

.footer-links i {
    margin-right: 10px;
    color: var(--primary-color);
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    margin-right: 10px;
}

.contact-info i {
    margin-right: 10px;
    color: var(--primary-color);
    width: 20px;
}

.contact-text {
    flex: 1;
    word-break: break-word;
}

.map-link a {
    color: var(--primary-color);
    font-weight: 700;
}

.footer-bottom {
    background-color: var(--black);
    padding: 20px 0;
    font-size: 14px;
}

.copyright {
    margin-bottom: 0;
}

.footer-bottom-links {
    text-align: right;
}

.footer-bottom-links li {
    display: inline-block;
    margin-left: 20px;
}

.footer-bottom-links li a {
    color: var(--light-color);
}

.footer-bottom-links li a:hover {
    color: var(--primary-color);
}

/* Responsive Stillemeler */
@media (max-width: 991px) {
    .navbar-nav {
        margin: 15px 0;
    }
    
    .navbar-nav .nav-item {
        margin: 5px 0;
    }
    
    .hero {
        padding: 100px 0;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero .subtitle {
        font-size: 18px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .footer-bottom-links {
        text-align: left;
        margin-top: 10px;
    }
    
    .footer-bottom-links li {
        margin-left: 0;
        margin-right: 20px;
    }
}

@media (max-width: 767px) {
    .top-bar {
        padding: 8px 0;
    }
    
    .contact-info-scroll {
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .contact-info {
        display: inline-flex;
        padding-bottom: 5px;
    }
    
    .social-icons {
        display: none;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero .subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .footer-widget {
        text-align: center;
    }
    
    .widget-title:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links li a {
        display: block;
        text-align: center;
    }
    
    .contact-info li,
    .contact-item {
        justify-content: center;
        text-align: left;
        flex-wrap: wrap;
        word-break: break-word;
    }
    
    /* Anasayfa İletişim bilgileri için mobil düzenleme - daha güçlü kurallar */
    .home-contact-info {
        display: block !important;
        width: 100% !important;
    }
    
    .home-contact-info .contact-item {
        display: block !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        margin-bottom: 20px !important;
        padding-bottom: 15px !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
        text-align: left !important;
    }
    
    .home-contact-info .contact-item:last-child {
        border-bottom: none !important;
    }
    
    .home-contact-info .contact-icon {
        display: block !important;
        margin-right: 0 !important;
        margin-bottom: 8px !important;
        width: 100% !important;
        text-align: left !important;
    }
    
    .home-contact-info .contact-icon i {
        font-size: 18px !important;
    }
    
    .home-contact-info .contact-text {
        display: block !important;
        width: 100% !important;
        text-align: left !important;
        word-break: break-word !important;
    }
    
    /* Footer iletişim bilgileri için mobil düzenleme */
    .footer-widget.contact-widget .contact-info {
        display: block;
        width: 100%;
    }
    
    .footer-widget.contact-widget .contact-info li,
    .footer-widget.contact-widget .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 25px;
        width: 100%;
        display: block;
        padding: 0 15px;
    }
    
    .footer-widget.contact-widget .contact-icon {
        margin-right: 0;
        margin-bottom: 8px;
        display: block;
        text-align: center;
    }
    
    .footer-widget.contact-widget .contact-info i {
        margin-right: 0;
        margin-bottom: 8px;
        width: auto;
        font-size: 22px;
        display: block;
    }
    
    .footer-widget.contact-widget .contact-text {
        width: 100%;
        display: block;
        text-align: center;
    }
    
    .map-link {
        text-align: center;
        margin-top: 15px;
    }
    
    .footer-widget .social-icons {
        text-align: center;
        display: block;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom-links {
        text-align: center;
        margin-top: 10px;
    }
    
    /* Anasayfa iletişim listesi mobil stili */
    .home-contact-list {
        display: block;
        width: 100%;
    }
    
    .contact-item-home {
        display: block;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
    
    .contact-icon-home {
        display: block;
        margin-bottom: 10px;
        width: 100%;
    }
    
    .contact-text-home {
        display: block;
        width: 100%;
        word-break: break-word;
    }
}

/* Admin Paneli Stili */
.admin-panel {
    background-color: var(--white);
    min-height: 100vh;
}

.admin-sidebar {
    background-color: var(--dark-color);
    color: var(--white);
    min-height: 100vh;
    padding: 0;
}

.admin-sidebar .logo {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.admin-sidebar .logo img {
    height: 40px;
}

.admin-menu {
    padding: 20px 0;
}

.admin-menu .nav-link {
    color: var(--light-color);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-left: 3px solid transparent;
}

.admin-menu .nav-link i {
    width: 20px;
    margin-right: 10px;
}

.admin-menu .nav-link:hover,
.admin-menu .active {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    border-left: 3px solid var(--primary-color);
}

.admin-content {
    padding: 30px;
}

.admin-content .page-title {
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.admin-card {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.admin-card .card-title {
    margin-bottom: 20px;
    font-size: 18px;
}

.data-table {
    width: 100%;
}

.data-table th {
    background-color: var(--light-gray);
    padding: 12px 15px;
    font-weight: 700;
}

.data-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
}

.action-buttons .btn {
    padding: 5px 10px;
    font-size: 12px;
    margin-right: 5px;
}

/* Blog Sayfası Stili */
.blog-container {
    padding: 80px 0;
}

.blog-header {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/blog-header.jpg');
    background-size: cover;
    background-position: center;
    margin-bottom: 50px;
}

.blog-header h1 {
    color: var(--white);
    font-size: 36px;
    font-weight: 900;
}

.blog-post {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.blog-post-img {
    height: 400px;
    overflow: hidden;
}

.blog-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-content {
    padding: 30px;
}

.blog-post-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.blog-post-meta {
    color: var(--gray-color);
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.blog-post-meta span {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.blog-post-meta i {
    margin-right: 5px;
}

.blog-post-text {
    margin-bottom: 20px;
}

.blog-sidebar {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.sidebar-title {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.search-form {
    position: relative;
    margin-bottom: 30px;
}

.search-form .form-control {
    padding-right: 50px;
}

.search-form button {
    position: absolute;
    right: 0;
    top: 0;
    height: 50px;
    width: 50px;
    background: var(--primary-color);
    border: none;
    color: var(--white);
    border-radius: 0 4px 4px 0;
}

.recent-posts {
    margin-bottom: 30px;
}

.recent-post {
    display: flex;
    margin-bottom: 20px;
}

.recent-post-img {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 15px;
}

.recent-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-title {
    font-size: 16px;
    margin-bottom: 5px;
}

.recent-post-date {
    font-size: 12px;
    color: var(--gray-color);
}

.categories {
    margin-bottom: 30px;
}

.categories li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.categories li:last-child {
    border-bottom: none;
}

.categories li a {
    display: flex;
    justify-content: space-between;
    color: var(--text-color);
}

.categories li a:hover {
    color: var(--primary-color);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
}

.tag-cloud a {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--light-gray);
    color: var(--text-color);
    border-radius: 4px;
    margin: 0 10px 10px 0;
    font-size: 14px;
}

.tag-cloud a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* İletişim Sayfası Stili */
.contact-page {
    padding: 80px 0;
}

.contact-info-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-info-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.contact-form-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.map-container {
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Bot Tuzağı - Honeypot */
.please-fill {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    overflow: hidden !important;
} 