/*
Theme Name: HTC Otomasyon SEO
Theme URI: https://www.htcotomasyon.com/
Author: HTC Otomasyon
Author URI: https://www.htcotomasyon.com/
Description: HTC Otomasyon için hazırlanmış tek sayfalık, SEO odaklı, kurumsal WordPress teması.
Version: 1.0
Text Domain: htcotomasyon
*/

/* GENEL */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #111827;
    background-color: #f3f4f6;
    line-height: 1.6;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    color: #f9fafb;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
}

/* Mobilde logo boyutunu küçült */
@media (max-width: 768px) {
    .site-logo {
        max-width: 150px !important;
        height: auto !important;
    }

    /* Header içi daha dengeli dursun */
    .header-inner {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .header-phone {
        text-align: center;
    }
}

/* Çok küçük ekranlar (iPhone SE tarzı) */
@media (max-width: 480px) {
    .site-logo {
        max-width: 120px !important;
    }
}


.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}


.logo-mark {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    border: 2px solid #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.6rem;
    font-size: 0.7rem;
    background: radial-gradient(circle at 30% 0%, #22d3ee, #22c55e);
    color: #020617;
}

.logo-text-main {
    color: #e5e7eb;
}

.logo-text-sub {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    color: #9ca3af;
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    font-size: 0.9rem;
}

.main-nav a {
    color: #e5e7eb;
    text-decoration: none;
    position: relative;
    padding-bottom: 0.25rem;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, #22c55e, #22d3ee);
    transition: width 0.2s ease-out;
}

.main-nav a:hover::after {
    width: 100%;
}

.header-phone {
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    white-space: nowrap;
}

.header-phone-label {
    font-size: 0.75rem;
    color: #9ca3af;
}

.header-phone-number a {
    color: #22c55e;
    text-decoration: none;
    font-weight: 600;
}

/* HERO */

.hero {
    position: relative;
    padding: 4.5rem 0 3.5rem;
    background: radial-gradient(circle at top left, #22c55e22, transparent 55%),
                radial-gradient(circle at bottom right, #22d3ee22, transparent 55%);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(120deg, rgba(15,23,42,0.94), rgba(15,23,42,0.86)),
        url('https://via.placeholder.com/1600x900?text=HTC+Otomasyon+%7C+CNC+ve+PLC+Servis');
    background-size: cover;
    background-position: center;
    opacity: 0.95;
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.6fr);
    gap: 3rem;
    align-items: center;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.75rem;
    color: #22c55e;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.hero-title {
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 700;
    margin: 0 0 1rem;
    color: #f9fafb;
}

.hero-highlight {
    color: #22d3ee;
}

.hero-text {
    font-size: 0.98rem;
    color: #e5e7eb;
    max-width: 32rem;
    margin-bottom: 1.5rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}

.badge {
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
}

/* okunurluk için koyu rozetler */
.hero-badges .badge {
    background: rgba(15, 23, 42, 0.9);
    color: #f9fafb;
    border-color: rgba(148, 163, 184, 0.6);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.3rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: 500;
}

.btn-primary {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #f9fafb;
}

.btn-primary:hover {
    filter: brightness(1.05);
}

.btn-secondary {
    background: #ffffff;
    color: #111827;
    border: 1px solid #d1d5db;
}

.hero-note {
    font-size: 0.8rem;
    color: #d1d5db;
}

.hero-card {
    background: #020617;
    border-radius: 1.25rem;
    padding: 1.5rem;
    color: #e5e7eb;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.65);
    border: 1px solid #111827;
}

.hero-card-header {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-pill {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    border: 1px solid #22c55e66;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 1rem 0 1.25rem;
}

.metric-label {
    font-size: 0.7rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.metric-value {
    font-size: 1.1rem;
    font-weight: 600;
}


.hero-card-footer {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* SECTIONS */

.section {
    padding: 3.5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-kicker {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.75rem;
    color: #16a34a;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.section-subtitle {
    font-size: 0.95rem;
    color: #6b7280;
    max-width: 40rem;
    margin: 0 auto;
}

/* HİZMETLER */

.section-services {
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: #f9fafb;
    border-radius: 1rem;
    padding: 1.25rem;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.service-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #9ca3af;
}

.service-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.service-text {
    font-size: 0.9rem;
    color: #4b5563;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.5rem;
}

.service-tag {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: #e5e7eb;
    color: #374151;
}

/* HAKKIMIZDA / ALT BÖLÜM */

.section-alt {
    background: #f9fafb;
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
    gap: 2.5rem;
    align-items: flex-start;
}

.block-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #0f172a;
}

.block-text {
    font-size: 0.92rem;
    color: #4b5563;
    margin-bottom: 0.75rem;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #374151;
    margin-bottom: 0.3rem;
}

.check-dot {
    margin-top: 0.25rem;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #22c55e;
}

.highlight-box {
    background: #111827;
    color: #e5e7eb;
    border-radius: 1rem;
    padding: 1.25rem;
    border: 1px solid #1f2937;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.65);
    font-size: 0.9rem;
}

/* FOTOĞRAF BÖLÜMÜ */

.section-photo {
    background: #ffffff;
}

.section-photo .two-column {
    align-items: center;
}

.photo-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
}

.image-card {
    border-radius: 1.1rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}

.image-card img {
    display: block;
    width: 100%;
    height: auto;
}

.image-card-small {
    max-width: 260px;
    margin-left: auto;
}

/* SÜREÇ */

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.process-step {
    background: #f9fafb;
    border-radius: 1rem;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.process-step h3 {
    margin: 0.4rem 0 0.3rem;
    font-size: 0.95rem;
    color: #111827;
}

.process-step p {
    margin: 0;
    color: #4b5563;
}

.process-number {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #16a34a;
    color: #f9fafb;
    font-size: 0.8rem;
    font-weight: 600;
}

/* İLETİŞİM */

.section-contact {
    background: #020617;
    color: #e5e7eb;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.4fr) minmax(0, 3fr);
    gap: 2.5rem;
    align-items: flex-start;
}

.section-contact .section-header {
    text-align: left;
    margin-bottom: 1.5rem;
}

.section-contact .section-title {
    color: #e5e7eb;
}

.section-contact .section-subtitle {
    margin-left: 0;
    color: #9ca3af;
}

.contact-card {
    background: #020617;
    border-radius: 1.1rem;
    border: 1px solid #1f2937;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.75);
    padding: 1.5rem;
}

.contact-row {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.9rem;
    margin-bottom: 1.1rem;
}

.contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #9ca3af;
}

.contact-value {
    font-size: 0.95rem;
}

.contact-value a {
    color: #22c55e;
    text-decoration: none;
}

.contact-hint {
    font-size: 0.8rem;
    color: #9ca3af;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.contact-form-grid .full {
    grid-column: 1 / -1;
}

.form-field label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
    color: #cbd5f5;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 0.55rem 0.65rem;
    border-radius: 0.6rem;
    border: 1px solid #374151;
    background: #020617;
    color: #e5e7eb;
    font-size: 0.85rem;
}

.form-field textarea {
    min-height: 110px;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: 1px solid #22c55e;
    border-color: #22c55e;
}

.btn-form {
    margin-top: 0.5rem;
    width: fit-content;
}

/* FOOTER */

.site-footer {
    background: #020617;
    border-top: 1px solid #111827;
    padding: 1.2rem 0 1.7rem;
    font-size: 0.8rem;
    color: #9ca3af;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-inner a {
    color: #9ca3af;
    text-decoration: none;
}

/* RESPONSIVE */

@media (max-width: 960px) {
    .hero-grid,
    .two-column,
    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        padding-top: 3.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .main-nav ul {
        gap: 0.9rem;
        font-size: 0.8rem;
    }

    .header-phone {
        align-items: flex-start;
    }

    .services-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .photo-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .image-card-small {
        max-width: 100%;
        margin-left: 0;
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .main-nav {
        width: 100%;
    }

    .main-nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }

    .header-inner {
        justify-content: center;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .process-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Hizmet SEO etiketleri – daha sade ve şık görünüm */
.seo-service-tags {
    max-width: 900px;
    margin: 1.5rem auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    text-align: center;
}

.seo-service-tags span {
    font-size: 0.85rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #111827;
    white-space: nowrap;
}
@media (max-width: 600px) {
    .seo-service-tags span {
        white-space: normal;
    }
}

/* Hizmetler bölümündeki uzun H2 listesini chip/etiket haline getir */
.section-header h2 {
    margin: 0 0 0.75rem;
}

/* İlk H2 normal kalsın (ana başlık),
   ondan sonrakiler etiket gibi görünsün */
.section-header h2:not(:first-of-type) {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.35rem 0.9rem;
    margin: 0.25rem 0.35rem;
    border-radius: 999px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #111827;
    white-space: nowrap;
}

/* Mobilde satır kayması için */
@media (max-width: 600px) {
    .section-header h2:not(:first-of-type) {
        white-space: normal;
    }
}

/* Logo görünürlüğü için iyileştirme */
.site-header .site-logo {
    height: 110px;      /* istersen 72 de yapabilirsin */
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 6px rgba(0,0,0,0.45));
}

/* Küçük ekranlarda biraz küçültelim */
@media (max-width: 600px) {
    .site-header .site-logo {
        height: 52px;
    }
}

.section-photo .photo-row {
    display: flex;
    gap: 24px;
}

.section-photo .image-card {
    flex: 1 1 0;
}

.section-photo .image-card img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 16px; /* istersen */
}


