/* Genel ayarlar */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: #1f2933;
    background-color: #f3f4f6;
}

/* Konteyner */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header ve navigasyon */
.site-header {
    background-color: #0b1f3b;
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.logo img {
    height: 48px;
    max-width: 100%;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: #e5e7eb;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 6px 10px;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s;
}

.main-nav a:hover {
    background-color: #1f3a5f;
    color: #ffffff;
}

/* Hero alanı */
.hero {
    position: relative;
    height: 340px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(11, 31, 59, 0.88),
        rgba(11, 31, 59, 0.5),
        rgba(11, 31, 59, 0.1)
    );
    display: flex;
    align-items: center;
}

.hero-content {
    color: #ffffff;
}

.hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.hero-content p {
    max-width: 520px;
    font-size: 1rem;
    margin-bottom: 18px;
}

/* Butonlar */
.btn-primary {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 999px;
    background: #22a06b;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.btn-primary:hover {
    background-color: #188055;
    transform: translateY(-1px);
}

/* Bölümler */
.section {
    padding: 48px 0;
    background-color: #f3f4f6;
}

.section-alt {
    background-color: #ffffff;
}

.section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #111827;
    position: relative;
}

.section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: #22a06b;
    margin-top: 6px;
}

/* İki sütunlu düzen */
.two-column {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 24px;
    align-items: flex-start;
}

/* Öne çıkarılmış kutu */
.highlight-box {
    background-color: #0b1f3b;
    color: #e5e7eb;
    padding: 18px 20px;
    border-radius: 8px;
}

.highlight-box h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.highlight-box ul {
    padding-left: 18px;
    margin: 0;
}

/* Kart yapısı */
.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.card {
    background-color: #f9fafb;
    border-radius: 8px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 8px;
    color: #111827;
}

/* Makine listesi */
.machine-list {
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    overflow: hidden;
}

.machine-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.95rem;
}

.machine-item:last-child {
    border-bottom: none;
}

.machine-name {
    font-weight: 600;
    color: #111827;
}

.machine-spec {
    color: #4b5563;
}

/* Referanslar */
.refs-text {
    margin-bottom: 20px;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 18px;
    align-items: center;
    justify-items: center;
}

.logo-item {
    background-color: #f9fafb;
    border-radius: 8px;
    padding: 10px;
    border: 1px solid #e5e7eb;
}

.logo-item img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* İletişim alanı */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}

.contact-list li {
    margin-bottom: 6px;
}

.contact-form {
    background-color: #ffffff;
    padding: 18px 20px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.contact-form h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

.contact-form label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #111827;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    font-size: 0.9rem;
    margin-top: 4px;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #22a06b;
    box-shadow: 0 0 0 1px rgba(34, 160, 107, 0.25);
}

.contact-form button {
    margin-top: 6px;
}

.form-note {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 8px;
}

/* Footer */
.site-footer {
    background-color: #0b1f3b;
    color: #e5e7eb;
    padding: 16px 0;
    font-size: 0.85rem;
}

.footer-inner {
    text-align: center;
}

.footer-note {
    margin: 4px 0 0;
    color: #9ca3af;
}

/* Responsive ayarlar */
@media (max-width: 900px) {
    .two-column {
        grid-template-columns: 1fr;
    }

    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero {
        height: 280px;
    }

    .hero-image img {
        height: 280px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 640px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .main-nav ul {
        flex-wrap: wrap;
        gap: 8px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .hero {
        height: 260px;
    }

    .hero-image img {
        height: 260px;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }
}