/* =============================================
   MEBILTECH - ANA STİL DOSYASI
   Güncel Sürüm: 08.08.2026
   ============================================= */

/* ===== RESET & TEMEL ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0A2647;
    --secondary: #FF6B35;
    --accent: #E63946;
    --light-bg: #F8F9FA;
    --dark-text: #212529;
    --gray-text: #6C757D;
    --white: #FFFFFF;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-text);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255,107,53,0.3);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-sm {
    padding: 10px 25px;
    font-size: 14px;
}

/* =============================================
   HEADER
   ============================================= */
header {
    background: var(--white);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}

header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 45px;
    width: auto;
    display: block;
}

/* ===== NAVIGATION ===== */
nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    font-weight: 600;
    font-size: 15px;
    padding: 8px 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* ===== MOBİL MENU TOGGLE ===== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--primary);
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.menu-toggle:hover {
    color: var(--secondary);
}

.menu-toggle:focus {
    outline: none;
}

/* ===== HEADER TELEFON ===== */
.phone-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--secondary);
    font-size: 18px;
}

.phone-header i {
    font-size: 20px;
    color: var(--secondary);
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.phone-link {
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
    line-height: 1.3;
}

.phone-link:hover {
    color: #e55a2b;
}

/* ===== MOBİL GÖRÜNÜM ===== */
@media (max-width: 768px) {
    .phone-header {
        font-size: 15px;
    }
    
    .phone-link {
        font-size: 14px;
    }
    
    .phone-header i {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .phone-header {
        font-size: 13px;
    }
    
    .phone-link {
        font-size: 12px;
    }
    
    .phone-header i {
        font-size: 15px;
    }
}

/* =============================================
   SLIDER (FULLSCREEN BANNER)
   ============================================= */
.fullscreen-slider {
    width: 100%;
    height: 750px;
    background: #f8f9fa;
    position: relative;
    margin-top: 80px;
    overflow: hidden;
}

.fullscreen-slider .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.fullscreen-slider .swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

.fullscreen-slider .slide-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 60px;
    color: #fff;
    text-align: left;
    width: 50%;
}

.fullscreen-slider .slide-content .slide-title {
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 10px;
    line-height: 1.2;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.fullscreen-slider .slide-content .slide-subtitle {
    font-size: 18px;
    font-weight: 400;
    margin: 0 0 20px;
    opacity: 0.9;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.fullscreen-slider .typewriter-wrapper {
    font-size: 22px;
    font-weight: 600;
    color: #FF6B35;
    min-height: 45px;
    margin-bottom: 25px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.fullscreen-slider .typewriter-cursor {
    display: inline-block;
    width: 3px;
    height: 1.2em;
    background: #FF6B35;
    margin-left: 3px;
    animation: blink 0.8s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.fullscreen-slider .btn-slide {
    display: inline-block;
    padding: 14px 40px;
    background: #FF6B35;
    color: white;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #FF6B35;
}

.fullscreen-slider .btn-slide:hover {
    background: transparent;
    color: #FF6B35;
}

.fullscreen-slider .swiper-button-next,
.fullscreen-slider .swiper-button-prev {
    color: #fff;
    background: rgba(0,0,0,0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.fullscreen-slider .swiper-button-next:hover,
.fullscreen-slider .swiper-button-prev:hover {
    background: #FF6B35;
    color: #fff;
}

.fullscreen-slider .swiper-button-next::after,
.fullscreen-slider .swiper-button-prev::after {
    font-size: 18px;
    font-weight: 700;
}

.fullscreen-slider .swiper-pagination {
    z-index: 10;
    bottom: 30px;
}

.fullscreen-slider .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.6;
    width: 12px;
    height: 12px;
}

.fullscreen-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: #FF6B35;
}

/* =============================================
   HERO BÖLÜMÜ (Slider yoksa)
   ============================================= */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, var(--primary) 0%, #1a3a6b 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    right: -100px;
    top: -100px;
    width: 600px;
    height: 600px;
    background: rgba(255,107,53,0.08);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--secondary);
}

.hero p {
    font-size: 20px;
    opacity: 0.9;
    max-width: 600px;
    margin-bottom: 35px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,107,53,0.2);
    color: var(--secondary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255,107,53,0.3);
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hero-stats .stat-item h3 {
    font-size: 36px;
    font-weight: 800;
    color: var(--secondary);
    margin: 0;
}

.hero-stats .stat-item p {
    font-size: 14px;
    opacity: 0.7;
    margin: 5px 0 0;
}

/* =============================================
   STATS (İstatistikler)
   ============================================= */
.stats {
    padding: 60px 0;
    background: var(--light-bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
}

.stat-item p {
    color: var(--gray-text);
    font-weight: 600;
    margin-top: 5px;
}

/* =============================================
   NEDEN BİZ (WHY US)
   ============================================= */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.why-card {
    background: white;
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.why-card .icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.why-card h4 {
    color: #0A2647;
    font-size: 18px;
    margin-bottom: 8px;
}

.why-card p {
    color: #6C757D;
    font-size: 14px;
    margin: 0;
}

/* =============================================
   HİZMETLER (SERVICES)
   ============================================= */
.services {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary);
}

.section-title p {
    color: var(--gray-text);
    max-width: 600px;
    margin: 10px auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    display: flex;
    flex-direction: column;
    background: var(--light-bg);
    padding: 35px 30px;
    border-radius: 16px;
    transition: var(--transition);
    border: 1px solid #e9ecef;
    text-align: center;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-color: var(--secondary);
}

.service-card .service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.service-card .icon {
    font-size: 52px;
    margin-bottom: 15px;
}

.service-card .icon img {
    height: 52px;
    width: auto;
}

.service-card h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 10px;
}

.service-card p {
    color: var(--gray-text);
    font-size: 14px;
    line-height: 1.6;
}

.service-card .btn-service {
    margin-top: auto;
    display: inline-block;
    padding: 10px 25px;
    background: var(--secondary);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid var(--secondary);
}

.service-card .btn-service:hover {
    background: transparent;
    color: var(--secondary);
}
/* ===== HİZMET DETAY SAYFASI MOBİL ===== */
@media (max-width: 768px) {
    .service-detail-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .service-detail-header h1 {
        font-size: 26px !important;
    }
    
    .service-detail-content .service-description {
        font-size: 15px !important;
    }
    
    .service-sidebar {
        padding: 20px !important;
    }
    
    /* Slider mobil düzenlemesi */
    .fullscreen-slider {
        height: 400px !important;
        margin-top: 70px !important;
    }
    
    .fullscreen-slider .slide-content {
        width: 90% !important;
        padding: 0 20px !important;
        text-align: center !important;
    }
    
    .fullscreen-slider .slide-content .slide-title {
        font-size: 24px !important;
    }
    
    .fullscreen-slider .slide-content .slide-subtitle {
        font-size: 14px !important;
    }
    
    .fullscreen-slider .typewriter-wrapper {
        font-size: 16px !important;
    }
    
    .fullscreen-slider .swiper-button-next,
    .fullscreen-slider .swiper-button-prev {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .fullscreen-slider {
        height: 350px !important;
    }
    
    .fullscreen-slider .slide-content .slide-title {
        font-size: 20px !important;
    }
}

/* =============================================
   MARKALAR (BRANDS - LOGO SLIDER)
   ============================================= */
.brands-section {
    padding: 60px 0;
    background: var(--light-bg);
    overflow: hidden;
    position: relative;
}

.brands-slider {
    width: 100%;
    padding: 20px 0;
    position: relative;
}

.brands-slider .swiper-wrapper {
    transition-timing-function: linear !important;
}

.brands-slider .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 80px;
    padding: 0 30px;
}

.brands-slider .brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: all 0.4s ease;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    cursor: default;
}

.brands-slider .brand-item:hover {
    opacity: 1 !important;
    filter: grayscale(0%) !important;
    -webkit-filter: grayscale(0%) !important;
    transform: scale(1.08);
}

.brands-slider .brand-item img {
    max-height: 50px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.brands-slider .brand-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.brands-slider .swiper-button-next,
.brands-slider .swiper-button-prev {
    color: #FF6B35;
    background: rgba(255,255,255,0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.brands-slider .swiper-button-next:hover,
.brands-slider .swiper-button-prev:hover {
    background: #FF6B35;
    color: white;
}

.brands-slider .swiper-button-next::after,
.brands-slider .swiper-button-prev::after {
    font-size: 16px;
    font-weight: 700;
}

/* =============================================
   VİDEO
   ============================================= */
.video-section {
    padding: 80px 0;
    background: var(--primary);
    color: white;
}

.video-section .video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.video-section .video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.video-section .video-wrapper video::-webkit-media-controls-panel {
    background: rgba(0,0,0,0.6);
}

/* =============================================
   BLOG
   ============================================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: white;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    transition: var(--transition);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.blog-card h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 10px;
}

.blog-card .blog-meta {
    font-size: 13px;
    color: #adb5bd;
    margin-bottom: 10px;
}

.blog-card .blog-meta span {
    margin-left: 15px;
}

.blog-card p {
    color: var(--gray-text);
    font-size: 14px;
    flex: 1;
}

.blog-card .btn-service {
    margin-top: 15px;
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.blog-card .btn-service:hover {
    color: var(--primary);
}

/* =============================================
   CTA (Çağrı Bölümü)
   ============================================= */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary) 0%, #e55a2b 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-section .btn-cta {
    background: white;
    color: var(--secondary);
    padding: 16px 50px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    border: 2px solid white;
}

.cta-section .btn-cta:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* =============================================
   FOOTER
   ============================================= */
footer {
    background: var(--primary);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-grid h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-grid ul {
    list-style: none;
}

.footer-grid ul li {
    margin-bottom: 10px;
}

.footer-grid ul li a {
    color: rgba(255,255,255,0.7);
}

.footer-grid ul li a:hover {
    color: var(--secondary);
}

.footer-grid ul li i {
    width: 20px;
    margin-right: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    text-align: center;
    font-size: 14px;
}

/* =============================================
   RESPONSIVE (Tüm cihazlar)
   ============================================= */

/* ===== TABLET (992px ve altı) ===== */
@media (max-width: 992px) {
    .services-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero h1 {
        font-size: 40px;
    }
    
    .fullscreen-slider .slide-content .slide-title {
        font-size: 38px;
    }
}

/* ===== MOBİL (768px ve altı) ===== */
@media (max-width: 768px) {
    /* Header */
    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background: white;
        padding: 20px 0;
        gap: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-radius: 0 0 12px 12px;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 999;
    }

    nav ul.open {
        display: flex;
    }

    nav ul li {
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 10px 20px;
        font-size: 16px;
        border-bottom: 1px solid #f1f1f1;
    }

    nav ul li a:hover {
        background: var(--light-bg);
    }

    .phone-header {
        font-size: 16px;
    }

    /* Hero */
    .hero h1 {
        font-size: 32px;
    }
    .hero p {
        font-size: 16px;
    }
    .hero-stats .stat-item h3 {
        font-size: 28px;
    }

    /* Slider */
    .fullscreen-slider {
        height: 500px;
        margin-top: 70px;
    }
    
    .fullscreen-slider .slide-content {
        width: 90%;
        padding: 0 20px;
        text-align: center;
    }
    
    .fullscreen-slider .slide-content .slide-title {
        font-size: 28px;
    }
    
    .fullscreen-slider .slide-content .slide-subtitle {
        font-size: 16px;
    }
    
    .fullscreen-slider .typewriter-wrapper {
        font-size: 18px;
    }
    
    .fullscreen-slider .swiper-button-next,
    .fullscreen-slider .swiper-button-prev {
        display: none;
    }

    /* Grid'ler */
    .services-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .why-card {
        padding: 25px 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* Markalar (Logo Slider) */
    .brands-section {
        padding: 40px 0;
    }
    
    .brands-slider .swiper-slide {
        height: 60px;
        padding: 0 15px;
    }
    
    .brands-slider .brand-item img {
        max-height: 35px;
        max-width: 100px;
    }
    
    .brands-slider .swiper-button-next,
    .brands-slider .swiper-button-prev {
        display: none;
    }

    /* Video */
    .video-section .video-wrapper video {
        height: auto;
    }

    /* CTA */
    .cta-section h2 {
        font-size: 28px;
    }
}

/* ===== KÜÇÜK MOBİL (480px ve altı) ===== */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 26px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }

    .fullscreen-slider {
        height: 400px;
    }
    
    .fullscreen-slider .slide-content .slide-title {
        font-size: 22px;
    }
    
    .fullscreen-slider .typewriter-wrapper {
        font-size: 16px;
    }

    .brands-slider .swiper-slide {
        height: 50px;
        padding: 0 10px;
    }
    
    .brands-slider .brand-item img {
        max-height: 28px;
        max-width: 80px;
    }

    .logo img {
        height: 35px;
    }
    
    .phone-header {
        font-size: 14px;
    }
    
    .menu-toggle {
        font-size: 24px;
    }
}

/* =============================================
   YARDIMCI SINIFLAR
   ============================================= */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

.text-muted {
    color: var(--gray-text);
}

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }