/* =====================================================
   ŞINAL ÇELİK - Corporate Website Styles
   Modern, Professional, Engineering-Oriented Design
   ===================================================== */

/* CSS Variables */
:root {
    /* Primary Colors - Steel Blue Theme */
    --primary-900: #0c1929;
    --primary-800: #152238;
    --primary-700: #1e3a5f;
    --primary-600: #2563eb;
    --primary-500: #3b82f6;
    --primary-400: #60a5fa;
    --primary-300: #93c5fd;

    /* Accent Colors - Industrial Orange */
    --accent-600: #ea580c;
    --accent-500: #f97316;
    --accent-400: #fb923c;

    /* Neutral Colors */
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;

    /* Container */
    --container-max: 1280px;
    --container-padding: 1.5rem;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

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

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Section */
.section {
    padding: var(--space-4xl) 0;
}

.section-gray {
    background-color: var(--gray-200);
}

.section-dark {
    background-color: var(--primary-900);
    color: var(--white);
}

/* Uzmanlık Alanlarımız Background */
.section-uzmanlik {
    position: relative;
    background-image: url('../images/site/uzamanlik-faaliyet-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-uzmanlik::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(12, 25, 41, 0.75);
}

.section-uzmanlik .container {
    position: relative;
    z-index: 1;
}

.section-uzmanlik .section-badge,
.section-uzmanlik .section-title,
.section-uzmanlik .section-description {
    color: var(--white);
}

/* Faaliyet Alanlarımız Background */
.section-faaliyet {
    position: relative;
    background-image: url('../images/site/uzamanlik-faaliyet-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-faaliyet::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(12, 25, 41, 0.75);
}

.section-faaliyet .container {
    position: relative;
    z-index: 1;
}

.section-faaliyet .section-badge,
.section-faaliyet .section-title,
.section-faaliyet .section-description {
    color: var(--white);
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

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

.section-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-600);
    background-color: rgba(37, 99, 235, 0.1);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

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

.section-description {
    font-size: 1.125rem;
    color: var(--gray-600);
}

.section-dark .section-description {
    color: var(--gray-300);
}

/* =====================================================
   HEADER & NAVIGATION
   ===================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: 0.02em;
    transition: color var(--transition-normal);
}

.logo-tagline {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--gray-500);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color var(--transition-normal);
}

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

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-900);
    padding: var(--space-sm) 0;
    position: relative;
    transition: color var(--transition-fast);
    white-space: nowrap;
}

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

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

.nav-link:hover {
    color: var(--primary-500);
}

/* Language Switcher */
.nav-lang {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.lang-option {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-500);
    transition: color var(--transition-fast);
}

.lang-option:hover {
    color: var(--primary-500);
}

.lang-option.active {
    color: var(--primary-600);
}

.lang-sep {
    color: var(--gray-300);
    font-size: 0.875rem;
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--white);
    min-width: 260px;
    padding: var(--space-sm) 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
}

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

.dropdown li a {
    display: block;
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.875rem;
    color: var(--gray-700);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.dropdown li a:hover {
    background-color: var(--gray-50);
    color: var(--primary-600);
    padding-left: calc(var(--space-lg) + 5px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    padding: 5px 0;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--gray-900);
    transition: all var(--transition-normal);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    cursor: pointer;
    border: 2px solid transparent;
}

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

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

.btn-secondary {
    background-color: transparent;
    color: var(--primary-600);
    border-color: var(--primary-600);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

.btn-lg {
    font-size: 1rem;
    padding: 1rem 2.25rem;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(12, 25, 41, 0.85) 0%,
            rgba(30, 58, 95, 0.75) 50%,
            rgba(12, 25, 41, 0.85) 100%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 700px;
    padding: var(--space-4xl) 0;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

.hero-title-line {
    display: block;
}

.hero-title-line.highlight {
    color: var(--primary-400);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--gray-300);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--gray-400);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 1;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid var(--gray-400);
    border-radius: var(--radius-full);
    position: relative;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--primary-400);
    border-radius: var(--radius-full);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) translateY(12px);
        opacity: 0.5;
    }
}

/* =====================================================
   ABOUT PREVIEW SECTION
   ===================================================== */
