/* ========================================
   GZY ENERJİ - Corporate Website Styles
   Design: Dark Premium with Electric Accents
   ======================================== */

/* ===== DESIGN TOKENS ===== */
:root {
    /* Colors - Dark Premium */
    --bg-primary: #0a0e17;
    --bg-secondary: #0f1420;
    --bg-tertiary: #141a2a;
    --bg-card: #161d30;
    --bg-card-hover: #1a2240;
    --bg-glass: rgba(20, 26, 42, 0.85);
    --bg-glass-light: rgba(20, 26, 42, 0.6);

    /* Text */
    --text-primary: #f0f2f8;
    --text-secondary: #a0a8c0;
    --text-muted: #6b7394;
    --text-inverse: #0a0e17;

    /* Accent Colors - Electric Blue & Amber */
    --accent-blue: #0ea5e9;
    --accent-blue-light: #38bdf8;
    --accent-blue-dark: #0284c7;
    --accent-blue-glow: rgba(14, 165, 233, 0.3);
    --accent-amber: #f59e0b;
    --accent-amber-light: #fbbf24;
    --accent-amber-glow: rgba(245, 158, 11, 0.3);
    --accent-green: #10b981;
    --accent-red: #ef4444;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0ea5e9, #0284c7);
    --gradient-accent: linear-gradient(135deg, #0ea5e9, #f59e0b);
    --gradient-hero: linear-gradient(180deg, rgba(10, 14, 23, 0.3) 0%, rgba(10, 14, 23, 0.8) 50%, #0a0e17 100%);
    --gradient-card: linear-gradient(180deg, transparent 0%, rgba(10, 14, 23, 0.95) 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(14, 165, 233, 0.15), transparent 70%);

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(14, 165, 233, 0.3);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(14, 165, 233, 0.15);
    --shadow-glow-amber: 0 0 30px rgba(245, 158, 11, 0.15);

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1280px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

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

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-main);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

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

ul {
    list-style: none;
}

button {
    border: none;
    cursor: pointer;
    font-family: inherit;
    background: transparent;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

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

.preloader-inner {
    text-align: center;
}

.preloader-bolt {
    font-size: 48px;
    animation: preloaderPulse 1s ease-in-out infinite;
}

.preloader-text {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--text-secondary);
    margin-top: 16px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-smooth);
}

.navbar.scrolled {
    padding: 12px 0;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1001;
}

.logo-icon {
    font-size: 28px;
    filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.5));
}

.logo-text {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.logo-accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-left: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    position: relative;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active {
    background: rgba(14, 165, 233, 0.1);
    color: var(--accent-blue-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--accent-blue);
    border-radius: 1px;
    transition: transform var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gradient-primary);
    color: white;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(14, 165, 233, 0.4);
}

.cta-icon {
    font-size: 16px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.toggle-line {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 1px;
    transition: all var(--transition-base);
}

.nav-toggle.active .toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    text-align: center;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.mobile-nav-link {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-secondary);
    transition: all var(--transition-base);
    padding: 8px 0;
}

.mobile-nav-link:hover {
    color: var(--accent-blue-light);
    transform: translateX(8px);
}

.mobile-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--gradient-primary);
    color: white;
    font-size: 18px;
    font-weight: 600;
    border-radius: var(--radius-full);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: heroImageZoom 20s ease-in-out infinite alternate;
}

@keyframes heroImageZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    padding: 0 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-blue-light);
    margin-bottom: 28px;
    letter-spacing: 0.5px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-green);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 68px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-title-accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.7s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.9s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    animation: fadeInUp 0.8s ease 1.1s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-blue-light);
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-amber);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-light);
}

/* Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: fadeInUp 0.8s ease 1.3s both;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    transition: color var(--transition-base);
}

.scroll-indicator:hover {
    color: var(--accent-blue-light);
}

.scroll-text {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--accent-blue);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-blue-light);
    animation: scrollLineAnim 2s ease-in-out infinite;
}

@keyframes scrollLineAnim {
    0% { top: -100%; }
    50% { top: 100%; }
    100% { top: 100%; }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--accent-blue);
    background: rgba(14, 165, 233, 0.05);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== SECTION STYLES ===== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-blue-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.title-accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== SERVICES ===== */
.services {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: var(--gradient-glow);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow);
}

.service-card-featured {
    grid-column: span 2;
    grid-row: span 2;
}

.service-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-card-featured .service-card-image {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.service-card-featured .service-card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

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

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-card);
}

.service-card-icon-only {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05), rgba(245, 158, 11, 0.05));
}

.service-icon-large {
    width: 80px;
    height: 80px;
    color: var(--accent-blue);
    opacity: 0.5;
}

.service-card-content {
    padding: 28px;
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: var(--radius-md);
    color: var(--accent-blue);
    margin-bottom: 16px;
    transition: all var(--transition-base);
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-card:hover .service-icon {
    background: rgba(14, 165, 233, 0.2);
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.15);
}

.service-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.service-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-blue);
    transition: all var(--transition-base);
}

.service-link:hover {
    color: var(--accent-blue-light);
    gap: 10px;
}

.service-link svg {
    transition: transform var(--transition-base);
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* ===== ABOUT ===== */
.about {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 2px solid var(--accent-blue);
    border-radius: var(--radius-xl);
    opacity: 0.3;
    pointer-events: none;
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: 30px;
    padding: 20px 28px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.4);
}

.experience-number {
    display: block;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: white;
}

.experience-text {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 2px;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.about-feature:hover {
    border-color: var(--border-accent);
    background: var(--bg-card);
}

.feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 165, 233, 0.1);
    border-radius: var(--radius-sm);
    color: var(--accent-blue);
}

.feature-icon svg {
    width: 20px;
    height: 20px;
}

