/* Font loaded via <link> in HTML head for non-blocking render */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0a192f;
    --secondary: #172a45;
    --accent: #64ffda;
    --accent-2: #00d9ff;
    --text-light: #ccd6f6;
    --text-lighter: #8892b0;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(100, 255, 218, 0.3);
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

/* Skip rendering for off-screen sections */
.services, .technology, .trust, .cta-section, .premium-footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--primary);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* Hide body until language translation is applied to prevent Turkish flash */
body:not(.lang-ready) {
    opacity: 0;
    animation: lang-fallback-show 0s 0.15s forwards;
}

@keyframes lang-fallback-show {
    to { opacity: 1; }
}

body.lang-ready {
    opacity: 1;
    animation: none;
    transition: opacity 0.12s ease-in;
}

/* Main content wrapper */
body>section,
body>nav {
    flex-shrink: 0;
}

/* Custom Cursor */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s ease;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.3s ease;
    opacity: 0.5;
}

@media (pointer: coarse), (hover: none) {
    .cursor, .cursor-follower { display: none !important; }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(10, 25, 47, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    width: 100%;
    margin: 0;
    padding: 0 clamp(12px, 2vw, 24px) 0 clamp(2%, 5vw, 5%);
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    column-gap: clamp(8px, 1vw, 16px);
    height: 110px;
    position: relative;
}

/* LOGO - sol */
.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
    justify-self: start;
    position: relative;
    z-index: 3;
}

.logo.large {
    font-size: 2rem;
}

.logo-image {
    height: 120px;
    width: auto;
    max-width: 360px;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 2vw, 2rem);
    list-style: none;
    margin: 0;
    padding: 0 0 0 clamp(2%, 8vw, 12%);
    position: static;
    transform: none;
    min-width: 0;
}

/* NAV ACTIONS - sağ (Teklif Al + hamburger) */
.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-left: 0;
    margin-right: 16px;
    justify-self: end;
    position: relative;
    z-index: 3;
}

.lang-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 4px 5px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.06);
    position: relative;
    z-index: 1001;
    justify-self: end;
    margin-right: 16px;
}

.logo-icon {
    font-size: 1.8rem;
    display: inline-block;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--accent);
}

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

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

.nav-links a.active::after {
    width: 100%;
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 1100px;
    max-width: 95vw;
    max-height: 600px;
    background: rgba(10, 25, 47, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 15px;
    padding: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(100, 255, 218, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow: hidden;
}

.mega-menu.scrollable {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 500px;
}

/* Custom Scrollbar */
.mega-menu::-webkit-scrollbar {
    width: 8px;
}

.mega-menu::-webkit-scrollbar-track {
    background: rgba(23, 42, 69, 0.5);
    border-radius: 10px;
}

.mega-menu::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}

.mega-menu::-webkit-scrollbar-thumb:hover {
    background: var(--accent-2);
}

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

/* Menü kapanırken hover'ı devre dışı bırak */
.has-dropdown.menu-closing .mega-menu,
.has-dropdown.menu-closing:hover .mega-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.15s ease, visibility 0.15s ease !important;
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 2rem;
}

.mega-menu-column {
    padding: 0 1rem;
    border-right: 1px solid rgba(100, 255, 218, 0.1);
}

.mega-menu-column:last-child {
    border-right: none;
}

.mega-menu-column h4 {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(100, 255, 218, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.4;
    height: 4.5rem;
    display: flex;
    align-items: flex-start;
    white-space: normal;
    word-wrap: break-word;
    hyphens: auto;
}

.mega-menu-column h4 a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.2s ease;
}

.mega-menu-column h4 a:hover {
    color: var(--accent-2);
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.5);
}

.mega-menu-column>a {
    display: block;
    color: var(--text-lighter);
    text-decoration: none;
    padding: 0.65rem 0.8rem;
    font-size: 0.875rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    margin-bottom: 0.2rem;
    line-height: 1.5;
    white-space: normal;
    word-wrap: break-word;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
}

.mega-menu-column>a::after {
    display: none;
}

.mega-menu-column>a:hover {
    background: rgba(100, 255, 218, 0.1);
    color: var(--accent);
    padding-left: 1.2rem;
    transform: translateX(2px);
}

.nav-cta {
    padding: 0.8rem 2rem;
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nav-cta:hover {
    background: rgba(100, 255, 218, 0.1);
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background: var(--accent);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 8rem 5% 8rem;
}

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

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(100, 255, 218, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 217, 255, 0.05) 0%, transparent 50%);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%23172a45" fill-opacity="0.3"/></svg>');
    background-size: cover;
    opacity: 0.3;
}

.wave1 {
    animation: wave 15s linear infinite;
}

.wave2 {
    animation: wave 20s linear infinite reverse;
    opacity: 0.2;
}

.wave3 {
    animation: wave 25s linear infinite;
    opacity: 0.1;
}

@keyframes wave {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.hero-content {
    max-width: 900px;
    text-align: center;
    z-index: 1;
    position: relative;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid var(--accent);
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.glitch {
    position: relative;
}

.hero-subtitle {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;

    font-size: 1.3rem;
    color: var(--text-lighter);
    margin-bottom: 3rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(23, 42, 69, 0.5);
    border-radius: 20px;
    border: 1px solid rgba(100, 255, 218, 0.1);
    animation: fadeInUp 1s ease 0.6s backwards;
}

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

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-lighter);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    background: rgba(100, 255, 218, 0.2);
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s backwards;
}

