/* ===== MUSTAFA YİĞİT MUHASEBE - PREMIUM DESIGN SYSTEM ===== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #4f46e5;
    --primary-glow: rgba(79, 70, 229, 0.4);
    --secondary: #7c3aed;
    --dark: #0f172a;
    --dark-accent: #1e293b;
    --text-main: #334155;
    --text-muted: #64748b;
    --bg-main: #fafafa;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --shadow-sm: 0 4px 12px rgba(0,0,0,.04);
    --shadow-md: 0 12px 24px rgba(0,0,0,.06);
    --shadow-lg: 0 20px 48px rgba(0,0,0,.1);
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-main);
    overflow-x: hidden;
}

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

/* Navbar Modernization */
.site-navbar {
    padding: 1.25rem 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: transparent;
}

.site-navbar.navbar-scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    padding: 0.75rem 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--glass-border);
}

.site-navbar .navbar-brand {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.site-navbar .nav-link {
    color: var(--dark) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.site-navbar .nav-link:hover {
    background: rgba(79, 70, 229, 0.05);
    color: var(--primary) !important;
}

/* Hero Section Refined */
.hero-section {
    position: relative;
    padding: 160px 0 120px;
    background: #fff;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    color: var(--dark);
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.hero-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

/* Service Cards Glassmorphism */
.service-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    transition: all 0.4s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -12px rgba(15, 23, 42, 0.12);
    border-color: var(--primary);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(79, 70, 229, 0.08); /* Softer background */
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary); /* Icon color matches primary */
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
    box-shadow: 0 8px 16px var(--primary-glow);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Buttons Premium */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px var(--primary-glow);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.8rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

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

/* Footer Dark Mode Premium */
.site-footer {
    background: var(--dark);
    color: #94a3b8;
    padding: 100px 0 40px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.site-footer h5, .site-footer h6 { color: white; margin-bottom: 1.5rem; }

/* Section Title Refined */
.section-title {
    font-size: 2.5rem;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--dark), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Portal Style Overrides */
.bg-primary-soft { background: rgba(79, 70, 229, 0.1) !important; color: var(--primary) !important; }

/* CTA Premium Box */
.cta-premium-box {
    background: linear-gradient(135deg, #0f172a, #4f46e5);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    color: white;
}

.cta-premium-box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--secondary), transparent 70%);
    opacity: 0.15;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.cta-premium-box > * { position: relative; z-index: 1; }
