/* CSS/corporate.css - Kurumsal Menü ve Sayfalar İçin Profesyonel Stiller */
/* ============================================
   MÜKEMMEL DROPDOWN DÜZELTMESI
   corporate.css dosyanızdaki dropdown stillerini 
   bunlarla DEĞİŞTİRİN (override edin)
   ============================================ */

/* Navigation içindeki dropdown container */
.nav-menu .dropdown-menu-container {
    position: relative;
    display: flex;
    align-items: center;
}

/* Dropdown toggle button - TAM NAV-LINK UYUMU */
.nav-menu .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    height: auto;
    vertical-align: baseline;
}

/* Hover efekti - diğer menüler gibi */
.nav-menu .dropdown-toggle:hover,
.nav-menu .dropdown-toggle.active {
    color: #00c4cc;
}

/* Alt çizgi animasyonu - AYNI YÜKSEKLIKTE */
.nav-menu .dropdown-toggle::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #00c4cc, #0056b3);
    transition: width 0.3s ease;
}

.nav-menu .dropdown-toggle:hover::after,
.nav-menu .dropdown-toggle.active::after {
    width: 100%;
}

/* Dropdown icon - daha küçük ve uyumlu */
.nav-menu .dropdown-icon {
    transition: transform 0.3s ease;
    font-size: 8px;
    opacity: 0.6;
    display: inline-block;
    margin-left: 3px;
    line-height: 1;
}

.nav-menu .dropdown-toggle:hover .dropdown-icon {
    opacity: 1;
}

.nav-menu .dropdown-toggle.active .dropdown-icon {
    transform: rotate(180deg);
    opacity: 1;
}

/* Dropdown content */
.nav-menu .dropdown-content {
    position: absolute;
    top: calc(100% + 20px);
    left: 0;
    min-width: 320px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow: hidden;
    border: 2px solid #f0f0f0;
}

.nav-menu .dropdown-content.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown items */
.nav-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 25px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 500;
    font-size: 14px;
    text-transform: none;
    letter-spacing: normal;
}

.nav-menu .dropdown-item:last-child {
    border-bottom: none;
}

.nav-menu .dropdown-item:hover {
    background: linear-gradient(135deg, rgba(0, 196, 204, 0.1), rgba(0, 86, 179, 0.1));
    padding-left: 30px;
}

.nav-menu .dropdown-item.active {
    background: linear-gradient(135deg, rgba(0, 196, 204, 0.15), rgba(0, 86, 179, 0.15));
    border-left: 4px solid #00c4cc;
}

/* Dropdown item icon */
.nav-menu .dropdown-item-icon {
    font-size: 22px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00c4cc, #0056b3);
    color: white;
    border-radius: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.nav-menu .dropdown-item:hover .dropdown-item-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 15px rgba(0, 196, 204, 0.3);
}

/* FONKSİYONEL ÖNEMLİ: Focus states */
.nav-menu .dropdown-toggle:focus {
    outline: 2px solid #00c4cc;
    outline-offset: 4px;
    border-radius: 4px;
}

.nav-menu .dropdown-toggle:focus:not(:focus-visible) {
    outline: none;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .nav-menu .dropdown-toggle {
        width: auto;
        padding: 0 !important;
        justify-content: center;
        font-size: 14px;
    }
    
    .nav-menu .dropdown-content {
        position: fixed;
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
        min-width: 90vw;
        max-width: 400px;
        top: auto;
        margin-top: 10px;
    }
    
    .nav-menu .dropdown-content.show {
        transform: translateX(-50%) translateY(0);
    }
    
    /* Mobile menü açıkken */
    .nav-menu.active .dropdown-menu-container {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .nav-menu.active .dropdown-toggle {
        width: auto;
    }
}

/* Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-menu .dropdown-content {
        min-width: 280px;
    }
}

/* EXTRA: Smooth transitions */
.nav-menu .dropdown-content {
    transition: 
        opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animation keyframes */
@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-menu .dropdown-content.show {
    animation: dropdownFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* CRITICAL: Tüm tarayıcılarda tutarlılık */
.nav-menu .dropdown-toggle * {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}

/* Safari ve WebKit tarayıcılar için */
.nav-menu .dropdown-toggle {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Button reset - tüm default stiller kaldırıldı */
.nav-menu .dropdown-toggle {
    box-shadow: none !important;
    outline-offset: 0 !important;
}

.nav-menu .dropdown-toggle::-moz-focus-inner {
    border: 0;
    padding: 0;
}
/* ============================================
   DROPDOWN MENU STYLES
   ============================================ */

.dropdown-menu-container {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #00c4cc, #0056b3);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 196, 204, 0.3);
}

.dropdown-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 196, 204, 0.4);
}

.dropdown-icon {
    transition: transform 0.3s ease;
    font-size: 12px;
}

.dropdown-toggle.active .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 320px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.dropdown-content.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 25px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 500;
    font-size: 14px;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(0, 196, 204, 0.1), rgba(0, 86, 179, 0.1));
    padding-left: 30px;
}

