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

:root {
    /* Premium / kurumsal nötr + şampanya vurgu */
    --lux-ink: #050608;
    --lux-graphite: #0b0d12;
    --lux-panel: rgba(16, 18, 26, 0.55);
    --lux-hairline: rgba(255, 255, 255, 0.065);
    --lux-champagne: #c9a76c;
    --lux-champagne-soft: rgba(201, 167, 108, 0.38);
    --lux-champagne-deep: #8f7548;
    --lux-frost: #faf9f6;
    --lux-mist: rgba(255, 255, 255, 0.58);

    /* Soğuk vurgu (ikon / link — abartısız) */
    --primary-teal: #7a9e94;
    --primary-teal-dark: #5a7a72;
    --primary-teal-light: #a8c4bb;
    --primary-blue: #8a9aad;
    --primary-blue-dark: #5c6b7e;
    --primary-blue-light: #b4c0d0;
    --dark-gray: #1a1f28;
    --medium-gray: #475569;
    --light-gray: #f0ede8;
    --white: #ffffff;
    --text-dark: #0c0e14;
    --text-gray: #5c6570;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4.75rem;
    --spacing-3xl: 6.25rem;

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-hero-sub: 'Montserrat', var(--font-body);

    --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 32px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 56px rgba(0, 0, 0, 0.18);
    --shadow-card-lux: 0 0 0 1px rgba(255, 255, 255, 0.05), 0 28px 64px rgba(0, 0, 0, 0.42);
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 1.75rem);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(252, 251, 248, 0.88);
    backdrop-filter: blur(18px) saturate(1.15);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
    box-shadow: 0 1px 0 rgba(12, 14, 18, 0.05);
    z-index: 1000;
    transition: background 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft);
    border-bottom: 1px solid rgba(12, 14, 18, 0.06);
}

.header.is-scrolled {
    background: rgba(252, 251, 248, 0.96);
    box-shadow: 0 16px 48px rgba(5, 6, 10, 0.08);
}

.navbar {
    padding: 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo viewport soluna; menü görsel olarak ortada (1fr | auto | 1fr) */
.nav-wrapper--full {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0.75rem max(12px, env(safe-area-inset-left)) 0.75rem max(12px, env(safe-area-inset-right));
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: 0.75rem;
}

.nav-wrapper--full .logo-container {
    grid-column: 1;
    justify-self: start;
}

.nav-wrapper--full .nav-menu {
    grid-column: 2;
    justify-self: center;
}

.nav-wrapper--full .nav-toggle {
    grid-column: 3;
    justify-self: end;
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.03);
}

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

.footer-logo-image {
    height: 60px;
}

.logo-icon {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* A harfinin sol tarafı - Koyu teal/lacivert, yukarı doğru sivrilen */
.logo-a-left {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 20px;
    height: 50px;
    background: linear-gradient(to top, var(--primary-teal-dark) 0%, var(--primary-teal) 100%);
    clip-path: polygon(0% 100%, 0% 20%, 50% 0%, 100% 20%, 100% 100%);
    border-radius: 2px 0 0 0;
}

/* A harfinin sağ tarafı - Açık mavi/teal, glitch efekti */
.logo-a-right {
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.glitch-line {
    background: var(--primary-blue);
    height: 3px;
    margin-bottom: 2px;
    border-radius: 1px;
    opacity: 0.9;
}

.glitch-line:nth-child(1) {
    width: 35px;
    margin-top: 8px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, transparent 100%);
}

.glitch-line:nth-child(2) {
    width: 30px;
    margin-left: 2px;
    background: linear-gradient(90deg, var(--primary-blue-light) 0%, transparent 100%);
}

.glitch-line:nth-child(3) {
    width: 25px;
    margin-left: 4px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, transparent 100%);
}

.glitch-line:nth-child(4) {
    width: 20px;
    margin-left: 6px;
    background: linear-gradient(90deg, var(--primary-blue-light) 0%, transparent 100%);
}

.glitch-line:nth-child(5) {
    width: 15px;
    margin-left: 8px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, transparent 100%);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-aydinnet {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-teal-light);
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(20, 184, 166, 0.5);
}

.logo-soft {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue-light);
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: color 0.25s var(--ease-soft), background-color 0.25s var(--ease-soft);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 0;
    height: 1px;
    border-radius: 1px;
    background: linear-gradient(90deg, transparent, var(--lux-champagne), transparent);
    transform: translateX(-50%);
    transition: width 0.35s var(--ease-premium);
}

.nav-link:hover {
    color: var(--text-dark);
    background-color: rgba(201, 167, 108, 0.1);
}

