/* ============================================
   KORYAP - Modern Landing Page Styles
   Industrial-Refined Aesthetic
   ============================================ */

/* ============================================
   CSS Variables & Root
   ============================================ */
:root {
    /* Primary Colors */
    --color-dark: #1b1918;
    --color-dark-rgb: 27, 25, 24;
    --color-orange: #ec8028;
    --color-orange-rgb: 236, 128, 40;
    
    /* Secondary Colors */
    --color-light: #f5f0eb;
    --color-gray: #2d2a29;
    --color-gray-light: #3d3a39;
    --color-gold: #d4a574;
    --color-cream: #faf8f5;
    
    /* Text Colors */
    --text-primary: #1b1918;
    --text-secondary: #5a5654;
    --text-light: #f5f0eb;
    --text-muted: #8a8684;
    
    /* Typography */
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Shadows */
    --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.2);
    --shadow-glow: 0 0 40px rgba(236, 128, 40, 0.3);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-smooth: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Z-index layers */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-tooltip: 500;
    --z-preloader: 1000;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--color-light);
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

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

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

ul, ol {
    list-style: none;
}

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

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

h1 { font-size: clamp(3rem, 8vw, 7rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

/* ============================================
   Layout
   ============================================ */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.section-dark {
    background-color: var(--color-dark);
    color: var(--text-light);
}

.section-header {
    margin-bottom: var(--space-2xl);
}

.section-header.center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-orange);
    margin-bottom: var(--space-sm);
}

.section-tag-light {
    color: rgba(255, 255, 255, 0.8);
}

.section-tag-dark {
    color: var(--text-primary);
}

.section-title {
    color: inherit;
    margin-bottom: var(--space-sm);
}

.section-title-orange {
    color: var(--color-orange);
}

.section-title-dark {
    color: var(--text-primary);
}

.section-title .highlight {
    color: var(--color-orange);
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
}

.section-header.center .section-desc {
    margin: 0 auto;
}

.section-dark .section-desc {
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-orange);
    color: white;
    border-color: var(--color-orange);
}

.btn-primary:hover {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--color-dark);
}

/* ============================================
   Preloader
   ============================================ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-preloader);
}

.preloader.slide-up {
    animation: preloaderSlideUp 0.5s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.preloader.hidden {
    display: none;
}

@keyframes preloaderSlideUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100%);
    }
}

.preloader-inner {
    text-align: center;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.preloader.slide-up .preloader-inner {
    transform: translateY(-30px);
    opacity: 0;
}

.preloader-logo {
    margin-bottom: var(--space-lg);
}

.preloader-logo img {
    width: 200px;
    height: auto;
    /* Invert dark parts of logo for visibility on dark bg */
    filter: brightness(0) invert(1);
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background-color: var(--color-gray);
    border-radius: 3px;
    overflow: hidden;
}

.preloader-progress {
    width: 0%;
    height: 100%;
    background-color: var(--color-orange);
    animation: loading 0.6s ease-out forwards;
}

@keyframes loading {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ============================================
   Header
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-sticky);
    padding: var(--space-md) 0;
    transition: all var(--transition-base);
    background-color: transparent;
}

.header.scrolled {
    background-color: rgba(245, 240, 235, 0.98);
    backdrop-filter: blur(10px);
    padding: var(--space-sm) 0;
    box-shadow: var(--shadow-md);
}

/* Header on light sections - dark text */
.header.scrolled .nav-link {
    color: var(--text-primary);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--color-orange);
}

.header.scrolled .hamburger,
.header.scrolled .hamburger::before,
.header.scrolled .hamburger::after {
    background-color: var(--text-primary);
}


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

.logo {
    position: relative;
}

.logo img {
    height: 50px;
    width: auto;
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.logo:hover img {
    transform: scale(1.05);
}

/* Logo switching - Default: show light logo */
.logo .logo-light {
    opacity: 1;
}

.logo .logo-dark {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

/* When scrolled: show dark logo */
.header.scrolled .logo .logo-light {
    opacity: 0;
}

.header.scrolled .logo .logo-dark {
    opacity: 1;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    padding: var(--space-xs) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-orange);
    transition: width var(--transition-base);
}

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

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

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    width: 32px;
    height: 24px;
    position: relative;
    z-index: var(--z-fixed);
}

.hamburger,
.hamburger::before,
.hamburger::after {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
    transition: all var(--transition-base);
}

.hamburger {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger::before {
    content: '';
    top: -8px;
}

.hamburger::after {
    content: '';
    top: 8px;
}

.nav-toggle.active .hamburger {
    background-color: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    height: 85vh;
    min-height: 500px;
    max-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 8s ease-out;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(27, 25, 24, 0.9) 0%,
        rgba(27, 25, 24, 0.7) 50%,
        rgba(27, 25, 24, 0.8) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 var(--space-md);
    max-width: 900px;
}

.hero-title {
    color: var(--text-light);
    margin-bottom: var(--space-lg);
}

.title-main {
    display: block;
    font-size: clamp(4rem, 15vw, 12rem);
    letter-spacing: 0.15em;
    line-height: 0.9;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Hero Slider Controls */
.hero-slider-controls {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    z-index: 20;
}

.slider-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--text-light);
    transition: all var(--transition-base);
}

.slider-btn:hover {
    background-color: var(--color-orange);
    border-color: var(--color-orange);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: var(--space-xs);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.dot:hover,
.dot.active {
    background-color: var(--color-orange);
    transform: scale(1.2);
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: var(--space-lg);
    z-index: 20;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-light);
    opacity: 0.7;
    transition: opacity var(--transition-base);
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-text {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid currentColor;
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-orange);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% { 
        opacity: 1; 
        transform: translateX(-50%) translateY(0); 
    }
    50% { 
        opacity: 0.3; 
        transform: translateX(-50%) translateY(12px); 
    }
}

/* ============================================
   About Section
   ============================================ */
/* ============================================
   About Section - Corporate Style
   ============================================ */
.about {
    background-color: var(--color-light);
    position: relative;
}

/* Header Row */
.about-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.about-header-content {
    flex: 1;
}

.about-header .section-title {
    margin-bottom: 0;
}

/* Experience Badge */
.about-badge {
    display: flex;
    align-items: center;
    background-color: var(--color-dark);
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    gap: var(--space-md);
}

.about-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-orange), var(--color-gold));
}

.about-badge::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(236, 128, 40, 0.1) 0%, transparent 60%);
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.badge-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--color-orange);
    line-height: 1;
    position: relative;
    z-index: 1;
}

.badge-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.3;
    position: relative;
    z-index: 1;
    border-left: 2px solid var(--color-orange);
    padding-left: var(--space-md);
}

/* Description */
.about-description {
    max-width: 800px;
    margin-bottom: var(--space-2xl);
}

.about-description p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-description strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Feature Cards Grid */
.about-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.about-card {
    background-color: white;
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    transition: all var(--transition-base);
    animation-delay: var(--delay, 0s);
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(236, 128, 40, 0.3);
}

.about-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-dark);
    border-radius: var(--radius-md);
    color: var(--color-orange);
    margin-bottom: var(--space-md);
}

.about-card h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.about-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Approach Section */
.about-approach {
    background-color: var(--color-cream);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-2xl);
}

.approach-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.approach-header h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
    white-space: nowrap;
}

.approach-line {
    flex: 1;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
}

.approach-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm) var(--space-xl);
}

.approach-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.approach-list li svg {
    color: var(--color-orange);
    flex-shrink: 0;
}

.approach-list li span {
    line-height: 1.4;
}

/* ============================================
   Services Section
   ============================================ */
.services {
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.service-card {
    background-color: var(--color-gray);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-smooth);
    animation-delay: var(--delay, 0s);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(236, 128, 40, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    position: relative;
    color: var(--color-orange);
}


.service-title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
    color: var(--text-light);
}

.service-subtitle {
    font-size: 0.875rem;
    color: var(--color-orange);
    margin-bottom: var(--space-md);
    font-weight: 500;
}

.service-list {
    margin-bottom: var(--space-md);
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    margin-bottom: var(--space-xs);
}

.service-list li::before {
    content: '→';
    color: var(--color-orange);
    flex-shrink: 0;
}

.service-number {
    position: absolute;
    bottom: var(--space-md);
    right: var(--space-md);
    font-family: var(--font-heading);
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
}

.services-bg-element {
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 128, 40, 0.1), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ============================================
   Why Us Section
   ============================================ */
.why-us {
    background-color: var(--color-light);
    position: relative;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

.why-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    animation-delay: var(--delay, 0s);
    position: relative;
    overflow: hidden;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-orange), var(--color-gold));
    border-radius: var(--radius-md);
    margin: 0 auto var(--space-md);
    color: white;
    transition: transform var(--transition-base);
}


.why-title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.why-list {
    text-align: left;
}

.why-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: var(--space-xs);
}

.why-list li::before {
    content: '✓';
    color: var(--color-orange);
    font-weight: 700;
    flex-shrink: 0;
}

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-gray) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-xl) var(--space-lg);
}

.stat-item {
    text-align: center;
    position: relative;
    padding: var(--space-lg) var(--space-sm);
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: calc(var(--space-md) / -2);
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50%;
    background: linear-gradient(to bottom, transparent, var(--color-gray-light), transparent);
}

/* Fade + Scale Animation */
.stat-animate {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: var(--delay, 0s);
}

.stat-animate.animated {
    opacity: 1;
    transform: scale(1);
}

.stat-value-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    color: var(--color-orange);
    line-height: 1;
    text-shadow: 0 2px 20px rgba(236, 128, 40, 0.3);
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-light);
    opacity: 0.9;
}

.stat-name {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    margin-top: var(--space-sm);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.why-bg-pattern {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(236, 128, 40, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

/* ============================================
   References Section
   ============================================ */
.references {
    background-color: var(--color-dark);
}

/* References Card Grid */
.references-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.ref-card {
    background-color: var(--color-gray);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.ref-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-orange);
    box-shadow: 0 8px 24px rgba(236, 128, 40, 0.15);
}

/* Card Image Placeholder */
.ref-card-image {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, rgba(236, 128, 40, 0.1) 0%, rgba(27, 25, 24, 0.3) 100%);
    position: relative;
    overflow: hidden;
}

.ref-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.1)' stroke-width='1.5'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E") center center no-repeat;
    opacity: 0.5;
    z-index: 0;
}

/* Görsel varsa placeholder'ı gizle */
.ref-card-image:has(img)::before {
    display: none;
}

.ref-card-image img {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

/* Card Content */
.ref-card-content {
    padding: var(--space-md);
}

.ref-card-date {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.08);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
}

/* Hover'da tarih turuncu olsun */
.ref-card:hover .ref-card-date {
    background-color: var(--color-orange);
    color: white;
}

.ref-card-client {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-orange);
    margin: 0 0 4px 0;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

.ref-card-project {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ref-card-desc {
    display: block;
    font-size: 0.6875rem;
    color: var(--color-orange);
    margin-top: var(--space-xs);
    font-weight: 500;
    letter-spacing: 0.02em;
    opacity: 0.9;
}

/* References Stats */
.references-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.ref-stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-orange);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.ref-stat-label {
    font-size: 1.25rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.02em;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    background-color: var(--color-cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: stretch;
}

.contact-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(236, 128, 40, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-orange);
    flex-shrink: 0;
}

.contact-details h4 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.contact-details p,
.contact-details a {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-details a {
    display: block;
    transition: color var(--transition-base);
}

.contact-details a:hover {
    color: var(--color-orange);
}

/* Social Section */
.social-section {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.social-section h4 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.social-links {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    background-color: var(--color-light);
    color: var(--text-secondary);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link span {
    display: none;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-orange);
    color: var(--color-orange);
    background-color: white;
}

.social-link.whatsapp:hover {
    background-color: #25D366;
    border-color: #25D366;
    color: white;
}

/* Map */
.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
}

.map-wrapper {
    flex: 1;
    min-height: 350px;
    background-color: var(--color-gray);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
}

.map-info {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background-color: var(--color-dark);
    color: var(--text-light);
}

.map-info svg {
    color: var(--color-orange);
}

.map-info span {
    font-size: 0.875rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: var(--color-dark);
    color: var(--text-light);
}

.footer-top {
    padding: var(--space-3xl) 0 var(--space-2xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
}

.footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: var(--space-md);
}

.footer-desc {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: var(--space-md);
    color: var(--text-light);
}

.footer-links ul li {
    margin-bottom: var(--space-xs);
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-base);
    display: inline-block;
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-sm);
}

.footer-contact svg {
    color: var(--color-orange);
    flex-shrink: 0;
}

.footer-bottom {
    padding: var(--space-md) 0;
    border-top: 1px solid var(--color-gray);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   WhatsApp Float Button
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-lg);
    z-index: var(--z-fixed);
    transition: all var(--transition-base);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background-color: var(--color-dark);
    color: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: var(--space-lg);
    right: calc(var(--space-lg) + 70px);
    width: 48px;
    height: 48px;
    background-color: var(--color-dark);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    box-shadow: var(--shadow-md);
    z-index: var(--z-fixed);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--color-orange);
    transform: translateY(-4px);
}

/* ============================================
   Reveal Animations
   ============================================ */
.reveal-fade,
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all var(--transition-smooth);
}

.reveal-fade {
    transform: translateY(20px);
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-fade.revealed,
.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0);
}

