/*
Theme Name: Manufacturing Child
Theme URI:
Description: Manufacturing teması için child tema
Author: Your Name
Author URI:
Template: manufacturing
Version: 1.0.0
*/

/* Ana temadan stilleri devral */
@import url("../manufacturing/style.css");

/* Product Table Styles */
.product-table-wrapper {
    margin: 30px 0;
    padding: 0 15px;
}

.table-controls {
    margin-bottom: 20px;
}

.search-input {
    width: 100%;
    max-width: 300px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.table-container {
    overflow-x: auto;
}

.products-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: #fff;
}

.products-table th,
.products-table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #ddd;
}

.products-table th {
    background-color: #f5f5f5;
    font-weight: 600;
    color: #333;
}

.products-table tbody tr:hover {
    text-decoration: none;
}

/* Titlebar alignment fix */
.titlebar.columns .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.titlebar.columns .right {
    text-align: right;
    margin-left: auto;
}

/* Footer Styles */
.serkim-footer {
    background-color: #2b2b2b;
    color: #ffffff;
    padding: 60px 0 40px;
    text-align: center;
}

.serkim-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Footer Navigation */
.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
    font-size: 15px;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 400;
}

.footer-nav a:hover {
    color: #00a8e8;
    text-decoration: none;
}

/* Footer Logo */
.footer-logo {
    margin-bottom: 40px;
}

.footer-logo img {
    max-width: 250px;
    height: auto;
}

/* Footer Info */
.footer-info {
    margin-bottom: 30px;
    line-height: 1.8;
}

.footer-info .company-name {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 400;
}

.footer-info .company-address,
.footer-info .company-contact {
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-info .text-link {
    color: #00a8e8;
}

.footer-info a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-info a:hover {
    color: #00a8e8;
    text-decoration: none;
}

.footer-info a.text-link {
    color: #00a8e8;
}

.footer-info a.text-link:hover {
    text-decoration: underline;
}

/* Footer Legal */
.footer-legal {
    margin: 25px 0;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-legal a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #00a8e8;
    text-decoration: underline;
}

.footer-legal .separator {
    margin: 0 5px;
}

/* Footer Social */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-social a {
    color: #ffffff;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social a:hover {
    color: #00a8e8;
    transform: translateY(-3px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

/* Footer CO2 */
.footer-co2 {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    opacity: 0.7;
}

.footer-co2 svg {
    width: 40px;
    height: 40px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .footer-nav {
        gap: 20px;
        font-size: 14px;
    }

    .footer-logo img {
        max-width: 200px;
    }

    .footer-info .company-name {
        font-size: 15px;
    }

    .footer-info .company-address,
    .footer-info .company-contact {
        font-size: 13px;
    }
}

/* World Map Styles - Serkim Custom */
.serkim-worldmap-section {
    padding: 60px 0;
    text-align: center;
}

.serkim-worldmap-section h2 {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.serkim-worldmap-section h4 {
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 40px;
    opacity: 0.9;
}

.serkim-locations-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin: 0 0 50px 0;
    padding: 0;
}

.serkim-locations-list li {
    margin: 0;
}

.serkim-locations-list a.serkim-location-btn {
    display: inline-block;
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.serkim-locations-list a.serkim-location-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.serkim-map-container {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.serkim-map-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Custom Map Pins - No conflicts with old map */
.serkim-map-pin {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #FFD700;
    border: 2px solid #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 500;
    transition: all 0.3s ease;
}

.serkim-map-pin::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background: #FF6B00;
    border-radius: 50%;
}

.serkim-map-pin:hover {
    transform: translate(-50%, -50%) scale(1.5);
    z-index: 600;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.serkim-map-pin:hover .serkim-map-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

/* Compact Tooltip - Text Only */
.serkim-map-tooltip {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translate(-50%, -5px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 8px 12px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 700;
    pointer-events: none;
}

.serkim-map-tooltip::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid rgba(255, 255, 255, 0.98);
}

.serkim-map-tooltip-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.serkim-map-tooltip-contact {
    font-size: 11px;
    line-height: 1.3;
    color: #666;
    margin: 0;
}

/* Responsive World Map */
@media (max-width: 1024px) {
    .serkim-worldmap-section h2 {
        font-size: 36px;
    }

    .serkim-worldmap-section h4 {
        font-size: 16px;
    }

    .serkim-locations-list {
        gap: 15px;
    }

    .serkim-locations-list a.serkim-location-btn {
        padding: 8px 20px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .serkim-worldmap-section {
        padding: 40px 20px;
    }

    .serkim-worldmap-section h2 {
        font-size: 28px;
    }

    .serkim-worldmap-section h4 {
        font-size: 14px;
    }

    /* Hide pins on mobile - they cause scrolling issues */
    .serkim-map-pin {
        display: none;
    }
}

/* Mobile Contact Bar Fix - Stack and Center */
@media (max-width: 768px) {
    /* Contact info bar - gray top bar */
    .top-contact-info,
    .header-top,
    .contact-bar,
    .top-bar-section {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 10px !important;
        gap: 8px !important;
    }

    /* Contact info items */
    .top-contact-info > *,
    .header-top > *,
    .contact-bar > * {
        width: 100% !important;
        text-align: center !important;
        display: block !important;
        margin: 0 !important;
        padding: 5px 0 !important;
    }

    /* Contact icons and text */
    .contact-info-item,
    .top-bar-left,
    .top-bar-right {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        float: none !important;
    }

    /* Address and phone text */
    .contact-address,
    .contact-phone,
    .header-info {
        font-size: 12px !important;
        line-height: 1.4 !important;
        display: block !important;
        width: 100% !important;
    }

    /* Icons next to text */
    .contact-icon {
        display: inline-block;
        margin-right: 5px;
    }
}