.btn-glass {
    position: relative;
    padding: 1.2rem 2.5rem;
    background: rgba(100, 255, 218, 0.1);
    border: 2px solid var(--accent);
    border-radius: 10px;
    color: var(--accent);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-glass.large {
    padding: 1.5rem 3rem;
    font-size: 1.1rem;
}

.btn-glass:hover {
    background: rgba(100, 255, 218, 0.2);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-glass:active {
    transform: translateY(-1px);
}

.btn-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(100, 255, 218, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    pointer-events: none;
}

.btn-glass:hover .btn-glow {
    left: 100%;
}

.btn-outline {
    padding: 1.2rem 2.5rem;
    background: transparent;
    border: 2px solid var(--text-lighter);
    border-radius: 10px;
    color: var(--text-light);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
}

.btn-outline:active {
    transform: translateY(-1px);
}

.scroll-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-down span {
    display: block;
    color: var(--text-lighter);
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    margin: 0 auto;
}

@keyframes bounce {

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

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

/* Section Styles */
section {
    padding: 8rem 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

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

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid var(--accent);
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-badge.light {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

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

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-lighter);
    max-width: 720px;
    margin: 0 auto;
}

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

/* Services Section */
.services {
    background: var(--secondary);
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.premium-card {
    position: relative;
    background: rgba(23, 42, 69, 0.5);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 20px;
    padding: 3rem;
    transition: all 0.4s ease;
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.premium-card:hover::before {
    opacity: 1;
}

.premium-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 60px rgba(100, 255, 218, 0.15);
}

.card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.premium-card:hover .card-shine {
    left: 100%;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
    color: var(--accent);
    transition: all 0.3s ease;
}

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

.service-card h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-lighter);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
    padding-left: 0;
}

.service-features li {
    color: var(--text-lighter);
    padding: 0.5rem 0;
}


.service-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

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

/* Portfolio Section */
.portfolio {
    background: var(--primary);
    position: relative;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(100, 255, 218, 0.03), transparent);
}

.portfolio-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.portfolio-item {
    grid-column: span 4;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease;
}

.portfolio-item.large {
    grid-column: span 8;
    height: 500px;
}

.portfolio-item.wide {
    grid-column: span 8;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.95), transparent);
    display: flex;
    align-items: flex-end;
    padding: 3rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.portfolio-content {
    width: 100%;
}

.portfolio-category {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(100, 255, 218, 0.2);
    border-radius: 20px;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.portfolio-content h3 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.portfolio-content p {
    color: var(--text-lighter);
    margin-bottom: 1.5rem;
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.portfolio-tags span {
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    font-size: 0.75rem;
    color: var(--text-light);
}

.portfolio-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--accent);
    color: var(--primary);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.portfolio-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.4);
}

/* Technology Section */
.technology {
    background: var(--secondary);
}

.tech-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.tech-feature {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.tech-feature:hover {
    transform: translateY(-10px);
}

.tech-icon {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
}

.tech-circle {
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
    position: absolute;
}

.tech-icon span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}

@keyframes pulse {

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

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

.tech-feature h4 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 700;
}

.tech-feature p {
    color: var(--text-lighter);
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.1), rgba(0, 217, 255, 0.1));
    text-align: center;
    padding: 6rem 5%;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.cta-content h2 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 800;
    user-select: none;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-lighter);
    margin-bottom: 3rem;
    user-select: none;
}

/* Contact Section */
.contact {
    background: var(--secondary);
}

.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto 5rem;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    background: rgba(23, 42, 69, 0.5);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 30px;
    padding: 4rem;
}

.contact-info-side h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 800;
}

