/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    /* Color Palette - Emerald Green & Gold Luxury */
    --primary-dark: #0f392b;
    /* Deep Forest Green */
    --primary-light: #2d6a4f;
    /* Elegant Green Accents */
    --primary-overlay: rgba(15, 57, 43, 0.85);
    /* Deep Green Overlay - Replaces Blue */

    --accent-gold: #c5a059;
    /* Classic Gold */
    --accent-gold-hover: #b08d4b;

    --text-white: #ffffff;
    --text-gray: #374151;
    /* Darker Gray (Gray 700) for better readability */
    --text-dark: #111827;
    /* Soft Black (Gray 900) */

    --bg-light: #f9fafb;
    /* Cleaner White/Gray */
    --bg-white: #ffffff;

    --border-color: #e5e7eb;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 95px;
    --border-radius: 6px;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    /* Sticky Footer Setup */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    /* Pushes footer down */
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-gold {
    color: var(--accent-gold);
}

.text-center {
    text-align: center;
}

.section-padding {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border: 1px solid var(--accent-gold);
    background-color: transparent;
    color: var(--accent-gold);
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--accent-gold);
    color: #fff;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    border-color: var(--accent-gold-hover);
}

/* Header & Navigation */
header {
    background-color: var(--bg-white);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

header .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    position: relative;
    /* Ensure container handles absolute child */
    padding-left: 90px;
    /* Space reserved for the logo image */
}


.logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: 0.5px;
    display: block;
    /* Block or inline-block to respect padding */
}

/* Position the logo image absolutely to the far left */
.logo a img {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 75px !important;
    width: auto;
    margin-right: 0 !important;
}

.logo span {
    color: var(--accent-gold);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-gray);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 25px 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 250px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-top: 3px solid var(--accent-gold);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    border-radius: 0 0 4px 4px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid #f9f9f9;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 15px 20px;
    color: var(--text-gray);
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.dropdown-menu a:hover {
    background-color: #fcfcfc;
    color: var(--accent-gold);
    padding-left: 25px;
}

/* Hero Section */
.hero {
    height: 90vh;
    background-color: #fff;
    background-image: linear-gradient(var(--primary-overlay), var(--primary-overlay)), url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: var(--text-white);
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--text-white);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
}

/* Features/Intro */
.intro-section {
    background-color: #fff;
}

.section-title {
    margin-bottom: 60px;
    text-align: center;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.section-title .divider {
    height: 3px;
    width: 80px;
    background-color: var(--accent-gold);
    margin: 0 auto;
}

/* Page Header (Standardized) */
.page-header {
    background-color: var(--primary-light);
    padding: 80px 0;
    text-align: center;
    color: var(--text-white);
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--text-white);
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Navigation Button (Standardized) */
.nav-btn {
    padding: 10px 25px !important;
    margin-left: 10px;
    color: var(--text-white) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem !important;
    /* Match base btn size */
    font-weight: 500 !important;
    line-height: normal !important;
    height: auto !important;
    border: 1px solid var(--accent-gold);
    background-color: var(--accent-gold);
    border-radius: 0;
    /* Align with other buttons if they are square, or inherit */
}

.nav-btn:hover {
    background-color: var(--accent-gold-hover);
    border-color: var(--accent-gold-hover);
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 80px;
    border-top: 5px solid var(--accent-gold);
}

/* Footer Logo (Independent) */
.footer-logo {
    position: relative;
    padding-left: 90px;
}

.footer-logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: block;
}

.footer-logo a img {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 75px !important;
    width: auto;
    margin-right: 0 !important;
}

.footer-logo span {
    color: var(--accent-gold);
}

/* Fix footer logo visibility on dark background */
/* Removed .footer-col .logo a override as it's now handled by .footer-logo a */

