/**
 * ALFA DIZAYN - Ultra Modern Professional Design
 * Premium Web Design - Glassmorphism & Modern Effects
 */

/* ===================================
   CSS VARIABLES - Premium Design System
   =================================== */
:root {
    /* Premium Color Palette */
    --color-primary: #000000;
    --color-secondary: #0693E3;
    --color-accent: #00D084;
    --color-purple: #8B5CF6;
    --color-orange: #F59E0B;
    --color-dark: #1a1a1a;
    --color-light: #f8f9fa;
    --color-white: #ffffff;
    --color-text: #1f2937;
    --color-text-light: #6b7280;

    /* Premium Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #0693E3 0%, #00D084 100%);
    --gradient-warm: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-sunset: linear-gradient(135deg, #FA8BFF 0%, #2BD2FF 52%, #2BFF88 90%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);

    /* Modern Shadows - Layered */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.20);
    --shadow-2xl: 0 24px 64px rgba(0,0,0,0.24);
    --shadow-colored: 0 8px 32px rgba(6, 147, 227, 0.3);

    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);

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

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-round: 50%;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
}

::selection {
    background: var(--color-secondary);
    color: white;
}

/* ===================================
   TYPOGRAPHY - Premium
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--color-dark);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h4 { font-size: clamp(1.25rem, 3vw, 2rem); }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: var(--spacing-sm);
    font-size: 1.0625rem;
    line-height: 1.8;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: var(--transition-base);
}

a:hover {
    color: var(--color-accent);
}

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

/* ===================================
   CONTAINER & GRID
   =================================== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 calc(var(--spacing-sm) * -1);
}

.col {
    flex: 1;
    padding: 0 var(--spacing-sm);
}

.col-1 { flex: 0 0 8.333%; max-width: 8.333%; }
.col-2 { flex: 0 0 16.666%; max-width: 16.666%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-8 { flex: 0 0 66.666%; max-width: 66.666%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

/* ===================================
   HEADER - Modern & Clean
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 9999;
    transition: var(--transition-base);
}

.header * {
    pointer-events: auto;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.header-top {
    background: var(--gradient-dark);
    color: var(--color-white);
    padding: 0.625rem 0;
    font-size: 0.8125rem;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contact a,
.header-social a {
    color: rgba(255,255,255,0.9);
    margin: 0 0.75rem;
    transition: var(--transition-fast);
}

.header-contact a:hover,
.header-social a:hover {
    color: var(--color-accent);
    transform: translateY(-2px);
}

.header-contact i {
    color: var(--color-accent);
    margin-right: 0.5rem;
}

.header-main {
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10001;
}

.logo {
    display: flex;
    align-items: center;
    transition: var(--transition-base);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-img {
    height: 45px;
    width: auto;
}

/* Navigation - Modern */
.nav {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    color: var(--color-dark);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-lg);
    position: relative;
    transition: var(--transition-base);
    letter-spacing: -0.01em;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 2px;
    transition: var(--transition-base);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-secondary);
    background: rgba(6, 147, 227, 0.05);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 30px;
}

.nav-cta {
    background: var(--gradient-secondary);
    color: var(--color-white) !important;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-xl);
    font-weight: 700;
    box-shadow: var(--shadow-colored);
    margin-left: 0.5rem;
}

/* Dropdown Menu - Modern & Elegant */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link i {
    font-size: 0.75rem;
    margin-left: 0.35rem;
    transition: var(--transition-base);
}

.nav-dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 1rem);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    border: 1px solid rgba(6, 147, 227, 0.1);
    padding: var(--spacing-md);
    min-width: 520px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all var(--transition-base);
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: var(--spacing-md);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius-lg);
    background: transparent;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    pointer-events: auto;
    cursor: pointer;
    text-decoration: none;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(6, 147, 227, 0.08) 0%, rgba(0, 208, 132, 0.08) 100%);
    border-color: rgba(6, 147, 227, 0.2);
    transform: translateX(5px);
}

.dropdown-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--gradient-secondary);
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(6, 147, 227, 0.2);
    transition: var(--transition-bounce);
    pointer-events: none;
}

.dropdown-icon i {
    pointer-events: none;
}

.dropdown-item:hover .dropdown-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(6, 147, 227, 0.35);
}

.dropdown-title {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--color-dark);
    transition: var(--transition-base);
    pointer-events: none;
}

