/* Genel Ayarlar */
:root {
    --primary-color: #2c3e50; /* Koyu Gri Mavi */
    --secondary-color: #e67e22; /* Turuncu */
    --accent-color: #f39c12; /* Daha Açık Turuncu */
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #222;
    --white: #fff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 20px;
    color: var(--primary-color);
}

h1 { font-size: 3.5em; }
h2 { font-size: 2.5em; text-align: center; margin-bottom: 50px; }
h3 { font-size: 1.8em; }

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Butonlar */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--dark-bg);
    color: var(--white);
}

.btn-text {
    color: var(--primary-color);
    font-weight: bold;
}

.btn-text:hover {
    color: var(--secondary-color);
}

/* Header */
.main-header {
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary-color);
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    font-weight: 500;
    font-size: 1.1em;
    padding: 5px 0;
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 4px 0;
    transition: 0.4s;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://via.placeholder.com/1920x800/2c3e50/ffffff?text=Avukatlik+Burosu+Gorseli') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 150px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

.hero-content h1 {
    font-size: 4.5em;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-content p {
    font-size: 1.5em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-section {
    background-color: var(--white);
    text-align: center;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h2 {
    margin-bottom: 30px;
}

/* Services Section */
.services-section {
    background-color: var(--light-bg);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.service-item i {
    font-size: 3em;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-item h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Blog Section */
.blog-section {
    background-color: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-post {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.blog-post img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.blog-post h3 {
    margin: 20px 20px 10px;
    color: var(--primary-color);
    font-size: 1.5em;
}

.blog-post .post-meta {
    font-size: 0.9em;
    color: #666;
    margin: 0 20px 15px;
}

.blog-post p {
    font-size: 1em;
    line-height: 1.7;
    margin: 0 20px 20px;
    color: #555;
}

.blog-post .btn-text {
    margin: 0 20px 20px;
    display: inline-block;
}

/* Contact Section */
.contact-section {
    background-color: var(--dark-bg);
    color: var(--white);
}

.contact-section h2 {
    color: var(--white);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
}

.contact-info, .contact-form-container {
    flex: 1;
    min-width: 300px;
}

.contact-info h3, .contact-form-container h3 {
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info p i {
    margin-right: 15px;
    font-size: 1.2em;
    color: var(--accent-color);
}

.social-links {
    margin-top: 30px;
}

.social-links a {
    color: var(--white);
    font-size: 1.8em;
    margin-right: 20px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #555;
    border-radius: 5px;
    background-color: #333;
    color: var(--white);
    font-size: 1em;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #bbb;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(230, 126, 34, 0.3);
}

.contact-form textarea {
    resize: vertical;
}

/* Footer */
.main-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
    font-size: 0.9em;
}

.main-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-nav ul {
    list-style: none;
    display: flex;
}

.footer-nav ul li {
    margin-left: 20px;
}

.footer-nav ul li a {
    color: var(--white);
    font-weight: 300;
}

.footer-nav ul li a:hover {
    color: var(--secondary-color);
}

/* Responsive Tasarım */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3.5em;
    }
    .main-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--white);
        position: absolute;
        top: 80px; /* Header yüksekliği */
        left: 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
    }

    .main-nav ul li {
        margin: 0;
        text-align: center;
        width: 100%;
    }

    .main-nav ul li a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }

    .main-nav ul li:last-child a {
        border-bottom: none;
    }

    .menu-toggle {
        display: flex;
    }

    .service-grid, .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .contact-content {
        flex-direction: column;
        gap: 30px;
    }

    .main-footer .container {
        flex-direction: column;
        gap: 15px;
    }

    .footer-nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .footer-nav ul li {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.8em;
    }
    .hero-content p {
        font-size: 1.2em;
    }
    h2 {
        font-size: 2em;
    }
    .section-padding {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2em;
    }
    .hero-content p {
        font-size: 1em;
    }
    h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .logo a {
        font-size: 1.5em;
    }
    .service-item, .blog-post {
        padding: 20px;
    }
}