.footer-col .footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-col h3 {
    color: var(--text-white);
    font-family: var(--font-heading);
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Mobile Menu Button */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 991px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-white);
        flex-direction: column;
        gap: 0;
        transition: 0.3s;
        overflow-y: auto;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        padding: 20px 30px;
        border-bottom: 1px solid #f1f1f1;
        color: var(--text-dark);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: rgba(0, 0, 0, 0.2);
        box-shadow: none;
        border-top: none;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) and (min-width: 577px) {
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Useful Links Section Styles */
/* Useful Links Section Styles */
.useful-links-section {
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
    margin-bottom: 50px;
}

.section-title .divider {
    position: relative;
    height: 2px;
    width: 100px;
    background-color: var(--accent-gold);
    margin: 15px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-title .divider .dot {
    display: block;
    width: 8px;
    height: 8px;
    background-color: #fff;
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.link-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-gold);
}

.link-item .icon-box {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.link-item:hover .icon-box {
    color: var(--accent-gold);
}

.link-item span {
    font-weight: 500;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Bu kısmı style.css dosyana ekleyebilirsin */
@media (min-width: 992px) {
    .content-layout {
        display: flex;
        gap: 40px;
        align-items: flex-start;
    }

    .legal-service-detail,
    .blog-content {
        flex: 3;
        /* Geniş alan */
    }

    .sidebar-menu {
        flex: 1;
        /* Dar alan */
        position: sticky;
        /* Sayfa kaydıkça sabit kalsın istersen */
        top: 20px;
    }
}


/* Service Detail Styles */
.service-intro {
    background-color: #f8f9fa;
    border-left: 5px solid var(--accent-gold);
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 0 8px 8px 0;
}

.service-intro .lead {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.8;
}

.service-body h2 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #f1f1f1;
    padding-bottom: 10px;
    display: inline-block;
}

.service-body p {
    margin-bottom: 20px;
    color: var(--text-gray);
}

/* Service List */
.service-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    padding-left: 10px;
}

.service-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.service-list li::before {
    content: '\f00c'; /* Check icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--accent-gold);
    font-size: 0.9rem;
    background-color: rgba(197, 160, 89, 0.1);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* FAQ Section */
.faq-section {
    margin-top: 60px;
    background-color: #fff;
    border-radius: 8px;
}

.faq-section h2 {
    border-bottom: none;
    margin-top: 0;
    margin-bottom: 30px;
}

details {
    margin-bottom: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #fff;
}

details[open] {
    border-color: var(--accent-gold);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

summary {
    background-color: #fcfcfc;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 1.05rem;
    list-style: none;
    position: relative;
    padding-right: 50px;
    transition: background-color 0.3s;
}

summary:hover {
    background-color: #f4f4f4;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-gold);
    transition: transform 0.3s;
}

details[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
}

details p {
    padding: 20px;
    margin: 0;
    color: var(--text-gray);
    line-height: 1.7;
    border-top: 1px solid #f1f1f1;
    background-color: #fff;
}

/* Contact Widget */
.contact-widget {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e1e1e1;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    position: sticky;
    top: 100px;
}

.contact-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--accent-gold);
}

.contact-widget h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-weight: 600;
}

.contact-widget p {
    margin-bottom: 25px;
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.contact-widget .phone-link {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: color 0.3s;
    background-color: #f9f9f9;
    padding: 12px;
    border-radius: 6px;
}

.contact-widget .phone-link i {
    color: var(--accent-gold);
    margin-right: 10px;
    font-size: 1.1rem;
}

.contact-widget .phone-link:hover {
    color: var(--accent-gold);
    background-color: #fff5e0;
}

.contact-widget .whatsapp-btn {
    background-color: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
}

.contact-widget .whatsapp-btn:hover {
    background-color: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(37, 211, 102, 0.3);
}

.contact-widget .whatsapp-btn i {
    font-size: 1.3rem;
    margin-right: 10px;
}

/* Blog Detail Styles */
.blog-content h2 {
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.blog-content h3 {
    color: #34495e;
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.blog-content p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.blog-meta {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.toc-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
}

.toc-box ul {
    list-style: none;
    padding: 0;
}

.toc-box li {
    margin-bottom: 8px;
}

.toc-box a {
    color: #0056b3;
    text-decoration: none;
    font-weight: 500;
}

.toc-box a:hover {
    text-decoration: underline;
}

/* Service Cards Enhancement */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    text-align: center;
    background-color: #fff;
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.service-card h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 10px 0;
    color: var(--primary-dark);
    font-size: 1.5rem;
    transition: all 0.4s ease;
    font-family: var(--font-heading);
}

.service-card p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: #666;
    font-size: 0.95rem;
    transition: all 0.4s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 1;
    transition: all 0.4s ease;
    background-color: var(--primary-dark); /* Fallback color */
}

/* Hover Effects */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-color: var(--accent-gold);
}

