/* ============================================
   RMZ Yapı - Premium Construction Website
   Design System & Styles
   ============================================ */

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    /* Colors - Light Theme */
    --color-primary: #1E3A5C;
    --color-primary-light: #2E5A8C;
    --color-primary-dark: #0E2A4C;
    --color-accent: #C9A227;
    --color-accent-light: #D9B247;

    /* Backgrounds */
    --bg-white: #FFFFFF;
    --bg-light: #FAFAFA;
    --bg-subtle: #F5F5F5;
    --bg-cream: #F8F6F3;

    /* Text Colors */
    --text-dark: #1F2937;
    --text-body: #4B5563;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;

    /* Borders */
    --border-light: #E5E7EB;
    --border-subtle: #F3F4F6;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 40px rgba(30, 58, 92, 0.15);

    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Josefin 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: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-smooth: 600ms cubic-bezier(0.4, 0, 0.2, 1);

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

/* ============================================
   DARK MODE THEME
   ============================================ */
body.dark-mode {
    --color-primary: #4A90C2;
    --color-primary-light: #5AA0D2;
    --color-primary-dark: #1E3A5C;
    --color-accent: #E0B83A;
    --color-accent-light: #F0C84A;

    /* Dark Backgrounds */
    --bg-white: #0F1419;
    --bg-light: #171C24;
    --bg-subtle: #1E2530;
    --bg-cream: #1A1F28;

    /* Dark Text Colors */
    --text-dark: #F1F5F9;
    --text-body: #CBD5E1;
    --text-muted: #94A3B8;
    --text-light: #64748B;

    /* Dark Borders */
    --border-light: #334155;
    --border-subtle: #1E293B;

    /* Dark Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(74, 144, 194, 0.2);
}

/* Dark Mode Transition */
body {
    transition: background-color var(--transition-slow), color var(--transition-slow);
}

/* Theme Toggle Button */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: all var(--transition-base);
    margin-left: var(--space-sm);
}

.theme-toggle:hover {
    background: var(--color-primary);
    color: var(--bg-white);
    transform: scale(1.1);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    color: var(--text-body);
    transition: color var(--transition-base);
}

.theme-toggle:hover svg {
    color: var(--bg-white);
}

/* Hide/Show appropriate icon based on theme */
.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
}

body.dark-mode .theme-toggle .sun-icon {
    display: block;
}

body.dark-mode .theme-toggle .moon-icon {
    display: none;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-body);
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

ul,
ol {
    list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.2;
}

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

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

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--space-md);
}

.section-title .accent {
    color: var(--color-accent);
    display: block;
    margin-top: 0.5rem;
}

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

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

/* ============================================
   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: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-base);
}

.btn-primary {
    background: var(--color-primary);
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

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

.btn-primary:hover svg {
    transform: translateX(4px);
}

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

.btn-outline:hover {
    background: var(--bg-subtle);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-full {
    width: 100%;
}

/* Button Ripple Effect */
.btn::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: all var(--transition-slow);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: var(--space-sm) 0;
}

/* Dark Mode Navbar */
body.dark-mode .navbar.scrolled {
    background: rgba(15, 20, 25, 0.95);
}

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

.nav-logo img {
    height: 75px;
    width: auto;
    transition: transform var(--transition-base);
}

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

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

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

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

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

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.75rem 1.5rem;
    background: var(--color-primary);
    color: var(--bg-white);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all var(--transition-base);
}

.nav-cta svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-base);
}

.nav-cta:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.nav-cta:hover svg {
    transform: translateX(4px);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    cursor: pointer;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--text-dark);
    transition: all var(--transition-base);
    transform-origin: center;
}

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

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

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background: var(--bg-light);
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
}

.hero-slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 3s ease;
}

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

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.7) 40%,
            rgba(255, 255, 255, 0.3) 100%);
}

.hero-slide-content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    max-width: 650px;
    z-index: 10;
}

/* Hero Animation Items */
.hero-slide .animate-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-slide.active .animate-item {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide.active .animate-item:nth-child(1) {
    transition-delay: 0.2s;
}

.hero-slide.active .animate-item:nth-child(2) {
    transition-delay: 0.4s;
}

.hero-slide.active .animate-item:nth-child(3) {
    transition-delay: 0.6s;
}

.hero-slide.active .animate-item:nth-child(4) {
    transition-delay: 0.8s;
}

.hero-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--color-accent);
    color: var(--bg-white);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

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

.hero-title .accent {
    color: var(--color-primary);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    max-width: 500px;
}

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

/* Hero Controls */
.hero-controls {
    position: absolute;
    bottom: 80px;
    left: 8%;
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    z-index: 20;
}

.hero-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.hero-arrow svg {
    width: 20px;
    height: 20px;
}

.hero-arrow:hover {
    background: var(--color-primary);
    color: var(--bg-white);
    transform: scale(1.1);
}

.hero-dots {
    display: flex;
    gap: var(--space-sm);
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-light);
    transition: all var(--transition-base);
    cursor: pointer;
}

