@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 70px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a202c;
    overflow-x: hidden;
    background: #f8fafc;
}

/* ===================================================
   NAVBAR & DİL SEÇİCİ
   =================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #FFFFFF;
    padding: 1.5rem 5%;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(71, 85, 105, 0.1);
}

.navbar .nav-container {
    max-width: 1400px;
    margin: 0 auto;
    gap: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.2rem;
    margin: 0 auto;
}

.nav-links a {
    text-decoration: none;
    color: #1a202c;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #475569;
}

.nav-links a.active {
    font-weight: 600;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #475569, #64748b);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-right-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: default;
    user-select: none;
}

.nav-phone .phone-number {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
}

.nav-languages {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-left: 1px solid #e2e8f0;
    padding-left: 1.2rem;
}

.lang-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    padding: 4px 6px;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.lang-divider {
    color: #cbd5e1;
    font-size: 0.85rem;
    user-select: none;
}

.lang-btn:hover {
    color: #0f172a;
    background: rgba(0, 0, 0, 0.04);
}

.lang-btn.active {
    color: #0f172a;
    font-weight: 700;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu span {
    width: 28px;
    height: 3px;
    background: #475569;
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* ===================================================
   HERO / HAKKIMIZDA BÖLÜMÜ
   =================================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, #1e293b 0%, #475569 50%, #64748b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.tech-medical-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.tech-medical-bg svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-content {
    max-width: 900px;
    padding: 0 2rem;
    margin-top: 8rem;
    transform: translateY(50px);
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards;
    z-index: 2;
    position: relative;
}

@keyframes fadeInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero h1 {
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero-desc-group p {
    font-size: 1.15rem;
    line-height: 1.75;
    margin-bottom: 1.2rem;
    opacity: 0.95;
    font-weight: 300;
}

.hero-desc-group p:last-child {
    margin-bottom: 0;
}

/* ===================================================
   GENEL BÖLÜM VE BAŞLIK AYARLARI
   =================================================== */
.section {
    padding: 8rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 0 !important;
    color: #1e293b;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    letter-spacing: -1px;
}

.section-title.animate {
    opacity: 1;
    transform: translateY(0);
}

.services-layout-custom {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 850px;
    margin: 40px auto 0 auto !important;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    width: 100%;
}

/* ===================================================
   HİZMETLER BÖLÜMÜ
   =================================================== */
.services {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f8fafc 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="diagonals" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M0,20 L20,0" stroke="rgba(71,85,105,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23diagonals)"/></svg>');
}

.services-container {
    position: relative;
    z-index: 2;
}

.service-card-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.services-layout-custom .service-card-item {
    background-color: #ffffff !important;
    background-image: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), 
                      url('images/logo.jpg') !important;
    background-position: center 35px !important; /* Logoyu hafif yukarı dengeler */
    background-size: 320px auto !important;     /* contain yerine sabit boyut ile logoyu küçültür */
    background-repeat: no-repeat !important;
}

.service-card-item h4,
.service-card-item .tab-content h4 {
    margin: 0 0 8px 0 !important;
    font-size: 1.15rem !important;
    color: #1e293b !important;
    font-weight: 700 !important;
}

.service-card-item p,
.service-card-item .tab-content p,
.service-closing-text {
    margin: 0 !important;
    font-size: 0.95rem !important;
    color: #64748b !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
}

.service-subtext {
    font-size: 0.95rem;
    font-weight: 500;
    color: #334155;
    margin-top: 12px;
    margin-bottom: 6px;
}

.device-model-list {
    list-style: disc inside;
    margin: 10px 0 0 4px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 24px;
}

.device-model-list li {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
    font-weight: 400;
}

.device-model-list li strong {
    font-weight: 500;
    color: #1e293b;
}

.service-closing-text {
    margin-top: 14px !important;
    line-height: 1.6 !important;
}

/* 4'lü Kare Fotoğraf Galerisi */
.service-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    width: 100%;
}