.feature-info h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.feature-info p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===== CTA BANNER ===== */
.cta-banner {
    padding: 80px 0;
    background: var(--bg-tertiary);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(14, 165, 233, 0.1), transparent 70%);
    pointer-events: none;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.cta-text h2 {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    margin-bottom: 8px;
}

.cta-text p {
    font-size: 16px;
    color: var(--text-secondary);
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

/* ===== STATS BAR - FULL MOBILE FIX ===== */
.stats-bar {
    background: var(--gradient-primary);
    padding: 60px 0;
    position: relative;
    z-index: 5;
    margin-top: -30px;
}

.stats-bar-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Tablet ve Mobil Düzenlemeleri */
@media (max-width: 991px) {
    .stats-bar-grid {
        gap: 30px;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .stats-bar {
        margin-top: 0 !important; /* Mavi barın referanslara binmesini engeller */
        padding: 50px 0 !important;
    }

    .stats-bar-grid {
        flex-direction: column !important; /* Kesinlikle alt alta */
        gap: 40px !important;
    }
    
    .stats-bar-divider {
        display: none !important; /* Mobilde aradaki ince çizgileri gizle, daha temiz dursun */
    }

    .stats-bar-num {
        font-size: 42px !important;
    }

    .stats-bar-label {
        font-size: 14px !important;
        margin-top: 8px !important;
    }
    
    .stats-bar-note {
        font-size: 12px !important;
        line-height: 1.5;
        padding: 0 15px;
        margin-top: 40px !important;
    }
}

.stats-bar-item {
    text-align: center;
    flex: 1;
}

.stats-bar-num {
    display: block;
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: white;
}

.stats-bar-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 5px;
}

/* ===== REFERENCES - FULL MOBILE FIX ===== */
.references-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* TABLET: 2 Sütun */
@media (max-width: 991px) {
    .references-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBİL: Tamamen Alt Alta 1 Sütun */
@media (max-width: 576px) {
    .references-grid {
        grid-template-columns: 1fr !important; /* TEK SÜTUN */
        gap: 25px !important;
    }
    
    .ref-card {
        height: auto !important; /* İçerik ne kadarsa o kadar uzasın, devasa boşluk kalmasın */
    }

    .ref-image {
        height: 240px !important; /* Mobilde resimler daha belirgin olsun */
    }

    .ref-title {
        font-size: 15px !important; 
        line-height: 1.4;
    }
}

.ref-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    height: 100%;
}

.ref-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-lg);
}

.ref-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.ref-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

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

.ref-status {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    color: white;
    z-index: 2;
}

.status-ongoing { background: var(--accent-blue); }
.status-new { background: var(--accent-amber); }
.status-completed { background: var(--accent-green); }

.ref-content {
    padding: 24px;
}

.ref-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
}

/* ===== CONTACT SECTION STYLES (Existing continue) ===== */
.contact {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 48px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.contact-card:hover {
    border-color: var(--border-accent);
    transform: translateX(8px);
    box-shadow: var(--shadow-glow);
}

.contact-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: var(--radius-md);
    color: var(--accent-blue);
}

.contact-card-icon svg {
    width: 22px;
    height: 22px;
}

.contact-card-text h4 {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-card-text a,
.contact-card-text span {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.contact-card-text a:hover {
    color: var(--accent-blue-light);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7394' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Form Success Message */
.form-success {
    display: none;
    text-align: center;
    padding: 40px;
}

.form-success.show {
    display: block;
}

.form-success-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-secondary);
}

/* ===== FOOTER ===== */
.footer {
    padding: 80px 0 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border-subtle);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links-group h4,
.footer-contact h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: all var(--transition-base);
}

.footer-links a:hover {
    color: var(--accent-blue-light);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-contact-item span:first-child {
    font-size: 16px;
    flex-shrink: 0;
}

.footer-contact-item a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer-contact-item a:hover {
    color: var(--accent-blue-light);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 900;
    transition: all var(--transition-base);
    animation: whatsappPulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1); }
}

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

/* Scroll Reveal Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Electric particle */
.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--accent-blue);
    opacity: 0;
    animation: particleFloat 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(0) scale(0); }
    20% { opacity: 0.7; transform: translateY(-30px) scale(1); }
    80% { opacity: 0.3; transform: translateY(-120px) scale(0.6); }
    100% { opacity: 0; transform: translateY(-180px) scale(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card-featured {
        grid-column: span 2;
        grid-row: span 1;
    }

    /* PC'deki o harika "arkaplan resmi" efektini koruyoruz */
    .service-card-featured .service-card-image {
        height: 100% !important; /* Resim tüm kartı kaplasın */
        position: absolute !important;
    }

    .service-card-featured .service-card-content {
        min-height: 380px; /* Tablet için yeterli yükseklik */
    }
    .about-grid {
        gap: 48px;
    }

    .about-image-wrapper img {
        height: 400px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 64px;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

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

    .service-card-featured {
        grid-column: span 1;
        grid-row: span 1;
    }

    /* Mobilde de tam kart arkaplan efektini koru */
    .service-card-featured .service-card-image {
        height: 100% !important;
        position: absolute !important;
    }

    .service-card-featured .service-card-content {
        min-height: 340px; /* Mobilde biraz daha kompakt olsun ama yine de devasa görünsün */
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrapper img {
        height: 300px;
    }

    .about-image-accent {
        display: none;
    }

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

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .btn {
        justify-content: center;
    }

    .contact-info-cards {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number,
    .stat-suffix {
        font-size: 24px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        width: calc(50% - 10px);
    }

    .stat-item:last-child {
        width: 100%;
    }
}

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

    .hero-bg-img {
        animation: none;
        transform: scale(1);
    }
}
