/* ========================================
   INNER PAGES CSS
   Enterprise Industrial Design System
   Blog, About, Services, Contact, Quote, Thanks
   ======================================== */

/* ===================================================
   PAGE HEADER — Slim breadcrumb bar for inner pages
   =================================================== */
.page-header {
    background: var(--secondary);
    padding: 88px 0 var(--space-5);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(204, 0, 0, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--light);
    margin-bottom: var(--space-1);
    letter-spacing: 2px;
}

.page-header p {
    font-size: 0.95rem;
    color: var(--gray-lighter);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.85;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: var(--space-2);
    font-size: 0.75rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 200ms ease;
}

.breadcrumb a:hover {
    color: var(--primary-light);
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.7rem;
}

.breadcrumb .current {
    color: var(--primary-light);
    font-weight: 500;
}

/* Thin accent line under header */
.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

/* ===================================================
   PROJELENDIRME (Engineering) PAGE
   Reuse homepage production section, without overlap
   =================================================== */
.page-projelendirme .production-container {
    gap: clamp(24px, 4vw, 64px);
    align-items: center;
}

.page-projelendirme .production-content p {
    max-width: 70ch;
}

.page-projelendirme .capability-grid {
    margin-top: var(--space-4, 32px);
}

.page-projelendirme .production-btns {
    flex-wrap: wrap;
}


/* ===================================================
   CONTACT PAGE
   =================================================== */
.page-contact {
    background: var(--light);
}

.contact-section {
    padding: var(--space-10) 0;
    background: var(--light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-6);
    max-width: 1100px;
    margin: 0 auto;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: #ffffff;
    border-radius: var(--radius-lg, 12px);
    padding: var(--space-6);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
}

.contact-form-wrapper h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-title);
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 3px solid var(--primary);
    display: inline-block;
}

/* Form Elements */
.form-group {
    margin-bottom: var(--space-3);
}

.form-group label {
    display: block;
    font-size: var(--font-body);
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: var(--space-1);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px var(--space-2);
    font-size: var(--font-body);
    font-family: 'Inter', sans-serif;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm, 4px);
    background: #fafafa;
    color: var(--secondary);
    transition: all 250ms ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-group .error {
    display: block;
    color: var(--primary);
    font-size: 0.875rem;
    margin-top: 4px;
}

/* Consent / KVKK checkbox — sade, sadece hizalama
   Bu blok .form-group .consent-* yazıldığı için cascade'i ezer;
   form içinde de form-group olmadan da düzgün davranır. */
.consent-group {
    margin: var(--space-3, 24px) 0 var(--space-2, 16px);
}
.consent-group .consent-label,
label.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #444;
    font-weight: 400;
    margin: 0;
}
.consent-group .consent-label input[type="checkbox"],
label.consent-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 2px 0 0 0;
    flex-shrink: 0;
    accent-color: var(--primary, #c0392b);
    cursor: pointer;
}
.consent-text {
    flex: 1;
}
.consent-text a {
    color: var(--primary, #c0392b);
    text-decoration: underline;
}
.consent-required {
    color: var(--primary, #c0392b);
}
.consent-group .error {
    display: block;
    margin-top: 4px;
    padding-left: 34px;
    color: var(--primary, #c0392b);
    font-size: 0.8125rem;
}

/* Alert Messages */
.alert {
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-sm, 4px);
    margin-bottom: var(--space-3);
    font-size: var(--font-body);
}

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

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

/* Button Styling */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px var(--space-4);
    font-size: var(--font-body);
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: var(--radius-sm, 4px);
    cursor: pointer;
    transition: all 250ms ease;
    min-width: 180px;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.25);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Contact Info Section */
.contact-info {
    background: linear-gradient(135deg, var(--secondary) 0%, #2a2a2a 100%);
    border-radius: var(--radius-lg, 12px);
    padding: var(--space-6);
    color: var(--light);
}

.contact-info h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-title);
    font-weight: 700;
    color: var(--light);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 3px solid var(--primary);
    display: inline-block;
}