.contact-info-side p {
    color: var(--text-lighter);
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* Full Width Map Section */
.map-section-full {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.map-container-full {
    width: 100%;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(100, 255, 218, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: all 0.3s ease;
}

.map-container-full:hover {
    border-color: var(--accent);
    box-shadow: 0 15px 50px rgba(100, 255, 218, 0.3);
    transform: translateY(-5px);
}

.map-container-full iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    filter: grayscale(15%) brightness(92%);
    transition: filter 0.3s ease;
}

.map-container-full:hover iframe {
    filter: grayscale(0%) brightness(100%);
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-detail-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.detail-icon {
    font-size: 2rem;
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(100, 255, 218, 0.1);
    border-radius: 10px;
}

.detail-content h4 {
    color: var(--white);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.detail-content p {
    color: var(--text-lighter);
    margin: 0;
}

.social-media {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(100, 255, 218, 0.3);
    border-radius: 10px;
    color: var(--accent);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(100, 255, 218, 0.1);
    border-color: var(--accent);
    transform: translateY(-5px);
}

/* Premium Form */
.premium-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    width: 100%;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1.2rem 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(100, 255, 218, 0.2);
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364ffda' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0 center;
    background-size: 1.5rem;
    padding-right: 2rem;
}

.form-group select option {
    background: var(--secondary);
    color: var(--white);
    padding: 1rem;
}

.form-group select:invalid {
    color: var(--text-lighter);
}

.form-group label {
    position: absolute;
    left: 0;
    top: 1.2rem;
    color: var(--text-lighter);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus~label,
.form-group input:valid~label,
.form-group textarea:focus~label,
.form-group textarea:valid~label,
.form-group select:focus~label,
.form-group select:valid~label {
    top: -1rem;
    font-size: 0.85rem;
    color: var(--accent);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-bottom-color: var(--accent);
}

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

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.4s ease;
}

.form-group input:focus~.form-line,
.form-group textarea:focus~.form-line,
.form-group select:focus~.form-line {
    width: 100%;
}

/* Footer */
.premium-footer {
    background: var(--primary);
    border-top: 1px solid rgba(100, 255, 218, 0.1);
    margin-top: auto;
    flex-shrink: 0;
}

.footer-top {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 5%;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 5rem;
}

.footer-brand p {
    color: var(--text-lighter);
    line-height: 1.8;
    margin-top: 1.5rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-column h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 1rem;
}

.footer-column ul li a {
    color: var(--text-lighter);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 5%;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-lighter);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-legal a {
    color: var(--text-lighter);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.portfolio-bg-1,
.portfolio-bg-2,
.portfolio-bg-3,
.portfolio-bg-4,
.portfolio-bg-5 {
    background-size: cover;
    background-position: center;
}

@media (max-width: 1200px) {

    .portfolio-item.large,
    .portfolio-item.wide {
        grid-column: span 6;
    }
}

.page-header {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 12rem 5% 6rem;
    background: var(--primary);
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-header-content {
    max-width: 800px;
    text-align: center;
    z-index: 1;
    position: relative;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-lighter);
}

.breadcrumb a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb span {
    color: var(--text-lighter);
}

.page-header h1 {
    font-size: 4rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
}

.page-header p {
    font-size: 1.3rem;
    color: var(--text-lighter);
    line-height: 1.8;
}

.main-content {
    padding: 8rem 5%;
    background: var(--secondary);
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.content-container h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 2rem;
    font-weight: 700;
}

.content-container h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.content-container p {
    color: var(--text-lighter);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.two-column-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    margin: 4rem 0;
}

.column {
    background: rgba(23, 42, 69, 0.5);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 20px;
    padding: 3rem;
}

.full-width-section {
    background: rgba(23, 42, 69, 0.5);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 20px;
    padding: 4rem;
    margin: 4rem 0;
}

@media (max-width: 992px) {
    .page-header h1 {
        font-size: 3rem;
    }

    .two-column-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .map-container-full {
        height: 350px;
    }

    .mega-menu {
        width: 90vw;
        max-height: 70vh;
    }

    .mega-menu-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
        padding: 1.5rem;
    }

    .mega-menu-column {
        padding: 0 0.8rem;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .services-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .portfolio-item,
    .portfolio-item.large,
    .portfolio-item.wide {
        grid-column: span 12;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

@media (max-width: 768px) {
    nav {
        padding: 0 5%;
    }

    .nav-container {
        padding: 0 16px;
        column-gap: 8px;
        height: 70px;
    }

    .nav-actions {
        margin-right: 8px;
    }

    .lang-switch {
        margin-right: 0;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 25, 47, 0.98);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 3rem 0;
        gap: 0;
        border-top: 1px solid rgba(100, 255, 218, 0.2);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        padding: 1.5rem 0;
    }

    .mega-menu {
        display: none;
    }

    .dropdown-arrow {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

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

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

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

    .hero {
        padding: 7rem 5% 3rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .stat-divider {
        display: none;
    }

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

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

    section {
        padding: 5rem 5%;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .tech-container {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .contact-wrapper {
        padding: 2rem;
    }

    .map-container-full {
        height: 300px;
        border-radius: 15px;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .cursor,
    .cursor-follower {
        display: none;
    }
}

/* =========================
   CERTIFICATIONS GRID
   ========================= */
.certifications {
    background-color: var(--secondary);
    padding: 10rem 5% 6rem;
}

.certifications .container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.certifications-grid {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
}

.certification-card {
    background-color: rgba(23, 42, 69, 0.6);
    border: 1px solid rgba(100, 255, 218, 0.15);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.certification-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 50px rgba(100, 255, 218, 0.25);
}

.cert-image-placeholder {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.cert-image-placeholder img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.certification-card h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.certification-card p {
    color: var(--text-lighter);
    font-size: 0.95rem;
}

.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99999;
    animation: modalFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active {
    display: flex;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    width: min(1600px, 98vw);
    height: min(95vh, 1000px);
    background: linear-gradient(145deg, rgba(10, 25, 47, 0.99), rgba(23, 42, 69, 0.99));
    border: 2px solid rgba(100, 255, 218, 0.4);
    border-radius: 28px;
    box-shadow:
        0 40px 120px rgba(0, 0, 0, 0.9),
        0 0 80px rgba(100, 255, 218, 0.25),
        inset 0 2px 0 rgba(100, 255, 218, 0.15);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    animation: modalSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-image {
    position: relative;
    flex: 1;
    overflow: hidden;
    background: radial-gradient(circle at center,
            rgba(23, 42, 69, 0.7) 0%,
            rgba(10, 25, 47, 0.95) 100%);
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.modal-image:active {
    cursor: grabbing;
}

.modal-image img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: none;
    max-height: none;
    user-select: none;
    -webkit-user-drag: none;
    will-change: transform;
    opacity: 0;
    transition: opacity 0.4s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.7));
}

.modal-image img.ready {
    opacity: 1;
}

/* Loading spinner */
.modal-image::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border: 4px solid rgba(100, 255, 218, 0.2);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: modalSpin 0.8s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-image.loading::before {
    opacity: 1;
}

@keyframes modalSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Footer */
.modal-footer {
    padding: 32px 40px;
    border-top: 2px solid rgba(100, 255, 218, 0.2);
    background: linear-gradient(to bottom,
            rgba(10, 25, 47, 0.98),
            rgba(10, 25, 47, 1));
    backdrop-filter: blur(15px);
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(100, 255, 218, 0.5);
    background: rgba(10, 25, 47, 0.92);
    color: var(--accent);
    font-size: 34px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
    backdrop-filter: blur(15px);
    box-shadow:
        0 5px 25px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(100, 255, 218, 0.2);
}

.modal-close:hover {
    transform: rotate(90deg) scale(1.12);
    background: rgba(100, 255, 218, 0.3);
    border-color: var(--accent);
    box-shadow:
        0 0 40px rgba(100, 255, 218, 0.6),
        0 5px 25px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(100, 255, 218, 0.3);
}

.modal-close:active {
    transform: rotate(90deg) scale(1.05);
}

.zoom-controls {
    position: absolute;
    right: 24px;
    bottom: 24px;
    display: flex;
    gap: 16px;
    z-index: 5;
    padding: 16px 20px;
    border-radius: 28px;
    background: linear-gradient(135deg,
            rgba(10, 25, 47, 0.95),
            rgba(23, 42, 69, 0.9));
    border: 2px solid rgba(100, 255, 218, 0.35);
    backdrop-filter: blur(20px);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.5),
        inset 0 2px 0 rgba(100, 255, 218, 0.15);
}

.zoom-btn {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    border: 2px solid rgba(100, 255, 218, 0.4);
    background: linear-gradient(135deg,
            rgba(10, 25, 47, 0.9),
            rgba(23, 42, 69, 0.8));
    color: var(--accent);
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.zoom-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zoom-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: radial-gradient(circle at center,
            rgba(100, 255, 218, 0.2),
            transparent 70%);
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.zoom-btn:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg,
            rgba(100, 255, 218, 0.22),
            rgba(100, 255, 218, 0.15));
    border-color: var(--accent);
    box-shadow:
        0 0 30px rgba(100, 255, 218, 0.5),
        0 8px 30px rgba(0, 0, 0, 0.4);
}

.zoom-btn:hover::before {
    opacity: 1;
}

.zoom-btn:hover::after {
    opacity: 1;
    transform: scale(1);
}

.zoom-btn:active {
    transform: translateY(-2px);
}

.zoom-indicator {
    position: absolute;
    top: 24px;
    left: 24px;
    padding: 12px 24px;
    background: linear-gradient(135deg,
            rgba(10, 25, 47, 0.95),
            rgba(23, 42, 69, 0.9));
    border: 2px solid rgba(100, 255, 218, 0.35);
    border-radius: 24px;
    color: var(--accent);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 5;
    backdrop-filter: blur(20px);
    box-shadow:
        0 5px 25px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(100, 255, 218, 0.15);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zoom-indicator.show {
    opacity: 1;
}

.keyboard-hints {
    position: absolute;
    bottom: 24px;
    left: 24px;
    display: flex;
    gap: 12px;
    padding: 12px 20px;
    background: linear-gradient(135deg,
            rgba(10, 25, 47, 0.93),
            rgba(23, 42, 69, 0.88));
    border: 2px solid rgba(100, 255, 218, 0.3);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    box-shadow:
        0 5px 25px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(100, 255, 218, 0.12);
    opacity: 0;
    animation: hintsFadeIn 0.5s ease 1.5s forwards;
    z-index: 4;
}

@keyframes hintsFadeIn {
    to {
        opacity: 0.8;
    }
}

.keyboard-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-lighter);
    font-size: 0.85rem;
    font-weight: 500;
}

.keyboard-hint kbd {
    padding: 4px 10px;
    background: rgba(100, 255, 218, 0.15);
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 8px;
    color: var(--accent);
    font-family: 'Inter', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .modal {
        padding: 0;
    }

    .modal-content {
        width: 100vw;
        height: 100vh;
        max-width: 100vw;
        max-height: 100vh;
        border-radius: 0;
        border: none;
    }

    .modal-image {
        min-height: 65vh;
    }

    .modal-footer {
        padding: 24px;
    }

    .modal-title {
        font-size: 1.4rem;
    }

    .modal-desc {
        font-size: 0.95rem;
    }

    .zoom-controls {
        right: 50%;
        transform: translateX(50%);
        bottom: 16px;
        padding: 12px 16px;
        gap: 12px;
    }

    .modal-close {
        width: 48px;
        height: 48px;
        font-size: 28px;
        top: 16px;
        right: 16px;
    }

    .zoom-btn {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .zoom-indicator {
        font-size: 0.85rem;
        padding: 8px 16px;
        top: 16px;
        left: 16px;
    }

    .keyboard-hints {
        display: none;
    }
}

/* Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .modal-content {
        width: 95vw;
        height: 94vh;
    }

    .zoom-controls {
        right: 20px;
        bottom: 20px;
    }

    .keyboard-hints {
        left: 20px;
        bottom: 20px;
    }
}

@media (min-width: 1920px) {
    .modal-content {
        width: min(1800px, 90vw);
        height: min(95vh, 1100px);
    }
}

@media print {
    .modal {
        display: none !important;
    }
}

.modal-close:focus,
.zoom-btn:focus {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

.modal-image,
.modal-image img {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}



.modal-desc {
    text-align: center;
    width: 100%;
    margin-top: 0.5rem;
    color: var(--text-lighter);
    font-size: 1rem;
}

/* Mobil uyum */
@media (max-width: 768px) {
    .modal-title {
        font-size: 1.4rem;
    }

    .modal-desc {
        font-size: 0.95rem;
    }
}

.modal-image {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 100%;
    max-height: 100%;
    transform-origin: center center;
    will-change: transform;
}

/* ABOUT HERO FIX  */
.page-header {
    min-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 5% 6rem;
    position: relative;
    overflow: hidden;
}

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

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ==========================================
   ÜRÜNLERİMİZ SAYFASI 
========================================== */

.products-page .page-header-bg.page-header-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.products-page .page-header {
    position: relative;
    overflow: hidden;
}

.products-page .page-header-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(10, 25, 47, .55) 0%,
            rgba(10, 25, 47, .78) 55%,
            rgba(10, 25, 47, .92) 100%);
    pointer-events: none;
}

.products-page .services-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
    align-items: stretch;
}

.products-page .premium-card.service-card {
    padding: 1.25rem;
    border-radius: 18px;
}

.products-page .service-card h3 {
    font-size: 1.25rem;
    line-height: 1.25;
    margin-bottom: .75rem;
}

.products-page .service-card p {
    font-size: .98rem;
    line-height: 1.6;
    margin-bottom: 1.1rem;
}

.products-page .service-features {
    margin-bottom: 1.1rem;
}

.products-page .service-features li {
    padding: .35rem 0;
}

.products-page .card-image {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid rgba(100, 255, 218, 0.12);
    background: rgba(23, 42, 69, 0.35);
}

.products-page .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform .55s ease;
}

.products-page .premium-card:hover .card-image img {
    transform: scale(1.10);
}

.products-page .card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0) 35%,
            rgba(0, 0, 0, .55) 100%);
    pointer-events: none;
}

@media (max-width: 1200px) {
    .products-page .services-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .products-page .services-container {
        grid-template-columns: 1fr;
    }

    .products-page .card-image {
        height: 180px;
    }
}

.products-page .card-link-block {
    display: block;
    color: inherit;
    text-decoration: none;
}

/* ===================================
   YENİ PREMIUM PORTFOLIO TASARIM
   =================================== */

.portfolio-grid-new {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    position: relative;
    z-index: 1;
    padding: 0 2rem;
}

.portfolio-item-new {
    background: rgba(23, 42, 69, 0.3);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(100, 255, 218, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.portfolio-item-new:hover {
    transform: translateY(-10px);
    border-color: rgba(100, 255, 218, 0.3);
    box-shadow: 0 20px 60px rgba(100, 255, 218, 0.15),
        0 0 0 1px rgba(100, 255, 218, 0.1);
}

.portfolio-item-new.wide-project {
    grid-column: span 3;
}

.portfolio-item-new.wide-project .project-image-wrapper {
    height: 350px;
}

.project-image-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}

.portfolio-item-new:hover .project-image {
    transform: scale(1.08);
}

.project-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 60px;
    height: 60px;
    background: rgba(10, 25, 47, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent);
    z-index: 2;
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
}

.project-info {
    padding: 2rem;
}

.project-location {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 20px;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.project-info h3 {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 0.8rem;
    font-weight: 700;
    line-height: 1.3;
}

.project-info p {
    color: var(--text-lighter);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-client {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
    color: var(--text-light);
    font-size: 0.9rem;
}

.client-icon {
    color: var(--accent);
    font-size: 1.2rem;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .portfolio-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .portfolio-item-new.wide-project {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .portfolio-grid-new {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .portfolio-item-new.wide-project {
        grid-column: span 1;
    }

    .portfolio-item-new.wide-project .project-image-wrapper {
        height: 280px;
    }

    .project-number {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
}

/* Yat & Ticari sayfası: Kategoriler başlığını ortala + boşlukları toparla */
#kategoriler h2 {
    text-align: center;
    margin: 0 0 1.2rem;
    /* başlık altı boşluk az */
}

#kategoriler .product-intro-text {
    margin: 0 0 2rem;
    /* başlık ile yazı kutusu arası + yazıdan kartlara arası */
}

#kategoriler .product-intro-box {
    margin: 0 auto;
    /* kutuyu ortala */
    max-width: 980px;
    padding: 2rem 2.2rem;
}

#kategoriler .services {
    padding: 1.5rem 0 3rem !important;
}

/* =========================
   GEMI HALATLARI - KART DÜZELTME
   ========================= */

/* Mor link olmasın (özellikle İncele linki) */
.product-item-card a {
    color: inherit;
    text-decoration: none;
}

.product-item-card a:visited {
    color: inherit;
}

/* Kart genel yapı: resim üstte, içerik altta daha düzenli */
.product-item-card {
    display: flex;
    flex-direction: column;
}

/* Resim alanı: kırpma yok, ortalı, premium görünüm */
.product-item-img {
    position: relative;
    height: 220px;
    border-radius: 22px 22px 0 0;
    overflow: hidden;

    /* arkaplanı premium yap */
    background: rgba(10, 25, 47, 0.55);
}

/* Üstte soft overlay (resim boşluk kalsa bile şık) */
.product-item-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(100, 255, 218, 0.16), transparent 45%),
        linear-gradient(to top, rgba(10, 25, 47, 0.65), rgba(10, 25, 47, 0.08));
    pointer-events: none;
}

