* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

@media (max-width: 1024px) {
    body {
        padding-bottom: 75px;
    }
}

html {
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
}

/* Glass Header */
.glass-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Container Güvenli Padding */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

@media (min-width: 1536px) {
    .container {
        max-width: 1536px;
    }
}

/* Scrollbar gizleme */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Image Responsive */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-slow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

.animate-pulse-slow {
    animation: pulse-slow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Prose Stilleri - Mobil Optimized */
.prose {
    color: var(--slate-700);
    max-width: 100%;
}

.prose h2 {
    color: var(--slate-800);
    font-weight: 700;
    font-size: clamp(1.3125rem, 4vw, 1.5625rem);
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    line-height: 1.3;
}

.prose h3 {
    color: var(--slate-700);
    font-weight: 600;
    font-size: clamp(1.1625rem, 3vw, 1.3125rem);
    margin-top: 1.2em;
    margin-bottom: 0.5em;
    line-height: 1.5;
}

.prose p {
    margin-top: 1em;
    margin-bottom: 1em;
    line-height: 1.7;
    font-size: clamp(0.9375rem, 2vw, 1.0625rem);
}

.prose strong {
    color: var(--slate-800);
    font-weight: 600;
}

.prose ul {
    list-style-type: disc;
    margin-top: 1em;
    margin-bottom: 1em;
    padding-left: 1.5em;
}

.prose li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    line-height: 1.7;
    font-size: clamp(0.9375rem, 2vw, 1.0625rem);
}

/* Blog görselleri */
.blog-prose .blog-figure {
    margin: 1.25rem 0 1.5rem;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid var(--slate-200);
    background: #fff;
}

.blog-prose .blog-figure-img,
.blog-prose .blog-figure img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 22rem;
    object-fit: cover;
}

.blog-prose .blog-figure-caption {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    color: var(--slate-500);
    line-height: 1.4;
}

.blog-prose .blog-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin: 1rem 0 1.5rem;
}

@media (min-width: 640px) {
    .blog-prose .blog-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.75rem;
    }
}

.blog-prose .blog-gallery-item {
    margin: 0;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid var(--slate-200);
}

.blog-prose .blog-gallery-item img {
    width: 100%;
    height: 7rem;
    object-fit: cover;
    display: block;
}

@media (min-width: 640px) {
    .blog-prose .blog-gallery-item img {
        height: 8.5rem;
    }
}

.blog-prose .blog-img-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin: 1rem 0 1.25rem;
}

@media (max-width: 480px) {
    .blog-prose .blog-img-duo {
        grid-template-columns: 1fr;
    }
}

.blog-prose .blog-figure-half .blog-figure-img,
.blog-prose .blog-figure-half img {
    max-height: 14rem;
}

/* Shadow & Gradient */
.shadow-glow {
    box-shadow: 0 10px 40px rgba(14, 165, 233, 0.2);
}

.gradient-brand {
    background: linear-gradient(135deg, var(--brand-500) 0%, var(--brand-600) 100%);
}

.gradient-dark {
    background: linear-gradient(135deg, var(--slate-800) 0%, var(--slate-900) 100%);
}

/* Hover Efektleri */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.transition-smooth {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus Stilleri */
button:focus,
a:focus {
    outline: 2px solid var(--brand-500);
    outline-offset: 2px;
}

/* ============================================
   MOBİL FOOTER BUTONLAR (TELEFON & WHATSAPP)
   ============================================ */
.mobile-footer-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 45;
    display: none;
    background: linear-gradient(to top, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.95) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    padding: 10px 12px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.mobile-footer-buttons .btn-call {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 16px;
    border-radius: 10px;
    color: white;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.mobile-footer-buttons .btn-call {
    background: linear-gradient(135deg, var(--brand-500) 0%, var(--brand-600) 100%);
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}

.mobile-footer-buttons .btn-call:active {
    transform: scale(0.97);
}

.mobile-footer-buttons i {
    font-size: 17px;
}

/* ============================================
   YORUM SLIDER - RESPONSIVE
   ============================================ */
.reviews-slider-container {
    position: relative;
    overflow: hidden;
    margin: 0 -8px;
    width: calc(100% + 16px);
}

.reviews-slider {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-slide {
    min-width: 100%;
    padding: 0 8px;
    box-sizing: border-box;
    flex-shrink: 0;
}

/* Slider Butonları */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.2);
    border: 1px solid rgba(15, 23, 42, 0.25);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: none;
    font-size: 15px;
}

.slider-btn:hover {
    background: rgba(15, 23, 42, 0.45);
    color: #ffffff;
    border-color: rgba(15, 23, 42, 0.45);
    box-shadow: none;
}

.slider-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-prev {
    left: 4px;
}

.slider-next {
    right: 4px;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
    padding: 0 8px;
    min-height: 16px;
    align-items: center;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--slate-300);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
    opacity: 0.8;
}

