/* ------------------------------------------------------------------- */
/* 0. Temel Ayarlar ve Renk Paleti */
/* ------------------------------------------------------------------- */
:root {
    --marine-blue: #023867; /* Kurumsal Mavi */
    --marine-light: #0061b3;
    --accent-gold: #eb9b39; /* Vurgu Rengi */
    --text-dark: #333333;
    --light-bg: #ffffff;
    --dark-bg: #f8f8f8;
    --footer-bg: #072d51;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-dark);
    scroll-behavior: smooth;
    background-color: var(--dark-bg);
}

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

/* ------------------------------------------------------------------- */
/* 1. HEADER / NAVİGASYON */
/* ------------------------------------------------------------------- */
#main-header {
    background: var(--light-bg);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}
.logo img {
    width: auto;
    border-radius: 4px;
   
}
#main-nav a {
    color: var(--text-dark);
    text-decoration: none;
    margin-left: 25px;
    padding: 8px 0;
    transition: color 0.3s;
    font-weight: 500;
}
#main-nav a:hover {
    color: var(--marine-blue);
}
.cta-link {
    color: var(--light-bg) !important;
    background-color: var(--marine-blue);
    padding: 8px 15px !important;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}
.cta-link:hover {
    background-color: var(--marine-light);
    transform: translateY(-1px);
}
.menu-toggle {
    display: none; /* Masaüstünde gizle */
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--marine-blue);
    cursor: pointer;
}

/* ------------------------------------------------------------------- */
/* 2. HERO SECTION */
/* ------------------------------------------------------------------- */
#hero {
    background: url(../img/hero_bg.jpeg) no-repeat center center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: white;
    padding: 0 20px;
}
#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 64, 141, 0.25); /* Koyu Mavi Karartma */
    z-index: 1;
}
.hero-content {
    z-index: 2;
    max-width: 800px;
}
#hero h1 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); 
}
#hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 200;
}

/* ------------------------------------------------------------------- */
/* 3. Genel Bölüm Stilleri */
/* ------------------------------------------------------------------- */
.content-section {
    padding: 100px 0;
}
.light-bg {
    background-color: var(--light-bg);
}
.dark-bg {
    background-color: var(--dark-bg);
}
.cta-bg {
    background-color: var(--marine-blue);
    color: white;
}
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--marine-blue);
    display: inline-block;
    padding-bottom: 8px;
    border-bottom: 4px solid var(--accent-gold);
}
.section-title-light {
    font-size: 1.3rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 20px;
    color: white;
    display: inline-block;
    padding-bottom: 8px;
    border-bottom: 4px solid white;
}

/* ------------------------------------------------------------------- */
/* 4. Hakkımızda Grid (3 Kart) */
/* ------------------------------------------------------------------- */
.about-grid {
    display: flex;
    gap: 30px;
    text-align: center;
}
.about-grid .card {
    flex: 1;
    padding: 30px;
    background: var(--light-bg);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 5px solid var(--marine-blue);
}
.about-grid .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.about-grid i {
    color: var(--marine-blue);
    margin-bottom: 20px;
}
.about-grid h3 {
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--text-dark); 
    margin-bottom: 10px;
}
.about-grid p {
    color: #666;
}