.about-preview-grid {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-preview-content .section-badge {
    margin-bottom: var(--space-sm);
}

.about-preview-content .section-title {
    margin-bottom: var(--space-lg);
}

.about-preview-text {
    color: var(--gray-600);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.about-preview-text strong {
    color: var(--gray-900);
}

.about-preview-content .btn {
    margin-top: var(--space-md);
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.service-card {
    background-color: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    text-align: center;
}

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

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    border-radius: var(--radius-lg);
    margin: 0 auto var(--space-lg);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.service-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
}

.service-description {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* =====================================================
   PROJECTS PREVIEW SECTION
   ===================================================== */
.projects-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.project-card {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

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

.project-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

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

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

.project-content {
    padding: var(--space-lg);
}

.project-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-xs);
}

.project-location {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: var(--space-sm);
}

.project-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary-600);
    background-color: rgba(37, 99, 235, 0.1);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
}

.projects-preview-cta {
    text-align: center;
    margin-top: var(--space-2xl);
}

/* =====================================================
   STATS SECTION
   ===================================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    text-align: center;
}

.stat-item {
    padding: var(--space-xl);
}

.stat-number {
    display: block;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--primary-400);
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.9375rem;
    color: var(--gray-300);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta {
    position: relative;
    background-image: url('../images/site/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(12, 25, 41, 0.5);
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-text {
    font-size: 1.125rem;
    color: var(--gray-200);
    margin-bottom: var(--space-xl);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

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

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

.cta .btn-primary:hover {
    background-color: var(--gray-100);
    border-color: var(--gray-100);
}

.cta .btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background-color: var(--primary-900);
    color: var(--gray-300);
    padding: var(--space-4xl) 0 var(--space-xl);
}

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

.footer-logo {
    display: inline-flex;
    flex-direction: column;
    margin-bottom: var(--space-lg);
}

.footer-logo .logo-text {
    font-size: 1.25rem;
    color: var(--white);
}

.footer-logo .logo-tagline {
    color: var(--gray-400);
}

.footer-about {
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--space-lg);
}

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

.footer-links ul li a {
    font-size: 0.9375rem;
    color: var(--gray-400);
    transition: all var(--transition-fast);
}

.footer-links ul li a:hover {
    color: var(--primary-400);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    font-size: 0.9375rem;
}

.footer-contact ul li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--primary-400);
    margin-top: 2px;
}

.footer-contact ul li a {
    color: var(--gray-400);
}

.footer-contact ul li a:hover {
    color: var(--primary-400);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* =====================================================
   PAGE HERO (For inner pages)
   ===================================================== */
.page-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: calc(80px + var(--space-4xl)) 0 var(--space-4xl);
    min-height: 500px;
    display: flex;
    align-items: center;
    text-align: center;
}

/* Her sayfa için özel hero background */
.page-hero.about-hero {
    background-image: url('../images/site/about-hero-bg.jpg');
}

.page-hero.projects-hero {
    background-image: url('../images/site/about-hero-bg.jpg');
}

.page-hero.contact-hero {
    background-image: url('../images/site/contact-hero-bg.jpg');
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(12, 25, 41, 0.6);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--space-md);
}

.page-hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-300);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    font-size: 0.875rem;
    color: var(--gray-400);
}

.breadcrumb a {
    color: var(--primary-300);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb span {
    color: var(--gray-500);
}

/* =====================================================
   ABOUT PAGE
   ===================================================== */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-intro-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-lg);
}

.about-intro-content p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.about-intro-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

/* Team Section */
.team-card {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto var(--space-lg);
    border: 4px solid var(--primary-500);
    box-shadow: var(--shadow-lg);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-avatar svg {
    width: 60px;
    height: 60px;
    color: var(--white);
}

.team-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-xs);
}

.team-title {
    font-size: 1rem;
    color: var(--primary-600);
    font-weight: 500;
    margin-bottom: var(--space-lg);
}

.team-bio {
    color: var(--gray-600);
    line-height: 1.8;
}

.team-projects {
    list-style: none;
    padding: 0;
    margin-top: var(--space-sm);
    text-align: left;
}

.team-projects li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    padding: var(--space-xs) 0;
    color: var(--gray-600);
    line-height: 1.6;
}

.team-projects li::before {
    content: '•';
    color: var(--primary-500);
    font-weight: bold;
    margin-right: var(--space-sm);
    flex-shrink: 0;
}