.info-item {
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
}

.info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.info-item .info-icon {
    width: 40px;
    height: 40px;
    background: rgba(204, 0, 0, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-light);
    font-size: 1rem;
}

.info-item-content h3 {
    font-size: var(--font-subheading);
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 4px;
}

.info-item-content p {
    font-size: var(--font-body);
    color: var(--gray-lighter);
    margin: 0;
    line-height: 1.7;
}

.info-item a {
    color: var(--light);
    text-decoration: none;
    transition: color 200ms ease;
}

.info-item a:hover {
    color: var(--primary-light);
}

/* Map Section */
.map-section {
    padding: 0 0 var(--space-10);
    background: var(--light);
}

.map-section iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: var(--radius-lg, 12px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}


/* ===================================================
   ABOUT PAGE
   =================================================== */
.about-page {
    background: var(--light);
}

.about-section-page {
    padding: var(--space-10) 0;
    background: var(--light);
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: center;
    margin-bottom: var(--space-10);
}

.about-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-title);
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: var(--space-3);
    position: relative;
    padding-bottom: var(--space-2);
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
}

.about-text p {
    font-size: var(--font-body);
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: var(--space-3);
}

.about-text ul {
    list-style: none;
    padding: 0;
    margin: var(--space-4) 0;
}

.about-text ul li {
    position: relative;
    padding-left: var(--space-4);
    margin-bottom: var(--space-2);
    font-size: var(--font-body);
    color: var(--gray);
    line-height: 1.7;
}

.about-text ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg, 12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* About Stats Grid */
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
}

.stat-card {
    background: var(--secondary);
    border-radius: var(--radius-lg, 12px);
    padding: var(--space-5) var(--space-3);
    text-align: center;
    transition: transform 300ms ease;
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-1);
}

.stat-label {
    display: block;
    font-size: var(--font-body);
    color: var(--gray-lighter);
    line-height: 1.4;
}

/* Timeline Section */
.timeline-section {
    padding: var(--space-10) 0;
    background: #f8f8f8;
}

.timeline-section .section-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.timeline-section .section-header .overline {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: var(--space-1);
}

.timeline-section .section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-title);
    font-weight: 700;
    color: var(--secondary);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: var(--space-6);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-5);
    padding-left: var(--space-4);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -41px;
    top: 4px;
    width: 14px;
    height: 14px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--light);
    box-shadow: 0 0 0 2px var(--primary);
}

.timeline-year {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-subheading);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.timeline-text {
    font-size: var(--font-body);
    color: var(--gray);
    line-height: 1.7;
}


/* ===================================================
   SERVICES PAGE
   =================================================== */
.services-page {
    background: var(--light);
}

.services-page-section {
    padding: var(--space-10) 0;
    background: #f9f9f9;
}

.services-page-section .section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-8);
}

.services-page-section .section-intro h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-title);
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: var(--space-2);
}

.services-page-section .section-intro p {
    font-size: var(--font-body);
    color: var(--gray);
    line-height: 1.7;
}

.services-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    max-width: 1100px;
    margin: 0 auto;
}

.service-page-card {
    background: #ffffff;
    border-radius: var(--radius-lg, 12px);
    padding: var(--space-5);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    transition: all 300ms ease;
    text-align: center;
}

.service-page-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.service-page-card .service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-3);
    font-size: 1.5rem;
    color: white;
    transition: transform 300ms ease;
}

.service-page-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
}

.service-page-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-subheading);
    font-weight: 700;
    color: var(--secondary, #1a1a2e);
    margin-bottom: var(--space-2);
}