.gallery-square-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-square-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.gallery-square-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ===================================================
   ÜRÜNLER BÖLÜMÜ
   =================================================== */
.about-section {
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-image:
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 100px),
        repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 100px);
}

.about-section h2.section-title {
    color: #ffffff !important;
}

.about-section .product-card-item {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 16px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: left;
}

.about-section .product-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.about-section .services-layout-custom .product-card-item:not(.product-gallery-card):not(.contact-card) {
    background: #ffffff !important;
}

.about-section .product-card-item h4 {
    margin: 0;
    font-size: 1.15rem;
    color: #1e293b;
    font-weight: 700;
}

/* Ürün Galerisi Kutusu */
.product-card-item.product-gallery-card {
    background: rgba(255, 255, 255, 0.95) !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 24px 28px !important;
}

.product-gallery-card .tab-content {
    width: 100%;
}

.product-gallery-card .service-gallery-grid {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: none !important;
}

/* ===================================================
   BATARYA YENİLEME BÖLÜMÜ
   =================================================== */
#battery.testimonials {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 50%, #f8fafc 100%) !important;
    position: relative;
    overflow: hidden;
}

#battery.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    background-image: 
        radial-gradient(rgba(71, 85, 105, 0.12) 1px, transparent 1px),
        linear-gradient(45deg, rgba(71, 85, 105, 0.03) 25%, transparent 25%, transparent 75%, rgba(71, 85, 105, 0.03) 75%, rgba(71, 85, 105, 0.03)),
        linear-gradient(45deg, rgba(71, 85, 105, 0.03) 25%, transparent 25%, transparent 75%, rgba(71, 85, 105, 0.03) 75%, rgba(71, 85, 105, 0.03));
    background-size: 32px 32px, 60px 60px, 60px 60px;
    background-position: 0 0, 0 0, 30px 30px;
}

#battery .section {
    position: relative;
    z-index: 2;
}

#battery .battery-card {
    background-color: #ffffff !important;
    background-image: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), 
                      url('images/logo.jpg') !important;
    background-position: center 65px !important; /* 40px yerine 65px yaparak logoyu biraz aşağı indirir */
    background-size: 260px auto !important;
    background-repeat: no-repeat !important;
}
.battery-card .battery-lead {
    font-size: 1.15rem !important;
    font-weight: 500;
    color: #1e293b !important;
    margin-bottom: 16px !important;
    line-height: 1.7;
}

.battery-list {
    list-style: disc inside;
    margin: 12px 0 16px 12px;
    padding: 0;
}

.battery-list li {
    font-size: 1.05rem;
    font-weight: 400;
    color: #334155;
    line-height: 1.8;
    margin-bottom: 8px;
}

.battery-card .battery-closing {
    font-size: 1.1rem !important;
    font-weight: 500;
    color: #1e293b !important;
    margin-bottom: 20px !important;
}

.battery-inline-photos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    width: 100%;
}

.battery-photo-thumb {
    height: 130px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.battery-photo-thumb:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.battery-photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    display: block;
}

/* ===================================================
   KALİTE BÖLÜMÜ
   =================================================== */
#quality.about-section {
    background: linear-gradient(135deg, #334155 0%, #475569 50%, #334155 100%) !important;
}

#quality::before {
    background-image:
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.07) 1px, transparent 1px, transparent 70px),
        repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.07) 1px, transparent 1px, transparent 70px) !important;
}

#quality .product-card-item {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

/* ===================================================
   İLETİŞİM BÖLÜMÜ
   =================================================== */
.contact-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1100px;
    margin: 40px auto 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    align-items: stretch;
}

.contact-grid-container .product-card-item.contact-card {
    background: #ffffff !important;
    padding: 32px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 320px;
    margin: 0;
}
.contact-card .tab-content h4 {
    font-size: 1.2rem;
    margin-bottom: 18px;
    color: #0f172a;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

.contact-card .contact-details {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-card .contact-details p {
    color: #3f4d61 !important;
    font-size: 0.95rem !important;
    line-height: 1.6;
    margin: 0;
}

.contact-card .contact-details strong {
    color: #7c0909 !important;
    font-weight: 500;
    margin-right: 6px;
}

.contact-map-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    min-height: 320px;
}

.contact-map-card iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
}

