/* ============================================================
   PROSE — İletişim & Teklif Sayfaları Ek Stilleri
   ============================================================ */

/* ── İletişim Sayfası ── */
.contact-section {
    padding: 1.5rem 0 4rem;
    background: var(--color-white);
}

.contact-heading {
    margin-bottom: 1.25rem;
}
.contact-main-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--color-navy);
    line-height: 1.2;
    margin-bottom: .6rem;
}
.contact-title-bar {
    width: 48px;
    height: 4px;
    background: var(--color-orange);
    border-radius: 4px;
}

/* 3 sütun grid */
.contact-layout {
    display: grid;
    grid-template-columns: 280px 1fr 320px;
    gap: 2.5rem;
    align-items: flex-start;
}

/* Sol: Bilgiler */
.contact-intro {
    font-size: var(--font-size-sm);
    color: var(--color-gray-600);
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: .875rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-xl);
    transition: var(--transition);
}
.contact-card:hover {
    border-color: var(--color-orange);
    box-shadow: var(--shadow-card);
    transform: translateX(3px);
}
.cc-icon {
    width: 44px; height: 44px;
    background: var(--color-orange-lt);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.cc-icon svg { width: 20px; height: 20px; color: var(--color-orange); }
.cc-body { display: flex; flex-direction: column; gap: .125rem; }
.cc-label {
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: .06em;
}
.cc-value {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--color-navy);
    transition: color .2s;
    line-height: 1.4;
}
a.cc-value:hover { color: var(--color-orange); }

/* Orta: Form sütunu */
.contact-col-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 1.5rem;
}
.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Sağ: Harita sütunu */
.contact-map-wrap {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-gray-200);
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-md);
}
.contact-map-wrap iframe {
    display: block;
    border-radius: var(--radius-xl);
}

.working-hours {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: var(--color-gray-50);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-xl);
    transition: var(--transition);
}
.working-hours:hover { border-color: var(--color-orange); box-shadow: var(--shadow-card); }
.wh-icon {
    width: 42px; height: 42px;
    background: var(--color-orange-lt);
    border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.wh-icon svg { width: 22px; height: 22px; color: var(--color-orange); }
.wh-content { flex: 1; }
.wh-content h3 { font-size: var(--font-size-sm); font-weight: 700; color: var(--color-navy); margin-bottom: .625rem; }
.wh-row {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    font-size: var(--font-size-xs);
    padding: .25rem 0;
}
.wh-day { color: var(--color-gray-600); font-weight: 500; }
.wh-time { font-weight: 700; color: var(--color-navy); }
.wh-closed { color: var(--color-gray-400); font-weight: 600; }

/* ── Teklif Sayfası Hero (Lacivert - Tam Ekran Uyumlu) ── */
.teklif-hero {
    background: linear-gradient(135deg, var(--color-navy-dk) 0%, var(--color-navy) 40%, #2a4a6e 100%);
    position: relative;
    overflow: hidden;
    padding: 1.1rem 0;
    flex-shrink: 0;
}
.teklif-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.teklif-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 1.6rem;
    align-items: center;
}
.teklif-hero-text h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: .25rem;
}
.teklif-hero-bar {
    width: 44px; height: 3.5px;
    background: var(--color-orange);
    border-radius: 4px;
    margin-bottom: 0.4rem;
}
.teklif-hero-text p {
    font-size: 0.92rem;
    color: rgba(255,255,255,.85);
    line-height: 1.4;
    max-width: 440px;
}

/* 3 özellik kutuları (hero sağ) */
.teklif-hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.95rem;
}
.thf-item {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 14px;
    padding: 0.75rem 0.95rem;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    transition: var(--transition);
    backdrop-filter: blur(6px);
}
.thf-item:hover {
    background: rgba(255,255,255,.14);
    border-color: rgba(249,115,22,.5);
    transform: translateY(-2px);
}
.thf-icon {
    width: 36px; height: 36px;
    background: rgba(249,115,22,.25);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
}
.thf-icon svg { width: 18px; height: 18px; color: var(--color-orange); }
.thf-body h3 { font-size: 0.92rem; font-weight: 700; color: var(--color-white); margin-bottom: 2px; }
.thf-body p  { font-size: 0.8rem; color: rgba(255,255,255,.75); line-height: 1.38; }

/* ── Teklif Gövde (Dikeyde Tam Kaplayan Sürüm) ── */
.teklif-body-section {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: stretch;
    padding: 1.1rem 0 1.4rem;
    background: var(--color-gray-50);
    box-sizing: border-box;
}
.teklif-body-inner {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.5rem;
    align-items: stretch;
    width: 100%;
    height: 100%;
}

/* Form alanı (Dikeyde Tam Kaplayan Beyaz Kart) */
.teklif-form-area {
    background: var(--color-white);
    border-radius: 18px;
    padding: 1.4rem 1.75rem;
    border: 1px solid var(--color-gray-200);
    box-shadow: 0 6px 24px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.teklif-form-area form {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    height: 100%;
}

.teklif-form-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: .25rem;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}
.teklif-form-title-bar {
    width: 44px; height: 3.5px;
    background: var(--color-orange);
    border-radius: 4px;
    margin-bottom: 0.65rem;
}

