/**
 * İç sayfalar - bağımsız stil dosyası
 * Anasayfa dışındaki tüm sabit sayfalar için
 */

.page-inner {
    background: #f4f5f7;
}

/* Breadcrumb */
.ip-breadcrumb {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 14px 0;
    font-size: 14px;
}

.breadcrumb-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.breadcrumb-nav a {
    color: #e52714;
    font-weight: 500;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.breadcrumb-sep {
    color: #ccc;
}

.breadcrumb-current {
    color: #666;
    font-weight: 500;
}

/* Hero banner */
.ip-hero {
    background: linear-gradient(135deg, #b91c0c 0%, #e52714 55%, #ff5a47 100%);
    color: #fff;
    text-align: center;
    padding: 48px 20px;
}

.ip-hero--compact {
    padding: 36px 20px;
}

.ip-hero h1 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.25;
}

.ip-hero p {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    opacity: 0.95;
    max-width: 640px;
    margin: 0 auto;
}

/* Body */
.ip-body {
    padding: 40px 0 60px;
}

.ip-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 28px;
    align-items: start;
}

.ip-grid--full {
    grid-template-columns: 1fr;
}

.ip-main {
    min-width: 0;
}

/* Card */
.ip-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
    border: 1px solid #ebebeb;
    margin-bottom: 24px;
}

.ip-card:last-child {
    margin-bottom: 0;
}

.ip-card h2 {
    font-size: 1.5rem;
    color: #222;
    margin: 0 0 16px;
    line-height: 1.3;
}

.ip-card h3 {
    font-size: 1.15rem;
    color: #333;
    margin: 24px 0 10px;
}

.ip-card p {
    color: #555;
    line-height: 1.75;
    margin-bottom: 14px;
    font-size: 16px;
}

.ip-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.ip-card ul li {
    position: relative;
    padding: 6px 0 6px 22px;
    color: #555;
    line-height: 1.6;
}

.ip-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    background: #e52714;
    border-radius: 50%;
}

.ip-list-check li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    background: none;
    color: #28a745;
    width: auto;
    height: auto;
    top: 8px;
    font-size: 13px;
}

/* Rich content from DB */
.ip-rich h2, .ip-rich h3, .ip-rich h4 {
    color: #222;
    margin: 20px 0 10px;
}

.ip-rich p {
    color: #555;
    line-height: 1.75;
    margin-bottom: 14px;
}

.ip-rich ul, .ip-rich ol {
    margin: 0 0 16px 20px;
    color: #555;
}

.ip-rich a {
    color: #e52714;
}

.ip-featured-img {
    margin: 0 0 24px;
    border-radius: 10px;
    overflow: hidden;
}

.ip-featured-img img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

/* CTA */
.ip-cta {
    margin-top: 28px;
    padding: 28px 24px;
    text-align: center;
    background: linear-gradient(135deg, #fff5f4, #fff);
    border: 2px solid #fde8e5;
    border-radius: 12px;
}

.ip-cta h3 {
    font-size: 1.25rem;
    margin: 0 0 8px;
    color: #222;
}

.ip-cta p {
    color: #666;
    margin-bottom: 18px;
}

.ip-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* Alert */
.ip-alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
}

.ip-alert--success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.ip-alert--error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Services grid (listing) */
.ip-services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.ip-service-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ip-service-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.ip-service-item .thumb {
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #e52714, #c41e0b);
}

.ip-service-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ip-service-item .body {
    padding: 20px;
}

.ip-service-item .body h2 {
    font-size: 1.1rem;
    margin: 0 0 10px;
}

.ip-service-item .body h2 a {
    color: #222;
}

.ip-service-item .body h2 a:hover {
    color: #e52714;
}

.ip-service-item .body p {
    font-size: 14px;
    color: #666;
    margin-bottom: 14px;
    line-height: 1.55;
}

.ip-service-item .more {
    color: #e52714;
    font-weight: 600;
    font-size: 14px;
}

