/* ========================================
   ZEYVE YAZILIM - GOD MODE ULTRA PREMIUM CSS
   Corporate Navy Concept
   ======================================== */

/* ==========================================
   1. CUSTOM PROPERTIES & COLOR SYSTEM
   ========================================== */
:root {
    /* Corporate Navy Gradient System */
    --primary-gradient: linear-gradient(135deg, #0a2342 0%, #1c3d6e 100%);
    /* Deep Navy to Rich Blue */
    --secondary-gradient: linear-gradient(135deg, #1c3d6e 0%, #29528f 100%);
    --accent-gradient: linear-gradient(135deg, #0a2342 0%, #1c3d6e 50%, #3b82f6 100%);

    /* Glassmorphism Colors */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: rgba(10, 35, 66, 0.1);
    /* Navy shadow */

    /* Mesh Gradients - Navys & Blues */
    --mesh-gradient-1: radial-gradient(at 40% 20%, rgba(28, 61, 110, 0.15) 0px, transparent 50%),
        radial-gradient(at 80% 0%, rgba(10, 35, 66, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 50%, rgba(59, 130, 246, 0.1) 0px, transparent 50%);

    --mesh-gradient-2: radial-gradient(at 20% 80%, rgba(28, 61, 110, 0.1) 0px, transparent 50%),
        radial-gradient(at 60% 60%, rgba(10, 35, 66, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 20%, rgba(59, 130, 246, 0.1) 0px, transparent 50%);

    /* Color Variables */
    --color-primary: #0a2342;
    /* Deep Navy */
    --color-secondary: #1c3d6e;
    /* Medium Navy */
    --color-accent: #3b82f6;
    /* Bright Blue */
    --color-text: #1e293b;
    /* Slate 800 */
    --color-text-light: #475569;
    /* Slate 600 */
    --color-bg: #ffffff;
    --color-bg-light: #f8fafc;
    /* Slate 50 */

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(10, 35, 66, 0.06);
    --shadow-md: 0 8px 30px rgba(10, 35, 66, 0.1);
    --shadow-lg: 0 20px 60px rgba(10, 35, 66, 0.12);
    --shadow-xl: 0 30px 80px rgba(10, 35, 66, 0.15);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ==========================================
   2. GLASSMORPHISM COMPONENTS
   ========================================== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.glass-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(10, 35, 66, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

/* ==========================================
   3. HERO SECTION - ULTRA PREMIUM
   ========================================== */
.hero-ultra {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
}

.hero-ultra::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--mesh-gradient-1);
    opacity: 0.6;
    animation: meshMove 20s ease-in-out infinite;
}

.hero-ultra::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(28, 61, 110, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite;
}

@keyframes meshMove {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.05);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(-30px, 30px) rotate(120deg);
    }

    66% {
        transform: translate(30px, -30px) rotate(240deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title,
.hero-ultra h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #0a2342 0%, #1c3d6e 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease 0.2s both;
}

/* ==========================================
   4. ANIMATED BUTTONS - MICROINTERACTIONS
   ========================================== */
.btn-premium {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2.5rem;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #ffffff;
    background: var(--primary-gradient);
    border: none;
    border-radius: var(--radius-full);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 8px 25px rgba(10, 35, 66, 0.3);
    text-decoration: none;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-premium:hover::before {
    left: 100%;
}

.btn-premium:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(10, 35, 66, 0.4);
}

.btn-premium:active {
    transform: translateY(-2px) scale(0.98);
}

.btn-premium i {
    transition: transform var(--transition-base);
}

.btn-premium:hover i {
    transform: translateX(4px);
}

/* Header Specific Minimal Button */
.header-button .btn-premium {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(10, 35, 66, 0.15);
}

.header-button .btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 35, 66, 0.25);
}

.btn-outline-premium {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2.5rem;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-primary);
    background: transparent;
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-full);
    cursor: pointer;
    overflow: hidden;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-outline-premium::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-gradient);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: -1;
}

.btn-outline-premium:hover::before {
    width: 400%;
    height: 400%;
}

