.hizmet-detay, .hizmet-detay p, .hizmet-detayli, .hizmet-detayi, .hizmet-detay p, section.hizmet-detay p, section.hizmet-detayi p, section.hizmet-detayli p {
    color: #fff !important;
}
.hero-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 18px;
}
.hero-image {
    width: 100%;
    max-width: 100%;
    height: 420px;
    position: relative;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-image: url('../index.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.ev-hero {
    background-image: url('../ev.jpg') !important;
}
.yat-hero {
    background-image: url('../yat.jpg') !important;
}
.hali-koltuk-hero {
    background-image: url('../hali-koltuk.jpg') !important;
}
.hero-overlay {
    width: 100%;
    height: 100%;
    background: rgba(16,37,66,0.65);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    padding-left: 7vw;
}
.hero-overlay h1 {
    font-size: 2.7em;
    color: #fff;
    margin-bottom: 12px;
}
.hero-overlay p {
    font-size: 1.25em;
    color: #eaeaea;
    margin-bottom: 18px;
}
.teklif-iletisim { display: none; }
@media (max-width: 900px) {
    .teklif-iletisim { display: inline-block !important; width: 100%; text-align: center; font-size: 1.08em; padding: 12px 0; }
}
.teklif-header { display: inline-block; }
.teklif-hero { display: none; }
@media (max-width: 900px) {
    .teklif-header { display: inline-block !important; padding: 8px 12px; font-size: 0.95em; margin-left: 8px; }
    .teklif-hero { display: inline-block !important; margin-top: 10px; }
}
.service-detail p {
    font-size: 1.15em;
    line-height: 1.8;
    margin-bottom: 18px;
    color: #222;
    font-weight: 500;
    text-align: center;
}
footer {
    width: 100%;
    background: #102542;
    color: #fff;
    padding: 18px 0;
    text-align: center;
    margin-top: 40px;
    border-radius: 0 0 10px 10px;
}
body {
    font-family: 'Montserrat', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #16213e;
    color: #eaeaea;
}
header {
    background: #102542;
    color: #eaeaea;
    padding: 8px 0 6px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.logo {
    height: 60px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

/* Make nav centered between logo and CTA */
nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}

/* Ensure list-style is removed for all nav lists */
nav ul { list-style: none; }
nav a {
    color: #eaeaea;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}
nav a:hover {
    color: #ffd700;
}
.cta {
    background: #1a1a2e;
    color: #fff;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.cta:hover {
    background: #444;
    transform: scale(1.10);
    box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}
.hero {
    background: url('../index.jpg') center center/cover no-repeat, linear-gradient(90deg, #102542 60%, #1a1a2e 100%);
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 20px 60px 20px;
    text-align: center;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}
.hero h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.service-img {
    width: 100%;
    max-width: 260px;
    height: 140px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    margin-bottom: 16px;
    align-self: center;
    background: #101828;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.hero p {
    font-size: 1.2em;
}
section {
    margin: 40px auto;
    max-width: 1000px;
    background: #1a1a2e;
    color: #eaeaea;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}
section h2 {
    color: #b0b0b0;
    margin-bottom: 20px;
}
.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.service {
    display: block;
    background: #102542;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    padding: 24px 18px;
    transition: box-shadow 0.2s, transform 0.2s;
    text-decoration: none;
    color: #eaeaea;
    cursor: pointer;
}
.service:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    transform: translateY(-2px) scale(1.03);
}
.service h3 {
    color: #b0b0b0;
    margin-bottom: 10px;
}
.about {
    margin-top: 60px;
    text-align: center;
}

.about p {
    font-size: 1.15em;
    line-height: 1.8;
    margin-bottom: 18px;
    color: #eaeaea;
    font-weight: 500;
}
.contact-info {
    margin-top: 20px;
    font-size: 1.1em;
}

/* Blog list & cards */
.blog-hero {
    text-align: center;
    margin-bottom: 20px;
}
.blog-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
}
.blog-post {
    background: #102542;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    transition: transform 0.18s, box-shadow 0.18s;
}
.blog-post:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 34px rgba(0,0,0,0.18);
}
.blog-post .thumb{
    width: 100%;
    max-width: 260px;
    height: 140px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    margin-bottom: 16px;
    align-self: center;
    background: #101828;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.blog-post .thumb::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
}
.blog-post > h2 {
    margin: 12px 16px 6px 16px;
    font-size: 1.05em;
    color: #e9f2ff;
    position: relative;
    padding-bottom: 12px;
}
.blog-post > h2::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 4px;
    height: 4px;
    background: #0077ff; /* blue underline bar */
    border-radius: 4px;
}
.blog-post .meta {
    color: #9fb3d9;
    font-size: 0.9em;
    margin: 0 16px 8px 16px;
}
.blog-post p {
    color: #cfe3ff;
    margin: 0 16px 16px 16px;
    flex: 1 1 auto;
}
.blog-post a {
    color: inherit;
    text-decoration: none;
}

/* Reusable back link button for posts */
.back-link {
    display: inline-block;
    margin-top: 18px;
    background: transparent;
    color: #eaeaea;
    border: 2px solid rgba(234,234,234,0.12);
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.18s, transform 0.12s, box-shadow 0.12s;
}
.back-link:hover {
    background: rgba(255,255,255,0.03);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.back-link:active {
    transform: translateY(0);
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 10px;
}
input, textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}
button {
    background: #102542;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s;
}
button:hover {
    background: #023e8a;
}
@media (max-width: 900px) {
    .container {
        max-width: 100%;
        padding: 0 10px;
    }
	    .hero-overlay {
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box;
        align-items: flex-start;
    }
    .header-flex {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0;
        padding: 6px 8px;
        min-height: 48px;
    }
    .logo {
        margin-bottom: 0;
        height: 38px;
        max-width: 110px;
    }
    /* mobile nav: hide standard horizontal list and show via toggle */
    nav {
        width: auto;
        position: relative;
    }
    /* hamburger toggle button */
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 8px;
        background: transparent;
        border: 1px solid rgba(234,234,234,0.06);
        margin-right: 8px;
        cursor: pointer;
    }
    .hamburger {
        width: 20px;
        height: 2px;
        background: #eaeaea;
        position: relative;
        display: inline-block;
        transition: background 0.18s;
    }
    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        left: 0;
        width: 20px;
        height: 2px;
        background: #eaeaea;
        transition: transform 0.18s;
    }
    .hamburger::before { top: -6px; }
    .hamburger::after { top: 6px; }
    /* When nav is open, transform hamburger into an X */
    nav.open .hamburger {
        background: transparent;
    }
    nav.open .hamburger::before {
        transform: rotate(45deg) translate(4px, 4px);
    }
    nav.open .hamburger::after {
        transform: rotate(-45deg) translate(4px, -4px);
    }
    /* also apply X state to the button itself when it has .open */
    .nav-toggle.open .hamburger { background: transparent; }
    .nav-toggle.open .hamburger::before { transform: rotate(45deg) translate(4px, 4px); }
    .nav-toggle.open .hamburger::after { transform: rotate(-45deg) translate(4px, -4px); }
    nav ul {
        display: none;
        flex-direction: column;
        gap: 0;
        width: calc(100% - 32px);
        padding: 12px 16px;
        margin: 8px auto 0 auto;
        background: #102542;
        border-radius: 8px;
        box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    }
    nav.open ul {
        display: flex;
    }
    nav.open ~ .teklif-header {
        display: none !important;
    }
    nav ul li { margin: 0; }
    nav ul li {
        width: auto;
        margin-bottom: 0;
    }
    nav a {
        display: inline-block;
        width: auto;
        padding: 7px 0;
        text-align: center;
        border-radius: 4px;
        font-size: 1em;
    }
    .cta {
        width: auto;
        margin-top: 0;
        text-align: center;
        padding: 9px 14px;
        font-size: 1em;
    }
    .hero {
        padding: 40px 10px;
    }
    section {
        padding: 20px 10px;
    }
    .service-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Blog grid responsive */
    .blog-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}
@media (max-width: 600px) {
    .hero h1 {
        font-size: 1.8em;
    }
    .hero p {
        font-size: 1em;
    }
}

    .hero-image {
        height: 480px !important;
    }
    .hero-overlay {
        padding-left: 10px !important;
        padding-right: 10px !important;
        box-sizing: border-box;
        align-items: flex-start;
    }
    .hero-overlay h1 {
        font-size: 1.6em !important;
        line-height: 1.3;
        margin-bottom: 8px !important;
    }
    .hero-overlay p {
        font-size: 0.9em !important;
        line-height: 1.5;
        max-width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    .hero-buttons .cta {
        margin-left: 0 !important;
        width: 100%;
        max-width: 200px;
    }
}