/* Resmi kırpma yok: contain + padding */
.product-item-img img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* KIRPMA YOK */
    padding: 18px;
    /* daha premium boşluk */
    display: block;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
    transform: translateZ(0);
    transition: transform .35s ease;
}

.product-item-card:hover .product-item-img img {
    transform: scale(1.03);
}

/* İçerik düzeni: başlık, açıklama, buton */
.product-item-body {
    padding: 1.35rem 1.5rem 1.55rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.product-item-body h3 {
    margin: 0;
}

.product-item-body p {
    margin: 0;
    line-height: 1.7;
    color: var(--text-lighter);
}

/* İncele butonu: gerçek CTA gibi */
.product-item-btn {
    margin-top: .2rem;
    align-self: flex-start;

    display: inline-flex;
    align-items: center;
    gap: .6rem;

    padding: .55rem 1rem;
    border-radius: 999px;

    color: var(--accent) !important;
    background: rgba(100, 255, 218, 0.10);
    border: 1px solid rgba(100, 255, 218, 0.22);

    font-weight: 700;
    letter-spacing: .2px;

    transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.product-item-btn:hover {
    transform: translateY(-2px);
    background: rgba(100, 255, 218, 0.16);
    border-color: rgba(100, 255, 218, 0.42);
}

/* Ok animasyonu */
.product-item-btn::after {
    content: "→";
    display: inline-block;
    transition: transform .25s ease;
}

.product-item-btn:hover::after {
    transform: translateX(4px);
}

/* Load More butonu da daha premium dursun */
.load-more-wrap .btn-outline,
#loadMoreBtn.btn-outline,
#loadMoreBtn {
    border-radius: 999px;
    padding: .75rem 1.4rem;
}

/* Mobilde resim alanı biraz kısalsın */
@media (max-width: 650px) {
    .product-item-img {
        height: 200px;
    }

    .product-item-img img {
        padding: 14px;
    }
}

/* Product Single Page Özel Stilleri */
.product-single-page {
    background: var(--primary);
}

.product-single-page .page-header {
    min-height: 75vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.product-single-page .page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.product-single-page .page-header-image {
    background-size: cover;
    background-position: center;
}

.product-single-page .page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.95) 0%, rgba(23, 42, 69, 0.85) 100%);
    z-index: 1;
}