.service-page-card p {
    font-size: var(--font-body);
    color: var(--gray, #484848);
    line-height: 1.7;
}


/* ===================================================
   BLOG INDEX PAGE
   =================================================== */
.blog-index {
    background: var(--light);
}

.blog-listing {
    padding: var(--space-10) 0;
    background: var(--light);
}

.blog-listing .blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

.post-card {
    background: #ffffff;
    border-radius: var(--radius-lg, 12px);
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    transition: all 300ms ease;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.post-card .post-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.post-card .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-card .post-content {
    padding: var(--space-3);
}

.post-card .post-meta {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
    font-size: 0.875rem;
    color: var(--gray);
}

.post-card .post-meta time {
    color: var(--gray);
}

.post-card .category-badge {
    background: rgba(204, 0, 0, 0.08);
    color: var(--primary);
    padding: 2px 10px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-card h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-subheading);
    font-weight: 700;
    margin-bottom: var(--space-1);
    line-height: 1.4;
}

.post-card h2 a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 200ms ease;
}

.post-card h2 a:hover {
    color: var(--primary);
}

.post-card>.post-content>p {
    font-size: var(--font-body);
    color: var(--gray, #484848);
    line-height: 1.7;
    margin-bottom: var(--space-2);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-link {
    color: var(--primary);
    font-size: var(--font-body);
    font-weight: 600;
    text-decoration: none;
    transition: color 200ms ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-link:hover {
    color: var(--primary-dark);
}

/* Blog Empty State */
.blog-empty {
    text-align: center;
    padding: var(--space-12) var(--space-4);
}

.blog-empty .empty-icon {
    font-size: 3rem;
    color: var(--gray-lighter);
    margin-bottom: var(--space-3);
}

.blog-empty h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-title);
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: var(--space-2);
}

.blog-empty p {
    font-size: var(--font-body);
    color: var(--gray);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Pagination */
.pagination-wrapper {
    margin-top: var(--space-8);
    display: flex;
    justify-content: center;
}

.pagination-wrapper nav span,
.pagination-wrapper nav a {
    padding: 8px 16px;
    margin: 0 4px;
    border-radius: var(--radius-sm, 4px);
    font-size: var(--font-body);
    text-decoration: none;
    transition: all 200ms ease;
}

.pagination-wrapper nav span[aria-current="page"] span {
    background: var(--primary);
    color: white;
    font-weight: 700;
}

.pagination-wrapper nav a {
    color: var(--gray);
    border: 1px solid var(--border-color);
}

.pagination-wrapper nav a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}


/* ===================================================
   QUOTE REQUEST PAGE
   =================================================== */
.quote-page {
    background: var(--light);
}

.quote-section {
    padding: var(--space-10) 0;
    background: var(--light);
}

.quote-section .quote-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-6);
}

.quote-section .quote-intro p {
    font-size: var(--font-body);
    color: var(--gray);
    line-height: 1.7;
}

.quote-form-card {
    max-width: 750px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: var(--radius-lg, 12px);
    padding: var(--space-8);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
}

.quote-form-card .form-grid {
    display: grid;
    gap: var(--space-4);
}

.quote-form-card .form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.quote-form-card label {
    display: block;
    font-weight: 700;
    font-size: var(--font-body);
    color: var(--secondary);
    margin-bottom: var(--space-1);
}

.quote-form-card input,
.quote-form-card select,
.quote-form-card textarea {
    width: 100%;
    padding: 14px var(--space-2);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm, 4px);
    font-family: 'Inter', sans-serif;
    font-size: var(--font-body);
    color: var(--secondary);
    background: #fafafa;
    transition: all 250ms ease;
}

.quote-form-card input:focus,
.quote-form-card select:focus,
.quote-form-card textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.08);
}

.quote-form-card textarea {
    resize: vertical;
    min-height: 120px;
}

.quote-form-card .btn-submit {
    width: 100%;
    padding: var(--space-3);
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm, 4px);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: var(--font-subheading);
    cursor: pointer;
    transition: all 250ms ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quote-form-card .btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.25);
}