.team-projects .project-name {
    color: var(--gray-800);
    font-weight: 500;
}

.team-projects .project-role {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.team-projects .project-role::before {
    content: '—';
    margin: 0 var(--space-xs);
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.value-card {
    text-align: center;
    padding: var(--space-xl);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
}

.value-icon svg {
    width: 40px;
    height: 40px;
    color: var(--primary-600);
}

.value-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
}

.value-description {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* =====================================================
   PROJECTS PAGE
   ===================================================== */
.projects-filter {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.filter-btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-600);
    background-color: var(--gray-100);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-600);
    color: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.project-card-large {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

.project-card-large:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.project-card-large .project-image {
    aspect-ratio: 16 / 9;
    background-color: var(--gray-900);
}

/* Show project images in full (no crop) on the projects page cards */
.project-card-large .project-image img,
.project-card-large .slider-image {
    object-fit: contain;
}

/* When .gallery-item is used on a project card image, the parent card already provides
   border-radius / box-shadow / hover lift — neutralize the gallery-item defaults */
.project-card-large .project-image.gallery-item {
    border-radius: 0;
    box-shadow: none;
}

.project-card-large .project-image.gallery-item:hover {
    box-shadow: none;
    transform: none;
}

/* Project Image Slider */
.project-slider {
    position: relative;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slider-image.active {
    opacity: 1;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    z-index: 2;
}

.slider-btn:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn svg {
    width: 20px;
    height: 20px;
    color: var(--primary-600);
}

.slider-btn-prev {
    left: 1rem;
}

.slider-btn-next {
    right: 1rem;
}

.slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.slider-dot.active {
    background: var(--white);
    width: 24px;
    border-radius: 5px;
}

.project-card-large .project-content {
    padding: var(--space-xl);
}

.project-card-large .project-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.project-card-large .project-description {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--gray-200);
}

.project-meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    color: var(--gray-500);
}

.project-meta-item svg {
    width: 16px;
    height: 16px;
}

/* No Projects Message */
.no-projects {
    text-align: center;
    padding: var(--space-3xl);
    background-color: var(--gray-50);
    border-radius: var(--radius-xl);
}

.no-projects-icon {
    width: 80px;
    height: 80px;
    background-color: var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
}

.no-projects-icon svg {
    width: 40px;
    height: 40px;
    color: var(--gray-400);
}

.no-projects h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--space-sm);
}

.no-projects p {
    color: var(--gray-500);
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */

/* Design Projects List */
.completed-projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    max-width: 900px;
    margin: 0 auto;
}

.completed-project-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.completed-project-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.project-bullet {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    border-radius: 50%;
    flex-shrink: 0;
}

.completed-project-item span:last-child {
    font-size: 0.9375rem;
    color: var(--gray-700);
    font-weight: 500;
}

@media (max-width: 768px) {
    .completed-projects-grid {
        grid-template-columns: 1fr;
    }
}

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

.contact-single {
    max-width: 700px;
    margin: 0 auto;
}

.contact-single .contact-info {
    background-color: var(--primary-900);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    color: var(--white);
}

.contact-info {
    background-color: var(--primary-900);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    color: var(--white);
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
}

.contact-info p {
    color: var(--gray-300);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.contact-list {
    margin-bottom: var(--space-xl);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-400);
}

.contact-item-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.contact-item-content p,
.contact-item-content a {
    font-size: 0.9375rem;
    color: var(--gray-300);
}

.contact-item-content a:hover {
    color: var(--primary-400);
}

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

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-lg);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: var(--space-sm);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--gray-900);
    background-color: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

/* =====================================================
   MAP SECTION
   ===================================================== */
.map-section {
    padding-bottom: var(--space-4xl);
}