.product-single-page .page-header-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.product-single-page .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-lighter);
}

.product-single-page .breadcrumb a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-single-page .breadcrumb a:hover {
    color: var(--accent-2);
}

.product-single-page .breadcrumb span {
    color: var(--text-lighter);
}

.product-single-page .page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(100, 255, 218, 0.3);
}

.product-single-page .page-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 1;
}

.content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

/* Product Single Top Section */
.product-single-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: -80px;
    margin-bottom: 5rem;
    align-items: start;
}

.product-single-media {
    position: sticky;
    top: 120px;
}

.product-single-img {
    position: relative;
    background: rgba(23, 42, 69, 0.4);
    border-radius: 25px;
    border: 1px solid rgba(100, 255, 218, 0.15);
    overflow: hidden;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.product-single-img::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(100, 255, 218, 0.12), transparent 50%);
    pointer-events: none;
}

.product-single-img img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}

.product-single-summary {
    background: rgba(23, 42, 69, 0.3);
    border-radius: 25px;
    border: 1px solid rgba(100, 255, 218, 0.1);
    padding: 3rem;
}

.product-single-kicker {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 20px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.product-single-summary h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.product-single-lead {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
}

.badge {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: rgba(100, 255, 218, 0.08);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 25px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
}

.product-single-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Product Sections */
.product-single-sections {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
}

.product-col h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.product-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.product-col p {
    color: var(--text-lighter);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.mt-24 {
    margin-top: 2.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-lighter);
    line-height: 1.6;
    border-bottom: 1px solid rgba(100, 255, 218, 0.05);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.8rem;
}

/* Spec Card */
.spec-card {
    background: rgba(23, 42, 69, 0.4);
    border-radius: 20px;
    border: 1px solid rgba(100, 255, 218, 0.15);
    padding: 2rem;
    position: sticky;
    top: 120px;
}

.spec-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spec-dl {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.spec-dl>div {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}

.spec-dl>div:last-child {
    border-bottom: none;
}

.spec-dl dt {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.9rem;
}

.spec-dl dd {
    color: var(--accent);
    font-weight: 600;
    text-align: right;
    font-size: 0.9rem;
}

.spec-note {
    display: block;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
    color: var(--text-lighter);
    font-size: 0.85rem;
    font-style: italic;
}

/* Other Products Section */
.other-products {
    margin-bottom: 5rem;
}

.section-head h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-head h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.other-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.other-card {
    background: rgba(23, 42, 69, 0.3);
    border-radius: 20px;
    border: 1px solid rgba(100, 255, 218, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: block;
}

.other-card:hover {
    transform: translateY(-10px);
    border-color: rgba(100, 255, 218, 0.3);
    box-shadow: 0 20px 60px rgba(100, 255, 218, 0.15);
}

.other-card.is-hidden {
    display: none;
}

.other-img {
    position: relative;
    height: 200px;
    background: rgba(10, 25, 47, 0.5);
    overflow: hidden;
}

.other-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(100, 255, 218, 0.12), transparent 50%);
    pointer-events: none;
}

.other-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
    display: block;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    transition: transform 0.4s ease;
}