.dropdown-item-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00c4cc, #0056b3);
    color: white;
    border-radius: 12px;
    flex-shrink: 0;
}

.dropdown-item:hover .dropdown-item-icon {
    transform: scale(1.1) rotate(5deg);
}


/* ============================================
   CORPORATE SECTIONS STYLES
   ============================================ */

.corporate-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.corporate-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease;
}

.corporate-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #0056b3;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.corporate-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #00c4cc, #0056b3);
    border-radius: 2px;
}

.corporate-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 20px auto 0;
}


/* ============================================
   DIRECTOR SECTION
   ============================================ */

.director-container {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease;
}

.director-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 0;
}

.director-profile {
    background: linear-gradient(135deg, #00c4cc, #0056b3);
    padding: 60px 40px;
    text-align: center;
    position: relative;
}

.director-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.3;
}

.director-photo {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: white;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.director-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.director-photo-placeholder {
    font-size: 100px;
}

.director-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.director-position {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.director-info {
    padding: 60px 50px;
}

.info-block {
    margin-bottom: 40px;
    padding-left: 20px;
    border-left: 4px solid #00c4cc;
    animation: fadeInRight 0.8s ease;
}

.info-block:nth-child(2) {
    border-left-color: #0056b3;
    animation-delay: 0.2s;
}

.info-block:nth-child(3) {
    border-left-color: #00c4cc;
    animation-delay: 0.4s;
}

.info-block h4 {
    font-size: 1.5rem;
    color: #0056b3;
    margin-bottom: 15px;
    font-weight: 600;
}

.info-block p {
    color: #666;
    line-height: 1.8;
    font-size: 1.05rem;
}

.info-block ul {
    list-style: none;
    padding: 0;
}

.info-block ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #666;
    line-height: 1.6;
}

.info-block ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00c4cc;
    font-weight: bold;
    font-size: 18px;
}


/* ============================================
   DEPUTY DIRECTORS SECTION
   ============================================ */

.deputies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    animation: fadeInUp 0.8s ease;
}

.deputy-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.deputy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 196, 204, 0.2);
}