.hero-dot.active {
    background: var(--color-primary);
    transform: scale(1.2);
}

.hero-dot:hover:not(.active) {
    background: var(--color-primary-light);
}

/* Hero Progress Bar */
.hero-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--border-light);
    z-index: 20;
}

.hero-progress-bar {
    height: 100%;
    background: var(--color-primary);
    width: 0;
    transition: width 0.1s linear;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    right: 8%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    z-index: 20;
    opacity: 0.7;
    transition: opacity var(--transition-base);
}

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

.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    writing-mode: vertical-rl;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

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

@keyframes scrollWheel {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(16px);
        opacity: 0;
    }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--space-3xl) 0;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-image {
    position: relative;
}

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

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

.about-image-wrapper:hover img {
    transform: scale(1.05);
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--color-accent);
    opacity: 0.1;
    border-radius: var(--radius-xl);
    z-index: -1;
}

.about-experience {
    position: absolute;
    bottom: -30px;
    left: 30px;
    background: var(--color-primary);
    color: var(--bg-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    box-shadow: var(--shadow-xl);
}

.experience-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.experience-text {
    font-size: 0.875rem;
    line-height: 1.4;
    opacity: 0.9;
}

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

.about-subtitle {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
    line-height: 1.4;
}

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

.about-stats {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    padding: var(--space-xl) 0;
    margin: var(--space-lg) 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

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

.stat-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
    transition: transform var(--transition-base);
}

.stat-item:hover .stat-icon {
    transform: translateY(-5px);
}

.stat-icon svg {
    width: 42px;
    height: 42px;
    stroke-width: 1.5;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    display: block;
}



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

/* About Decoration */
.about-decoration {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: -1;
}

.deco-line {
    width: 150px;
    height: 2px;
    background: var(--border-light);
}

.deco-circle {
    width: 300px;
    height: 300px;
    border: 2px solid var(--border-light);
    border-radius: 50%;
    position: absolute;
    top: -150px;
    right: -100px;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: var(--space-3xl) 0;
    background: var(--bg-cream);
    position: relative;
    overflow: hidden;
}

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

.service-card {
    background: var(--bg-white);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

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

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

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

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    transition: transform var(--transition-base);
}

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

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

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

.service-description {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.service-features {
    margin-bottom: var(--space-lg);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    color: var(--text-body);
    padding: var(--space-xs) 0;
}

.service-features svg {
    width: 16px;
    height: 16px;
    color: var(--color-accent);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    transition: gap var(--transition-base);
}

.service-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-base);
}

.service-link:hover {
    gap: var(--space-sm);
}

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

/* ============================================
   SERVICES VISUAL CARDS (New Design)
   ============================================ */
.services-visual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.service-visual-card {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    cursor: pointer;
    min-height: 450px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: cardFloat 6s ease-in-out infinite;
}

.service-visual-card:nth-child(2) {
    animation-delay: -3s;
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.service-visual-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px -15px rgba(30, 58, 92, 0.35);
    animation-play-state: paused;
}

.service-visual-image {
    position: absolute;
    inset: 0;
}

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

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

/* Enhanced Overlay - Gölge soldan sağa daha güçlü */
.service-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(20, 40, 70, 0.95) 0%,
            rgba(30, 58, 92, 0.85) 30%,
            rgba(30, 58, 92, 0.5) 60%,
            rgba(30, 58, 92, 0.2) 100%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-visual-card:hover .service-visual-overlay {
    background: linear-gradient(135deg,
            rgba(20, 40, 70, 0.98) 0%,
            rgba(30, 58, 92, 0.9) 40%,
            rgba(30, 58, 92, 0.6) 70%,
            rgba(30, 58, 92, 0.3) 100%);
}

/* Animated shine effect */
.service-visual-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    z-index: 5;
    transition: left 0.8s ease;
}

.service-visual-card:hover::before {
    left: 100%;
}

/* Border glow effect */
.service-visual-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-2xl);
    border: 2px solid transparent;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 3;
}

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

.service-visual-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-2xl);
    color: #ffffff;
    z-index: 10;
    transform: translateY(10px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-visual-card:hover .service-visual-content {
    transform: translateY(0);
}

.service-visual-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-accent) 0%, rgba(201, 162, 39, 0.8) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px -10px rgba(201, 162, 39, 0.5);
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        box-shadow: 0 10px 30px -10px rgba(201, 162, 39, 0.5);
    }

    50% {
        box-shadow: 0 15px 40px -10px rgba(201, 162, 39, 0.7);
    }
}

.service-visual-card:hover .service-visual-icon {
    transform: translateY(-10px) rotate(5deg) scale(1.1);
    box-shadow: 0 20px 40px -10px rgba(201, 162, 39, 0.6);
    animation-play-state: paused;
}

.service-visual-icon svg {
    width: 32px;
    height: 32px;
    color: var(--bg-white);
    stroke-width: 1.5;
    transition: transform 0.5s ease;
}

