/**
 * More Dijital Ajans - Temiz ve Responsive CSS
 * Mobil Odaklı Basit Tasarım
 */

/* ============================================
   GENEL AYARLAR
   ============================================ */

* {
    box-sizing: border-box;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: #2d3748;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* ============================================
   TİPOGRAFİ
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #2d3748;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

h5 {
    font-size: 1.25rem;
    font-weight: 600;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: #4a5568;
}

/* ============================================
   LİNKLER
   ============================================ */

a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #764ba2;
    text-decoration: none;
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */

.navbar {
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    background-color: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: none;
    padding: 1rem 0;
    transition: box-shadow 0.3s ease, background-color 0.3s ease, border-bottom 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: #667eea !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #2d3748 !important;
    margin: 0 0.25rem;
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background-color: #f7fafc;
    color: #667eea !important;
}

.navbar-nav .nav-link.active {
    background-color: #667eea;
    color: #FFFFFF !important;
}

/* Dropdown Menü - Glassmorphism */
.dropdown-menu {
    background-color: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    color: #2d3748;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f7fafc;
    color: #667eea;
}

/* Mobil Menü */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobil menü açıldığında */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: #FFFFFF;
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0;
    }
    
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    position: relative;
    overflow: hidden;
    color: #FFFFFF;
    padding: 6rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    
    /* Yavaşça hareket edecek dev degrade arka plan */
    background: linear-gradient(110deg, #b74e91, #5e42a6, #4158d0, #b74e91);
    background-size: 300% 300%;
    
    /* Animasyonu uygula */
    animation: moveGradient 15s ease infinite;
}

.hero-section h1 {
    color: #FFFFFF;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

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

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Aurora Gradient Animation */
@keyframes moveGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* ============================================
   BUTONLAR
   ============================================ */

.btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: #FFFFFF;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: #FFFFFF;
}

.btn-outline-primary {
    border: 2px solid #667eea;
    color: #667eea;
    background: transparent;
}

.btn-outline-primary:hover {
    background: #667eea;
    color: #FFFFFF;
    border-color: #667eea;
}

/* ============================================
   KARTLAR
   ============================================ */

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    margin-bottom: 2rem;
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
}

.card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.card-text {
    color: #4a5568;
}

/* ============================================
   İÇ SAYFA BANNER - DİNAMİK VE DİKKAT ÇEKİCİ
   ============================================ */

.page-banner {
    padding: 120px 0 80px 0;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    
    /* Ana Hero'daki hareketli degrade arka planı kullan */
    background: linear-gradient(110deg, #b74e91, #5e42a6, #4158d0, #b74e91);
    background-size: 300% 300%; /* Degradeyi büyük yap */
    animation: moveGradient 20s ease infinite; /* Ana sayfadan daha yavaş bir animasyon */
    
    /* İçeriği (metni) öne çıkarmak için hafif bir overlay ekle */
    /* Bu, animasyonun metnin okunurluğunu bozmasını engeller */
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.2); /* Hafif karartma */
}

.page-banner .banner-content {
    position: relative;
    z-index: 2; /* Overlay'in üstünde olsun */
}

.page-banner h1 {
    color: #fff;
    font-size: 3.5rem; /* Başlığı biraz daha büyük yap */
    font-weight: 800; /* Daha kalın font */
    position: relative;
    z-index: 2; /* Overlay'in üstünde olsun */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Başlığa hafif gölge */
    margin-bottom: 0;
}

.page-banner p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.page-banner .lead {
    font-size: 1.5rem;
    font-weight: 400;
    margin-top: 1rem;
}

/* ============================================
   SECTION'LAR
   ============================================ */

section {
    padding: 4rem 0;
    background-color: #FFFFFF;
}

section.bg-light {
    background-color: #f7fafc;
}

/* ============================================
   HAKKIMIZDA SAYFASI - ÖZEL TASARIM
   ============================================ */

.section-title {
    font-size: 2.5rem;
    color: #2d3748;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #5e42a6 0%, #b74e91 100%);
    border-radius: 2px;
}

.about-content p,
.vision-content p,
.mission-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.image-gallery {
    position: relative;
}

.main-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.main-image img {
    transition: transform 0.3s ease;
}

.main-image:hover img {
    transform: scale(1.05);
}

.thumbnail-row {
    display: flex;
    gap: 0.5rem;
}

.thumbnail-item {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.thumbnail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(94, 66, 166, 0.3) !important;
}

.thumbnail-item img {
    transition: transform 0.3s ease;
}

.thumbnail-item:hover img {
    transform: scale(1.1);
}

/* ============================================
   HİZMETLERİMİZ BÖLÜMÜ - HAKKIMIZDA SAYFASI
   ============================================ */

.services-list {
    max-width: 900px;
    margin: 0 auto;
}

.service-item {
    padding: 2rem 0;
    border-bottom: 1px solid #e2e8f0;
    transition: padding-left 0.3s ease;
}

.service-item:last-child {
    border-bottom: none;
}

.service-item:hover {
    padding-left: 1rem;
}

.service-title {
    font-size: 1.75rem;
    color: #2d3748;
    margin-bottom: 1rem;
    position: relative;
}