.service-card:hover::before {
    opacity: 0.95; /* Dark overlay effect */
}

.service-card:hover h3 {
    color: #fff;
    transform: scale(1.05);
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Service-specific Backgrounds (Using Placeholder for now) */
.service-card.sigorta::before { background-image: linear-gradient(rgba(15, 57, 43, 0.8), rgba(15, 57, 43, 0.8)), url('../images/blog-placeholder.png'); }
.service-card.icra::before { background-image: linear-gradient(rgba(15, 57, 43, 0.8), rgba(15, 57, 43, 0.8)), url('../images/blog-placeholder.png'); }
.service-card.gayrimenkul::before { background-image: linear-gradient(rgba(15, 57, 43, 0.8), rgba(15, 57, 43, 0.8)), url('../images/blog-placeholder.png'); }
.service-card.tazminat::before { background-image: linear-gradient(rgba(15, 57, 43, 0.8), rgba(15, 57, 43, 0.8)), url('../images/blog-placeholder.png'); }
.service-card.tuketici::before { background-image: linear-gradient(rgba(15, 57, 43, 0.8), rgba(15, 57, 43, 0.8)), url('../images/blog-placeholder.png'); }
.service-card.miras::before { background-image: linear-gradient(rgba(15, 57, 43, 0.8), rgba(15, 57, 43, 0.8)), url('../images/blog-placeholder.png'); }
.service-card.is::before { background-image: linear-gradient(rgba(15, 57, 43, 0.8), rgba(15, 57, 43, 0.8)), url('../images/blog-placeholder.png'); }
.service-card.vergi::before { background-image: linear-gradient(rgba(15, 57, 43, 0.8), rgba(15, 57, 43, 0.8)), url('../images/blog-placeholder.png'); }
.service-card.borclar::before { background-image: linear-gradient(rgba(15, 57, 43, 0.8), rgba(15, 57, 43, 0.8)), url('../images/blog-placeholder.png'); }
.service-card.ticaret::before { background-image: linear-gradient(rgba(15, 57, 43, 0.8), rgba(15, 57, 43, 0.8)), url('../images/blog-placeholder.png'); }
.service-card.saglik::before { background-image: linear-gradient(rgba(15, 57, 43, 0.8), rgba(15, 57, 43, 0.8)), url('../images/blog-placeholder.png'); }
.service-card.ceza::before { background-image: linear-gradient(rgba(15, 57, 43, 0.8), rgba(15, 57, 43, 0.8)), url('../images/blog-placeholder.png'); }

/* Blog Pagination */
.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 30px 0;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background-color: #fff;
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px; /* Optional rounded */
}

.pagination-btn:hover:not(:disabled) {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.pagination-btn.active {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #fff;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f9f9f9;
}

/* Clickable Blog Item */
a.blog-item {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #fff;
    border-bottom: 3px solid var(--accent-gold);
    padding-bottom: 20px;
    height: 100%;
}

a.blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

a.blog-item:hover img {
    transform: scale(1.05);
}

a.blog-item h3 {
    text-decoration: none;
    color: var(--text-dark);
}

a.blog-item .read-more {
    text-decoration: underline;
    color: var(--accent-gold);
    font-weight: 500;
}
/* --- Profesyonel Pagination Tasarımı --- */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px; /* Kutucuklar arası boşluk */
    margin: 40px 0;
}

