/* ============================================
   STRATOS Yönetim Danışmanlığı - Kurumsal CSS
   ============================================ */

/* Base */
* { box-sizing: border-box; }

body {
    font-family: 'Source Sans 3', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    overflow-wrap: break-word;
    word-break: break-word;
}

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

table {
    max-width: 100%;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

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

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Selection color */
::selection {
    background: #0891b2;
    color: #fff;
}

/* ============================================
   Animations
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fade variations */
.animate-on-scroll.fade-left {
    transform: translateX(-30px);
}
.animate-on-scroll.fade-right {
    transform: translateX(30px);
}
.animate-on-scroll.fade-left.animate-visible,
.animate-on-scroll.fade-right.animate-visible {
    transform: translateX(0);
}

/* Stagger children */
.stagger-children > *:nth-child(1) { transition-delay: 0s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.5s; }
.stagger-children > *:nth-child(7) { transition-delay: 0.6s; }
.stagger-children > *:nth-child(8) { transition-delay: 0.7s; }

/* ============================================
   Hero
   ============================================ */
.hero-gradient {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 60%, #0891b2 100%);
}

.hero-pattern {
    background-image:
        radial-gradient(circle at 20% 50%, rgba(8,145,178,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30,58,95,0.3) 0%, transparent 50%),
        radial-gradient(circle at 60% 80%, rgba(8,145,178,0.1) 0%, transparent 50%);
}

/* ============================================
   Cards & Components
   ============================================ */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(30, 58, 95, 0.15);
    border-color: #0891b2;
}

.service-card:hover .service-icon {
    background-color: #0891b2;
    color: #fff;
    transform: scale(1.1);
}

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

/* Sector card */
.sector-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sector-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -12px rgba(30, 58, 95, 0.2);
}

.sector-card:hover .sector-icon {
    color: #0891b2;
    transform: scale(1.15);
}

.sector-icon {
    transition: all 0.3s ease;
}

/* Team card */
.team-card {
    transition: all 0.4s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(30, 58, 95, 0.15);
}

.team-card:hover .team-overlay {
    opacity: 1;
}

/* Blog card */
.blog-card {
    transition: all 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -12px rgba(30, 58, 95, 0.15);
}

/* Reference logo */
.ref-logo {
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.4s ease;
}

.ref-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ============================================
   Statistics counter animation
   ============================================ */
.stat-number {
    font-variant-numeric: tabular-nums;
}

/* ============================================
   Section divider
   ============================================ */
.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1e3a5f, #0891b2);
    margin: 0 auto;
    border-radius: 2px;
}

.section-divider-left {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1e3a5f, #0891b2);
    border-radius: 2px;
}

/* ============================================
   Form styles
   ============================================ */
.form-input {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    border-color: #0891b2;
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
    outline: none;
}

/* ============================================
   Page header
   ============================================ */
.page-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(8,145,178,0.1) 0%, transparent 70%);
}

/* ============================================
   Methodology steps
   ============================================ */
.method-step {
    position: relative;
}

.method-step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -2rem;
    width: 4rem;
    height: 2px;
    background: linear-gradient(90deg, #0891b2, transparent);
}

.method-step:last-child::after {
    display: none;
}

@media (max-width: 768px) {
    .method-step::after {
        display: none;
    }
}

/* ============================================
   Scrollbar
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f8fafc;
}

::-webkit-scrollbar-thumb {
    background: #1e3a5f;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0891b2;
}

/* ============================================
   Print styles
   ============================================ */
@media print {
    nav, footer, #scrollTop, .no-print { display: none !important; }
    body { font-size: 12pt; color: #000; }
}