.map-container {
    width: 100%;
    height: 400px;
    background-color: var(--gray-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .about-intro {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

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

@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
    }

    .section {
        padding: var(--space-3xl) 0;
    }

    /* Mobile Navigation */
    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px var(--space-xl) var(--space-xl);
        box-shadow: var(--shadow-2xl);
        transition: right var(--transition-normal);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu .nav-link {
        color: var(--gray-900);
        font-size: 1.125rem;
        padding: var(--space-md) 0;
        width: 100%;
    }

    /* Also target :hover so the first tap on touch (which fires :hover and
       its higher-specificity desktop transform) can't shove the submenu
       off-screen. Keep it a static, full-width indented list on mobile. */
    .has-dropdown .dropdown,
    .has-dropdown:hover .dropdown {
        position: static;
        transform: none;
        transition: none;
        box-shadow: none;
        background-color: transparent;
        opacity: 1;
        visibility: visible;
        min-width: 0;
        width: 100%;
        /* Tab indent so sub-items line up under the parent, with a gap
           below the parent so its underline doesn't hug the sub-items */
        margin: var(--space-sm) 0 0 var(--space-xs);
        padding: 0 0 var(--space-sm);
        border-left: 2px solid var(--gray-200);
        display: none;
    }

    .has-dropdown.active .dropdown {
        display: block;
    }

    .has-dropdown .dropdown li a {
        padding: var(--space-sm) var(--space-lg);
        font-size: 1rem;
        white-space: normal;
    }

    /* Touch has no real hover: the first tap fires :hover and would
       underline/recolor a link that isn't the current page. Suppress hover
       states on mobile so only the active (current) page stays underlined. */
    .nav-menu .nav-link:hover::after {
        width: 0;
    }

    .nav-menu .nav-link:hover {
        color: var(--gray-900);
    }

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

    /* Hero */
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

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

    .hero-scroll {
        display: none;
    }

    /* Projects */
    .projects-preview-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

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

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

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

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

    /* Values */
    .values-grid {
        grid-template-columns: 1fr;
    }

    /* Filters */
    .projects-filter {
        flex-wrap: wrap;
    }
}

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

    .btn {
        width: 100%;
        text-align: center;
    }

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

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

    .stat-item {
        padding: var(--space-md);
    }
}

/* =====================================================
   ANIMATIONS & UTILITIES
   ===================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: var(--space-md);
}

.mb-2 {
    margin-bottom: var(--space-lg);
}

.mb-3 {
    margin-bottom: var(--space-xl);
}

.mb-4 {
    margin-bottom: var(--space-2xl);
}

/* Overlay for mobile menu */
.overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* =====================================================
   FACTORY PAGE STYLES
   ===================================================== */

/* Capacity Highlights */
.capacity-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
    padding: var(--space-xl);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.capacity-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.capacity-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-600);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.capacity-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.capacity-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-600);
    margin: 0 0 0.25rem 0;
}

.capacity-text p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin: 0;
}

/* Factory Services Grid */
.factory-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.factory-service-item {
    position: relative;
    padding: var(--space-lg);
    padding-left: var(--space-xl);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.factory-service-item:hover {
    border-color: var(--primary-300);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.factory-service-item .service-bullet {
    position: absolute;
    left: var(--space-md);
    top: var(--space-lg);
    width: 8px;
    height: 8px;
    background: var(--primary-600);
    border-radius: 50%;
}

.factory-service-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 var(--space-xs) 0;
}

.factory-service-item p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
}

/* Factory Gallery */
.factory-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Gallery Overlay for Click */
.gallery-item {
    cursor: pointer;
    position: relative;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 25, 41, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Suppress the lightbox hover cue when the user is interacting with slider controls */
.gallery-item:has(.slider-btn:hover, .slider-dot:hover) .gallery-overlay {
    opacity: 0;
}

.gallery-item:has(.slider-btn:hover, .slider-dot:hover) img {
    transform: none;
}

.gallery-overlay svg {
    width: 48px;
    height: 48px;
    color: var(--white);
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.lightbox-caption {
    color: var(--white);
    font-size: 1rem;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    z-index: 10000;
}

.lightbox-close:hover {
    background: var(--white);
}

.lightbox-close:hover svg {
    color: var(--gray-900);
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    z-index: 10000;
}

.lightbox-prev {
    left: var(--space-xl);
}

.lightbox-next {
    right: var(--space-xl);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--white);
}

.lightbox-prev:hover svg,
.lightbox-next:hover svg {
    color: var(--gray-900);
}

.lightbox-prev svg,
.lightbox-next svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        width: 45px;
        height: 45px;
    }
    
    .lightbox-prev {
        left: var(--space-md);
    }
    
    .lightbox-next {
        right: var(--space-md);
    }
    
    .lightbox-close {
        top: var(--space-md);
        right: var(--space-md);
    }
}