.other-card:hover .other-img img {
    transform: scale(1.08);
}

.other-title {
    padding: 1.5rem;
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
}

.load-more-wrap {
    text-align: center;
    margin-bottom: 2rem;
}

.view-all-wrap {
    text-align: center;
}

/* Product Tables */
.product-tables {
    margin-bottom: 5rem;
}

.product-tables>h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.product-tables>h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.table-card {
    background: rgba(23, 42, 69, 0.3);
    border-radius: 20px;
    border: 1px solid rgba(100, 255, 218, 0.1);
    padding: 2.5rem;
    margin-bottom: 2.5rem;
}

.table-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.table-wrap {
    overflow-x: auto;
    border-radius: 15px;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(10, 25, 47, 0.4);
}

.spec-table thead {
    background: rgba(100, 255, 218, 0.1);
}

.spec-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(100, 255, 218, 0.2);
}

.spec-table tbody tr {
    border-bottom: 1px solid rgba(100, 255, 218, 0.05);
    transition: background 0.3s ease;
}

.spec-table tbody tr:hover {
    background: rgba(100, 255, 218, 0.05);
}

.spec-table-striped tbody tr:nth-child(even) {
    background: rgba(100, 255, 218, 0.03);
}

.spec-table td {
    padding: 1rem 1.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.spec-table th:first-child,
.spec-table td:first-child {
    font-weight: 600;
    color: var(--white);
}

.table-note {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background: rgba(100, 255, 218, 0.05);
    border-left: 3px solid var(--accent);
    border-radius: 8px;
    color: var(--text-lighter);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Product Landing CTA */
.product-landing-cta {
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.1) 0%, rgba(0, 217, 255, 0.05) 100%);
    border-radius: 25px;
    border: 1px solid rgba(100, 255, 218, 0.2);
    padding: 4rem 3rem;
    text-align: center;
}

.product-landing-cta h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.product-landing-cta p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 1200px) {
    .product-single-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .product-single-media {
        position: relative;
        top: 0;
    }

    .product-single-sections {
        grid-template-columns: 1fr;
    }

    .spec-card {
        position: relative;
        top: 0;
    }

    .other-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-single-page .page-header h1 {
        font-size: 2.5rem;
    }

    .product-single-page .page-header p {
        font-size: 1rem;
    }

    .product-single-top {
        margin-top: -40px;
    }

    .product-single-summary {
        padding: 2rem;
    }

    .product-single-summary h2 {
        font-size: 2rem;
    }

    .product-single-actions {
        flex-direction: column;
    }

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

    .table-card {
        padding: 1.5rem;
    }

    .spec-table th,
    .spec-table td {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .product-single-page .breadcrumb {
        flex-wrap: wrap;
        font-size: 0.8rem;
    }

    .product-single-page .page-header h1 {
        font-size: 2rem;
    }

    .product-badges {
        gap: 0.5rem;
    }

    .badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }

    .other-products-grid {
        grid-template-columns: 1fr;
    }

    .content-container {
        padding: 0 1rem 3rem;
    }
}

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

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -3;
    will-change: transform;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-video.playing {
    opacity: 1;
}

/* KARARTMA KATMANI */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(5, 15, 30, 0.55);

    z-index: -2;
}

.premium-card .card-shine,
.premium-card .card-glow {
    pointer-events: none;
}

.premium-card .service-link {
    position: relative;
    z-index: 5;
    pointer-events: auto;
}

.premium-card .service-icon,
.premium-card h3,
.premium-card p,
.premium-card .service-features {
    position: relative;
    z-index: 4;
}

.contact-detail-item .detail-content a {
    color: #fff;
    opacity: 1 !important;
    font-weight: 600;
    text-decoration: none;
}

.contact-detail-item .detail-content a:hover {
    text-decoration: underline;
}

.services-container .service-card .card-image {
    height: 260px;
    border-radius: 18px;
}

.services-container .service-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.04);
    transition: transform 0.4s ease;
}