.service-visual-card:hover .service-visual-icon svg {
    transform: scale(1.1);
}

.service-visual-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--bg-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInTitle 0.8s ease forwards;
}

.service-visual-card:nth-child(2) .service-visual-title {
    animation-delay: 0.2s;
}

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

.service-visual-desc {
    font-size: 1.0625rem;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: var(--space-lg);
    max-width: 380px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.service-visual-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1rem;
    font-weight: 600;
    color: var(--bg-white);
    padding: 1rem 1.75rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: var(--radius-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 20px -5px rgba(30, 58, 92, 0.4);
    border: none;
    position: relative;
    overflow: hidden;
}

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

.service-visual-link:hover::before {
    left: 100%;
}

.service-visual-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px -5px rgba(30, 58, 92, 0.5);
    gap: var(--space-md);
}

.service-visual-link svg {
    width: 18px;
    height: 18px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Services Background */
.services-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.services-pattern {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.05) 0%, transparent 70%);
    animation: patternRotate 30s linear infinite;
}

@keyframes patternRotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects {
    padding: var(--space-3xl) 0;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.projects-showcase {
    max-width: 1100px;
    margin: 0 auto;
}

.project-main {
    position: relative;
    margin-bottom: var(--space-xl);
}

.project-image-wrapper {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    aspect-ratio: 16/9;
    box-shadow: var(--shadow-xl);
}

.project-main-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.project-main-img.active {
    opacity: 1;
    transform: scale(1);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: var(--space-3xl) var(--space-xl) var(--space-xl);
    color: #ffffff;
}

.project-info-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: absolute;
    bottom: var(--space-xl);
    left: var(--space-xl);
    right: var(--space-xl);
    pointer-events: none;
}

.project-info-content.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    pointer-events: auto;
}

.project-category {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: var(--color-accent);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-sm);
}

.project-name {
    font-size: 1.75rem;
    color: #ffffff;
    margin-bottom: var(--space-sm);
}

.project-desc {
    font-size: 0.9375rem;
    opacity: 0.9;
    margin-bottom: var(--space-md);
    max-width: 500px;
}

.project-meta {
    display: flex;
    gap: var(--space-lg);
    font-size: 0.875rem;
    opacity: 0.8;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

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

/* Project Detail Link */
.project-detail-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-md);
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: var(--space-md);
    opacity: 0;
    transform: translateY(10px);
}

/* Show on project-info hover */
.project-info:hover .project-detail-link {
    opacity: 1;
    transform: translateY(0);
}

.project-detail-link:hover {
    background: var(--bg-white);
    color: var(--color-primary);
    border-color: var(--bg-white);
    transform: translateY(-2px);
}

.project-detail-link svg,
.project-detail-link i {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-base);
}

.project-detail-link:hover svg,
.project-detail-link:hover i {
    transform: translateX(4px);
}

/* Project Hover Detail Button (appears on image hover) */
.project-hover-detail {
    position: absolute;
    bottom: var(--space-xl);
    right: var(--space-xl);
    transform: translateY(20px);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.875rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-md);
    color: var(--bg-white);
    font-size: 0.9375rem;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 20;
    cursor: pointer;
}

.project-hover-detail:not(.active) {
    display: none;
}

.project-hover-detail svg {
    width: 18px;
    height: 18px;
}

.project-main:hover .project-hover-detail.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.project-hover-detail:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Project Thumbnails */
.project-thumbnails {
    position: relative;
    overflow: hidden;
    margin-bottom: var(--space-lg);
    cursor: grab;
    padding: var(--space-sm) 0;
}

.project-thumbnails:active {
    cursor: grabbing;
}

.project-thumbnails-wrapper {
    overflow: hidden;
    width: 100%;
}

.project-thumbnails-track {
    display: flex;
    gap: var(--space-md);
    transition: transform 0.5s ease-out;
    width: max-content;
    /* Ensure robust padding for shadow visibility and scale hover transforms */
    padding: 30px 40px;
}

.project-thumb {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    padding: 0;
    flex: 0 0 240px;
    /* Fixed width for consistent slide size */
    width: 240px;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: all var(--transition-base);
    user-select: none;
    -webkit-user-drag: none;
}

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

.thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 58, 92, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.thumb-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bg-white);
}

.project-thumb:hover,
.project-thumb.active {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-thumb:hover .thumb-overlay,
.project-thumb.active .thumb-overlay {
    opacity: 1;
}

.project-thumb:hover img,
.project-thumb.active img {
    transform: scale(1.1);
}

.project-thumb.active {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
}

/* Project Navigation */
.project-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
}

.project-nav-btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-body);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.project-nav-btn svg {
    width: 18px;
    height: 18px;
}

.project-nav-btn:hover {
    background: var(--color-primary);
    color: var(--bg-white);
    border-color: var(--color-primary);
}

.project-counter {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    display: flex;
    align-items: baseline;
    gap: var(--space-xs);
}