.quote-form-card .btn-submit:active {
    transform: translateY(0);
}

.quote-form-card .product-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(204, 0, 0, 0.06);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.quote-form-card .product-badge i {
    font-size: 0.75rem;
}


/* ===================================================
   THANK YOU PAGE
   =================================================== */
.thanks-page {
    background: var(--light);
}

.thanks-section {
    padding: var(--space-12) 0;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thanks-content {
    max-width: 500px;
    margin: 0 auto;
}

.thanks-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    animation: scaleIn 0.5s ease forwards;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    60% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.thanks-icon i {
    font-size: 2.5rem;
    color: #28a745;
}

.thanks-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-title);
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: var(--space-2);
}

.thanks-content p {
    font-size: var(--font-body);
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: var(--space-5);
}

.thanks-actions {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    flex-wrap: wrap;
}

.thanks-actions .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm, 4px);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: var(--font-body);
    color: var(--secondary);
    text-decoration: none;
    transition: all 250ms ease;
}

.thanks-actions .btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}


/* ===================================================
   CTA SECTION — Shared at bottom of inner pages
   =================================================== */
.cta-section {
    background: var(--secondary);
    padding: var(--space-10) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(204, 0, 0, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--light);
    margin-bottom: var(--space-4);
}

.btn-primary-lg {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-3) var(--space-5);
    background: var(--primary);
    color: var(--light);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: var(--radius-sm, 4px);
    transition: all 250ms ease;
}

.btn-primary-lg:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.3);
}

.btn-primary-lg:active {
    transform: translateY(0);
}


/* ===================================================
   CATEGORY / PRODUCT LIST & FEATURES (retained)
   =================================================== */
.category-page {
    background: var(--light);
}

.category-header {
    background: var(--secondary);
    padding: 120px 0 var(--space-8);
    text-align: left;
    position: relative;
}

.category-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--light);
    margin-bottom: var(--space-2);
}

.category-header p.category-description {
    font-size: var(--font-body);
    color: var(--gray-lighter);
    max-width: 700px;
    margin: 0;
    line-height: 1.7;
}

.category-description {
    padding: var(--space-8) 0;
    background: var(--light);
}

.description-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: var(--font-body);
    color: var(--gray);
    line-height: 1.8;
}

.description-content h2,
.description-content h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--secondary);
    margin: var(--space-5) 0 var(--space-2);
}

.description-content h2 {
    font-size: var(--font-title);
}

.description-content h3 {
    font-size: var(--font-subheading);
}

.description-content p {
    margin-bottom: var(--space-3);
}

/* FAQ Section (Accordion) */
.category-faq {
    padding: var(--space-8) 0;
    background: #f8f8f8;
}

.category-faq h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-title);
    font-weight: 700;
    color: var(--secondary);
    text-align: left;
    margin-bottom: var(--space-5);
}

/* Sadece kategori listesi (show.blade) — ürün/kategori detay (.faq-section) ile çakışmasın */
.category-faq .faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.category-faq .faq-accordion .faq-item {
    background: #ffffff;
    border-radius: var(--radius-sm, 4px);
    margin-bottom: var(--space-2);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.category-faq .faq-accordion .faq-question {
    width: 100%;
    padding: var(--space-3);
    background: transparent;
    border: none;
    text-align: left;
    font-size: var(--font-body);
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 200ms ease;
}

.category-faq .faq-accordion .faq-question:hover {
    background: #f5f5f5;
}

.category-faq .faq-accordion .faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary);
    transition: transform 200ms ease;
}

.category-faq .faq-accordion .faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.category-faq .faq-accordion .faq-answer {
    display: none;
    padding: 0 var(--space-3) var(--space-3);
    font-size: var(--font-body);
    color: var(--gray);
    line-height: 1.7;
}

.category-faq .faq-accordion .faq-item.active .faq-answer {
    display: block;
}