.slider-dot.active {
    background: var(--brand-500);
    width: 24px;
    border-radius: 4px;
    opacity: 1;
}

/* Hizmet Alanları - Mobil İyileştirme */
@media (max-width: 640px) {
    #hizmetler .grid {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    #hizmetler a {
        padding: 10px 12px !important;
    }

    #hizmetler a span {
        font-size: 16px;
    }

    #hizmetler a p {
        font-size: 12px;
        line-height: 1.35;
        margin-top: 6px;
    }

    #hizmetler a i {
        font-size: 19px;
    }
}

.slider-dot:hover {
    background: var(--slate-400);
}

/* FAQ Accordion */
.faq-accordion .faq-item {
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    background: var(--slate-50);
    padding: 10px 12px;
}

.faq-accordion .faq-question {
    width: 100%;
    text-align: left;
    font-weight: 700;
    color: var(--slate-900);
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.faq-accordion .faq-question::after {
    content: "+";
    font-size: 19px;
    color: var(--brand-500);
    line-height: 1;
}

.faq-accordion .faq-item[open] .faq-question::after {
    content: "−";
}

.faq-accordion .faq-answer {
    padding-top: 8px;
}

.faq-accordion summary {
    list-style: none;
}

.faq-accordion summary::-webkit-details-marker {
    display: none;
}

/* Sidebar yorumlar tekli slider */
.reviews-sidebar .reviews-slider-container {
    margin: 0;
    width: 100%;
    overflow: hidden;
}

.reviews-sidebar .review-slide {
    min-width: 100% !important;
    width: 100%;
    padding: 0 6px;
    box-sizing: border-box;
}

.reviews-sidebar .slider-dots {
    justify-content: center;
}

.reviews-sidebar .reviews-slider {
    align-items: stretch;
}

/* ============================================
   RESPONSIVE MEDIA QUERIES
   ============================================ */

/* Tablet için (768px ve üzeri) */
@media (min-width: 768px) {
    .review-slide {
        min-width: 50%;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }
    
    .slider-prev {
        left: 8px;
    }
    
    .slider-next {
        right: 8px;
    }
    
    .mobile-footer-buttons .btn-call {
        font-size: 16px;
        padding: 14px 20px;
    }
}

/* Desktop için (1024px ve üzeri) */
@media (min-width: 1024px) {
    .review-slide {
        min-width: 33.333%;
    }
    
    .slider-prev {
        left: -20px;
    }
    
    .slider-next {
        right: -20px;
    }
    
    .mobile-footer-buttons {
        display: none !important;
    }
    
    body {
        padding-bottom: 0 !important;
    }
}

/* Mobil için (1023px ve altı) */
@media (max-width: 1023px) {
    .mobile-footer-buttons {
        display: flex;
        gap: 10px;
    }
    
    body {
        padding-bottom: 75px;
    }
    
    /* Grid tek sütun */
    .lg\:col-span-8,
    .lg\:col-span-4 {
        grid-column: span 12 / span 12 !important;
    }
    
    /* Hero başlık */
    h1 {
        font-size: clamp(1.5625rem, 5vw, 2.0625rem) !important;
        line-height: 1.2 !important;
    }
}

/* Küçük ekranlar için (640px ve altı) */
@media (max-width: 640px) {
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    /* Rounded köşeleri küçült */
    .rounded-3xl {
        border-radius: 1.25rem !important;
    }
    
    .rounded-2xl {
        border-radius: 1rem !important;
    }
    
    .rounded-xl {
        border-radius: 0.75rem !important;
    }
    
    /* Font boyutları */
    h1 {
        font-size: clamp(1.3125rem, 5vw, 1.8125rem) !important;
    }
    
    h2 {
        font-size: clamp(1.1625rem, 4vw, 1.4125rem) !important;
    }
    
    h3 {
        font-size: clamp(1.0625rem, 3vw, 1.2125rem) !important;
    }
    
    /* Padding ayarlamaları */
    .p-10 {
        padding: 1.5rem !important;
    }
    
    .p-8 {
        padding: 1.25rem !important;
    }
    
    .p-6 {
        padding: 1rem !important;
    }
    
    .px-6 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .py-6 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    
    /* Gap ayarlamaları */
    .gap-8 {
        gap: 1.25rem !important;
    }
    
    .gap-6 {
        gap: 1rem !important;
    }
    
    /* Grid mobilde 2 sütun */
    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    
    .mobile-footer-buttons {
        padding: 8px 10px;
    }
    
    .mobile-footer-buttons .btn-call {
        padding: 10px 12px;
        font-size: 14px;
        gap: 5px;
    }
    
    .mobile-footer-buttons i {
        font-size: 16px;
    }
}

/* Çok küçük ekranlar için (400px ve altı) */
@media (max-width: 400px) {
    .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    h1 {
        font-size: 1.3125rem !important;
    }
    
    .mobile-footer-buttons {
        padding: 8px;
        gap: 8px;
    }
    
    .mobile-footer-buttons .btn-call span {
        font-size: 13px;
    }
    
    .p-6 {
        padding: 0.875rem !important;
    }
    
    /* Slider dots küçült */
    .slider-dots {
        gap: 5px;
        padding: 0 6px;
        min-height: 14px;
    }
    
    .slider-dot {
        width: 6px;
        height: 6px;
    }
    
    .slider-dot.active {
        width: 16px;
    }
}

/* Yatay (Landscape) Mobil için */
@media (max-width: 1023px) and (orientation: landscape) {
    body {
        padding-bottom: 65px;
    }
    
    .mobile-footer-buttons {
        padding: 6px 10px;
    }
    
    .mobile-footer-buttons .btn-call {
        padding: 8px 14px;
        font-size: 14px;
    }
}

/* Touch device optimizasyonu */
@media (hover: none) and (pointer: coarse) {
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
    
    .slider-dot.active {
        width: 26px;
    }
    
    /* Touch target minimum 44x44px */
    button, 
    a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Retina ekranlar için */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .glass-header {
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }
}

/* Print için */
@media print {
    .mobile-footer-buttons,
    header,
    .slider-btn,
    .slider-dots,
    #mobileMenu {
        display: none !important;
    }
    
    body {
        padding-bottom: 0;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Safe Area için (iPhone notch vs.) */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .mobile-cta-bar {
        padding-bottom: calc(10px + env(safe-area-inset-bottom));
    }
    
    body {
        padding-bottom: calc(75px + env(safe-area-inset-bottom));
    }
}

/* Mobile CTA bar */
.mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid var(--slate-200);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 16px;
    z-index: 50;
}

.mobile-cta-bar .cta-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 17px;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand-500) 0%, var(--brand-600) 100%);
    border: none;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
    transition: all 0.2s ease;
    cursor: pointer;
    width: 100%;
    max-width: 400px;
}

.mobile-cta-bar .cta-item:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

.mobile-cta-bar .cta-item i {
    font-size: 19px;
    color: #ffffff;
}

.mobile-cta-bar .cta-single {
    background: linear-gradient(135deg, var(--brand-500) 0%, var(--brand-600) 100%);
}

@media (min-width: 1024px) {
    .mobile-cta-bar {
        display: none;
    }
}

/* Webkit için özel scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--slate-100);
}

::-webkit-scrollbar-thumb {
    background: var(--slate-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--slate-400);
}

/* Genel overflow fix */
* {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Long text handling */
.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Flex fix mobil için */
@media (max-width: 640px) {
    .flex-wrap {
        flex-wrap: wrap !important;
    }
}