/* ================================================================ */
/* Engineering.html - Özel (Custom) CSS Stilleri                    */
/* WordPress/Elementor tarafından üretilen stiller bu dosyada DEĞİL */
/* ================================================================ */


/* ============================================================ */
/* Bölüm 1 */
/* ============================================================ */
.feature-icon {
  display: inline-flex; /* ikon ve kutu hizalaması */
  align-items: center;
  justify-content: center;
}


/* ============================================================ */
/* Bölüm 2 */
/* ============================================================ */
@media (max-width: 768px) {
    .elementor-column.elementor-col-50.elementor-top-column.elementor-element.elementor-element-8252202,
    [data-id="8252202"],
    div[data-id="8252202"] {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        left: -9999px !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        transform: scale(0) !important;
        pointer-events: none !important;
    }
}


/* ============================================================ */
/* Bölüm 3 */
/* ============================================================ */
.footer
 {
            background-color: #0a1849;
            color: white;
            padding: 60px 0 30px;
            text-align: center;
             margin-top: -50px;
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .footer-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 40px;
            flex-wrap: wrap;
            gap: 30px;
        }

        .footer-logo {
            font-size: 2.5rem;
            font-weight: bold;
            color: white;
            letter-spacing: -1px;
            flex-shrink: 0;
        }

        /* Logo image için boyut sınırlaması */
        .footer-logo img {
            max-width: 200px;
            max-height: 200px;
            width: auto;
            height: auto;
            object-fit: contain;
        }

        .footer-nav ul {
            list-style: none;
            display: flex;
            gap: 40px;
            flex-wrap: wrap;
        }

        .footer-nav a {
            color: #999;
            text-decoration: none;
            font-size: 1rem;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: color 0.3s ease;
        }

        .footer-nav a:hover {
            color: #f26538;
        }

        .social-links {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 80px;
            margin-top: -100px;
        }

        .social-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 50px;
            border: 2px solid #f26538;
            border-radius: 50%;
            color: #f26538;
            text-decoration: none;
            font-size: 1.2rem;
            transition: all 0.3s ease;
        }

        .social-link:hover {
            background-color: #f26538;
            color: white;
            transform: translateY(-3px);
        }

        .footer-copyright {
            color: #666;
            font-size: 0.9rem;
            border-top: 1px solid #333;
            padding-top: 30px;
        }

        .footer-copyright a {
            color: #f26538;
            text-decoration: none;
        }

        .footer-copyright a:hover {
            text-decoration: underline;
        }
/* Tablet ve altı: footer menüyü alt alta ve ortalı yap */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;   /* üst satırı dikey sırala */
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .footer-nav ul {
    display: flex;
    flex-direction: column;   /* alt alta */
    align-items: center;      /* ortala */
    gap: 12px;
    margin: 0;                /* olası margin reset */
    padding: 0;               /* olası padding reset */
    list-style: none;         /* noktaları kaldır */
  }

  .footer-nav li {
    display: block;           /* genişliği kontrol etmesi kolay */
    width: 100%;              /* istersen 100% değil auto da olabilir */
  }

  .footer-nav a {
    display: inline-block;
    padding: 6px 0;           /* dokunma alanı */
  }
}
@media (max-width: 768px) {
  .social-links {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
    gap: 16px;
  }
}

/* Telefon: biraz daha sıkı aralık */
@media (max-width: 480px) {
  .footer-nav ul { gap: 10px; }
  .footer-nav a { padding: 5px 0; }
}


/* ============================================================ */
/* Bölüm 4 */
/* ============================================================ */
/* Sadece breadcrumbs'ın olduğu mavi bölüm */
.elementor-element-25e7b21 {
  position: relative;        /* z-index VERME! dıştaki dropdown'ı tuzağa düşürmesin */
}

.elementor-element-25e7b21::before {
  content: "";
  position: absolute;
  inset: 0;                  /* top/right/bottom/left yerine kısayol */
  background-color: rgba(30, 58, 95, 0.7);
  pointer-events: none;      /* tıklamaları engellemesin */
  z-index: 0;                /* overlay'i en alta gönder */
}

/* İçerik overlay'in üstünde kalsın */
.elementor-element-25e7b21 .elementor-container,
.elementor-element-25e7b21 .elementor-widget-wrap,
.elementor-element-25e7b21 .elementor-element {
  position: relative;
  z-index: 1;
}


/* ============================================================ */
/* Bölüm 5 */
/* ============================================================ */
/* ========== MOBILE NAVBAR (CSS only) ========== */
/* Works with your existing JS. Paste into your main CSS. */