/* Features List */
.category-features {
    padding: var(--space-8) 0;
    background: var(--light);
}

.category-features h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-title);
    font-weight: 700;
    color: var(--secondary);
    text-align: left;
    margin-bottom: var(--space-5);
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-3);
    max-width: 1000px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.features-list li {
    background: #f8f8f8;
    padding: var(--space-3);
    border-radius: var(--radius-sm, 4px);
    font-size: var(--font-body);
    color: var(--gray);
    position: relative;
    padding-left: var(--space-5);
    border-left: 3px solid var(--primary);
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: var(--space-2);
    color: var(--primary);
    font-weight: 700;
}

/* Related Categories */
.related-categories {
    padding: var(--space-8) 0;
    background: #f8f8f8;
}

.related-categories h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-title);
    font-weight: 700;
    color: var(--secondary);
    text-align: center;
    margin-bottom: var(--space-5);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-4);
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    background: #ffffff;
    border-radius: var(--radius-lg, 12px);
    padding: var(--space-4);
    text-align: center;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    transition: all 300ms ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.category-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-sm, 4px);
    margin-bottom: var(--space-3);
}

.category-card .card-media {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: var(--radius-sm, 4px);
    margin-bottom: var(--space-3);
}

.category-card .card-media a {
    display: block;
    width: 100%;
    height: 100%;
}

.category-card .card-media img {
    height: 100%;
    margin-bottom: 0;
}

.category-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-subheading);
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: var(--space-2);
}

/* Image Gallery */
.category-gallery {
    padding: var(--space-6) 0;
    background: #f8f8f8;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-3);
    max-width: 1200px;
    margin: 0 auto;
}

.image-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-sm, 4px);
    cursor: pointer;
    transition: all 300ms ease;
}

.image-gallery img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}


/* ===================================================
   SEARCH RESULTS PAGE
   =================================================== */
.search-page {
    background: var(--light);
}

.search-results-section {
    padding: var(--space-10) 0;
    background: var(--light);
}

/* Search Refinement Form */
.search-refine-form {
    max-width: 680px;
    margin: 0 auto var(--space-8);
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg, 12px);
    overflow: hidden;
    transition: all 250ms ease;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

.search-input-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 4px 24px rgba(204, 0, 0, 0.08);
}

.search-input-wrapper i {
    padding-left: var(--space-3);
    color: var(--gray-light);
    font-size: 1rem;
}

.search-input-wrapper input {
    flex: 1;
    padding: var(--space-2) var(--space-2);
    border: none;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: var(--font-body);
    color: var(--secondary);
    background: transparent;
}

.search-input-wrapper input::placeholder {
    color: var(--gray-light);
}

.search-input-wrapper button {
    padding: var(--space-2) var(--space-4);
    background: var(--primary);
    color: var(--light);
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 250ms ease;
    white-space: nowrap;
}

.search-input-wrapper button:hover {
    background: var(--primary-dark);
}

/* Search Section Headers */
.search-section {
    margin-bottom: var(--space-8);
}

.search-section-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--border-color);
}

.search-section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-title);
    font-weight: 700;
    color: var(--secondary);
    margin: 0;
}

.search-result-count {
    display: inline-flex;
    align-items: center;
    background: rgba(204, 0, 0, 0.08);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.3px;
}

/* Card Placeholder (no image) */
.card-placeholder {
    width: 100%;
    height: 180px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm, 4px);
    margin-bottom: var(--space-3);
    color: var(--gray-lighter);
    font-size: 2.5rem;
}

.card-excerpt {
    font-size: var(--font-body);
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: var(--space-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Search Empty State */
.search-empty {
    text-align: center;
    padding: var(--space-12) var(--space-4);
}

.search-empty .empty-icon {
    font-size: 3rem;
    color: var(--gray-lighter);
    margin-bottom: var(--space-3);
    opacity: 0.4;
}

.search-empty h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-title);
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: var(--space-2);
}