.teklif-form-area .form-group {
    margin-bottom: 0.6rem;
}
.teklif-form-area label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.3rem;
    display: block;
}
.teklif-form-area .form-control {
    padding: 8px 12px;
    font-size: 0.9rem;
    height: 40px;
    border-radius: 9px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    width: 100%;
    box-sizing: border-box;
    font-weight: 500;
}
.teklif-form-area #tfr-message {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.teklif-form-area textarea.form-control {
    flex: 1;
    height: 100% !important;
    min-height: 80px !important;
    padding: 8px 12px;
    resize: none;
    font-size: 0.9rem;
}

/* 3 sütunlu form satırı */
.teklif-form-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
    margin-bottom: 0;
}

/* Dosya yükleme alanı */
.file-drop-zone {
    border: 1.5px dashed var(--color-gray-300);
    border-radius: 8px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
    background: var(--color-gray-50);
    min-height: 40px;
}
.file-drop-zone:hover, .file-drop-zone.drag-over {
    border-color: var(--color-orange);
    background: var(--color-orange-lt);
}
.fdz-icon {
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: var(--color-orange);
}
.fdz-icon svg { width: 20px; height: 20px; }
.fdz-text p {
    font-size: 0.78rem;
    color: var(--color-gray-600);
    line-height: 1.35;
}
.fdz-link {
    color: var(--color-orange);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.fdz-hint {
    font-size: 0.72rem !important;
    color: var(--color-gray-400) !important;
    margin-top: 1px;
}
.file-name-display {
    font-size: 0.75rem;
    color: var(--color-green);
    font-weight: 600;
    min-height: 1em;
    margin-top: 2px;
}

/* abbr (zorunlu yıldız) */
abbr {
    color: var(--color-orange);
    text-decoration: none;
    font-weight: 700;
}

/* ── Teklif Sidebar (Dikeyde Hizalanmış Kapsayıcı) ── */
.teklif-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    height: 100%;
}

.sidebar-section-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 0.4rem;
}

/* Nasıl Çalışır */
.how-it-works {
    background: var(--color-white);
    border-radius: 14px;
    padding: 0.85rem 1rem;
    border: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-card);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.hiw-steps {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.hiw-step {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}
.hiw-number {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--color-orange-lt);
    border: 2px solid var(--color-orange);
    color: var(--color-orange);
    font-size: 0.8rem;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}
.hiw-body h4 { font-size: 0.82rem; font-weight: 700; color: var(--color-navy); margin-bottom: 2px; }
.hiw-body p  { font-size: 0.76rem; color: var(--color-gray-600); line-height: 1.35; }

/* Sidebar iletişim */
.teklif-sidebar-contact {
    background: var(--color-white);
    border-radius: 14px;
    padding: 0.85rem 1rem;
    border: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-card);
    flex-shrink: 0;
}
.tsbc-items { display: flex; flex-direction: column; gap: 0.5rem; }
.tsbc-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.45rem 0.7rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-gray-200);
    transition: var(--transition);
}
.tsbc-item:hover { border-color: var(--color-orange); background: var(--color-orange-lt); }
.tsbc-icon {
    width: 30px; height: 30px;
    background: var(--color-orange-lt);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.tsbc-icon svg { width: 16px; height: 16px; color: var(--color-orange); }
.tsbc-item a, .tsbc-item address {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-navy);
    transition: color .2s;
    line-height: 1.35;
}
.tsbc-item a:hover { color: var(--color-orange); }

/* ── Responsive: İletişim & Teklif ── */
@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }
    .contact-info-col { grid-column: 1 / 2; }
    .contact-form-col { grid-column: 2 / 3; }
    .contact-map-col  { grid-column: 1 / 3; }

    .teklif-hero-inner { grid-template-columns: 1fr; gap: 2rem; }
    .teklif-hero-features { grid-template-columns: repeat(3, 1fr); }

    .teklif-body-inner { grid-template-columns: 1fr 280px; }
    .teklif-form-row-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
    .contact-info-col,
    .contact-form-col,
    .contact-map-col  { grid-column: 1; }
    .contact-form-row { grid-template-columns: 1fr; }

    .teklif-hero-features { grid-template-columns: 1fr; }
    .teklif-body-inner { grid-template-columns: 1fr; }
    .teklif-sidebar { position: static; }
    .teklif-form-row-3 { grid-template-columns: 1fr; }
    .teklif-form-area { padding: 1.5rem; }
    .teklif-hero { padding: 2.5rem 0; }
}

@media (max-width: 480px) {
    .teklif-hero-features { grid-template-columns: 1fr; }
    .thf-item { flex-direction: row; gap: 1rem; }
}