.nav-link:hover::after {
    width: calc(100% - 1.25rem);
}

.nav-link.active {
    color: var(--text-dark);
    font-weight: 600;
}

.nav-link.active::after {
    width: calc(100% - 1.25rem);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-gray);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Orta bölüm - Koyu arka plan + erp.jpg */
.hero,
.services,
.erp,
.about,
.projects,
.contact {
    position: relative;
    background-color: var(--lux-graphite);
    background-image:
        linear-gradient(
            165deg,
            rgba(5, 6, 10, 0.94) 0%,
            rgba(10, 12, 18, 0.9) 42%,
            rgba(6, 8, 14, 0.93) 100%
        ),
        url('erp.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero {
    margin-top: 72px;
    padding: clamp(3.5rem, 10vw, 6rem) 0;
    overflow: hidden;
    min-height: min(78vh, 720px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

@keyframes hero-sweep-down {
    0% {
        top: 0;
        opacity: 0.95;
    }
    92% {
        opacity: 1;
    }
    100% {
        top: calc(100% - 1px);
        opacity: 0.85;
    }
}

.hero-fall-lines {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

/* Tek ince parlak çizgi: üstten alta, sonsuz döngü */
.hero-sweep-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    top: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(201, 167, 108, 0.15) 18%,
        rgba(255, 255, 255, 0.42) 50%,
        rgba(201, 167, 108, 0.15) 82%,
        transparent 100%
    );
    box-shadow:
        0 0 14px 1px rgba(201, 167, 108, 0.12),
        0 0 32px rgba(255, 255, 255, 0.06);
    animation: hero-sweep-down 6.5s linear infinite;
    will-change: top;
}

.hero::before,
.services::before,
.erp::before,
.about::before,
.projects::before,
.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(ellipse 85% 55% at 12% 18%, rgba(201, 167, 108, 0.07) 0%, transparent 58%),
        radial-gradient(ellipse 75% 50% at 88% 78%, rgba(160, 175, 195, 0.06) 0%, transparent 52%),
        linear-gradient(180deg, rgba(201, 167, 108, 0.035) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

@keyframes hero-rise {
    from {
        opacity: 0;
        transform: translateY(1.25rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero .hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    padding: 0 clamp(1rem, 4vw, 1.75rem);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--lux-champagne-soft);
    margin-bottom: 1.35rem;
    width: 100%;
    text-align: center;
    animation: hero-rise 0.85s var(--ease-premium) 0.05s backwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.125rem, 4.5vw + 0.35rem, 3.5rem);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: 0.02em;
    margin-bottom: 1.35rem;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    align-self: stretch;
    text-align: center;
    white-space: nowrap;
    animation: hero-rise 0.9s var(--ease-premium) 0.12s backwards;
}

.hero-title-line {
    color: rgba(252, 250, 247, 0.96);
}

.hero-title-accent {
    background: linear-gradient(120deg, #f0ebe3 0%, #d4bc8e 42%, #c9a76c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-family: var(--font-hero-sub);
    font-size: clamp(0.8125rem, 1.45vw, 0.9375rem);
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.75;
    font-weight: 400;
    letter-spacing: 0.04em;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    text-wrap: balance;
    animation: hero-rise 0.9s var(--ease-premium) 0.22s backwards;
}

/* Section Styles */
section {
    padding: clamp(4rem, 9vw, 6rem) 0;
    position: relative;
    z-index: 1;
}

.services .container,
.erp .container,
.about .container,
.contact .container {
    position: relative;
    z-index: 1;
}

.projects .container {
    position: relative;
    z-index: 1;
    overflow: visible;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--lux-champagne-soft);
    margin-bottom: 0.875rem;
}

.about-text .section-eyebrow {
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 2.85rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.15;
    color: rgba(252, 250, 247, 0.97);
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 2px 48px rgba(0, 0, 0, 0.35);
}

.section-subtitle {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.58);
    font-weight: 400;
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.72;
}

.projects-lead {
    font-size: 1rem;
    line-height: 1.78;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    max-width: 42rem;
    margin: -0.5rem auto clamp(2rem, 4vw, 2.75rem);
    padding: 0 clamp(1rem, 4vw, 1.75rem);
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(1.75rem);
    transition: opacity 0.75s var(--ease-premium), transform 0.75s var(--ease-premium);
}

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

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.25rem, 3vw, 1.75rem);
}