/* ===================================================
   FOOTER & ANİMASYONLAR
   =================================================== */
.footer {
    background: #0f172a;
    color: white;
    padding: 3rem 5% 2rem;
    text-align: center;
    border-top: 1px solid rgba(71, 85, 105, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #64748b;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================================
   MOBİL VE TABLET DUYARLILIK (RESPONSIVE)
   =================================================== */
@media (max-width: 1250px) {
    .nav-links {
        gap: 1.4rem;
    }
    .nav-links a {
        font-size: 0.88rem;
    }
    .nav-right-actions {
        gap: 1rem;
    }
}

@media (max-width: 940px) {
    .navbar {
        padding: 0.6rem 3% !important;
    }

    .navbar .nav-container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 6px !important;
        width: 100% !important;
    }

    .logo {
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    .logo img {
        height: 38px !important; /* Mobilde logonun sağındaki butonlara yer açar */
        width: auto !important;
    }

    /* Mobilde gizlenen buton grubunu logonun yanında zorla göster */
    .nav-right-actions {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        margin-left: auto !important;
        margin-right: 6px !important;
        flex-shrink: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 1002 !important;
    }

    /* Mobilde uzun telefon numarasını gizleyip sadece tıklanabilir ikonu bırakır */
    .nav-phone .phone-number {
        display: none !important;
    }

    .nav-phone a,
    .nav-phone {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #f1f5f9;
        border-radius: 8px;
        padding: 5px 7px !important;
    }

    .nav-phone svg {
        width: 18px !important;
        height: 18px !important;
        fill: #1e293b !important;
    }

    /* Dil Butonları Düzeni */
    .nav-languages {
        display: flex !important;
        align-items: center !important;
        padding-left: 6px !important;
        gap: 2px !important;
        border-left: 1px solid #cbd5e1 !important;
    }

    .lang-btn {
        padding: 2px 4px !important;
        font-size: 0.8rem !important;
        font-weight: 700 !important;
    }

    .lang-divider {
        font-size: 0.75rem !important;
        margin: 0 1px !important;
    }

    .mobile-menu {
        display: flex !important;
        flex-shrink: 0 !important;
        z-index: 1002 !important;
    }

    .mobile-menu span {
        width: 24px !important;
        height: 2.5px !important;
        margin: 3px 0 !important;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(248, 250, 252, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem 5%;
        box-shadow: 0 10px 30px rgba(71, 85, 105, 0.1);
        border-radius: 0 0 20px 20px;
    }

    .nav-links.active {
        display: flex !important;
    }

    .section {
        padding: 5rem 5% !important;
    }

    .footer-content {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1.5rem !important;
    }

    .footer-links {
        flex-direction: column !important;
        gap: 1rem !important;
    }
}

@media (max-width: 860px) {
    .contact-grid-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .service-gallery-grid,
    .product-gallery-card .service-gallery-grid,
    .battery-inline-photos {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .battery-photo-thumb {
        height: 110px;
        padding: 8px;
    }

    .service-card-item,
    .about-section .product-card-item {
        padding: 18px 16px !important;
    }

    .device-model-list {
        grid-template-columns: 1fr !important;
        gap: 6px !important;
    }

    /* Mobilde Hakkımızda / Hero Düzenlemesi */
    .hero {
        height: auto !important;
        min-height: 100vh !important;
        padding: 120px 20px 60px 20px !important;
    }

    .hero-content {
        margin-top: 0 !important;
        padding: 0 !important;
    }

    .hero h1 {
        font-size: 2.2rem !important;
        margin-bottom: 1.5rem !important;
    }

    .hero-desc-group p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1rem !important;
    }
}