/* GENEL AYARLAR */
:root {
    --primary-color: #8B4513; 
    --accent-color: #CC3333; 
    --text-color: #333;
    --light-bg: #F5F5DC; 
    --dark-bg: #444; 
}

/* Tüm resimlerin taşmasını engelleyen güvenlik kuralı */
img {
    max-width: 100%;
    height: auto;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

section, footer {
    padding: 80px 5%;
    text-align: center;
}

/* MENÜ */
.main-nav {
    background-color: var(--dark-bg);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: 'Merriweather', serif;
    font-size: 1.8em;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 1.5px;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: white;
    font-size: 1em;
    padding: 5px 0;
    transition: color 0.3s;
    position: relative;
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* HERO BÖLÜMÜ */
.hero {
    background-image: url("images/arkaplan.jpg"); /* senin fotoğrafın */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    height: 500px;        /* ↙ YÜKSEKLİK EKLENDİ */
    position: relative;   /* ↙ GÖLGENİN TAŞMAMASI İÇİN EKLENDİ */

    display: flex;
    align-items: center;
    padding: 40px;
    color: white;
}

/* HERO GÖLGE EFEKTİ */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45); /* saydam koyu gölge */
    z-index: 1;
}

/* HERO İÇERİĞİ */
.hero .content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero .content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero .content p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* TEKLİF BUTONU */
.offer-btn {
    background-color: #d62828;
    padding: 15px 25px;
    font-size: 18px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.offer-btn:hover {
    background-color: #b71c1c;
}


/* MOBİL UYUMLULUK */
@media (max-width: 768px) {
    .hero {
        height: 350px; /* mobilde biraz küçült */
        padding: 20px;
        text-align: center;
        justify-content: center;
    }

    .hero .content h1 {
        font-size: 30px;
    }

    .hero .content p {
        font-size: 16px;
    }
}
/* HAKKIMIZDA */
.about-us-static {
    background-color: white;
    padding: 60px 5%;
}

.about-us-static h2 {
    font-family: 'Merriweather', serif;
    color: var(--primary-color);
    font-size: 2.2em;
    margin-bottom: 30px;
}

.about-content-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
}

/* KUTUCUKLAR */
.quick-nav-section {
    padding: 20px 5%;
    background-color: white;
    margin-top: 0;
    position: relative;
    z-index: 5;
}

.quick-nav-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.nav-box {
    display: block;
    padding: 20px;
    background-color: var(--light-bg);
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.3s;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    user-select: none;
}

.nav-box:hover {
    background-color: #eee;
    transform: translateY(-5px);
}

.nav-box.active {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-5px);
}

.nav-box.active i, .nav-box.active h3 {
    color: white !important;
}

.nav-box i {
    font-size: 2.5em;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.nav-box h3 {
    margin: 5px 0 0 0;
    font-size: 1.1em;
    color: var(--primary-color);
}

/* AÇILIR İÇERİK */
.toggle-content-area {
    padding: 0 5%;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.toggle-content-box {
    display: none;
    padding: 40px;
    background-color: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    text-align: left;
    margin-bottom: 20px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.toggle-content-box h3 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-bottom: 20px;
    text-align: center;
}

/* İÇERİK DÜZENLERİ */
.services-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.service-details { flex: 2; }
.service-icon-box { 
    flex: 1; 
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    background-color: var(--light-bg);
}
.service-list { list-style: none; padding: 0; margin-top: 15px; }
.service-list li { margin-bottom: 10px; font-size: 1.1em; }
.service-list i { color: #25D366; margin-right: 10px; }
.large-icon { font-size: 5em; color: var(--primary-color); margin-bottom: 15px; }
.saglik-guvence { font-style: italic; color: var(--accent-color); border-left: 3px solid var(--accent-color); padding-left: 10px; margin-top: 20px; }

/* REFERANSLAR */
.simple-reference-list { text-align: left; }

/* TESİS VE SEVKİYAT (YAN YANA DÜZEN) */
.tesisler-grid-combined, .shipment-grid-combined {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.tesisler-text-combined, .shipment-text-combined {
    flex: 1.5;
    padding-right: 20px;
}

.tesisler-slider-combined, .shipment-slider-combined {
    flex: 2;
    text-align: center;
    padding: 15px;
    background-color: var(--light-bg);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* SLIDER AYARLARI (KRİTİK DÜZELTME) */
.slider-container {
    position: relative;
    width: 100%; /* Max-width yerine width kullandık */
    max-width: 100%;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Masaüstünde fotoğrafların boyutu */
.slider-image {
    width: 100%;
    height: 350px !important; /* Yüksekliği sabitledik */
    object-fit: contain; /* Resmi kesme */
    background-color: #333; /* Fotoğrafın kenarları boş kalırsa koyu gri olsun */
    flex-shrink: 0;
}

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(139, 69, 19, 0.7);
    color: white;
    border: none;
    padding: 15px 10px;
    cursor: pointer;
    z-index: 20;
}
.slider-button.prev { left: 0; }
.slider-button.next { right: 0; }

/* İLETİŞİM */
#iletisim { background-color: var(--dark-bg); color: white; padding-bottom: 20px; }
.contact-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 30px auto;
    text-align: left;
    padding: 0 20px;
}
.contact-info, .contact-map { flex: 1; }
.contact-buttons { display: flex; gap: 15px; margin-bottom: 25px; }
.contact-button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: 700; color: white; }
.call-btn { background-color: var(--primary-color); }
.whatsapp-btn { background-color: #25D366; }
.instagram-button { background-color: #C13584; color: white; padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; margin-top: 15px; }
.contact-map iframe { width: 100%; height: 300px; border-radius: 8px; }
.second-map iframe { height: 200px; margin-top: 10px; }
.copyright { text-align: center; margin-top: 20px; padding-top: 15px; border-top: 1px solid rgba(255, 255, 255, 0.1); }

/* MOBİL UYUMLULUK */
@media (max-width: 768px) {
    section, footer { padding: 40px 5%; }
    .nav-links { display: none; }
    .hero-content h1 { font-size: 2.5em; }
    .quick-nav-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    
    /* Yan yana duranları alt alta al */
    .services-content, .tesisler-grid-combined, .shipment-grid-combined, .contact-grid {
        flex-direction: column;
    }
    
    .tesisler-text-combined, .shipment-text-combined { 
        order: 2; 
        padding-right: 0; 
    }
    
    .tesisler-slider-combined, .shipment-slider-combined { 
        order: 1; 
        width: 100%; 
        box-sizing: border-box; 
    }
    
    /* Mobilde slider yüksekliğini 250px'e sabitle */
    .slider-image {
        height: 250px !important;
    }
    
    .contact-buttons { flex-direction: column; }
    .contact-button { justify-content: center; width: 100%; box-sizing: border-box; }
}

@media (max-width: 480px) {
    .quick-nav-grid { grid-template-columns: 1fr; }
}
/* --- Sevkiyat fotoğrafları düzenleme --- */
.shipment-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    max-width: 900px;       /* Fotoğraf alanı genişliği sınırı */
    margin: 0 auto;         /* Ortaya al */
}

.shipment-img {
    width: 100%;
    height: 180px;
    object-fit: cover;      /* Fotoğrafı kırpar, taşma yapmaz */
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
@media (max-width: 480px) {
    .shipment-img {
        height: 140px;
    }
}