/* ===============================
   Base
   =============================== */

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: #222;
    line-height: 1.6;
    background: #f9f9f9;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem;
}


/* ===============================
   Header / Navigation
   =============================== */

.site-header {
    background: #0f2a44;
    color: #fff;
    padding: 1rem 0;
}

.site-header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.site-header nav {
    margin-top: 0.5rem;
}

.site-header nav a {
    color: #ddd;
    margin-right: 1rem;
    text-decoration: none;
    font-size: 0.95rem;
}

.site-header nav a:hover {
    color: #fff;
}


/* ===============================
   Footer
   =============================== */

.site-footer {
    margin-top: 3rem;
    background: #eee;
    padding: 1rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: #555;
}


/* ===============================
   Team List (Ekibimiz)
   =============================== */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-card {
    background: #fff;
    padding: 1.5rem;
    text-align: center;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.team-card img {
    width: 220px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.team-card h3 {
    margin: 0.5rem 0 0.2rem;
    font-size: 1.1rem;
}

.team-card .role {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.8rem;
}


/* ===============================
   Team Profile (Tek Kişi Sayfası)
   =============================== */

.profile {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.profile-photo img {
    width: 320px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.profile-text {
    max-width: 650px;
}

.profile-text h2 {
    margin-top: 0;
}

.profile-text h4 {
    margin-top: 0.5rem;
    color: #555;
    font-weight: normal;
}

.profile-contact {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
    font-size: 0.95rem;
}

/* ===============================
   Responsive
   =============================== */

@media (max-width: 768px) {
    .team-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .team-profile img {
        width: 220px;
        height: 280px;
    }
}

/* PRACTICE AREAS */

.practice-areas {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.practice-header {
    margin-bottom: 35px;
}

.practice-header h2 {
    font-size: 32px;
    margin-bottom: 8px;
}

.practice-header p {
    max-width: 720px;
    color: #555;
    line-height: 1.6;
}

/* Grid layout */

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

/* Item */

.practice-card {
    padding: 14px 16px;
    border: 1px solid #e1e1e1;
    background-color: #fff;
    font-size: 15px;
    line-height: 1.4;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.practice-card:hover {
    background-color: #f8f8f8;
    border-color: #111;
}


/* CONTACT PAGE */

.contact {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.contact h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

/* Info */

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-item h4 {
    margin: 0 0 6px;
    font-size: 16px;
    color: #111;
}

.contact-item p {
    margin: 0;
    color: #444;
    line-height: 1.6;
}

.contact-item a {
    color: #111;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Map */

.contact-map iframe {
    width: 100%;
    height: 360px;
    border: 1px solid #ddd;
}

/* Responsive */

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-map iframe {
        height: 300px;
    }
}

/* ARTICLES */

.articles {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.articles h2 {
    margin-bottom: 30px;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-card h3 {
    margin-top: 0;
    font-size: 18px;
}

.article-card h3 a {
    text-decoration: none;
    color: #111;
}

.article-card h3 a:hover {
    text-decoration: underline;
}

.article-excerpt {
    color: #444;
    line-height: 1.6;
    margin: 14px 0 20px;
}

.read-more {
    align-self: flex-start;
    font-size: 14px;
    color: #111;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

/* Pagination */

.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-size: 14px;
}

.pagination a {
    text-decoration: none;
    color: #111;
}

.pagination a:hover {
    text-decoration: underline;
}

/* Responsive */

@media (max-width: 900px) {
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .article-grid {
        grid-template-columns: 1fr;
    }
}
/* LANDING PAGE */
/* SECTION */
.lp-section {
    display: flex;           /* full-width flex container */
    flex-wrap: wrap;
}

/* INNER GRID */
.lp-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;  /* side by side content */
    max-width: var(--max-width);     /* keeps text centered */
    margin: 0 auto;
    width: 100%;
}

/* PANELS */
.lp-left,
.lp-right {
    padding: 48px;              /* space inside panel */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* BACKGROUNDS now on section */
.hero { background: linear-gradient(90deg, #0f2a44 50%, #183a5a 50%); color: #fff; }
.about { background: linear-gradient(90deg, #f1f3f6 50%, #ffffff 50%); }
.practice { background: linear-gradient(90deg, #fff1eb 50%, #fdfdfd 50%); }
.experience { background: linear-gradient(90deg, #111 50%, #1b1b1b 50%); color: #eee; }
.homecontact { background: linear-gradient(90deg, #fdfcfb 50%, #e8dfd6 50%); }


/* ALTERNATE LEFT/RIGHT */
.lp-section:nth-child(even) .lp-inner {
    grid-template-columns: 1fr 1fr;
}

.lp-section:nth-child(even) .lp-left { order: 2; }
.lp-section:nth-child(even) .lp-right { order: 1; }
.lp-section:nth-child(even) .lp-left h2 { text-align: left; }
.lp-section:nth-child(odd) .lp-left h2 { text-align: right; }
.lp-section:nth-child(even) .lp-right p { text-align: right; }
.lp-section:nth-child(odd) .lp-right p { text-align: left; }

/* MOBILE */
@media (max-width: 900px) {
    .lp-inner {
        grid-template-columns: 1fr !important;
    }

    .lp-left,
    .lp-right {
        order: unset !important;
        padding: 32px;
    }

    .lp-left h2 {
        text-align: left !important;
        font-size: 3rem;
    }
}