.project-counter .current {
    font-weight: 700;
    color: var(--color-primary);
}

.project-counter .divider {
    color: var(--text-light);
}

.project-counter .total {
    color: var(--text-muted);
}

/* Projects Background */
.projects-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.projects-gradient {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to left, var(--bg-cream) 0%, transparent 100%);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: var(--space-3xl) 0;
    background: var(--bg-subtle);
    position: relative;
    overflow: hidden;
}

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

.contact-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.contact-title .accent {
    color: var(--color-primary);
}

.contact-description {
    color: var(--text-body);
    font-size: 1.0625rem;
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

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

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

.contact-icon svg {
    width: 22px;
    height: 22px;
    color: var(--bg-white);
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: color var(--transition-base);
}

a.contact-value:hover {
    color: var(--color-primary);
}

.contact-socials {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-body);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

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

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

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-white);
    padding: var(--space-xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

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

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text-dark);
    background: var(--bg-subtle);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(30, 58, 92, 0.1);
}

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

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

/* Contact Background */
.contact-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.contact-shapes .shape {
    position: absolute;
    background: var(--color-primary);
    opacity: 0.03;
    border-radius: 50%;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -100px;
}

/* ============================================
   FOOTER (REDESIGNED)
   ============================================ */
.footer {
    background: linear-gradient(135deg, #0f1c2e 0%, #1a3250 100%);
    color: var(--bg-white);
    padding-top: var(--space-3xl);
    position: relative;
    overflow: hidden;
    /* Subtle texture overlay via repeating gradient (optional, keeping clean for now) */
}

/* Glow Effect Top */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 20%,
            var(--color-accent) 50%,
            rgba(255, 255, 255, 0.1) 80%,
            transparent 100%);
    opacity: 0.5;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: var(--space-3xl);
    align-items: start;
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo img {
    height: 70px;
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
    margin-bottom: var(--space-md);
    transition: transform 0.3s ease;
}

.footer-logo:hover img {
    transform: scale(1.05);
    filter: brightness(0) invert(1) drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
}

.footer-tagline {
    font-size: 1rem;
    color: #aebbcc;
    line-height: 1.8;
    max-width: 320px;
    font-weight: 300;
}

.footer-links {
    display: contents;
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--color-accent);
    margin-bottom: var(--space-lg);
    letter-spacing: 1px;
    text-shadow: 0 0 20px rgba(201, 162, 39, 0.3);
    white-space: nowrap;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

/* Horizontal Nav Styling */
.footer-nav-horizontal ul {
    flex-direction: row;
    gap: 2rem;
    align-items: center;
    justify-content: flex-start;
    padding-top: var(--space-xl);
}

.footer-nav-horizontal a {
    font-family: var(--font-heading);
    /* Switch to heading font for nav */
    font-size: 0.9375rem;
    color: #e2e8f0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 5px;
    white-space: nowrap;
    /* Prevent wrapping */
}

.footer-nav-horizontal a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.footer-nav-horizontal a:hover {
    color: var(--bg-white);
    opacity: 1;
}

.footer-nav-horizontal a:hover::after {
    width: 100%;
}

/* Contact Styling */
.footer-column li {
    font-size: 1rem;
    color: #cbd5e1;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    /* Prevent wrapping details */
}

.footer-column a[href^="tel"],
.footer-column a[href^="mailto"] {
    color: #fff;
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.footer-column a[href^="tel"]:hover,
.footer-column a[href^="mailto"]:hover {
    color: var(--color-accent);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) 0;
    position: relative;
}

.copyright {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 400;
}

/* Webnova Branding */
.webnova-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.webnova-brand:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.webnova-link {
    font-family: var(--font-heading);
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
}

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