/* Animation delays for staggered effects */
.reveal-up[style*="--delay"] {
    transition-delay: var(--delay);
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet Landscape */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* References Grid - 3 columns on large tablet */
    .references-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-sm);
    }
    
    .references-stats {
        gap: var(--space-xl);
    }
    
    .ref-stat-number {
        font-size: 3rem;
    }
    
    .ref-stat-label {
        font-size: 1.125rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Portrait */
@media (max-width: 1024px) {
    /* About Section */
    .about-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-features-grid .about-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
    
    .approach-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-item:nth-child(2)::after {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* References Grid - 3 columns on tablet */
    .references-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .ref-card-content {
        padding: var(--space-sm);
    }
    
    .references-stats {
        gap: var(--space-lg);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    :root {
        --space-3xl: 4rem;
    }
    
    /* Mobile Navigation */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--color-dark);
        padding: var(--space-3xl) var(--space-lg);
        transition: right var(--transition-base);
        z-index: var(--z-modal);
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }
    
    .nav-link {
        font-size: 1.25rem;
        color: var(--text-light) !important;
    }
    
    .nav-toggle {
        display: block;
    }
    
    /* Hero */
    .hero {
        height: 75vh;
        min-height: 450px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-slider-controls {
        bottom: var(--space-xl);
    }
    
    .hero-scroll {
        display: none;
    }
    
    /* About */
    .about-header {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .about-badge {
        align-self: flex-start;
    }
    
    .about-features-grid {
        grid-template-columns: 1fr;
    }
    
    .about-features-grid .about-card:last-child {
        max-width: 100%;
    }
    
    .about-approach {
        padding: var(--space-lg);
    }
    
    .approach-list {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Why Us */
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
        padding: var(--space-lg);
    }
    
    .stat-item {
        padding: var(--space-md) var(--space-sm);
    }
    
    .stat-item::after {
        display: none;
    }
    
    .stat-value {
        font-size: 2.5rem;
    }
    
    .stat-plus {
        font-size: 1.5rem;
    }
    
    /* References Grid Mobile - 2 columns */
    .references-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }
    
    .ref-card-image {
        aspect-ratio: 4/3;
    }
    
    .ref-card-content {
        padding: var(--space-sm);
    }
    
    .ref-card-date {
        font-size: 0.5625rem;
        padding: 3px 6px;
    }
    
    .ref-card-client {
        font-size: 0.6875rem;
    }
    
    .ref-card-project {
        font-size: 0.75rem;
    }
    
    .ref-card-desc {
        font-size: 0.625rem;
        margin-top: 2px;
    }
    
    .references-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--space-lg);
        justify-content: center;
    }
    
    .ref-stat {
        flex: 0 0 auto;
        min-width: 100px;
    }
    
    .ref-stat-number {
        font-size: 2.5rem;
    }
    
    .ref-stat-label {
        font-size: 1rem;
    }
    
    /* Contact section mobile */
    .contact-card {
        padding: var(--space-lg);
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }
    
    .map-wrapper {
        min-height: 280px;
        flex: none;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    /* Float buttons */
    .whatsapp-float {
        width: 54px;
        height: 54px;
        bottom: var(--space-md);
        right: var(--space-md);
    }
    
    .back-to-top {
        right: calc(var(--space-md) + 64px);
        width: 44px;
        height: 44px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    :root {
        --space-2xl: 3rem;
        --space-3xl: 3rem;
    }
    
    .container {
        padding: 0 var(--space-sm);
    }
    
    .stat-number {
        font-size: 6rem;
    }
    
    .service-card {
        padding: var(--space-lg);
    }
    
    .why-card {
        padding: var(--space-lg);
    }
    
    .contact-card {
        padding: var(--space-lg);
    }
    
    .social-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
    }

    /* References Grid - 2 columns on small mobile */
    .references-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xs);
    }
    
    .ref-card-image {
        aspect-ratio: 4/3;
    }
    
    .ref-card-content {
        padding: var(--space-xs);
    }
    
    .ref-card-date {
        font-size: 0.5rem;
        padding: 2px 5px;
        margin-bottom: 4px;
    }
    
    .ref-card-client {
        font-size: 0.625rem;
    }
    
    .ref-card-project {
        font-size: 0.6875rem;
        -webkit-line-clamp: 1;
        line-clamp: 1;
    }
    
    .ref-card-desc {
        font-size: 0.5625rem;
        margin-top: 2px;
    }
}

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

/* Print Styles */
@media print {
    .header,
    .hero-slider-controls,
    .hero-scroll,
    .whatsapp-float,
    .back-to-top,
    .preloader {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: var(--space-xl) 0;
    }
    
    .section {
        padding: var(--space-lg) 0;
    }
}