.page-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px; /* Sağdan soldan boşluk */
    border: 1px solid #e0e0e0; /* İnce gri çerçeve */
    background-color: #fff; /* Beyaz arka plan */
    color: #333; /* Koyu gri yazı */
    text-decoration: none;
    border-radius: 4px; /* Hafif yuvarlatılmış köşeler */
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Üzerine gelince (Hover) */
.page-link:hover {
    border-color: #cfaa5e; /* Gold renk çerçeve */
    color: #cfaa5e; /* Gold renk yazı */
    transform: translateY(-2px); /* Hafif yukarı kalkma efekti */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Aktif Sayfa (Seçili Olan) - SORUNU ÇÖZEN KISIM */
.page-link.active {
    background-color: #cfaa5e; /* Gold Arka Plan */
    border-color: #cfaa5e;
    color: #fff !important; /* Beyaz yazı (Önemli) */
    pointer-events: none; /* Tıklanamaz olsun */
    box-shadow: none;
}

/* Önceki/Sonraki Butonları için özel stil */
.page-link.nav-btn {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    background-color: #cfaa5e; /* Hafif gri arka plan */
}

.page-link.nav-btn:hover {
    background-color: #2c3e50; /* Lacivert arka plan */
    color: #fff; /* Beyaz yazı */
    border-color: #2c3e50;
}
/* --- İLETİŞİM SAYFASI DÜZELTMESİ --- */

/* Masaüstünde yan yana dur */
.contact-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

/* Mobilde alt alta in (Form düzelir) */
@media (max-width: 768px) {
    .contact-grid-container {
        grid-template-columns: 1fr !important; /* Tek sütuna düş */
        gap: 30px;
    }
    
    /* Adres yazıları ve ikonlar mobilde daha düzgün dursun */
    .contact-grid-container ul li {
        font-size: 1rem !important;
        margin-bottom: 15px;
    }
}
/* --- FAYDALI LİNKLER DÜZELTMESİ (WEB & MOBİL) --- */

.links-grid {
    display: grid;
    /* Masaüstünde net olarak 4 sütun olsun */
    grid-template-columns: repeat(4, 1fr);
    gap: 25px; /* Kutular arası boşluk */
    margin-top: 40px;
}

/* Kutuların Görünümü (Daha şık kartlar) */
.link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff; /* Beyaz arka plan */
    padding: 25px 20px;
    border-radius: 12px; /* Daha yuvarlak köşeler */
    text-align: center;
    text-decoration: none;
    color: #333;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* Hafif gölge */
    transition: all 0.3s ease;
}

/* İkonların boyutu ve rengi */
.link-item .icon-box {
    font-size: 2rem;
    color: var(--primary-color); /* Ana rengi kullan */
    margin-bottom: 15px;
}

/* Yazı stili */
.link-item span {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Mouse üzerine gelince efekt */
.link-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

/* --- MOBİL UYUM (Tablet ve Telefon) --- */
@media (max-width: 992px) {
    /* Tabletlerde 3 sütuna düş */
    .links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    /* Telefonlarda 2 sütuna düş */
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* Mobilde kutuları biraz küçült */
    .link-item {
        padding: 20px 15px;
    }
    .link-item .icon-box {
        font-size: 1.8rem;
    }
    .link-item span {
        font-size: 0.9rem;
    }
    
    /* Ana Sayfa Butonlarını Alt Alta Sırala (Diğer düzeltme) */
    .hero-btns { display: flex; flex-direction: column; gap: 15px; }
    .hero-btns .btn { margin-left: 0 !important; width: 100%; text-align: center; }
    
    /* Resimlerin taşmasını engelle */
    img { max-width: 100% !important; height: auto !important; }
}