/* =========================================
    ATLASMAT KURUMSAL CSS ÇERÇEVESİ
    Sürüm: 2.0 (Dinamik Hakkımızda Sayfası Dahil)
   ========================================= */

:root {
    --primary-blue: #004a99;
    --primary-green: #25d366;
    --dark-grey: #1c1c1c;
    --light-grey: #f8f9fa;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --glass-bg: rgba(255, 255, 255, 0.9);
}

/* --- Genel Yapı --- */
body {
    font-family: 'Inter', sans-serif;
    color: #333;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* --- Yardımcı Sınıflar (Utility) --- */
.bg-primary-soft {
    background-color: rgba(0, 74, 153, 0.08);
}

.ls-2 {
    letter-spacing: 2px;
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.x-small {
    font-size: 0.75rem;
}

.uppercase {
    text-transform: uppercase;
}

/* --- Header & Navigation --- */
.top-bar {
    background: var(--light-grey);
    border-bottom: 1px solid #eee;
    font-size: 0.85rem;
}

.main-header {
    transition: var(--transition);
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 500;
    color: #333 !important;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
}

    .nav-link:hover, .nav-link.active {
        color: var(--primary-blue) !important;
    }

/* --- Butonlar --- */
.btn-quote {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    padding: 10px 25px;
    transition: var(--transition);
}

    .btn-quote:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 74, 153, 0.3);
    }

/* --- Hero Section --- */
.hero-bg {
    height: 85vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

    .hero-bg h1 {
        text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    }

/* --- Footer & Harita --- */
.footer {
    background-color: var(--dark-grey);
}

    .footer h4, .footer h5 {
        letter-spacing: 1px;
    }

.footer-social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

    .footer-social-links a:hover {
        background: var(--primary-blue);
        transform: translateY(-3px);
    }

.map-box {
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
    background: #333;
}

    .map-box iframe {
        width: 100%;
        height: 100%;
        border: 0;
        filter: grayscale(10%) contrast(1.1);
    }

/* --- WhatsApp Floating Button --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: var(--primary-green);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

    .whatsapp-float:hover {
        background-color: #128c7e;
        color: #FFF;
        transform: scale(1.1) rotate(5deg);
    }

/* --- Quick Button Bar --- */
.quick-button-bar {
    position: fixed;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 50px;
    padding: 8px 25px;
    z-index: 999;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #444;
    font-size: 0.7rem;
    font-weight: 700;
    transition: var(--transition);
    padding: 0 15px;
}

    .quick-item i {
        font-size: 1.2rem;
        color: var(--primary-blue);
        margin-bottom: 2px;
    }

    .quick-item:hover {
        color: var(--primary-blue);
        transform: translateY(-3px);
    }

/* --- Katalog (DFlip) Styles --- */
.catalog-frame {
    border: 1px solid rgba(0,0,0,0.05);
    background-color: #2b2b2b;
    position: relative;
}

.df-container {
    padding: 0 !important;
}

#atlas_catalog_flipbook canvas {
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* =========================================
   HAKKIMIZDA (ABOUT) SAYFASI ÖZEL STİLLERİ
   ========================================= */

/* İkon Çerçeveleri */
.icon-circle {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

/* Kart Hover Efekti (Başarı İlkeleri) */
.hover-up {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

    .hover-up:hover {
        transform: translateY(-12px);
        box-shadow: 0 20px 40px rgba(0, 74, 153, 0.12) !important;
    }

        .hover-up:hover .icon-circle {
            background-color: var(--primary-blue) !important;
            color: white !important;
        }

/* Sayaç Alanı (Stats) */
.counter-item {
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

    .counter-item:last-child {
        border-right: none;
    }

/* Sertifika Kartları */
.cert-card {
    transition: var(--transition);
    border: 1px solid transparent;
}

    .cert-card:hover {
        border-color: var(--primary-blue);
        background-color: #fff;
    }

.grayscale-hover {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.5s ease;
    max-height: 70px;
    object-fit: contain;
}

.cert-card:hover .grayscale-hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Yüzen Bilgi Kartı */
.floating-card {
    border-left: 5px solid var(--primary-blue);
    animation: floating 3s ease-in-out infinite;
}

/* Typography İyileştirmesi */
.about-intro-lead {
    line-height: 1.8;
    color: var(--dark-grey);
    border-left: 4px solid var(--primary-blue);
    padding-left: 20px;
}

/* --- Animasyonlar --- */
@keyframes slideIn {
    0% {
        transform: translateY(1rem);
        opacity: 0;
    }

    100% {
        transform: translateY(0rem);
        opacity: 1;
    }
}

@keyframes floating {
    0% {
        transform: translateY(0px) translateX(-50%);
    }

    50% {
        transform: translateY(-15px) translateX(-50%);
    }

    100% {
        transform: translateY(0px) translateX(-50%);
    }
}

.slideIn {
    animation-name: slideIn;
}

/* --- Responsive Düzenlemeler --- */
@media (max-width: 991px) {
    .nav-actions {
        flex-direction: column;
        align-items: stretch !important;
        gap: 10px;
        padding: 15px 0;
    }

    .lang-select, .btn-quote {
        width: 100%;
        text-align: center;
    }

    .whatsapp-float {
        bottom: 90px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}

@media (max-width: 768px) {
    .hero-bg {
        height: 60vh;
    }

        .hero-bg h1 {
            font-size: 2rem;
        }

    .quick-button-bar {
        bottom: 15px;
        width: 92%;
        padding: 8px 5px;
    }

    .quick-item {
        padding: 0 10px;
    }

    .counter-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

        .counter-item:last-child {
            border-bottom: none;
        }

    #atlas_catalog_flipbook {
        height: 60vh !important;
        min-height: 350px !important;
    }
}

@media (min-width: 1400px) {
    .catalog-frame {
        max-width: 900px;
        margin: 0 auto;
    }
}

.ls-2 {
    letter-spacing: 2px;
}

.home-intro .experience-badge {
    min-width: 140px;
    text-align: center;
    line-height: 1;
}

.home-intro img {
    transition: transform 0.5s ease;
}

    .home-intro img:hover {
        transform: scale(1.02);
    }

.bg-primary-soft {
    background-color: rgba(0, 74, 153, 0.05);
}

.intro-video-wrapper video {
    filter: brightness(0.9); /* Videonun renklerini biraz daha doygun ve kurumsal gösterir */
    object-position: center;
}

/* Hero Slider Genel Ayarları */
.hero-bg {
    height: 85vh; /* Ekranın %85'ini kaplar. Tam ekran için 100vh yapabilirsin. */
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

/* Mobilde yüksekliği biraz daha küçültelim */
@media (max-width: 768px) {
    .hero-bg {
        height: 60vh;
        min-height: 400px;
    }

        .hero-bg h1 {
            font-size: 2rem;
        }
}

/* Carousel Geçiş Hızı ve Yumuşaklığı */
.carousel-fade .carousel-item {
    transition-duration: 1s;
}

/* Animate.css tetikleyicisi (Opsiyonel: Geçişlerde animasyonları yenilemek için) */
.carousel-item-next.carousel-item-start .animate__animated,
.carousel-item-prev.carousel-item-end .animate__animated,
.active.carousel-item .animate__animated {
    display: block;
}