/* ------------------------------------------------------------------- */
/* 5. Faaliyetler İki Sütunlu Grid */
/* ------------------------------------------------------------------- */
.two-column-grid {
    display: flex;
    gap: 50px;
}
.two-column-grid .column {
    flex: 1;
    background: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.column-title {
    font-size: 1.5rem;
    color: var(--marine-blue);
    border-bottom: 2px solid var(--accent-gold);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-weight: 700;
}
.two-column-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.two-column-grid li {
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    color: #555;
    font-size: 1rem;
}
.icon-small {
    color: var(--accent-gold);
    margin-right: 15px;
    margin-top: 3px;
    font-size: 1.1rem;
}

/* ------------------------------------------------------------------- */
/* 6. Ürünler Kartları (Yatay Kaydırma) */
/* ------------------------------------------------------------------- */
.service-cards-container {
    display: flex;
    gap: 30px;
    padding-bottom: 15px;
    overflow-x: auto; /* Yatay kaydırmayı etkinleştir */
    -webkit-overflow-scrolling: touch; /* Mobil için pürüzsüz kaydırma */
}
/* Kaydırma çubuğunu gizle (isteğe bağlı) */
.service-cards-container::-webkit-scrollbar {
    display: none;
}
.service-cards-container {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.service-card {
    flex: 0 0 300px; /* Kartların genişliğini sabitler (Kaydırmayı tetikler) */
    background: var(--light-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
    border: 1px solid #eee;
}
.service-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.card-content {
    padding: 15px;
}
.card-content h3 {
    color: var(--marine-blue);
    font-size: 1.25rem;
    font-weight: 700;
    border-left: 4px solid var(--accent-gold);
    padding-left: 10px;
    margin-bottom: 8px;
}
.card-content p {
    color: #777;
    font-size: 0.95rem;
}


/* ------------------------------------------------------------------- */
/* 7. Buton Stilleri */
/* ------------------------------------------------------------------- */
.button {
    display: inline-block;
    padding: 14px 35px; /* Genel büyük buton stili */
    margin-top: 30px; 
    text-decoration: none;
    border-radius: 6px; 
    font-weight:bold;
    transition: background-color 0.3s, transform 0.3s;
    text-transform: uppercase;
    font-size: 1.1rem; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
}

/* Sadece HERO ve İLETİŞİM (CTA) butonu için küçültülmüş stil */
#hero .button, 
#iletisim .button {
    padding: 10px 25px; /* Daha küçük dikey ve yatay boşluk */
    font-size: 1rem;     /* Daha küçük font boyutu */
    margin-top: 20px;
    text-transform: none; /* Mail adresinin hep büyük harf olmasını engeller */
}

.primary-button {
    background-color: var(--accent-gold);
    color: white;
    border: 2px solid var(--accent-gold);
}
.primary-button:hover {
    background-color: #e67e00;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}


/* ------------------------------------------------------------------- */
/* 8. FOOTER */
/* ------------------------------------------------------------------- */
footer {
    background: var(--footer-bg);
    color: #ccc;
    padding: 25px 0;
    font-size: 0.9em;
    text-align: center;
}
footer .small-text {
    font-size: 0.8em;
    margin-top: 5px;
    color: #999;
}


/* ------------------------------------------------------------------- */
/* 9. RESPONSIVE TASARIM (Media Queries) */
/* ------------------------------------------------------------------- */

/* Tablet ve Büyük Mobil Cihazlar (992px ve altı) */
@media (max-width: 992px) {
    
    .about-grid,
    .two-column-grid {
        flex-direction: column; /* Gridleri tek sütuna çevir */
        gap: 25px;
    }
    
    .about-grid .card {
        padding: 25px;
    }
    
    /* Navigasyon: Mobil Menü Hazırlığı */
    #main-header .container {
        flex-direction: row;
    }
    .menu-toggle {
        display: block; /* Mobil butonu göster */
    }
    #main-nav {
        /* Menüyü başlangıçta gizle ve ekrana sığdır */
        position: absolute;
        top: 70px; /* Header yüksekliğinin altında başlat */
        left: 0;
        right: 0;
        background-color: var(--light-bg);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        display: none; /* Varsayılan olarak gizli */
        flex-direction: column;
        text-align: center;
        padding: 10px 0;
    }
    #main-nav.active {
        display: flex; /* Butona basılınca göster */
    }
    #main-nav a {
        display: block;
        margin: 10px 0;
        padding: 10px 20px;
        border-bottom: 1px solid #eee;
    }
    .cta-link {
        /* Mobil menüde CTA'yı ortala ve tam genişlik yap */
        margin: 10px auto; 
        width: 80%;
    }
}


/* Küçük Mobil Cihazlar (600px ve altı) */
@media (max-width: 600px) {
    .content-section {
        padding: 60px 0;
    }
    .section-title,
    .section-title-light {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    #hero {
        height: 60vh;
    }
    #hero h1 {
        font-size: 2rem;
    }
    #hero p {
        font-size: 1.1rem;
    }
    
    /* Mobil cihazlarda HERO ve İLETİŞİM butonları daha da küçültüldü */
    #hero .button, 
    #iletisim .button {
        padding: 8px 20px; 
        font-size: 0.9rem;
    }

    /* Ürün Kartları: Kaydırmanın daha rahat olması için daha dar kartlar */
    .service-card {
        flex: 0 0 250px; 
    }
}