.services-container .service-card:hover .card-image img {
    transform: scale(1.08);
}

@media (max-width: 768px) {
    .services-container .service-card .card-image {
        height: 210px;
    }
}

/* SADECE product-detail-page için breadcrumb fix */
.product-detail-page .breadcrumb {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    white-space: nowrap;
    overflow: hidden;
}

.product-detail-page .breadcrumb span:last-child {
    max-width: 380px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* Focus styles (accessibility) */
a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}


/* Button consistency */
.nav-cta,
.btn-glass,
.btn-outline {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}


/* Trust section */
.trust {
    background: var(--primary);
    position: relative;
}

.trust-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.trust-card {
    background: rgba(23, 42, 69, 0.45);
    border: 1px solid rgba(100, 255, 218, 0.12);
    border-radius: 20px;
    padding: 2.2rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.trust-card:hover {
    transform: translateY(-6px);
    border-color: rgba(100, 255, 218, 0.4);
}

.trust-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(100, 255, 218, 0.08);
    border: 1px solid rgba(100, 255, 218, 0.18);
    color: var(--accent);
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
}

.trust-card h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

.trust-card p {
    color: var(--text-lighter);
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.trust-link {
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
}

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

.logo-band {
    max-width: 1200px;
    margin: 2.5rem auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    opacity: 0.9;
}

.logo-pill {
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}


/* Portfolio card CTA */
.project-cta {
    margin-top: 1rem;
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.2px;
}

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


/* Mega menu link affordance */
.mega-menu-column>a::before {
    content: "›";
    margin-right: 0.5rem;
    color: rgba(100, 255, 218, 0.75);
}


/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .hero-wave,
    .cursor,
    .cursor-follower {
        display: none !important;
    }
}


@media (max-width: 768px) {
    .hero-video {
        display: none;
    }

    .hero-bg {
        background:
            linear-gradient(135deg, rgba(10, 25, 47, 0.65), rgba(23, 42, 69, 0.65)),
            url('../images/hero-poster.jpg') center/cover no-repeat;
    }

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

.form-group.file-group label.file-label {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    margin-bottom: 10px;
    display: block;
}

.form-group.file-group input[type="file"] {
    width: 100%;
}

.form-group.file-group .form-line {
    position: relative;
}

.main-content h2 {
    text-align: center;
    margin-bottom: 40px;
}

#kategoriler h2 {
    text-align: center;
}

.card-image {
    position: relative;
    overflow: hidden;
}

.product-view-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(10, 25, 47, 0.78);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(-6px) scale(0.92);
    transition: all 0.28s ease;
    z-index: 3;
}

.product-view-btn svg {
    width: 20px;
    height: 20px;
}

.card-link-block:hover .product-view-btn,
.card-link-block:focus-within .product-view-btn {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.product-view-btn:hover {
    background: #64ffda;
    color: #0a192f;
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.35);
}

.global-product-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 99999;
}

.global-product-modal.active {
    display: block;
}

.global-product-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.global-product-modal-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.global-product-modal-img {
    max-width: min(1100px, 92vw);
    max-height: 88vh;
    border-radius: 18px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
    object-fit: contain;
    background: #fff;
}

.global-product-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: rgba(10, 25, 47, 0.92);
    color: #64ffda;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    border: 1px solid rgba(100, 255, 218, 0.25);
}

.global-product-modal-close:hover {
    background: #64ffda;
    color: #0a192f;
}

@media (max-width: 768px) {
    .product-view-btn {
        opacity: 1;
        transform: none;
        width: 40px;
        height: 40px;
    }

    .global-product-modal-content {
        padding: 20px;
    }

    .global-product-modal-close {
        top: 12px;
        right: 12px;
        width: 46px;
        height: 46px;
    }
}

.services-container .service-card .card-image {
    position: relative;
    height: 260px;
    border-radius: 18px;
    overflow: hidden;
    background: #0f2138;
}

.services-container .service-card .card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transform: none !important;
}

.services-container .service-card:hover .card-image img {
    transform: scale(1.03);
}

.product-view-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(10, 25, 47, 0.78);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    opacity: 0;
    transform: translateY(-6px) scale(0.92);
    transition: all .25s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.product-view-btn svg {
    width: 20px;
    height: 20px;
}

.card-link-block:hover .product-view-btn,
.card-link-block:focus-within .product-view-btn {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.product-view-btn:hover {
    background: #64ffda;
    color: #0a192f;
}

#productImagePreviewModal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 99999;
}

#productImagePreviewModal.active {
    display: block;
}

.product-preview-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.product-preview-stage {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.product-preview-img {
    max-width: min(1100px, 92vw);
    max-height: 88vh;
    object-fit: contain;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 25px 80px rgba(0, 0, 0, .45);
}

.product-preview-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(100, 255, 218, .25);
    border-radius: 50%;
    background: rgba(10, 25, 47, .92);
    color: #64ffda;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.product-preview-close:hover {
    background: #64ffda;
    color: #0a192f;
}

@media (max-width: 768px) {
    .services-container .service-card .card-image {
        height: 210px;
    }

    .product-view-btn {
        opacity: 1;
        transform: none;
        width: 40px;
        height: 40px;
    }

    .product-preview-stage {
        padding: 20px;
    }

    .product-preview-close {
        top: 12px;
        right: 12px;
        width: 46px;
        height: 46px;
    }
}

.product-intro-box {
    min-width: 0;
}

.product-extra-image {
    width: 100%;
    max-width: 100%;
    margin-top: 1.5rem;
    border-radius: 18px;
    overflow: hidden;
}

.product-extra-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

@media (max-width: 991px) {
    .product-intro-text table {
        font-size: 0.74rem !important;
    }

    .product-intro-text table th,
    .product-intro-text table td {
        padding: 8px 4px !important;
    }
}

@media (max-width: 767px) {
    .product-intro-text>div {
        flex-direction: column !important;
    }
}

/* =====================================================
   PRODUCT DETAIL PAGE
   ===================================================== */

