
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: #333; background-color: #f4f4f4; overflow-x: hidden; }
.container { width: 85%; margin: auto; overflow: hidden; max-width: 1200px; }

header { background: #2b2b2b; color: #fff; padding-top: 25px; padding-bottom: 20px; border-bottom: #f39c12 4px solid; }
header a { color: #fff; text-decoration: none; text-transform: uppercase; font-size: 15px; font-weight: bold; transition: color 0.3s; }
header a:hover { color: #f39c12; }
header ul { padding: 0; list-style: none; display: flex; gap: 20px; flex-wrap: wrap; }
header h1 { font-size: 22px; color: #f39c12; letter-spacing: 1px;}
header .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }

/* Rotating Banner / Hero Section */
.hero { 
    min-height: 600px; 
    background-color: #2b2b2b; 
    background-size: cover;
    background-position: center center;
    animation: heroSlider 18s infinite;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    position: relative;
}

/* 3 Farklı görselin sırayla döndüğü animasyon (Maden -> İnşaat -> Şantiye) */
@keyframes heroSlider {
    0%, 25% { background-image: url('https://images.unsplash.com/photo-1579727027525-469b82143ea2?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80'); }
    33%, 58% { background-image: url('https://images.unsplash.com/photo-1541888087858-a53bd5da3597?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80'); }
    66%, 91% { background-image: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80'); }
    100% { background-image: url('https://images.unsplash.com/photo-1579727027525-469b82143ea2?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80'); }
}

.hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); }
.hero-content { position: relative; z-index: 1; background: rgba(43, 43, 43, 0.85); padding: 50px 40px; border-radius: 8px; border-top: 4px solid #f39c12; max-width: 900px; width: 90%; box-shadow: 0 10px 20px rgba(0,0,0,0.5); text-align: center; margin: 0 auto; }
.hero h2 { font-size: 45px; margin-bottom: 20px; color: #f39c12; line-height: 1.2; }
.hero p { font-size: 22px; margin-bottom: 40px; line-height: 1.5; }

.btn { display: inline-block; background: #f39c12; color: #fff; padding: 12px 30px; text-decoration: none; border: none; font-size: 18px; font-weight: bold; border-radius: 4px; transition: background 0.3s;}
.btn:hover { background: #d68910; }

.about { padding: 80px 0; text-align: center; background: #fff; }
.about .container { display: block; }
.about h2 { color: #2b2b2b; margin-bottom: 25px; font-size: 32px;}
.about p { font-size: 18px; color: #555; max-width: 900px; margin: 0 auto 15px auto;}

.services { padding: 80px 0; background: #e9ecef; text-align: center; }
.services .container { display: block; }
.services h2 { margin-bottom: 40px; color: #2b2b2b; font-size: 32px; }
.service-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap;}

.service-box { flex: 1; background: #fff; padding: 25px; border-bottom: 4px solid #f39c12; box-shadow: 0 4px 10px rgba(0,0,0,0.1); border-radius: 8px; min-width: 280px; transition: transform 0.3s;}
.service-box:hover { transform: translateY(-8px); }
.service-box img { width: 100%; height: 220px; object-fit: cover; border-radius: 4px; margin-bottom: 20px; }
.service-box h3 { margin-bottom: 15px; color: #2b2b2b; font-size: 22px;}
.service-box p { color: #666; font-size: 16px; }

footer { padding: 50px 0; color: #fff; background-color: #2b2b2b; text-align: center; border-top: #f39c12 4px solid; }
footer .container { display: block; }
footer h2 { margin-bottom: 20px; color: #f39c12;}
footer p { margin-bottom: 10px; font-size: 16px;}

/* MOBİL UYUMLULUK (Responsive Design) */
@media(max-width: 768px){
    .container { width: 92%; }
    
    header h1 { font-size: 18px; text-align: center; width: 100%; margin-bottom: 10px; }
    header ul { justify-content: center; gap: 10px; }
    header a { font-size: 13px; }
    header .container { flex-direction: column; text-align: center; gap: 10px; padding: 0 10px; }

    .hero { min-height: 450px; padding: 40px 0; }
    .hero-content { padding: 30px 20px; width: 95%; }
    .hero h2 { font-size: 26px; margin-bottom: 15px; }
    .hero p { font-size: 16px; margin-bottom: 25px; }
    .btn { padding: 10px 20px; font-size: 16px; }

    .about { padding: 50px 0; }
    .about h2 { font-size: 26px; }
    .about p { font-size: 15px; padding: 0 10px; }

    .services { padding: 50px 0; }
    .services h2 { font-size: 26px; margin-bottom: 30px; }
    .service-grid { flex-direction: column; gap: 25px; }
    .service-box { padding: 20px; min-width: 100%; }
    .service-box img { height: 180px; }
    
    footer { padding: 30px 0; }
}