.service-card {
    background: var(--lux-panel);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid var(--lux-hairline);
    border-radius: 12px;
    padding: clamp(1.5rem, 3.2vw, 1.9rem);
    transition: transform 0.4s var(--ease-premium), border-color 0.35s var(--ease-soft),
        box-shadow 0.35s var(--ease-soft), background 0.35s var(--ease-soft);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card-lux);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--lux-champagne-soft), transparent);
    opacity: 0;
    transition: opacity 0.35s var(--ease-soft);
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 120% 80% at 50% 0%, rgba(201, 167, 108, 0.06) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.4s var(--ease-soft);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 167, 108, 0.22);
    background: rgba(18, 20, 30, 0.68);
    box-shadow: 0 0 0 1px rgba(201, 167, 108, 0.1), 0 28px 64px rgba(0, 0, 0, 0.45);
}

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

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

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

.service-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(145deg, rgba(90, 98, 110, 0.55) 0%, rgba(201, 167, 108, 0.35) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.125rem;
    color: rgba(252, 250, 247, 0.95);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
    transition: transform 0.35s var(--ease-premium), box-shadow 0.35s var(--ease-soft);
}

.service-card:hover .service-icon {
    transform: scale(1.03);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
}

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

.service-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0.015em;
    color: rgba(252, 250, 247, 0.95);
    margin-bottom: 0.5rem;
}

.service-description {
    color: rgba(255, 255, 255, 0.56);
    line-height: 1.72;
    font-size: 0.9375rem;
    font-family: var(--font-body);
}

/* About Section */
.about {
    position: relative;
    overflow: hidden;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.about-description {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.64);
    line-height: 1.78;
    margin-bottom: var(--spacing-md);
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

.projects-placeholder {
    text-align: center;
    padding: var(--spacing-2xl);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
}

.contact-plain {
    max-width: 36rem;
    margin: 0 auto;
    text-align: center;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
}

.contact-line {
    margin: 0 0 var(--spacing-md);
}

.contact-line:last-child {
    margin-bottom: 0;
}

.contact-plain a {
    color: #d4bc8e;
    text-decoration: none;
    transition: color 0.25s var(--ease-soft);
}

.contact-plain a:hover {
    color: #e8dcc4;
    text-decoration: underline;
}

.contact-address {
    font-style: normal;
    margin: 0;
}

.projects-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.8vw, 1.75rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.35;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    padding: 0 var(--spacing-sm);
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(120deg, rgba(252, 250, 247, 0.95) 0%, #d4bc8e 45%, #c9a76c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.projects-special {
    width: 100%;
}

.project-flipbook-block {
    margin-bottom: var(--spacing-2xl);
    width: 100%;
}

.project-flipbook-block--spaced {
    margin-top: var(--spacing-2xl);
    padding-top: var(--spacing-2xl);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.project-flipbook-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(252, 250, 247, 0.94);
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.project-flipbook-desc {
    text-align: center;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-lg);
}

/* Projeler: yatay taşma / scrollbar önleme */
section.projects {
    overflow-x: hidden;
}

/* Flipbook: ortada, 100vw kullanma (alt scrollbar tetikler) */
.projects .flipbook-breakout,
.erp .flipbook-breakout {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flipbook-shell {
    position: relative;
    margin: 0 auto;
    padding: 0 48px 28px;
    overflow-x: hidden;
    overflow-y: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

/* Boyut px; JS tek sayfa görsel oranına göre H hesaplar (cover ile kırpma olmaması için) */
#flipbook-git,
#flipbook-netpro,
#flipbook-erp {
    position: relative;
    margin: 0 auto;
    flex-shrink: 0;
    border-radius: 4px;
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.06);
}

#flipbook-git::before,
#flipbook-netpro::before,
#flipbook-erp::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.25),
        rgba(255, 255, 255, 0.2),
        rgba(0, 0, 0, 0.25)
    );
    z-index: 10;
    pointer-events: none;
}

#flipbook-git .page,
#flipbook-netpro .page,
#flipbook-erp .page {
    background: #1a1a1a;
    overflow: hidden;
    position: relative;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 2px rgba(0, 0, 0, 0.2);
}

/* Oran JS’te görsel piksel oranına eşitlendi; cover tam doldurur. object-position kenar oynamaz. */
#flipbook-git .page img,
#flipbook-netpro .page img,
#flipbook-erp .page img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    user-select: none;
    display: block;
}

#flipbook-git .page::after,
#flipbook-netpro .page::after,
#flipbook-erp .page::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    box-shadow:
        inset -120px 0 180px rgba(0, 0, 0, 0.35),
        inset 120px 0 180px rgba(0, 0, 0, 0.25),
        inset 0 0 60px rgba(0, 0, 0, 0.15);
}

.flipbook-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.25rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.78);
    cursor: pointer;
    z-index: 1000;
    user-select: none;
    transition: color 0.25s var(--ease-soft), transform 0.25s var(--ease-premium);
    background: rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 14px;
}