.search-empty p {
    font-size: var(--font-body);
    color: var(--gray);
    max-width: 500px;
    margin: 0 auto var(--space-5);
    line-height: 1.7;
}

/* Blog grid reuse inside search — ensure 3-col */
.search-section .blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}


/* ===================================================
   BLOG DETAIL PAGE
   =================================================== */
.blog-single {
    background: var(--light);
}

/* Page Header customization for blog posts */
.blog-single .page-header .category-badge {
    background: rgba(204, 0, 0, 0.08);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: var(--space-2);
}

.blog-single .page-header .post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-size: 0.875rem;
    color: var(--gray-lighter);
    opacity: 0.85;
}

.blog-single .page-header .post-meta time {
    color: var(--gray-lighter);
}

/* Featured Image */
.post-featured-image {
    margin-bottom: var(--space-6);
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

/* Post Content */
.post-content {
    padding: var(--space-6) 0;
}

.post-content .content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    font-size: var(--font-body);
    color: var(--gray);
    line-height: 1.8;
}

.post-content .content-wrapper h2,
.post-content .content-wrapper h3,
.post-content .content-wrapper h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--secondary);
    margin-top: var(--space-5);
    margin-bottom: var(--space-2);
}

.post-content .content-wrapper h2 {
    font-size: var(--font-title);
    font-weight: 700;
}

.post-content .content-wrapper h3 {
    font-size: var(--font-subheading);
    font-weight: 600;
}

.post-content .content-wrapper p {
    margin-bottom: var(--space-3);
}

.post-content .content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm, 4px);
    margin: var(--space-4) 0;
}

.post-content .content-wrapper ul,
.post-content .content-wrapper ol {
    margin-bottom: var(--space-3);
    padding-left: var(--space-4);
}

.post-content .content-wrapper li {
    margin-bottom: var(--space-1);
}

/* ===================================================
   PROSE — Generic static/legal page typography
   (KVKK, gizlilik, kullanım koşulları gibi metin sayfalar)
   =================================================== */
.prose-section {
    padding: var(--space-6, 48px) 0 var(--space-7, 64px);
    background: #fff;
}

.prose-content {
    max-width: 820px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.75;
    color: #333;
}

.prose-content > *:first-child {
    margin-top: 0;
}

.prose-content > *:last-child {
    margin-bottom: 0;
}

.prose-content h2,
.prose-content h3,
.prose-content h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--secondary, #1a1a1a);
    line-height: 1.3;
    margin-top: 2em;
    margin-bottom: 0.6em;
    font-weight: 700;
}

.prose-content h2 {
    font-size: 1.5rem;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary, #c0392b);
    display: inline-block;
    padding-right: 24px;
}

.prose-content h3 {
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--primary, #c0392b);
}

.prose-content h4 {
    font-size: 1.02rem;
    font-weight: 600;
}

.prose-content p {
    margin: 0 0 1.1em;
}

.prose-content a {
    color: var(--primary, #c0392b);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.prose-content a:hover {
    opacity: 0.85;
}

.prose-content ul,
.prose-content ol {
    margin: 0 0 1.2em;
    padding-left: 1.4em;
}

.prose-content li {
    margin-bottom: 0.5em;
}

.prose-content ul li::marker {
    color: var(--primary, #c0392b);
}

.prose-content blockquote {
    margin: 1.4em 0;
    padding: 0.9em 1.2em;
    background: #f8f8f8;
    border-left: 4px solid var(--primary, #c0392b);
    border-radius: 0 6px 6px 0;
    color: #555;
    font-style: italic;
}

.prose-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.4em 0;
    font-size: 0.95rem;
}

.prose-content th,
.prose-content td {
    border: 1px solid #e5e5e5;
    padding: 10px 14px;
    text-align: left;
}

.prose-content th {
    background: #f8f8f8;
    font-weight: 600;
}

.prose-content hr {
    margin: 2em 0;
    border: 0;
    border-top: 1px solid #e5e5e5;
}

.prose-content strong {
    color: #1a1a1a;
    font-weight: 600;
}

.prose-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 1.4em 0;
}

@media (max-width: 600px) {
    .prose-content {
        font-size: 0.95rem;
    }
    .prose-content h2 {
        font-size: 1.25rem;
    }
}

/* Social Sharing */
.post-sharing {
    padding: var(--space-6) 0;
    background: #f8f8f8;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.post-sharing h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-subheading);
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: var(--space-3);
    text-align: center;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm, 4px);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: var(--font-body);
    text-decoration: none;
    transition: all 250ms ease;
    color: white;
}