.btn-outline-premium:hover {
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ==========================================
   5. SERVICE CARDS - ULTRA MODERN
   ========================================== */
.service-card-premium {
    position: relative;
    padding: 2.5rem;
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    overflow: hidden;
    cursor: pointer;
}

.service-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.service-card-premium:hover::before {
    transform: scaleX(1);
}

.service-card-premium::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(10, 35, 66, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card-premium:hover::after {
    opacity: 1;
}

.service-card-premium:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.service-icon-premium {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: var(--radius-md);
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.service-icon-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
    transition: all var(--transition-slow);
}

.service-card-premium:hover .service-icon-premium::before {
    top: 100%;
    left: 100%;
}

.service-card-premium:hover .service-icon-premium {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(10, 35, 66, 0.3);
}

.service-card-premium h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
    transition: color var(--transition-base);
}

.service-card-premium:hover h3 {
    color: var(--color-primary);
}

.service-card-premium p {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-card-premium .learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
}

.service-card-premium .learn-more i {
    transition: transform var(--transition-base);
}

.service-card-premium:hover .learn-more {
    gap: 1rem;
}

.service-card-premium:hover .learn-more i {
    transform: translateX(4px);
}

/* ==========================================
   6. STATS SECTION - ANIMATED COUNTERS
   ========================================== */
.stats-premium {
    padding: 6rem 0;
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
}

.stats-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.stat-item-premium {
    position: relative;
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-base);
}

.stat-item-premium:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px) scale(1.05);
}

.stat-number-premium {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.stat-label-premium {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ==========================================
   7. TESTIMONIAL CARDS - GLASSMORPHISM
   ========================================== */
.testimonial-premium {
    position: relative;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(10, 35, 66, 0.05);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.testimonial-premium::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 6rem;
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.1;
    line-height: 1;
}

.testimonial-premium:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.9);
}

.testimonial-text-premium {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-author-premium {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar-premium {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(10, 35, 66, 0.2);
}

.testimonial-info-premium h5 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.testimonial-info-premium span {
    font-size: 0.9375rem;
    color: var(--color-text-light);
}

/* ==========================================
   8. CTA SECTION - MAGNETIC EFFECT
   ========================================== */
.cta-premium {
    position: relative;
    padding: 6rem 4rem;
    background: var(--primary-gradient);
    border-radius: var(--radius-xl);
    text-align: center;
    overflow: hidden;
    margin: 4rem 0;
}

.cta-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.cta-premium h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cta-premium p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   9. FOOTER - ULTRA MODERN
   ========================================== */
.footer-premium {
    background: linear-gradient(135deg, #0a2342 0%, #0f172a 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 6rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.footer-premium::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(28, 61, 110, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.footer-widget h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
}

.footer-widget a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all var(--transition-base);
    display: inline-block;
}

.footer-widget a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

/* ==========================================
   10. WHATSAPP FLOAT BUTTON - PREMIUM
   ========================================== */
.whatsapp-premium {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2rem;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 9999;
    animation: pulse 2s ease-in-out infinite;
}

.whatsapp-premium::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 2px solid #25D366;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ripple 2s ease-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes ripple {
    0% {
        width: 100%;
        height: 100%;
        opacity: 1;
    }

    100% {
        width: 150%;
        height: 150%;
        opacity: 0;
    }
}

.whatsapp-premium:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
}

/* ==========================================
   11. ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==========================================
   12. RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 991px) {
    .hero-ultra {
        min-height: auto;
        padding: 6rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .service-card-premium {
        padding: 2rem;
    }

    .stats-premium {
        padding: 4rem 0;
    }

    .cta-premium {
        padding: 4rem 2rem;
        margin: 2rem 0;
    }

    .footer-premium {
        padding: 4rem 0 2rem;
    }
}

@media (max-width: 575px) {

    .btn-premium,
    .btn-outline-premium {
        padding: 1rem 2rem;
        font-size: 0.9375rem;
    }

    .service-icon-premium {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .stat-number-premium {
        font-size: 2.5rem;
    }

    .testimonial-premium {
        padding: 1.5rem;
    }

    .whatsapp-premium {
        width: 60px;
        height: 60px;
        bottom: 1.5rem;
        right: 1.5rem;
        font-size: 1.75rem;
    }
}