/* GENEL STİLLER */
:root {
    --primary-color: #007bff;
    --primary-hover: #0056b3;
    --secondary-color: #28a745;
    --secondary-hover: #218838;
    --background-light: #f8f9fa;
    --text-dark: #212529;
    --text-light: #495057;
    --border-color: #dee2e6;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    --card-hover-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-light);
    line-height: 1.7;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 40px;
}

/* BUTON STİLLERİ */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    background-color: var(--primary-color);
    color: #fff;
}
.btn:hover{
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-header {
    background-color: var(--secondary-color);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-header:hover {
    background-color: var(--secondary-hover);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* HEADER GÜNCELLENDİ */
header {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky; /* Menünün aşağı kaydırınca yukarıda yapışık kalmasını sağlar */
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 100px; /* Logonuzun yüksekliğini buradan ayarlayabilirsiniz */
    width: auto;
    display: block;
}

/* HERO BÖLÜMÜ */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(https://ercakirmakina.com/wp-content/uploads/2020/07/hali-yikama-makinasi-nasil-kullanilir.jpg) no-repeat center center/cover;
    padding: 140px 0; /* Header artık yer kapladığı için padding ekledik */
    color: #fff;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 500px;
    margin-bottom: 30px;
}

/* HİZMETLER BÖLÜMÜ */
#hizmetler {
    background-color: var(--background-light);
}

.hizmet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.hizmet-karti {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.hizmet-karti:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
}

.hizmet-karti img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.hizmet-karti h3 {
    padding: 20px 15px;
    font-size: 1.3rem;
    color: var(--text-dark);
    margin: 0;
}

/* İLETİŞİM BÖLÜMÜ */
.contact-section {
    text-align: center;
    padding: 80px 0;
}
.contact-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
}
.contact-details p {
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}
.contact-details a:hover {
    text-decoration: underline;
}

/* FOOTER */
footer {
    background-color: var(--text-dark);
    color: #fff;
    padding: 30px 0;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.social-media a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}
.social-media a:hover {
    color: var(--primary-color);
}

/* RESPONSIVE AYARLAR */
@media (max-width: 768px) {
    .section-title, .hero-content h1 {
        font-size: 2.2rem;