.dropdown-item:hover .dropdown-title {
    color: var(--color-secondary);
}

.dropdown-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--gradient-secondary);
    color: white;
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    border-top: 1px solid rgba(6, 147, 227, 0.1);
}

.dropdown-footer:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-colored);
}

.dropdown-footer i {
    font-size: 0.875rem;
    transition: var(--transition-base);
}

.dropdown-footer:hover i {
    transform: translateX(5px);
}

.nav-cta::before {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(6, 147, 227, 0.4);
    background: linear-gradient(135deg, #00D084 0%, #0693E3 100%);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-dark);
    pointer-events: auto;
    touch-action: manipulation;
}

/* ===================================
   HERO SECTION - Ultra Modern
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding-top: 120px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(6, 147, 227, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 208, 132, 0.3) 0%, transparent 50%);
}

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

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: var(--spacing-2xl);
}

.hero-text {
    flex: 1;
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    margin-bottom: var(--spacing-md);
    animation: slideInDown 0.6s ease;
}

.hero-badge i {
    color: #FFD700;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    animation: slideInLeft 0.8s ease;
}

.gradient-text {
    background: linear-gradient(135deg, #FFD700 0%, #00D084 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: var(--spacing-lg);
    max-width: 650px;
    animation: slideInLeft 1s ease;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    animation: slideInLeft 1.2s ease;
}

.hero-image {
    flex: 1;
    position: relative;
    animation: slideInRight 1s ease;
}

.hero-image img {
    width: 100%;
    max-width: 650px;
    filter: drop-shadow(0 20px 60px rgba(0,0,0,0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

@keyframes slideInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ===================================
   BUTTONS - Premium Design
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 1.125rem 2.25rem;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition-base);
    font-family: var(--font-primary);
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, #0693E3 0%, #00D084 100%);
    color: var(--color-white);
    box-shadow: var(--shadow-colored);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(6, 147, 227, 0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-4px);
}

.btn-lg {
    padding: 1.375rem 2.75rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
}

/* ===================================
   SECTIONS
   =================================== */
section {
    padding: var(--spacing-2xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
}

.section-subtitle {
    color: var(--color-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: var(--spacing-sm);
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(6, 147, 227, 0.1);
    border-radius: var(--radius-xl);
}

.section-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    margin-bottom: var(--spacing-md);
    font-weight: 900;
}

.section-description {
    font-size: 1.1875rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ===================================
   CARDS - Glassmorphism Style
   =================================== */
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: var(--transition-base);
}

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

.card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-2xl);
    border-color: rgba(6, 147, 227, 0.3);
}

.card-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    background: var(--gradient-secondary);
    color: var(--color-white);
    font-size: 2.25rem;
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-colored);
    transition: var(--transition-bounce);
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 800;
}

.card-text {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.card-link {
    color: var(--color-secondary);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-base);
}

.card-link i {
    transition: var(--transition-base);
}

.card-link:hover {
    gap: 1rem;
    color: var(--color-accent);
}

/* ===================================
   STATS SECTION - Ultra Modern Design
   =================================== */
.stats-section {
    background: white;
    padding: 3rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50%;
    background: linear-gradient(to bottom, transparent, rgba(6, 147, 227, 0.2), transparent);
}

.stat-item:last-child::after {
    display: none;
}