.back-to-top:hover {
    background: var(--color-primary-light);
    transform: translateY(-5px);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

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

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

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

/* Staggered Delay for Cards */
.service-card[data-delay="100"] {
    transition-delay: 0.1s;
}

.service-card[data-delay="200"] {
    transition-delay: 0.2s;
}

.service-card[data-delay="300"] {
    transition-delay: 0.3s;
}

/* ============================================
   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;
    }
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

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

    .about-grid {
        gap: var(--space-xl);
    }

    .contact-wrapper {
        gap: var(--space-xl);
    }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    :root {
        --space-3xl: 4rem;
    }

    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-lg);
        padding: var(--space-xl);
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-slow);
        z-index: 1001;
    }

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

    .nav-link {
        font-size: 1.125rem;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
        z-index: 1002;
    }

    /* Hero */
    .hero-slide-content {
        left: var(--container-padding);
        right: var(--container-padding);
        max-width: none;
    }

    .hero-controls {
        left: var(--container-padding);
    }

    .scroll-indicator {
        display: none;
    }

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

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        padding-left: 0;
    }

    .about-image {
        order: -1;
    }

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

    .about-experience {
        left: 20px;
        bottom: -25px;
    }

    .about-stats {
        flex-wrap: wrap;
        gap: var(--space-lg);
    }

    .stat-divider {
        display: none;
    }

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

    .services-visual-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        padding: 0;
    }

    .service-visual-card {
        min-height: 380px;
        margin: 0;
        width: 100%;
        display: block;
    }

    .service-visual-image {
        position: absolute;
        inset: 0;
    }

    .service-visual-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: var(--space-lg);
        z-index: 10;
    }

    .service-visual-title {
        font-size: 1.375rem;
    }

    .service-visual-desc {
        font-size: 0.9375rem;
        line-height: 1.6;
        max-width: 100%;
    }

    .service-visual-icon {
        width: 55px;
        height: 55px;
        margin-bottom: var(--space-md);
    }

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

    .service-visual-link {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    /* Projects */
    .project-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-meta {
        flex-wrap: wrap;
        gap: var(--space-sm);
    }

    .project-info {
        padding: var(--space-xl) var(--space-md) var(--space-md);
    }

    .project-info-content {
        left: var(--space-md);
        right: var(--space-md);
        bottom: var(--space-md);
    }

    .project-category {
        font-size: 0.625rem;
        padding: 0.25rem 0.75rem;
        margin-bottom: var(--space-xs);
    }

    .project-name {
        font-size: 1.25rem;
        margin-bottom: var(--space-xs);
    }

    .project-desc {
        font-size: 0.8125rem;
        max-width: 100%;
        margin-bottom: var(--space-sm);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .project-meta {
        font-size: 0.75rem;
        gap: var(--space-sm);
    }

    /* Mobile: Always visible detail link in normal flow */
    .project-detail-link {
        position: static;
        margin-top: var(--space-sm);
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        gap: var(--space-xs);
        opacity: 1;
        transform: none;
    }

    .project-detail-link svg,
    .project-detail-link i {
        width: 14px;
        height: 14px;
    }

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

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

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

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-tagline {
        margin: 0 auto;
        max-width: 100%;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--space-xl);
        text-align: center;
        width: 100%;
    }

    .footer-nav-horizontal ul {
        flex-direction: column;
        gap: var(--space-md);
        padding-top: 0;
    }

    .footer-nav-horizontal a {
        font-size: 1.125rem;
        padding: 10px;
    }

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

    .footer-column li {
        justify-content: center;
    }

    .footer-column li {
        justify-content: center;
        /* Center contact icons */
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
        padding-top: var(--space-md);
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    :root {
        --container-padding: 1rem;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .about-stats {
        justify-content: center;
    }

    .stat-item {
        flex: 1;
        min-width: 100px;
    }

    .project-nav {
        flex-wrap: wrap;
        gap: var(--space-md);
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* ============================================
   TÜM PROJELERİMİZ BUTTON
   ============================================ */
.all-projects-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
}

.btn-all-projects {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--bg-white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 15px rgba(30, 58, 92, 0.3);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

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

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

.btn-all-projects:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 58, 92, 0.4);
}

.btn-all-projects svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-base);
}

.btn-all-projects:hover svg {
    transform: translateX(5px);
}

/* ============================================
   PAGE HEADER (Shared for inner pages)
   ============================================ */
.page-header {
    position: relative;
    padding: 180px 0 80px;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-white) 100%);
    overflow: hidden;
}

.page-header-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

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

.page-title .accent {
    color: var(--color-primary);
}

.page-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-body);
    transition: color var(--transition-base);
}

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

.breadcrumb svg {
    width: 14px;
    height: 14px;
}

.page-header-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.page-header-gradient {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at top right, rgba(30, 58, 92, 0.05) 0%, transparent 70%);
}

/* ============================================
   ALL PROJECTS SECTION
   ============================================ */
.all-projects {
    padding: var(--space-3xl) 0;
    background: var(--bg-white);
}

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

.project-card {
    display: block;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
    cursor: pointer;
}

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

.project-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

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

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

.project-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 58, 92, 0.8) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: var(--space-md);
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.project-card-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transform: translateY(20px);
    transition: transform var(--transition-base);
}

.project-card:hover .project-card-icon {
    transform: translateY(0);
}

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

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

.project-card-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--color-accent);
    color: var(--bg-white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-sm);
}

.project-card-title {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: var(--space-xs);
    font-family: var(--font-heading);
}

.project-card-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-md);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-card-meta {
    display: flex;
    gap: var(--space-md);
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-bottom: var(--space-md);
}

.project-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.project-card-meta svg {
    width: 14px;
    height: 14px;
}

.project-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    transition: gap var(--transition-base);
}

.project-card-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-base);
}

.project-card:hover .project-card-link {
    gap: var(--space-sm);
}

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

.back-to-home {
    display: flex;
    justify-content: center;
}

/* ============================================
   PROJECT DETAIL PAGE
   ============================================ */
.project-detail-header {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.project-detail-image {
    position: absolute;
    inset: 0;
}

.project-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-detail-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.2) 100%);
}

