/* Mega Menu CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header Styles */
.header {
    background: #3878C3;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    margin-top: -20px;
}

.header.scrolled {
    background: rgba(56, 120, 195, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    margin-top: -20px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
}

/* Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 40px;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: white !important;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.nav-link:hover {
    color: #F53D05 !important;
}

.nav-link.has-dropdown::after {
    content: "▼";
    font-size: 12px;
    transition: transform 0.3s ease;
}

.nav-link.has-dropdown.active::after {
    transform: rotate(180deg);
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-radius: 12px;
    width: 900px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 10px;
    max-height: 0;
    overflow: hidden;
}

.mega-menu.active {
    opacity: 1;
    visibility: visible;
    max-height: 700px;
    transform: translateX(-50%) translateY(0);
}

/* Tab Navigation */
.mega-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
    padding-top: 20px;
}

.mega-tab {
    flex: 1;
    padding: 15px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    border-radius: 12px 12px 0 0;
    font-family: 'Quicksand', sans-serif;
}

.mega-tab:hover {
    background: #e9ecef;
    color: #333;
}

.mega-tab.active {
    background: #F53D05;
    color: white;
    border-bottom: 2px solid #F53D05;
}

/* Tab Content */
.mega-content {
    padding: 30px 20px;
    min-height: 350px;
}

.mega-tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.mega-tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Location Tab Content */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.location-column h4 {
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #F53D05;
    display: inline-block;
}

.location-column ul {
    list-style: none;
}

.location-column ul li {
    margin-bottom: 12px;
}

.location-column ul li a {
    color: #333 !important;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
}

.location-column ul li a:hover {
    color: #F53D05 !important;
    padding-left: 10px;
}

/* Dijital Pazarlama Tab */
.digital-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.digital-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none !important;
    color: inherit !important;
    display: block;
}

.digital-card:hover {
    background: #fff;
    border-color: #F53D05;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: inherit !important;
    text-decoration: none !important;
}

.digital-card .icon {
    font-size: 32px;
    margin-bottom: 10px;
    color: inherit;
}

.digital-card h5 {
    color: #2c3e50 !important;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
}

.digital-card p {
    font-size: 14px;
    color: #666 !important;
    line-height: 1.4;
}

.digital-card:visited {
    color: inherit !important;
}

.digital-card:active {
    color: inherit !important;
}

/* Sektörel Hizmetler Tab */
.sector-column {
    max-width: 400px;
}

.sector-column h4 {
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #F53D05;
    display: inline-block;
}

.sector-column ul {
    list-style: none;
}

.sector-column ul li {
    margin-bottom: 15px;
}

.sector-column ul li a {
    color: #333 !important;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.sector-column ul li a:hover {
    color: #F53D05 !important;
}

.sector-column ul li a small {
    display: block;
    color: #999;
    font-size: 12px;
    margin-top: 3px;
}

/* CTA Section */
.cta-section {
    background: #F53D05;
    color: white !important;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-top: 20px;
    width: calc(100% - 40px);
    margin-left: 20px;
    margin-right: 20px;
    box-sizing: border-box;
}

.cta-section h4 {
    margin-bottom: 15px;
    font-size: 18px;
    color: white !important;
}

.cta-section p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.cta-button {
    background: rgba(255, 255, 255, 0.2);
    color: white !important;
    padding: 12px 25px;
    border: 2px solid white;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    backdrop-filter: blur(10px);
    font-family: 'Quicksand', sans-serif;
}

.cta-button:hover {
    background: white;
    color: #F53D05 !important;
    transform: translateY(-2px);
}

/* Header CTA Button */
.header-cta {
    background: #F53D05;
    color: white !important;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(245, 61, 5, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Quicksand', sans-serif;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 61, 5, 0.4);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        gap: 20px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu .nav-link {
        color: #333 !important;
    }

    .mobile-toggle {
        display: block;
    }

    /* Mobile Simple Dropdown */
    .mobile-services-dropdown {
        display: block;
        background: #f8f9fa;
        border-radius: 8px;
        padding: 10px 0;
        margin-top: 10px;
        width: 100%;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .mobile-services-dropdown a {
        display: block;
        padding: 12px 20px;
        color: #333 !important;
        text-decoration: none;
        font-size: 14px;
        border-bottom: 1px solid #eee;
        transition: all 0.3s ease;
    }

    .mobile-services-dropdown a:last-child {
        border-bottom: none;
    }

    .mobile-services-dropdown a:hover {
        background: #e9ecef;
        color: #F53D05 !important;
    }

    /* Hide mega menu on mobile */
    .mega-menu {
        display: none !important;
    }

    .header-cta {
        display: none;
    }
}

@media (max-width: 1024px) {
    .mega-menu {
        width: 700px;
    }
}

@media (max-width: 900px) {
    .mega-menu {
        width: 600px;
    }
}

/* ===== SEKTÖREL HİZMETLER İKİ SÜTUN YAPISI - BURADAN SONRA EKLE ===== */

/* Ana grid container */
.sectors-grid {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    align-items: flex-start;
}

/* Her bir sütun eşit genişlikte */
.sector-column {
    flex: 1;
    min-width: 0; /* Flex overflow fix */
}

/* Sütun başlıkları için stil */
.sector-column h4 {
    color: #4877BD;
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #F53D05;
    font-weight: bold;
}

/* Liste elemanları için iyileştirme */
.sector-column ul li {
    margin-bottom: 12px;
}

.sector-column ul li a {
    display: block;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sector-column ul li a:hover {
    background: #fff;
    border-left-color: #F53D05;
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sector-column ul li a small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
    line-height: 1.4;
}

/* Mobil responsive */
@media (max-width: 768px) {
    .sectors-grid {
        flex-direction: column;
        gap: 20px;
    }
    
    .sector-column h4 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .sector-column ul li a {
        padding: 10px 12px;
    }
}

/* Tablet için orta boyut */
@media (max-width: 1024px) and (min-width: 769px) {
    .sectors-grid {
        gap: 20px;
    }
    
    .sector-column h4 {
        font-size: 17px;
    }
}
/* ===== SEKTÖREL HİZMETLER - EN GÜÇLÜ OVERRİDE ===== */
div.mega-tab-panel#sectors div.sectors-grid {
    display: flex !important;
    flex-direction: row !important;
    gap: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

div.mega-tab-panel#sectors div.sectors-grid div.sector-column {
    flex: 1 !important;
    width: 50% !important;
    max-width: none !important;  /* BU SATIR ÖNEMLİ! */
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    float: none !important;
    clear: none !important;
}

div.mega-tab-panel#sectors div.sectors-grid div.sector-column:first-child {
    margin-right: 15px !important;
}

div.mega-tab-panel#sectors div.sectors-grid div.sector-column:last-child {
    margin-left: 15px !important;
}

@media (max-width: 768px) {
    div.mega-tab-panel#sectors div.sectors-grid {
        flex-direction: column !important;
    }
    
    div.mega-tab-panel#sectors div.sectors-grid div.sector-column {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
}