/* style.css - GlasRoute 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 {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 120px;
    width: auto;
    display: block;
}

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;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
}

.language-switcher a,
.language-switcher button {
    background: #f2f4f7;
    border: 1px solid #d9dfe7;
    border-radius: 4px;
    color: #003366;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 10px;
    text-decoration: none;
    line-height: 1.2;
}

.language-switcher a:hover,
.language-switcher button:hover {
    background: #e7edf5;
    color: #003366;
    text-decoration: none;
}

.language-switcher a.active,
.language-switcher button.active {
    background: #003366;
    border-color: #003366;
    color: #fff;
}

/* 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;
}

/* Hizmetler - Giriş / Intro */
.services-intro {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
}

/* Dijital Fark - Banner */
.digital-banner {
    background: linear-gradient(135deg, #003366 0%, #0056b3 100%);
    color: #fff;
    border-radius: 12px;
    padding: 40px;
    margin: 0 auto 50px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.25);
}

.digital-banner .digital-banner-icon {
    font-size: 4rem;
    line-height: 1;
    flex-shrink: 0;
}

.digital-banner h3 {
    color: #fff;
    font-size: 1.6rem;
    margin: 0 0 10px;
}

.digital-banner p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 300;
    color: #e6eefc;
}

/* Dijital Platform Galerisi */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 10px;
}

.platform-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.platform-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

.platform-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: top left;
    border-bottom: 3px solid #E67E22;
    background: #f2f4f7;
}

.platform-card-body {
    padding: 22px 24px 26px;
    flex: 1;
}

.platform-card-body h3 {
    font-size: 1.3rem;
    margin: 10px 0 10px;
}

.platform-card-body p {
    margin: 0;
    color: #555;
    font-size: 0.98rem;
}

.platform-tag {
    display: inline-block;
    background: #eaf0f8;
    color: #003366;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
}

.platform-card.featured {
    grid-column: 1 / -1;
    flex-direction: row;
}

.platform-card.featured img {
    width: 50%;
    height: auto;
    min-height: 320px;
    border-bottom: none;
    border-right: 3px solid #E67E22;
}

.platform-card.featured .platform-card-body {
    align-self: center;
}

/* Teknik Kapasite Tablosu */
.capability-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    max-width: 1000px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    border-radius: 8px;
    overflow: hidden;
}

.capability-table th {
    background-color: #003366;
    color: #fff;
    text-align: left;
    padding: 16px 20px;
    font-size: 1rem;
}

.capability-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #e6e6e6;
    background: #fff;
    font-size: 0.98rem;
    vertical-align: top;
}

.capability-table tr:nth-child(even) td {
    background: #f6f8fb;
}

.capability-table td:first-child {
    font-weight: 700;
    color: #003366;
    width: 32%;
}

/* End-to-End İş Akışı (Timeline) */
.workflow-steps {
    max-width: 950px;
    margin: 0 auto;
    counter-reset: workflow;
}

.workflow-step {
    display: flex;
    gap: 25px;
    padding: 22px 28px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    margin-bottom: 18px;
    border-left: 5px solid #E67E22;
    align-items: flex-start;
}

.workflow-step .step-num {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #003366;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workflow-step h3 {
    margin: 4px 0 6px;
    font-size: 1.25rem;
}

.workflow-step p {
    margin: 0;
    color: #555;
}

/* Ana Sayfa - Dijital Fark Teaser */
.home-digital-teaser {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 10px;
}

.home-digital-teaser img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border: 3px solid #E67E22;
}

.home-digital-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0;
}

.home-digital-highlights .highlight-item {
    background: #fff;
    border-radius: 8px;
    padding: 14px 16px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #003366;
}

.home-digital-highlights .highlight-item strong {
    display: block;
    color: #003366;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.home-digital-highlights .highlight-item span {
    font-size: 0.88rem;
    color: #555;
}

@media (max-width: 768px) {
    .home-digital-teaser {
        grid-template-columns: 1fr;
    }
    .home-digital-highlights {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .digital-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 22px;
    }
    .platform-card.featured {
        flex-direction: column;
    }
    .platform-card.featured img {
        width: 100%;
        min-height: 220px;
        border-right: none;
        border-bottom: 3px solid #E67E22;
    }
    .capability-table td:first-child {
        width: auto;
    }
}

/* 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;
  }

  header .logo img {
    height: 90px;
  }

  /* 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;
  }

  .language-switcher {
    margin-top: 10px;
    margin-left: 0;
  }

  /* Sadece sağa boşluk vermek isterseniz:
  header nav ul li {
    margin-right: 15px; 
  }
  */
}
}