.project-detail-info {
    position: relative;
    z-index: 10;
    padding-bottom: var(--space-3xl);
    color: var(--bg-white);
}

.project-detail-info .breadcrumb {
    justify-content: flex-start;
    margin-bottom: var(--space-lg);
}

.project-detail-info .breadcrumb a,
.project-detail-info .breadcrumb span {
    color: rgba(255, 255, 255, 0.8);
}

.project-detail-info .breadcrumb a:hover {
    color: var(--bg-white);
}

.project-detail-info .breadcrumb svg {
    color: rgba(255, 255, 255, 0.5);
}

.project-detail-category {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: var(--color-accent);
    color: var(--bg-white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.project-detail-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--bg-white);
    margin-bottom: var(--space-md);
}

.project-detail-desc {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    line-height: 1.7;
}

.project-detail-content {
    padding: var(--space-3xl) 0;
    background: var(--bg-white);
}

/* Proje Detay Bölüm Başlıkları */
.project-detail-body h2,
.project-gallery-section h2,
.project-videos-section h2 {
    font-size: 1.75rem !important;
    color: var(--color-primary) !important;
    text-align: center !important;
    justify-content: center !important;
    margin-bottom: 1.5rem !important;
}

/* Proje Detay İçerik Metinleri */
.project-content-area {
    font-size: 1.125rem !important;
    line-height: 2 !important;
    color: var(--text-body) !important;
    text-align: justify;
}

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

.spec-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--bg-cream);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    border: 1px solid transparent;
    min-height: 90px;
}

.spec-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

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

.spec-icon svg {
    width: 26px;
    height: 26px;
    color: var(--bg-white);
}

.spec-info {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.spec-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.project-detail-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--border-light);
}

.project-nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    min-width: 200px;
}

.project-nav-link:not(.disabled):hover {
    background: var(--bg-cream);
}

.project-nav-link.disabled {
    opacity: 0;
    pointer-events: none;
}

.project-nav-link.next {
    text-align: right;
    flex-direction: row-reverse;
}

.project-nav-link svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.project-nav-text {
    display: flex;
    flex-direction: column;
}

.project-nav-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.project-nav-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Project CTA Section */
.project-cta {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.cta-content {
    text-align: center;
    color: var(--bg-white);
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    color: var(--bg-white);
    margin-bottom: var(--space-md);
}

.cta-content p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: var(--space-xl);
}

.project-cta .btn-primary {
    background: var(--bg-white);
    color: var(--color-primary);
}

.project-cta .btn-primary:hover {
    background: var(--bg-cream);
    transform: translateY(-3px);
}

/* ============================================
   RESPONSIVE - ALL PROJECTS & DETAIL
   ============================================ */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .page-header {
        padding: 140px 0 60px;
    }

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

    .project-detail-header {
        height: 60vh;
        min-height: 400px;
    }

    .project-detail-specs {
        grid-template-columns: 1fr;
    }

    .project-detail-nav {
        flex-direction: column;
        gap: var(--space-md);
    }

    .project-nav-link {
        width: 100%;
        justify-content: center;
        min-width: auto;
    }

    .project-nav-link.disabled {
        display: none;
    }
}

@media (max-width: 480px) {
    .all-projects-btn-wrapper {
        padding-top: var(--space-md);
    }

    .btn-all-projects {
        padding: 0.875rem 2rem;
        font-size: 0.9375rem;
    }

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

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

/* ============================================
   DARK MODE - Additional Fixes
   ============================================ */

/* Dark Mode - Hero Slider Overlay */
body.dark-mode .hero-slide-overlay {
    background: linear-gradient(135deg,
            rgba(15, 20, 25, 0.95) 0%,
            rgba(15, 20, 25, 0.8) 40%,
            rgba(15, 20, 25, 0.4) 100%);
}

/* Dark Mode - Hero Text Colors */
body.dark-mode .hero-title {
    color: #FFFFFF;
}

body.dark-mode .hero-title .accent {
    color: var(--color-accent);
}

body.dark-mode .hero-description {
    color: #E2E8F0;
}

/* Dark Mode - Navigation (before scroll) */
body.dark-mode .nav-link {
    color: #FFFFFF;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

body.dark-mode .nav-link:hover,
body.dark-mode .nav-link.active {
    color: var(--color-accent);
}

body.dark-mode .nav-link::after {
    background: var(--color-accent);
}

/* Dark Mode - Hero Arrow Buttons */
body.dark-mode .hero-arrow {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-mode .hero-arrow:hover {
    background: var(--color-primary);
    color: #FFFFFF;
}

/* Dark Mode - Hero Dots */
body.dark-mode .hero-dot {
    background: rgba(255, 255, 255, 0.3);
}

body.dark-mode .hero-dot.active {
    background: var(--color-accent);
}

body.dark-mode .hero-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.5);
}

/* Dark Mode - Scroll Indicator */
body.dark-mode .scroll-indicator span {
    color: #E2E8F0;
}

body.dark-mode .scroll-mouse {
    border-color: rgba(255, 255, 255, 0.5);
}

/* Dark Mode - Buttons in Hero */
body.dark-mode .btn-outline {
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.3);
}