/* Regions */
.ip-intro {
    margin-bottom: 32px;
}

.ip-district {
    margin-bottom: 36px;
}

.ip-district h3 {
    font-size: 1.2rem;
    color: #222;
    padding-bottom: 10px;
    margin-bottom: 16px;
    border-bottom: 2px solid #e52714;
}

.ip-regions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.ip-region-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 18px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s;
}

.ip-region-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.ip-region-item h2 {
    font-size: 1rem;
    margin: 0 0 8px;
}

.ip-region-item h2 a {
    color: #222;
}

.ip-region-item h2 a:hover {
    color: #e52714;
}

.ip-region-item p {
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
    line-height: 1.5;
}

.ip-region-item .more {
    font-size: 13px;
    color: #e52714;
    font-weight: 600;
}

/* FAQ */
.ip-faq .faq-box {
    background: #f8f9fa;
    border-left: 4px solid #e52714;
    border-radius: 8px;
    padding: 18px 20px;
    margin-bottom: 14px;
}

.ip-faq .faq-box h3 {
    font-size: 1rem;
    margin: 0 0 6px;
    color: #333;
}

.ip-faq .faq-box p {
    margin: 0;
    font-size: 15px;
    color: #666;
}

/* Mini grid */
.ip-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.ip-mini-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    border: 1px solid #eee;
}

.ip-mini-item h3 {
    font-size: 0.95rem;
    margin: 0 0 6px;
}

.ip-mini-item h3 a {
    color: #e52714;
}

.ip-mini-item p {
    font-size: 13px;
    margin: 0;
    color: #666;
}

.ip-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

/* Contact */
.ip-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.ip-contact-info h2,
.ip-contact-form h2 {
    font-size: 1.35rem;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    color: #222;
}

.ip-info-row {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.ip-info-icon {
    width: 44px;
    height: 44px;
    background: #fff0ee;
    color: #e52714;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 17px;
}

.ip-info-row h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #999;
    margin: 0 0 3px;
}

.ip-info-row p {
    margin: 0;
    color: #333;
    font-size: 15px;
}

.ip-info-row a {
    color: #e52714;
}

.ip-social {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.ip-social-links {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.ip-social-links a {
    width: 42px;
    height: 42px;
    background: #e52714;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    transition: background 0.2s;
}

.ip-social-links a:hover {
    background: #c41e0b;
}

/* Forms */
.page-form .form-group {
    margin-bottom: 16px;
}

.page-form label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
}

.page-form input,
.page-form select,
.page-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
    background: #fff;
}

.page-form input:focus,
.page-form select:focus,
.page-form textarea:focus {
    outline: none;
    border-color: #e52714;
}

.page-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* 404 */
.ip-404 {
    text-align: center;
    padding: 48px 24px;
}

.ip-404-code {
    font-size: clamp(4rem, 15vw, 6rem);
    font-weight: 800;
    color: #e52714;
    line-height: 1;
    margin-bottom: 12px;
}

.ip-404 h2 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.ip-404-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.ip-404-links a {
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #e52714;
    font-weight: 500;
    border: 1px solid #eee;
}

.ip-404-links a:hover {
    background: #e52714;
    color: #fff;
}

/* Sidebar on inner pages */
.page-sidebar {
    position: sticky;
    top: 90px;
}

.page-sidebar .google-reviews {
    margin: 0;
    padding: 0;
    background: transparent;
}

.page-sidebar .google-reviews--vertical {
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 2px 14px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

/* Responsive */
@media (max-width: 992px) {
    .ip-grid {
        grid-template-columns: 1fr;
    }
    .page-sidebar {
        display: none;
    }
    .ip-contact {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .ip-card {
        padding: 20px 16px;
    }
    .ip-hero {
        padding: 32px 16px;
    }
    .page-form .form-row {
        grid-template-columns: 1fr;
    }
    .ip-services {
        grid-template-columns: 1fr;
    }
}