:root{
  --nav-z: 9999;
  --nav-bg: #0a1849;          /* menu background */
  --nav-link: #ffffff;        /* link color */
  --nav-link-hover: #ffb703;  /* link hover */
  --overlay-bg: rgba(0,0,0,.45);
}

/* Base: hide mobile UI on desktop */
.mobile-navbar-toggle,
.mobile-navbar-overlay,
.mobile-navbar-menu{ display:none; }

@media (max-width: 767px){

  /* Toggle (hamburger) */
  .mobile-navbar-toggle{
    display:block;
    position:fixed;
    top: max(14px, env(safe-area-inset-top));
    right: max(16px, env(safe-area-inset-right));
    width:44px; height:44px;
    z-index: var(--nav-z);
    border:none; outline:0;
    background:rgba(0,0,0,.35);
    border-radius:12px;
    backdrop-filter:saturate(180%) blur(6px);
    cursor:pointer;
  }
  .mobile-navbar-toggle span,
  .mobile-navbar-toggle span::before,
  .mobile-navbar-toggle span::after{
    position:absolute; left:50%;
    width:22px; height:2px; background:#fff;
    transform:translateX(-50%);
    transition:transform .25s ease, opacity .2s ease, top .25s ease;
    content:"";
  }
  .mobile-navbar-toggle span{ top:50%; }
  .mobile-navbar-toggle span::before{ top:-7px; }
  .mobile-navbar-toggle span::after{ top:7px; }
  .mobile-navbar-toggle.active span{ background:transparent; }
  .mobile-navbar-toggle.active span::before{
    top:0; transform:translateX(-50%) rotate(45deg);
  }
  .mobile-navbar-toggle.active span::after{
    top:0; transform:translateX(-50%) rotate(-45deg);
  }

  /* Overlay */
  .mobile-navbar-overlay{
    display:block;
    position:fixed; inset:0;
    background:var(--overlay-bg);
    opacity:0; pointer-events:none;
    transition:opacity .25s ease;
    z-index: calc(var(--nav-z) - 1);
  }
  .mobile-navbar-overlay.active{
    opacity:1; pointer-events:auto;
  }

  /* Slide-in Menu */
  .mobile-navbar-menu{
    display:block;
    position:fixed; inset:0 0 0 auto; /* right drawer */
    width:min(80vw, 360px);
    background:var(--nav-bg);
    color:var(--nav-link);
    transform:translateX(100%);
    transition:transform .3s cubic-bezier(.2,.8,.2,1);
    z-index: var(--nav-z);
    padding-top: calc(28px + env(safe-area-inset-top));
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow:-8px 0 24px rgba(0,0,0,.25);
    overflow-y:auto;
  }
  .mobile-navbar-menu.active{ transform:translateX(0); }

  .mobile-navbar-menu ul{
    list-style:none; margin:0; padding:16px 18px 32px;
    display:flex; flex-direction:column; gap:6px;
  }
  .mobile-navbar-menu a{
    display:block;
    padding:14px 12px;
    text-decoration:none;
    color:var(--nav-link);
    font-weight:600;
    letter-spacing:.2px;
    border-radius:10px;
  }
  .mobile-navbar-menu a:hover,
  .mobile-navbar-menu a:focus{
    background:rgba(255,255,255,.06);
    color:var(--nav-link-hover);
    outline:none;
  }

  /* Optional: thin divider under top area */
  .mobile-navbar-menu::before{
    content:"";
    position:sticky; top:0; display:block; height:1px;
    background:rgba(255,255,255,.08);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .mobile-navbar-toggle span,
  .mobile-navbar-toggle span::before,
  .mobile-navbar-toggle span::after,
  .mobile-navbar-overlay,
  .mobile-navbar-menu{ transition:none !important; }
}


/* ============================================================ */
/* Bölüm 6 */
/* ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    color: white;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInDown 1s ease-out;
}

.header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #f26538, #ff8561);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header .subtitle {
    font-size: 1.3rem;
    color: #a0b4d8;
    font-weight: 300;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.cards-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

 .engineering-card {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 20px;
            padding: 2rem;
            width: 400px;
            height: 550px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(242, 101, 56, 0.2);
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            animation: fadeInUp 1s ease-out;
            display: flex;
            flex-direction: column;
        }
        .mobile-navbar-menu .mobile-top-link.active {
            background: rgba(10, 24, 73, 0.8) !important;
            color: white !important;
        }
         .mobile-navbar-menu .mobile-nav-link.active {
            background: rgba(242, 101, 56, 0.2) !important;
            color: var(--primary-orange) !important;
        }

        .engineering-card:nth-child(2) {
            animation-delay: 0.2s;
        }

        .engineering-card:nth-child(3) {
            animation-delay: 0.4s;
        }

       .engineering-card:hover {
  transform: translateY(-10px) scale(1.02);
  background: #fff;                /* eski pembe: rgba(242, 101, 56, 0.05) */
  border-color: #ffffff;
  box-shadow: 0 20px 40px rgba(242, 101, 56, 0.2);
}


        .card-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            min-height: 64px;
            margin-bottom: 1.5rem;
            flex-shrink: 0;
        }

        .card-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(45deg, #f26538, #ff8561);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            flex-shrink: 0;
        }

        .card-title {
            font-size: 1.4rem;
            font-weight: 600;
            color: #1a1a1a;
            line-height: 1.2;
            flex: 1; /* Başlığın kalan alanı kaplaması için */
        }

        .card-image-container {
            width: 100%;
            height: 200px;
            margin-bottom: 1.5rem;
            border-radius: 12px;
            overflow: hidden;
            border: 2px solid rgba(242,101,56,.3);
            transition: border-color .3s ease;
            flex-shrink: 0;
            position: relative;
            background: #ffffff
        }

        .card-image {
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center;
            transition: transform .3s ease;
            display: block;
        }

        .engineering-card:hover .card-image-container {
            border-color: #f26538;
        }

        .engineering-card:hover .card-image {
            transform: scale(1.05);
        }

        .card-description {
            font-size: 1rem;
            line-height: 1.6;
            color: #333;
            opacity: 0.9;
            flex-grow: 1;
            margin-bottom: 1rem;
            text-align: justify;
            min-height: 4.8rem; /* Bu satırı ekleyin - 3 satır için minimum yükseklik */
    display: flex; /* Bu satırı ekleyin */
    align-items: flex-start; /* Bu satırı ekleyin */
        }

        .expand-indicator {
            position: absolute;
            bottom: 1rem;
            right: 1rem;
            width: 40px;
            height: 40px;
            background: linear-gradient(45deg, #f26538, #ff8561);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            font-size: 1.2rem;
            color: white;
        }

        .engineering-card:hover .expand-indicator {
            transform: rotate(180deg) scale(1.1);
        }

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(15, 23, 42, 0.85);
            backdrop-filter: blur(3px);
            z-index: 1000;
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.3s ease-out;
        }

        .modal-content {
            background: #ffffff;
            border-radius: 16px;
            padding: 2.5rem;
            max-width: 900px;
            width: 90%;
            max-height: 85%;
            overflow-y: auto;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
            position: relative;
            animation: slideInUp 0.4s ease-out;
            border: 1px solid rgba(242, 101, 56, 0.1);
        }

        .modal-close {
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            width: 36px;
            height: 36px;
            background: rgba(15, 23, 42, 0.1);
            border: none;
            border-radius: 8px;
            color: #64748b;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .modal-close:hover {
            background: #f26538;
            color: white;
            transform: scale(1.05);
        }

        .modal-title {
            font-size: 2rem;
            color: #0f172a;
            margin-bottom: 1.5rem;
            font-weight: 600;
            letter-spacing: -0.025em;
        }

        .modal-image {
            width: 100%;
            max-height: 350px;
            object-fit: contain;
            border-radius: 12px;
            margin-bottom: 2rem;
            border: 1px solid #e2e8f0;
            background: #ffffff;
            padding: 1rem;
        }

        .modal-description {
            font-size: 1rem;
            line-height: 1.7;
            color: #475569;
        }

        .modal-description p {
            margin-bottom: 1.5rem;
        }

        .modal-description strong {
            color: #0f172a;
            font-weight: 600;
        }

        .modal-description ul {
            margin: 1rem 0 1.5rem 0;
            padding-left: 0;
        }

        .modal-description li {
            list-style: none;
            position: relative;
            padding: 0.5rem 0 0.5rem 2rem;
            border-bottom: 1px solid #f1f5f9;
        }

        .modal-description li:last-child {
            border-bottom: none;
        }

        .modal-description li::before {
            content: "•";
            color: #f26538;
            font-weight: bold;
            position: absolute;
            left: 0.5rem;
            top: 0.5rem;
        }

       
/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Slide In Up Animation */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth Scrollbar for Modal Content */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 768px) {
    .cards-container {
        flex-direction: column;
        align-items: center;
    }
    
    .engineering-card {
        width: 100%;
        max-width: 400px;
    }
    
    .header h1 {
        font-size: 2.5rem;
    }
}