.stat-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.75rem;
    background: linear-gradient(135deg, #0693E3 0%, #00D084 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: white;
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1);
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    line-height: 1;
    background: linear-gradient(135deg, #0693E3 0%, #00D084 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-light);
    letter-spacing: 0.3px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

/* ===================================
   GRIDS - Modern Layout
   =================================== */
.services-grid,
.portfolio-grid,
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* ===================================
   FOOTER - Modern
   =================================== */
.footer {
    background: var(--gradient-dark);
    color: var(--color-white);
    padding-top: var(--spacing-2xl);
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-widget h4 {
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    font-size: 1.375rem;
    font-weight: 800;
}

.footer-widget p,
.footer-widget a {
    color: rgba(255,255,255,0.75);
    line-height: 2;
    transition: var(--transition-fast);
}

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

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-bottom {
    padding: var(--spacing-lg) 0;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.9375rem;
}

/* ===================================
   WHATSAPP FLOAT
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9998;
    transition: var(--transition-base);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 1.5rem;
    }
}

/* ===================================
   UTILITIES
   =================================== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mt-5 { margin-top: var(--spacing-xl); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.bg-light {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 992px) {
    .header-main {
        position: relative;
    }

    .nav {
        display: none;
        position: fixed;
        top: 88px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem 1rem 2rem;
        box-shadow: 0 10px 40px rgba(0,0,0,0.1);
        max-height: calc(100vh - 88px);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        z-index: 9990;
        animation: slideDown 0.3s ease;
        box-sizing: border-box;
    }

    /* Custom Scrollbar for Mobile Menu */
    .nav::-webkit-scrollbar {
        width: 6px;
    }

    .nav::-webkit-scrollbar-track {
        background: rgba(0,0,0,0.05);
        border-radius: 10px;
    }

    .nav::-webkit-scrollbar-thumb {
        background: var(--color-secondary);
        border-radius: 10px;
    }

    .nav::-webkit-scrollbar-thumb:hover {
        background: var(--color-accent);
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav.active {
        display: flex !important;
    }

    .nav-link {
        width: 100%;
        padding: 0.875rem 1rem;
        border-bottom: none;
        text-align: left;
        border-radius: 8px;
        margin-bottom: 0.35rem;
        font-size: 0.9375rem;
        background: transparent;
        transition: all 0.2s ease;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(6, 147, 227, 0.08);
        color: var(--color-secondary);
    }

    .nav-link::before {
        display: none;
    }

    .nav-dropdown {
        position: relative;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    /* Mobilde hover efektini tamamen kaldır */
    .nav-dropdown:hover .dropdown-menu {
        opacity: 0 !important;
        visibility: hidden !important;
        display: none !important;
    }

    .nav-dropdown:hover > .nav-link i {
        transform: none !important;
    }

    .nav-dropdown > .nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: rgba(6, 147, 227, 0.05);
        border: 1px solid rgba(6, 147, 227, 0.15);
        box-sizing: border-box;
    }

    .nav-dropdown.active > .nav-link {
        background: rgba(6, 147, 227, 0.1);
        border-color: rgba(6, 147, 227, 0.25);
        color: var(--color-secondary);
    }

    .nav-dropdown > .nav-link i {
        transition: transform 0.3s ease;
        font-size: 0.75rem;
        color: var(--color-secondary);
        pointer-events: none;
    }

    .nav-dropdown > .nav-link {
        cursor: pointer;
    }

    .nav-dropdown.active > .nav-link i {
        transform: rotate(180deg);
    }

    .nav-dropdown .dropdown-menu {
        position: relative !important;
        display: none;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        left: auto !important;
        top: auto !important;
        right: auto !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: inset 0 2px 8px rgba(6, 147, 227, 0.08);
        padding: 0.5rem;
        background: linear-gradient(135deg, rgba(6, 147, 227, 0.03) 0%, rgba(255, 255, 255, 0.5) 100%);
        border-radius: 8px;
        margin-top: 0.5rem;
        margin-left: 0 !important;
        margin-right: 0 !important;
        min-width: auto !important;
        max-width: 100%;
        width: 100% !important;
        border: 1px solid rgba(6, 147, 227, 0.15);
        box-sizing: border-box;
        overflow: hidden;
    }

    .nav-dropdown.active .dropdown-menu {
        display: block;
        animation: slideDown 0.25s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-8px);
            max-height: 0;
        }
        to {
            opacity: 1;
            transform: translateY(0);
            max-height: 1000px;
        }
    }

    .dropdown-grid {
        display: flex;
        flex-direction: column;
        padding: 0;
        gap: 0.375rem;
        margin-bottom: 0.5rem;
    }

    .dropdown-item {
        display: flex;
        align-items: center;
        padding: 0.5rem 0.625rem;
        border-radius: 6px;
        background: white;
        margin-bottom: 0;
        gap: 0.5rem;
        border: 1px solid rgba(6, 147, 227, 0.1);
        transition: all 0.2s ease;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        text-decoration: none;
    }

    .dropdown-item:hover,
    .dropdown-item:active {
        transform: translateX(3px);
        background: rgba(6, 147, 227, 0.05);
        border-color: rgba(6, 147, 227, 0.2);
    }

    .dropdown-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 0.875rem;
        border-radius: 6px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 0;
        pointer-events: none;
    }

    .dropdown-icon i {
        pointer-events: none;
    }

    .dropdown-title {
        font-size: 0.8125rem;
        font-weight: 600;
        flex: 1;
        line-height: 1.4;
        word-break: break-word;
        overflow-wrap: break-word;
        max-width: calc(100% - 40px);
        pointer-events: none;
    }

    .dropdown-item {
        cursor: pointer;
        pointer-events: auto !important;
    }

    .dropdown-footer {
        margin-top: 0;
        padding: 0.5rem 0.75rem;
        text-align: center;
        font-size: 0.8125rem;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.375rem;
        width: 100%;
        box-sizing: border-box;
    }

    .nav-cta {
        margin: 1rem 0 0.5rem;
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
        background: var(--gradient-secondary) !important;
        color: white !important;
        display: flex;
        align-items: center;
        box-shadow: var(--shadow-colored);
    }

    body.menu-open {
        overflow: hidden;
    }

    .mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        color: var(--color-dark);
        z-index: 10000;
        position: relative;
        padding: 15px;
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
        background: transparent;
        border: none;
        font-size: 1.5rem;
        min-width: 50px;
        min-height: 50px;
    }

    .mobile-toggle:hover {
        color: var(--color-secondary);
    }

    .mobile-toggle:active {
        opacity: 0.7;
        background: rgba(0,0,0,0.05);
        border-radius: 8px;
    }

    .mobile-toggle i {
        pointer-events: none;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .services-grid,
    .portfolio-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }

    .header-top {
        display: none;
    }

    .nav {
        top: 70px;
        max-height: calc(100vh - 70px);
        padding: 0.875rem 0.875rem 1.5rem;
    }

    .nav-link {
        padding: 0.75rem 0.75rem;
        font-size: 0.875rem;
    }

    .nav-dropdown .dropdown-menu {
        padding: 0.375rem;
        margin-top: 0.375rem;
    }

    .dropdown-item {
        padding: 0.5rem 0.5rem;
        gap: 0.375rem;
    }

    .dropdown-icon {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 0.75rem;
        pointer-events: none;
    }

    .dropdown-icon i {
        pointer-events: none;
    }

    .dropdown-title {
        font-size: 0.75rem;
        line-height: 1.4;
        word-break: break-word;
        max-width: calc(100% - 35px);
        pointer-events: none;
    }

    .dropdown-item {
        pointer-events: auto !important;
        cursor: pointer;
    }

    .dropdown-footer {
        padding: 0.5rem 0.625rem;
        font-size: 0.75rem;
    }

    .nav-cta {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-item {
        padding: 1.25rem 0.75rem;
    }

    .stat-item::after {
        display: none;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-item {
        padding: 1rem 0.5rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .stat-icon {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Loading Spinner */
.spinner {
    border: 3px solid rgba(6, 147, 227, 0.1);
    border-top: 3px solid var(--color-secondary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

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

/* ========================================
   Empty Content Notice
======================================== */
.empty-content-notice {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 16px;
    border: 2px dashed #e5e7eb;
}

.empty-content-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(6, 147, 227, 0.1) 0%, rgba(0, 208, 132, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-content-icon i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.empty-content-notice h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 0.5rem 0;
}

.empty-content-notice p {
    color: var(--color-text-light);
    font-size: 1rem;
    margin: 0;
}

/* ========================================
   Related Projects Section
======================================== */
.related-projects {
    padding: 6rem 0;
    background: #fafafa;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.project-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(0, 0, 0, 0.1);
}

.project-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(6, 147, 227, 0.9) 0%, rgba(0, 208, 132, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.project-card-overlay i {
    color: white;
    font-size: 2rem;
    transform: translateX(-10px);
    transition: transform 0.3s ease;
}

.project-card:hover .project-card-overlay i {
    transform: translateX(0);
}

.project-card-content {
    padding: 1.5rem;
}

.project-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    color: var(--color-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-card-client {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-card-client i {
    color: var(--color-primary);
    font-size: 0.75rem;
}

.project-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-card-tags .tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, rgba(6, 147, 227, 0.1) 0%, rgba(0, 208, 132, 0.1) 100%);
    color: var(--color-primary);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .related-projects {
        padding: 4rem 0;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card-image {
        height: 180px;
    }

    .project-card-content {
        padding: 1.25rem;
    }

    .project-card-title {
        font-size: 1rem;
    }
}