body.dark-mode .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Dark Mode - Service Visual Cards Titles */
body.dark-mode .service-visual-title {
    color: #FFFFFF;
}

body.dark-mode .service-visual-desc {
    color: rgba(255, 255, 255, 0.9);
}

/* Dark Mode - Logo brightness for hero section */
body.dark-mode .nav-logo img {
    filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

/* ============================================
   DARK MODE - Project Detail Page Fixes
   ============================================ */

/* Dark Mode - Spec Cards */
body.dark-mode .spec-card {
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
}

body.dark-mode .spec-label {
    color: var(--text-muted);
}

body.dark-mode .spec-value {
    color: #FFFFFF;
}

body.dark-mode .spec-icon {
    background: var(--color-primary);
}

/* Dark Mode - Project Detail Content */
body.dark-mode .project-detail-content {
    background: var(--bg-white);
}

body.dark-mode .project-detail-body h2,
body.dark-mode .project-gallery-section h2,
body.dark-mode .project-videos-section h2 {
    color: var(--color-accent) !important;
}

body.dark-mode .project-content-area {
    color: var(--text-body) !important;
}

/* Dark Mode - Project Detail Title & Desc */
body.dark-mode .project-detail-title {
    color: #FFFFFF;
}

body.dark-mode .project-detail-desc {
    color: rgba(255, 255, 255, 0.9);
}

/* Dark Mode - Breadcrumb in Project Detail */
body.dark-mode .breadcrumb a,
body.dark-mode .breadcrumb span {
    color: rgba(255, 255, 255, 0.8);
}

body.dark-mode .breadcrumb a:hover {
    color: var(--color-accent);
}

/* Dark Mode - Page Header */
body.dark-mode .page-header {
    background: var(--bg-subtle);
}

body.dark-mode .page-title {
    color: #FFFFFF;
}

body.dark-mode .page-description {
    color: var(--text-body);
}

/* Dark Mode - Project Detail Navigation */
body.dark-mode .project-nav-link:not(.disabled):hover {
    background: var(--bg-subtle);
}

body.dark-mode .project-nav-name {
    color: #FFFFFF;
}

body.dark-mode .project-nav-label {
    color: var(--text-muted);
}

/* Dark Mode - All Projects Grid Cards */
body.dark-mode .project-card {
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
}

body.dark-mode .project-card-title {
    color: #FFFFFF;
}

body.dark-mode .project-card-category {
    color: var(--text-muted);
}

body.dark-mode .project-card-meta span {
    color: var(--text-muted);
}

/* ============================================
   WHATSAPP CONTACT SECTION
   ============================================ */
.whatsapp-contact-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.whatsapp-card {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    text-align: center;
    box-shadow: 0 20px 60px rgba(37, 211, 102, 0.3);
    position: relative;
    overflow: hidden;
    max-width: 450px;
    width: 100%;
}

.whatsapp-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: whatsappPulse 3s ease-in-out infinite;
}

@keyframes whatsappPulse {

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

    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

.whatsapp-icon-wrapper {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.whatsapp-icon {
    width: 50px;
    height: 50px;
    color: #FFFFFF;
}

.whatsapp-title {
    font-size: 1.75rem;
    font-family: var(--font-heading);
    color: #FFFFFF;
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
}

.whatsapp-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
}

.whatsapp-features {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.whatsapp-feature {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
}

.whatsapp-feature svg {
    width: 16px;
    height: 16px;
    color: #FFFFFF;
}

.whatsapp-feature span {
    font-size: 0.8125rem;
    color: #FFFFFF;
    font-weight: 500;
}

.btn-whatsapp {
    background: #FFFFFF;
    color: #128C7E;
    font-weight: 700;
    font-size: 1rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    transition: all var(--transition-base);
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    cursor: pointer;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: #F0FFF4;
}

.whatsapp-btn-icon {
    width: 24px;
    height: 24px;
    color: #25D366;
}

.btn-whatsapp svg:last-of-type,
.btn-whatsapp i {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-base);
}

.btn-whatsapp:hover svg:last-of-type,
.btn-whatsapp:hover i {
    transform: translateX(4px);
}

.whatsapp-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    margin-top: var(--space-lg);
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

.whatsapp-phone svg,
.whatsapp-phone i {
    width: 18px;
    height: 18px;
}

.whatsapp-phone a {
    color: #FFFFFF;
    font-weight: 600;
    transition: opacity var(--transition-base);
}

.whatsapp-phone a:hover {
    opacity: 0.8;
}

/* Dark Mode - WhatsApp Card */
body.dark-mode .whatsapp-card {
    box-shadow: 0 20px 60px rgba(37, 211, 102, 0.2);
}

/* Responsive - WhatsApp Section */
@media (max-width: 768px) {
    .whatsapp-card {
        padding: var(--space-xl);
    }

    .whatsapp-icon-wrapper {
        width: 80px;
        height: 80px;
    }

    .whatsapp-icon {
        width: 40px;
        height: 40px;
    }

    .whatsapp-title {
        font-size: 1.5rem;
    }

    .whatsapp-features {
        gap: var(--space-sm);
    }

    .whatsapp-feature {
        padding: 0.375rem 0.75rem;
    }

    .whatsapp-feature span {
        font-size: 0.75rem;
    }

    .btn-whatsapp {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }
}

@media (max-width: 480px) {
    .whatsapp-features {
        flex-direction: column;
        align-items: center;
    }
}

/* Dark Mode - Project Hover Detail Button Fix */
body.dark-mode .project-hover-detail {
    color: #FFFFFF;
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ============================================
   PROJECT THUMBNAILS STYLING
   ============================================ */
.project-thumbnails-wrapper {
    margin-top: var(--space-xl);
    padding: 0 var(--space-md);
    overflow-x: auto;
    /* Scroll must be here for JS to work */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}

.project-thumbnails-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.project-thumbnails-wrapper.active {
    cursor: grabbing;
    user-select: none;
}

.project-thumbnails-track {
    display: flex;
    gap: var(--space-md);
    padding-bottom: var(--space-sm);
    width: max-content;
    /* Allow track to exceed wrapper width */
    margin: 0 auto;
    /* Center items if they don't overflow */
}

.project-thumb {
    position: relative;
    /* Width/Height removed to restore original size */
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-base);
    opacity: 0.6;
    flex-shrink: 0;
    user-select: none;
}

.project-thumb.active {
    border-color: var(--color-accent);
    opacity: 1;
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.project-thumb:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-base);
}

