/* Genel Stil */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth; /* Menü tıklayınca scroll */
}

/* Menü */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #222;
    color: white;
    padding: 15px 0;
    text-align: center;
    z-index: 1000;
}

header nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    transition: color 0.3s;
}

header nav a:hover {
    color: #ff7e5f;
}
.hero {
    position: relative;
    width: 100%;
    height: 70vh;
    max-height: 600px;
    background: url("../static/images/hero.jpg") no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}



.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4); /* Overlay koyduk */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 42px;
    margin: 0;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6); /* yazı okunaklı */
}

.hero-content p {
    font-size: 20px;
    margin: 15px 0;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
}

.cta-button {
    padding: 12px 24px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
}

.cta-button:hover {
    background-color: #66bb6a;
    transform: translateY(-3px);
}

/* Genel Bölümler */
.section {
    padding: 100px 20px;
    text-align: center;
}

/* Hurda Çeşitleri */
.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    justify-items: center;
    align-items: start;
}

/* Her bir kutu */
.type-item {
    background-color:  #4CAF50;
    color: white;
    border-radius: 8px;
    text-align: center;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s; /* transform kaldırıldı */
    width: 100%;
}

/* Kutuların içindeki görseller */
.type-item img {
     width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
     filter: brightness(1.1);
}

/* Hover efekti: sadece gölge */
.type-item:hover {
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    filter: brightness(1.1);
}




/* Galeri Sayfası */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Hover efekti */
.gallery-item:hover img {
    transform: scale(1.1);
}


/* İletişim Formu */
form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: 0 auto;
}

form input, form textarea {
    margin-bottom: 15px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    padding: 12px;
    background-color:  #4CAF50;
    color: white;
    border: none;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

form button:hover {
    background-color: #66bb6a;
}

/* Footer */
footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 20px;
}
.map-container {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.about-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border: 2px solid #4CAF50;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}
.about-box h2 {
    margin-bottom: 15px;
    color: #4CAF50;
}
.about-box p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}
.about-section {
    background-color: #f9f9f9;
    padding: 60px 20px;
    border-radius: 10px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap; /* telefonda alt alta düşmesi için */
}

.about-text {
    flex: 1;
    font-size: 18px;
    line-height: 1.6;
    text-align: left;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
    
    .hero-content h2 {
        font-size: 24px;
    }
    .hero-content p {
        font-size: 14px;
    }
    .cta-button {
        padding: 8px 16px;
        font-size: 14px;
    }

    
    .types-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 15px;
    }
    .type-item img {
        height: 120px;
    }

    
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    .about-image img {
        max-width: 100%;
    }

    
   
    }
@media (max-width: 768px) {
    header {
        padding: 15px 0; /* üstten alttan boşluk minimum */
    }

    header h1 {
        font-size: 18px;   /* yazı küçülsün */
        margin: 0;         /* fazladan boşluk kalksın */
    }

    header nav {
        gap: 20px; /* linkler arası boşluk küçülsün */
    }

    header nav a {
        font-size: 13px;
        margin: 2px 0;
    }
}

