/* style.css - Setcom GmbH Profesyonel Web Stili */

/* Temel Ayarlar ve Font */
body {
    font-family: 'Roboto', 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Arial', sans-serif;
    color: #003366; /* Kurumsal Mavi */
    font-weight: 700;
}

a {
    color: #0056b3;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #007bff;
    text-decoration: underline;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Header ve Navigasyon */
header {
    background-color: #ffffff;
    padding: 20px 0;
    border-bottom: 3px solid #003366;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.0rem;
    font-weight: 700;
    color: #003366;
    text-decoration: none;
}

.logo span {
    color: #E67E22; /* Vurgu Rengi (Turuncu) */
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: #003366;
    border-bottom: 2px solid #003366;
}

/* Hero (Ana Sayfa) */
.hero {
    background: url('https://via.placeholder.com/1600x600.png?text=Professioneller+Glasfaserausbau') no-repeat center center/cover;
    background-attachment: fixed;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 33, 66, 0.7); /* Mavi overlay */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.cta-button {
    background-color: #E67E22; /* Vurgu Rengi */
    color: #fff;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.cta-button:hover {
    background-color: #d35400;
    transform: translateY(-2px);
    text-decoration: none;
}

/* İçerik Bölümleri */
.page-header {
    background-color: #003366;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.page-header h1 {
    color: #fff;
    font-size: 3rem;
    margin: 0;
}

.content-section {
    padding: 60px 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
}

.content-section:nth-child(even) {
    background-color: #f9f9f9;
}

.content-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 40px;
    position: relative;
}

.content-section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #E67E22;
    margin: 15px auto 0;
}

/* Grid Layout (Hizmetler, Hakkımızda vb.) */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-2 img, .grid-3 img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Hizmet Kutuları (Ana Sayfa) */
.feature-box {
    background: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.feature-box .icon {
    font-size: 3.5rem;
    color: #003366;
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Hakkımızda Sayfası - Yönetim */
.management-section {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.management-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 30px;
    flex-basis: 48%;
    text-align: center;
}

.management-card h3 {
    font-size: 1.6rem;
    margin-top: 0;
}

.management-card .title {
    font-size: 1rem;
    font-weight: 600;
    color: #E67E22;
    margin-bottom: 15px;
    display: block;
}

/* Hizmetler Sayfası */
.service-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    margin-bottom: 30px;
    display: flex;
    gap: 30px;
    align-items: center;
}

.service-item img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.service-item:nth-child(even) {
    flex-direction: row-reverse;
}

.service-item-content {
    flex: 1;
}

.service-item h3 {
    font-size: 1.8rem;
    border-bottom: 2px solid #E67E22;
    padding-bottom: 10px;
    display: inline-block;
}

.service-item ul {
    list-style: '✅ ';
    padding-left: 20px;
}

/* Kalite Sayfası */
.cert-list, .equipment-list, .references-list {
    list-style: none;
    padding: 0;
}

.cert-list li, .equipment-list li, .references-list li {
    background: #fff;
    margin-bottom: 10px;
    padding: 15px 25px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.cert-list li::before, .equipment-list li::before {
    content: '✅';
    color: green;
    font-size: 1.2rem;
    margin-right: 15px;
}

.references-list li::before {
    content: '⭐';
    color: #E67E22;
    font-size: 1.2rem;
    margin-right: 15px;
}

/* İletişim Sayfası */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
}

.contact-form button {
    background-color: #003366;
    color: #fff;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    align-self: flex-start;
}

.contact-form button:hover {
    background-color: #002244;
}

.contact-info h3 {
    font-size: 1.6rem;
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Impressum (Künye) */
.impressum-content {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 40px auto;
}

.impressum-content h2 {
    text-align: left;
    margin-top: 0;
}
.impressum-content h2::after {
    margin: 15px 0 0 0;
}

.impressum-content h3 {
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    margin-top: 30px;
}

/* Footer */
footer {
    background-color: #002244; /* Koyu Mavi */
    color: #ccc;
    padding-top: 40px;
    padding-bottom: 20px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #444;
}

.footer-grid h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer-grid p {
    margin-bottom: 10px;
}

.footer-grid ul {
    list-style: none;
    padding: 0;
}

.footer-grid ul li {
    margin-bottom: 10px;
}

.footer-grid ul li a {
    color: #ccc;
    text-decoration: none;
}

.footer-grid ul li a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #fff;
    font-weight: 600;
}

/* Responsive Tasarım */
@media (max-width: 992px) {
    .grid-2, .grid-3, .contact-grid {
        grid-template-columns: 1fr;
    }

    .management-section {
        flex-direction: column;
    }
    
    .service-item, .service-item:nth-child(even) {
        flex-direction: column;
    }
    
    .service-item img {
        width: 100%;
        height: 250px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
        margin-top: 20px;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    @media (max-width: 768px) {
  
  /* Ana konteyneri dikey (alt alta) diz */
  header .container {
    display: flex;
    flex-direction: column; /* Logo ve menüyü alt alta getirir */
    align-items: flex-start; /* Öğeleri (logo ve menü) sola hizalar */
    padding: 10px 15px;      /* Üst/alt ve sağ/sol kenar boşlukları */
  }

  /* Logoya biraz alt boşluk ver */
  header .logo {
    margin-bottom: 15px;
  }

  /* Navigasyon menüsünün kendisi */
  header nav {
    width: 100%; /* Navigasyonun tüm genişliği kaplamasını sağla */
    overflow-x: auto; /* Yatayda sığmazsa kaydırma çubuğu çıkar */
    white-space: nowrap; 
    border-top: 1px solid #eee; /* Logonun altına ince bir çizgi (opsiyonel) */
    padding-top: 10px; /* Çizgi ile menü arasına boşluk (opsiyonel) */
  }

  /* Menü listesini (ul) yatayda diz */
  header nav ul {
    display: flex;
    flex-direction: row; /* Menü elemanlarını YAN YANA dizer */
    list-style: none;
    padding: 0;
    margin: 0;
  }

  /* Menü elemanları arasına boşluk ekle */
  header nav ul li a {
    padding: 10px 15px; /* Tıklanabilir alanı büyütür */
    display: inline-block;
  }

  /* Sadece sağa boşluk vermek isterseniz:
  header nav ul li {
    margin-right: 15px; 
  }
  */
}
}