.product-flex {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.product-flex .product-intro-box {
    flex: 1 1 580px;
    min-width: 0;
}

/* Resim sütunu: sticky — navbar altında sabit durur,
   flex container (sol sütun) bitince doğal olarak kayar */
.product-image-col {
    flex: 0 0 300px;
    max-width: 300px;
    width: 100%;
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

.product-image-col img {
    width: 100%;
    border-radius: 20px;
    display: block;
    box-shadow:
        0 8px 24px rgba(0,0,0,0.3),
        0 24px 60px rgba(0,0,0,0.25),
        0 0 0 1px rgba(255,255,255,0.09);
    transition: transform 0.45s cubic-bezier(.22,.84,.44,1), box-shadow 0.45s ease;
}

.product-image-col img:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow:
        0 16px 40px rgba(0,0,0,0.35),
        0 32px 72px rgba(0,212,255,0.14),
        0 0 0 1px rgba(0,212,255,0.18);
}

.img-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.9rem;
    justify-content: center;
}

.img-badge {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: 100px;
}

.img-badge.green {
    background: rgba(0,255,136,0.08);
    border: 1px solid rgba(0,255,136,0.25);
    color: #00e878;
}

.img-badge.blue {
    background: rgba(0,212,255,0.08);
    border: 1px solid rgba(0,212,255,0.25);
    color: #00d4ff;
}

.product-intro-highlight {
    background: linear-gradient(135deg, rgba(0,212,255,0.07) 0%, rgba(255,255,255,0.025) 100%);
    border: 1px solid rgba(0,212,255,0.18);
    border-left: 3px solid rgba(0,212,255,0.55);
    border-radius: 12px;
    padding: 1.1rem 1.4rem;
    margin: 1.5rem 0;
    line-height: 2.1;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
}

.table-outer {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    margin-top: 1.2rem;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(6,18,36,0.8);
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.28);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    color: #e2e8f0;
    font-size: 0.82rem;
}

.specs-table thead tr {
    background: linear-gradient(135deg, rgba(0,212,255,0.14) 0%, rgba(255,255,255,0.05) 100%);
    border-bottom: 1px solid rgba(0,212,255,0.2);
}

.specs-table th {
    padding: 13px 8px;
    text-align: center;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.6);
    word-break: break-word;
}

.specs-table th:first-child { color: #00d4ff; }

.specs-table td {
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.specs-table tbody tr:nth-child(even) td { background: rgba(255,255,255,0.025); }
.specs-table tbody tr:last-child td { border-bottom: none; }
.specs-table tbody tr:hover td { background: rgba(0,212,255,0.07); }

.specs-table td:first-child {
    font-weight: 700;
    color: #00d4ff;
    font-size: 0.85rem;
}

.product-flex .product-intro-box h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-flex .product-intro-box h2::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(0,212,255,0.3), transparent);
}

.table-note {
    margin-top: 1rem;
    color: rgba(255,255,255,0.45);
    font-size: 0.82rem;
}

@media (max-width: 860px) {
    .product-image-col {
        position: static;
        flex: 0 0 100%;
        max-width: 420px;
        margin: 0 auto;
        order: -1;
    }
}



.lang-btn {
    appearance: none;
    border: 0;
    outline: none;
    background: transparent;
    color: rgba(255,255,255,0.55);
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    position: relative;
}

.lang-btn .flag {
    width: 18px;
    height: 13px;
    border-radius: 3px;
    overflow: hidden;
    display: inline-flex;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.lang-btn .flag svg {
    width: 100%;
    height: 100%;
    display: block;
}

.lang-btn:hover {
    color: rgba(255,255,255,0.85);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.lang-btn.active {
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.18) 0%, rgba(0, 217, 255, 0.12) 100%);
    color: var(--accent);
    box-shadow: 0 2px 10px rgba(100,255,218,0.15), inset 0 1px 0 rgba(100,255,218,0.15);
    border: 1px solid rgba(100,255,218,0.25);
}

.lang-btn.active .flag {
    box-shadow: 0 1px 6px rgba(100,255,218,0.3);
}

.lang-btn:focus-visible {
    box-shadow: 0 0 0 2px rgba(100,255,218,0.4);
}

@media (max-width: 1200px) {
    .nav-container {
        grid-template-columns: auto 1fr auto auto;
        column-gap: 16px;
        height: 96px;
    }

    .logo-image {
        height: 95px;
        max-width: 280px;
    }

    .nav-links {
        gap: 1.2rem;
    }

    .nav-links a {
        font-size: 0.88rem;
    }

    .nav-cta {
        padding: 0.7rem 1.35rem;
        font-size: 0.88rem;
    }
}

@media (max-width: 992px) {
    .nav-container {
        display: flex;
        align-items: center;
        height: 80px;
        gap: 12px;
    }

    .logo {
        margin-right: auto;
    }

    .logo-image {
        height: 70px;
        max-width: 230px;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        transform: none;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0;
        padding: 1.25rem 5%;
        background: rgba(10, 25, 47, 0.98);
        border-top: 1px solid rgba(100, 255, 218, 0.1);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
        z-index: 1001;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-actions {
        margin-left: 0;
        gap: 10px;
    }

    .lang-switch {
        margin-left: 0;
        order: 2;
    }

    .lang-btn {
        padding: 7px 10px;
        font-size: 11px;
    }

    .hamburger {
        display: flex;
        order: 3;
    }

    .nav-cta {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-container {
        height: 70px;
    }

    .nav-links {
        top: 70px;
    }

    .logo-image {
        height: 60px;
        max-width: 200px;
    }

    .nav-actions {
        gap: 8px;
    }

    .lang-switch {
        padding: 3px;
    }

    .lang-btn {
        padding: 6px 8px;
        font-size: 10px;
    }
}

@media (max-width: 576px) {
    .nav-container {
        height: 64px;
        padding: 0 12px;
    }

    .nav-links {
        top: 64px;
    }

    .logo-image {
        height: 52px;
        max-width: 170px;
    }

    .lang-switch {
        transform: scale(0.94);
        transform-origin: center right;
    }

    .hamburger span {
        width: 26px;
    }
}