.flipbook-nav:hover {
    color: #fff;
    transform: translateY(-50%) scale(1.06);
    background: rgba(15, 23, 42, 0.55);
    border-color: rgba(201, 167, 108, 0.35);
}

.flipbook-nav:focus-visible {
    outline: 2px solid var(--lux-champagne);
    outline-offset: 2px;
}

.flipbook-prev {
    left: 0;
}

.flipbook-next {
    right: 0;
}

@media (max-width: 768px) {
    .flipbook-shell {
        padding: 0 40px 24px;
    }

    .flipbook-nav {
        font-size: 1.75rem;
    }
}

/* Contact Section */
.contact {
    position: relative;
    overflow: hidden;
}

/* ERP Section — yatay taşma (flipbook) */
.erp {
    overflow-x: hidden;
}

.erp-intro {
    max-width: 800px;
    margin: 0 auto var(--spacing-2xl);
    text-align: center;
}

.erp-text {
    font-size: 1.0625rem;
    line-height: 1.78;
    color: rgba(255, 255, 255, 0.68);
}

.erp-flipbook {
    width: 100%;
    max-width: 100%;
}

@media (max-width: 768px) {
    .erp-text {
        font-size: 1rem;
    }
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #f7f5f1 0%, var(--lux-frost) 100%);
    color: var(--text-dark);
    padding: clamp(3rem, 6vw, 4rem) 0 var(--spacing-lg);
    border-top: 1px solid rgba(12, 14, 18, 0.06);
}

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

.footer-logo .logo {
    margin-bottom: var(--spacing-md);
}

.footer-logo .logo-aydinnet {
    color: var(--primary-teal-light);
}

.footer-logo .logo-soft {
    color: var(--primary-blue-light);
}

.footer-logo .logo-a-left {
    background: linear-gradient(to top, var(--primary-teal-dark) 0%, var(--primary-teal-light) 100%);
}

.footer-logo .glitch-line {
    background: var(--primary-blue-light);
}

.footer-logo .glitch-line:nth-child(1) {
    background: linear-gradient(90deg, var(--primary-blue-light) 0%, transparent 100%);
}

.footer-logo .glitch-line:nth-child(2) {
    background: linear-gradient(90deg, var(--primary-blue) 0%, transparent 100%);
}

.footer-logo .glitch-line:nth-child(3) {
    background: linear-gradient(90deg, var(--primary-blue-light) 0%, transparent 100%);
}

.footer-logo .glitch-line:nth-child(4) {
    background: linear-gradient(90deg, var(--primary-blue) 0%, transparent 100%);
}

.footer-logo .glitch-line:nth-child(5) {
    background: linear-gradient(90deg, var(--primary-blue-light) 0%, transparent 100%);
}

.footer-tagline {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-top: var(--spacing-sm);
}

.footer-links h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

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

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

.footer-links ul li a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.25s var(--ease-soft);
}

.footer-links ul li a:hover {
    color: var(--lux-champagne-deep);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(12, 14, 18, 0.06);
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-wrapper--full {
        display: flex;
        justify-content: space-between;
        align-items: center;
        column-gap: var(--spacing-sm);
    }

    .nav-wrapper--full .logo-container,
    .nav-wrapper--full .nav-menu,
    .nav-wrapper--full .nav-toggle {
        grid-column: unset;
        justify-self: unset;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 68px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        width: 100%;
        text-align: center;
        transition: left 0.35s var(--ease-premium);
        box-shadow: 0 16px 48px rgba(15, 23, 42, 0.12);
        padding: var(--spacing-lg) 0;
        gap: 0;
        border-bottom: 1px solid rgba(241, 245, 249, 0.9);
    }

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

    .nav-link {
        padding: var(--spacing-sm);
        display: block;
        width: 100%;
    }

    .nav-link::after {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: clamp(0.9375rem, 4.5vw + 0.25rem, 2rem);
        white-space: nowrap;
    }

    .hero-subtitle {
        font-size: clamp(0.8125rem, 2.8vw, 0.9375rem);
        letter-spacing: 0.035em;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(0.8125rem, 4.2vw + 0.2rem, 1.5rem);
        white-space: nowrap;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background-color: rgba(201, 167, 108, 0.35);
    color: var(--text-dark);
}

@media (prefers-reduced-motion: reduce) {
    .hero-eyebrow,
    .hero-title,
    .hero-subtitle {
        animation: none;
    }

    .hero-sweep-line {
        animation: none;
        top: 35%;
        opacity: 0.5;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }
}