.share-btn i {
    font-size: 1.1rem;
}

.share-facebook {
    background: #1877f2;
}

.share-facebook:hover {
    background: #0c63d4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.share-twitter {
    background: #1da1f2;
}

.share-twitter:hover {
    background: #0c85d0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.3);
}

.share-linkedin {
    background: #0a66c2;
}

.share-linkedin:hover {
    background: #004182;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 102, 194, 0.3);
}

/* Related Posts */
.related-posts {
    padding: var(--space-10) 0;
    background: var(--light);
}

.related-posts h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-title);
    font-weight: 700;
    color: var(--secondary);
    text-align: center;
    margin-bottom: var(--space-6);
}

.related-posts .post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

.related-posts .post-card {
    background: #ffffff;
    border-radius: var(--radius-lg, 12px);
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    transition: all 300ms ease;
    display: flex;
    flex-direction: column;
}

.related-posts .post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.related-posts .post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 400ms ease;
}

.related-posts .post-card:hover img {
    transform: scale(1.05);
}

.related-posts .post-card .post-content {
    padding: var(--space-3);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.related-posts .post-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-subheading);
    font-weight: 600;
    margin-bottom: var(--space-2);
    line-height: 1.4;
}

.related-posts .post-card h3 a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 200ms ease;
}

.related-posts .post-card h3 a:hover {
    color: var(--primary);
}

.related-posts .post-card .btn-link {
    margin-top: auto;
}


/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
    .services-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-listing .blog-grid,
    .search-section .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Blog Detail - Related Posts */
    .related-posts .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .about-content-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .about-content-grid .about-image {
        order: -1;
    }

    .quote-form-card .form-row-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 76px 0 var(--space-4);
    }

    .timeline-item::before {
        left: -34px;
    }

    .page-header h1 {
        font-size: 1.375rem;
        letter-spacing: 1px;
    }

    .services-page-grid {
        grid-template-columns: 1fr;
    }

    .blog-listing .blog-grid,
    .search-section .blog-grid {
        grid-template-columns: 1fr;
    }

    .search-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-1);
    }

    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-2);
    }

    .stat-card {
        padding: var(--space-3) var(--space-2);
    }

    .timeline {
        padding-left: var(--space-5);
    }

    .quote-form-card {
        padding: var(--space-4);
    }

    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }

    /* Blog Detail - Mobile */
    .blog-post {
        padding-top: 76px;
    }

    .related-posts .post-grid {
        grid-template-columns: 1fr;
    }

    .share-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .share-btn {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .about-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .breadcrumb {
        font-size: 0.75rem;
    }
}

/* ===================================================
   ÜRÜN / KATEGORİ DETAY (body.inner-page)
   inner-pages.css product-detail.css'den SONRA yüklendiği için
   buradaki .cta-section vb. kurallar üstteki dosyayı ezer.
   Ayrıca genel .faq-* seçicileri ürün detay SSS'ini bozuyordu;
   kategori listesi FAQ'si .category-faq .faq-accordion ile kapsandı.
   =================================================== */
@media (max-width: 576px) {
    body.inner-page .cta-section {
        padding: var(--space-6, 48px) 0 0;
    }
}
