:root {
    --primary: #1e3a5f;
    --accent: #c9a962;
    --light: #f8f9fa;
    --text: #2c3e50;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    background: #ffffff;
    color: var(--text);
    overflow-x: hidden;
}

.font-display { font-family: 'Playfair Display', serif; }

/* RTL Desteği (Arapça) */
body[dir="rtl"] {
    direction: rtl;
}

body[dir="rtl"] .md\:text-right {
    text-align: left !important;
}

body[dir="rtl"] .md\:ml-auto {
    margin-left: 0 !important;
    margin-right: auto !important;
}

body[dir="rtl"] .flex {
    flex-direction: row-reverse;
}

body[dir="rtl"] .space-x-3 > * + * {
    --tw-space-x-reverse: 1;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }

/* Hero Animation */
.hero-bg {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    position: relative;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(201, 169, 98, 0.1);
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: background 0.3s ease;
}

.glass.bg-white\/95 {
    background: rgba(255, 255, 255, 0.95);
}

/* Service Cards */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, #2c5282 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.service-card:hover::before { opacity: 1; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(30, 58, 95, 0.15); }
.service-card:hover h3,
.service-card:hover p,
.service-card:hover span,
.service-card:hover i { 
    color: white !important; 
    position: relative; 
    z-index: 1; 
}
.service-card:hover .icon-box { background: rgba(255,255,255,0.2); }

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(30, 58, 95, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

/* Process Steps */
.step-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--primary));
    transform: translateX(-50%);
}

.step-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    border: 4px solid white;
    box-shadow: 0 0 0 4px rgba(201, 169, 98, 0.3);
    position: relative;
    z-index: 10;
}

/* Marquee */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

/* Duplicate içerik için */
.marquee-content::after {
    content: attr(data-content);
    display: inline-block;
    padding-left: 50px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #2c5282 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.4);
}

.btn-primary:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    cursor: pointer;
}

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

.btn-outline:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Image Hover */
.img-hover {
    overflow: hidden;
    border-radius: 16px;
}

.img-hover img {
    transition: transform 0.6s ease;
}

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

/* Counter Animation */
.counter {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

/* Navigation */
.nav-link {
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after { width: 100%; }

/* Mobile Menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active { transform: translateX(0); }

/* Loading Animation */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-circle {
    width: 60px;
    height: 60px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Parallax */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Mobil Safari için parallax düzeltme */
@supports (-webkit-touch-callout: none) {
    .parallax {
        background-attachment: scroll;
    }
}

/* Smooth Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
}

/* Erişilebilirlik - Focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

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

    .parallax {
        background-attachment: scroll;
    }
}

/* Print Stilleri */
@media print {
    .loader,
    .toast,
    .mobile-menu,
    nav,
    .hero-shape,
    .parallax {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    a {
        text-decoration: underline;
        color: #000;
    }
}