.deputy-header {
    background: linear-gradient(135deg, #00c4cc, #0056b3);
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

.deputy-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: white;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.deputy-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.deputy-photo-placeholder {
    font-size: 70px;
}

.deputy-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.deputy-position {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.deputy-body {
    padding: 30px;
}

.deputy-detail {
    margin-bottom: 25px;
}

.deputy-detail:last-child {
    margin-bottom: 0;
}

.deputy-detail h5 {
    font-size: 1.1rem;
    color: #0056b3;
    margin-bottom: 10px;
    font-weight: 600;
}

.deputy-detail p {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}


/* ============================================
   ORGANIZATION CHART SECTION
   ============================================ */

.org-chart-container {
    background: white;
    border-radius: 30px;
    padding: 60px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease;
}

.org-level {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.org-box {
    background: linear-gradient(135deg, #00c4cc, #0056b3);
    color: white;
    padding: 25px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 196, 204, 0.3);
    text-align: center;
    transition: all 0.3s ease;
}

.org-box:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 196, 204, 0.4);
}

.org-box-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.org-box-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

.org-box-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 5px;
}

.org-level-deputy .org-box {
    background: rgba(0, 196, 204, 0.15);
    color: #0056b3;
    border: 2px solid #00c4cc;
}

.org-level-department .org-box {
    background: rgba(0, 86, 179, 0.1);
    color: #0056b3;
    border: 2px solid rgba(0, 86, 179, 0.3);
    padding: 20px 30px;
}

.org-connection {
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, #00c4cc, #0056b3);
    margin: 0 auto;
}

.org-connection-horizontal {
    display: flex;
    justify-content: center;
    gap: 100px;
    margin: 20px 0;
}

.org-connection-horizontal .org-connection {
    width: 2px;
    height: 40px;
}


/* ============================================
   QUALITY POLICY SECTION
   ============================================ */

.quality-blocks {
    display: grid;
    gap: 40px;
}

.quality-block {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease;
}

.quality-block:nth-child(2) {
    animation-delay: 0.2s;
}

.quality-block:nth-child(3) {
    animation-delay: 0.4s;
}

.quality-block-header {
    background: linear-gradient(135deg, #00c4cc, #0056b3);
    padding: 40px 50px;
    display: flex;
    align-items: center;
    gap: 25px;
}

.quality-icon {
    font-size: 60px;
    background: white;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.quality-block-header h3 {
    font-size: 2.5rem;
    color: white;
    font-weight: 700;
    margin: 0;
}

.quality-block-body {
    padding: 50px;
}

.quality-block-body p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #666;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.value-item {
    background: linear-gradient(135deg, rgba(0, 196, 204, 0.05), rgba(0, 86, 179, 0.05));
    padding: 30px;
    border-radius: 20px;
    border: 2px solid rgba(0, 196, 204, 0.2);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    border-color: #00c4cc;
    box-shadow: 0 10px 30px rgba(0, 196, 204, 0.2);
}

.value-icon {
    font-size: 45px;
    margin-bottom: 15px;
    display: block;
}

.value-item h4 {
    font-size: 1.3rem;
    color: #0056b3;
    margin-bottom: 10px;
    font-weight: 600;
}

.value-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}


/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .director-layout {
        grid-template-columns: 1fr;
    }
    
    .director-profile {
        padding: 50px 30px;
    }
    
    .director-info {
        padding: 40px 30px;
    }
    
    .deputies-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .org-connection-horizontal {
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .corporate-header h2 {
        font-size: 2.2rem;
    }
    
    .corporate-header p {
        font-size: 1rem;
    }
    
    .dropdown-content {
        min-width: 280px;
    }
    
    .director-photo {
        width: 180px;
        height: 180px;
    }
    
    .director-name {
        font-size: 1.5rem;
    }
    
    .director-info {
        padding: 30px 25px;
    }
    
    .info-block h4 {
        font-size: 1.3rem;
    }
    
    .deputies-grid {
        grid-template-columns: 1fr;
    }
    
    .org-chart-container {
        padding: 40px 20px;
    }
    
    .org-box {
        padding: 20px 25px;
    }
    
    .quality-block-header {
        padding: 30px 25px;
        flex-direction: column;
        text-align: center;
    }
    
    .quality-icon {
        font-size: 50px;
        width: 80px;
        height: 80px;
    }
    
    .quality-block-header h3 {
        font-size: 2rem;
    }
    
    .quality-block-body {
        padding: 30px 25px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .corporate-section {
        padding: 60px 0;
    }
    
    .corporate-header h2 {
        font-size: 1.8rem;
    }
    
    .dropdown-toggle {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .dropdown-content {
        min-width: 260px;
    }
    
    .dropdown-item {
        padding: 15px 20px;
        font-size: 13px;
    }
    
    .director-photo {
        width: 150px;
        height: 150px;
    }
    
    .director-photo-placeholder {
        font-size: 70px;
    }
    
    .org-connection-horizontal {
        flex-direction: column;
        gap: 20px;
    }
    
    .quality-icon {
        width: 70px;
        height: 70px;
        font-size: 40px;
    }
}