.service-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background-color: #1a202c !important;
    color: #ffffff !important;
}

footer h5,
footer h6 {
    color: #ffffff !important;
}

footer p {
    color: #ffffff !important;
}

footer a {
    color: #ffffff !important;
    transition: color 0.3s ease, opacity 0.3s ease;
}

footer a:hover {
    color: rgba(255, 255, 255, 0.8) !important;
    opacity: 0.8;
}

footer .text-white {
    color: #ffffff !important;
}

footer .list-unstyled li {
    color: #ffffff !important;
}

footer .list-unstyled li i {
    color: #ffffff !important;
}

/* ============================================
   MAIN (Fixed Header için Padding)
   ============================================ */

main {
    padding-top: 80px;
}

/* ============================================
   RESPONSIVE - MOBİL
   ============================================ */

@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0;
        min-height: 50vh;
        /* Mobilde animasyonu devre dışı bırak (performans için) */
        animation: none;
        background: linear-gradient(120deg, #5e42a6 0%, #b74e91 100%);
        background-size: 100% 100%;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .hero-image img {
        max-width: 100%;
        height: auto;
        border-radius: 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    /* İç Sayfa Banner Mobil */
    .page-banner {
        padding: 100px 0 60px 0;
        /* Mobilde animasyonu devre dışı bırak (performans için) */
        animation: none;
        background: linear-gradient(120deg, #5e42a6 0%, #b74e91 100%);
        background-size: 100% 100%;
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
    
    .page-banner p {
        font-size: 1rem;
    }
    
    .page-banner .lead {
        font-size: 1.1rem;
    }
    
    /* Hakkımızda Sayfası Mobil */
    .section-title {
        font-size: 2rem;
    }
    
    .section-title::after {
        width: 60px;
        height: 3px;
    }
    
    .about-content p,
    .vision-content p,
    .mission-content p {
        font-size: 1rem;
    }
    
    .thumbnail-row {
        flex-wrap: wrap;
    }
    
    .thumbnail-item {
        flex: 0 0 calc(50% - 0.25rem);
    }
    
    /* Hizmetlerimiz Bölümü Mobil */
    .service-title {
        font-size: 1.5rem;
    }
    
    .service-description {
        font-size: 1rem;
    }
    
    .service-item:hover {
        padding-left: 0.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 3rem 0;
        min-height: 40vh;
        /* Mobilde animasyonu devre dışı bırak (performans için) */
        animation: none;
        background: linear-gradient(120deg, #5e42a6 0%, #b74e91 100%);
        background-size: 100% 100%;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .hero-section p {
        font-size: 0.95rem;
    }
    
    /* İç Sayfa Banner Mobil */
    .page-banner {
        padding: 80px 0 50px 0;
        /* Mobilde animasyonu devre dışı bırak (performans için) */
        animation: none;
        background: linear-gradient(120deg, #5e42a6 0%, #b74e91 100%);
        background-size: 100% 100%;
    }
    
    .page-banner h1 {
        font-size: 1.75rem;
    }
    
    .page-banner p {
        font-size: 0.95rem;
    }
    
    .page-banner .lead {
        font-size: 1rem;
    }
    
    /* Hakkımızda Sayfası Mobil */
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-title::after {
        width: 50px;
        height: 3px;
    }
    
    .about-content p,
    .vision-content p,
    .mission-content p {
        font-size: 0.95rem;
    }
    
    .thumbnail-row {
        flex-direction: column;
    }
    
    .thumbnail-item {
        flex: 1;
    }
    
    /* Hizmetlerimiz Bölümü Mobil */
    .service-title {
        font-size: 1.25rem;
    }
    
    .service-description {
        font-size: 0.95rem;
    }
    
    .service-item {
        padding: 1.5rem 0;
    }
    
    .service-item:hover {
        padding-left: 0.25rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .btn {
        padding: 0.625rem 1.5rem;
        font-size: 0.9rem;
    }
    
    section {
        padding: 2rem 0;
    }
}

/* ============================================
   CUSTOM CURSOR (Özel Fare İmleci)
   ============================================ */

/* Varsayılan imleci gizle - sadece desktop */
@media (min-width: 992px) {
    body {
        cursor: none;
    }
}

/* İç Nokta (Dot) Stili */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: #667eea;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
    display: none; /* Mobilde gizle */
}

/* Dış Halka (Outline) Stili */
.cursor-outline {
    width: 30px;
    height: 30px;
    border: 2px solid #667eea;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease-out, width 0.2s ease-out, height 0.2s ease-out;
    display: none; /* Mobilde gizle */
}

/* Hover Efekti */
.cursor-outline.cursor-hover {
    width: 75px;
    height: 75px;
    border-width: 1px;
    background-color: rgba(102, 126, 234, 0.1);
}

/* Desktop'ta göster */
@media (min-width: 992px) {
    .cursor-dot,
    .cursor-outline {
        display: block;
    }
}

/* Mobilde tamamen gizle */
@media (max-width: 991px) {
    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }
    
    body {
        cursor: auto !important;
    }
    
    /* Mobilde tilt efektini devre dışı bırak */
    .card {
        transform: none !important;
        will-change: auto !important;
    }
}