.project-thumb.active .thumb-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.thumb-number {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--bg-white);
    font-family: var(--font-heading);
    opacity: 0.9;
    transition: all var(--transition-base);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Accent Color for Active/Hover State */
.project-thumb.active .thumb-number,
.project-thumb:hover .thumb-number {
    color: var(--color-accent);
    /* Gold color requested */
    font-size: 1.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* Dark Mode Adjustments */
body.dark-mode .project-thumb {
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .project-thumb.active {
    border-color: var(--color-accent);
}

/* ============================================
   CONTACT SECTION - REDESIGNED V2
   ============================================ */
.contact {
    padding: var(--space-3xl) 0;
    background: var(--bg-cream);
    position: relative;
    overflow: hidden;
}

/* Main Layout: Map + Content */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: stretch;
    min-height: 480px;
}

/* Google Maps Wrapper */
.contact-map-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
    border: 4px solid var(--color-primary);
}

.contact-map-wrapper::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 2px dashed var(--color-accent);
    border-radius: calc(var(--radius-xl) - 4px);
    pointer-events: none;
    z-index: 5;
    opacity: 0.6;
}

.contact-map-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    filter: grayscale(20%) contrast(1.1);
    transition: filter var(--transition-base);
}

.contact-map-wrapper:hover iframe {
    filter: grayscale(0%) contrast(1);
}

.map-overlay-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.5rem 1rem;
    background: var(--bg-white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary);
    z-index: 10;
}

.map-overlay-badge i {
    width: 16px;
    height: 16px;
    color: var(--color-accent);
}

/* Contact Content */
.contact-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-md);
}

.contact-content .section-tag {
    margin-bottom: 0;
}

.contact-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

.contact-title .accent {
    color: var(--color-accent);
}

.contact-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

/* Contact Items - Compact Inline */
.contact-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md) 0;
    border-bottom: 2px solid rgba(26, 54, 93, 0.15);
}

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

.contact-item>i {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-item .label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-weight: 500;
}

.contact-item a {
    font-size: 0.9375rem;
    color: var(--text-dark);
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition-base);
}

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

/* WhatsApp Button - Inline */
.btn-whatsapp-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: var(--radius-lg);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1.0625rem;
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
    margin-top: var(--space-md);
}

.btn-whatsapp-inline:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-inline .whatsapp-svg {
    width: 24px;
    height: 24px;
    fill: #FFFFFF;
}

.btn-whatsapp-inline i {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-base);
}

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

/* Responsive */
@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        min-height: auto;
    }

    .contact-map-wrapper {
        min-height: 300px;
        order: 2;
    }

    .contact-content {
        order: 1;
    }
}

@media (max-width: 576px) {
    .contact-map-wrapper {
        min-height: 250px;
        border-radius: var(--radius-lg);
    }

    .contact-title {
        font-size: 1.5rem;
    }

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

/* Dark Mode */
body.dark-mode .contact {
    background: var(--bg-white);
}

body.dark-mode .contact-title {
    color: var(--text-body);
}

body.dark-mode .contact-item {
    border-color: var(--border-light);
}

body.dark-mode .contact-item a {
    color: var(--text-body);
}

body.dark-mode .map-overlay-badge {
    background: var(--bg-subtle);
    color: var(--text-body);
}