/* =============================================
   Rise Karavan - Ana Stil Dosyası
   Renk Paleti: Altın Sarısı + Koyu Gri + Beyaz
   ============================================= */

:root {
    --primary: #FDB813;
    --primary-dark: #E5A210;
    --primary-light: #FECF5A;
    --dark: #1a1a1a;
    --dark-2: #2d2d2d;
    --dark-3: #3a3a3a;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --white: #ffffff;
    --light: #f8f8f8;
    --light-2: #f0f0f0;
    --border: #e0e0e0;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-primary: 0 4px 20px rgba(253, 184, 19, 0.3);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    overflow-x: clip;
}

/* Özelleştirilmiş Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    border-radius: 5px;
    border: 2px solid var(--dark);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-light), var(--primary));
}

/* Firefox scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--dark);
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: clip;
    width: 100%;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img,
video,
iframe,
svg,
canvas {
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
    padding: 16px 0;
}

.header.scrolled {
    padding: 10px 0;
    border-bottom-color: var(--border);
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo-img {
    height: 44px;
    width: auto;
    transition: var(--transition);
}

.header.scrolled .logo-img {
    height: 38px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-dark);
    background: rgba(253, 184, 19, 0.08);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.header-cta {
    background: var(--primary);
    color: var(--dark);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    white-space: nowrap;
}

.header-cta:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-primary);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2.5px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==================== HERO ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, var(--dark-3) 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(253, 184, 19, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -20%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(253, 184, 19, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FDB813' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 60px;
    padding-bottom: 60px;
    width: 100%;
    min-width: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(253, 184, 19, 0.15);
    border: 1px solid rgba(253, 184, 19, 0.3);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 28px;
    animation: fadeInDown 0.8s ease;
    max-width: 100%;
    text-align: center;
}

.hero-badge .svg-icon {
    width: 18px;
    height: 18px;
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.2rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease 0.2s both;
    overflow-wrap: anywhere;
}

.hero-title .highlight {
    color: var(--primary);
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 640px;
    margin: 0 auto 40px;
    font-weight: 400;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s both;
    overflow-wrap: anywhere;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
    min-width: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    max-width: 100%;
    text-align: center;
    white-space: normal;
}

.btn-primary {
    background: var(--primary);
    color: var(--dark);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: var(--shadow-primary);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 64px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.stat {
    text-align: center;
    color: var(--white);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 2;
    animation: fadeInUp 0.8s ease 1s both;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-arrow {
    animation: bounce 2s infinite;
    font-size: 1.2rem;
}

/* ==================== SECTIONS ==================== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    background: rgba(253, 184, 19, 0.1);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ==================== ABOUT ==================== */
.about {
    background: var(--light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

/* SVG Icon Styling */
.svg-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.svg-icon svg {
    width: 100%;
    height: 100%;
}

.feature-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
    display: block;
    color: var(--primary);
}

.feature-icon .svg-icon {
    width: 48px;
    height: 48px;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ==================== SERVICES ==================== */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--light);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 18px;
    display: block;
    color: var(--primary);
}

.service-icon .svg-icon {
    width: 44px;
    height: 44px;
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ==================== GALLERY ==================== */
.gallery {
    background: var(--light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--dark);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.08);
    opacity: 0.8;
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay h3 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
}

.gallery-item-overlay p {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    margin-top: 4px;
}

.gallery-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    color: var(--primary);
    display: flex;
    justify-content: center;
}

.empty-icon .svg-icon {
    width: 64px;
    height: 64px;
}

.gallery-empty p {
    font-size: 1.1rem;
}

/* ==================== CONTACT ==================== */
.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-card {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--border);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-item:first-child {
    padding-top: 0;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(253, 184, 19, 0.1);
    border-radius: 12px;
    color: var(--primary);
}

.contact-icon .svg-icon {
    width: 24px;
    height: 24px;
}

.contact-item strong {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--dark);
    font-weight: 500;
}

.contact-item a {
    color: var(--dark);
}

.contact-item a:hover {
    color: var(--primary-dark);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 72px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 24px;
    border-radius: 12px;
    display: inline-block;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    font-size: 1.1rem;
    transition: var(--transition);
    color: rgba(255, 255, 255, 0.6);
}

.social-link .svg-icon {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.6);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
    color: var(--dark);
}

.social-link:hover .svg-icon {
    color: var(--dark);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    padding: 5px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 8px;
}

.footer-contact p {
    font-size: 0.9rem;
    padding: 4px 0;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-backlink {
    color: rgba(255, 255, 255, 0.3);
}

/* ==================== LIGHTBOX ==================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10000;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lightbox-img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: var(--radius);
    object-fit: contain;
}

.lightbox-caption {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 16px;
    font-size: 0.95rem;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Scroll animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== PARALLAX MODE ==================== */
body.parallax-mode .section,
body.parallax-mode .hero {
    position: relative;
    overflow: hidden;
}

body.parallax-mode.parallax-3d .section,
body.parallax-mode.parallax-3d .hero {
    transform-style: preserve-3d;
}

body.parallax-mode .parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    will-change: transform;
}

body.parallax-mode.parallax-3d .parallax-bg {
    top: -25%;
    bottom: -25%;
}

body.parallax-mode .parallax-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    transition: background 0.3s ease;
}

/* Açık yazı teması (koyu resim) */
body.parallax-mode .parallax-theme-light .parallax-overlay {
    background: rgba(0, 0, 0, 0.55);
}

body.parallax-mode .parallax-theme-light,
body.parallax-mode .parallax-theme-light .section-title,
body.parallax-mode .parallax-theme-light .section-desc,
body.parallax-mode .parallax-theme-light .section-tag,
body.parallax-mode .parallax-theme-light h3,
body.parallax-mode .parallax-theme-light p,
body.parallax-mode .parallax-theme-light strong {
    color: var(--white);
}

body.parallax-mode .parallax-theme-light .section-tag {
    color: var(--primary);
}

body.parallax-mode .parallax-theme-light .feature-card,
body.parallax-mode .parallax-theme-light .service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-color: rgba(255, 255, 255, 0.15);
}

body.parallax-mode .parallax-theme-light .feature-card h3,
body.parallax-mode .parallax-theme-light .service-card h3 {
    color: var(--white);
}

body.parallax-mode .parallax-theme-light .feature-card p,
body.parallax-mode .parallax-theme-light .service-card p {
    color: rgba(255, 255, 255, 0.75);
}

body.parallax-mode .parallax-theme-light .contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-color: rgba(255, 255, 255, 0.1);
}

body.parallax-mode .parallax-theme-light .contact-item p,
body.parallax-mode .parallax-theme-light .contact-item strong,
body.parallax-mode .parallax-theme-light .contact-item a {
    color: var(--white);
}

body.parallax-mode .parallax-theme-light .gallery-empty p {
    color: rgba(255, 255, 255, 0.6);
}

/* Koyu yazı teması (açık resim) */
body.parallax-mode .parallax-theme-dark .parallax-overlay {
    background: rgba(255, 255, 255, 0.65);
}

body.parallax-mode .parallax-theme-dark,
body.parallax-mode .parallax-theme-dark .section-title,
body.parallax-mode .parallax-theme-dark h3,
body.parallax-mode .parallax-theme-dark p,
body.parallax-mode .parallax-theme-dark strong {
    color: var(--dark);
}

body.parallax-mode .parallax-theme-dark .section-desc {
    color: var(--text-light);
}

body.parallax-mode .parallax-theme-dark .section-tag {
    color: var(--primary-dark);
}

body.parallax-mode .parallax-theme-dark .feature-card,
body.parallax-mode .parallax-theme-dark .service-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-color: rgba(0, 0, 0, 0.08);
}

body.parallax-mode .parallax-theme-dark .contact-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

/* Hero parallax - her zaman açık yazı */
body.parallax-mode .hero .parallax-overlay {
    background: rgba(26, 26, 26, 0.6);
}

body.parallax-mode .hero .hero-content {
    z-index: 2;
}

body.parallax-mode .hero .hero-scroll {
    z-index: 2;
}

body.parallax-mode .hero .hero-overlay {
    z-index: 1;
}

body.parallax-mode .hero {
    background: var(--dark);
}

body.parallax-mode .section > .container {
    position: relative;
    z-index: 2;
}

/* 3D Derinlik geçiş efekti (sadece 3D mod açıksa) */
body.parallax-mode.parallax-3d .section {
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.15);
}

body.parallax-mode.parallax-3d .section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.08), transparent);
    z-index: 3;
    pointer-events: none;
}

@media (max-width: 768px) {
    body.parallax-mode .parallax-bg {
        background-attachment: scroll;
    }
    body.parallax-mode.parallax-3d .section::after {
        height: 40px;
    }
}

/* Parallax bölüm geçiş efekti - alt kenar gradient */
body.parallax-mode .section .parallax-overlay::after,
body.parallax-mode .hero .parallax-overlay::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.6));
    pointer-events: none;
    z-index: 1;
}

/* Parallax bölüm geçiş efekti - üst kenar gradient */
body.parallax-mode .section .parallax-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, transparent, rgba(0,0,0,0.4));
    pointer-events: none;
    z-index: 1;
}

body.parallax-mode {
    background: #0a0a0a;
}

/* Tam Ekran Bölümler */
body.parallax-fullscreen .section {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

body.parallax-fullscreen .section > .container {
    width: 100%;
}

body.parallax-fullscreen .hero {
    min-height: 100vh;
}

body.parallax-fullscreen {
    scroll-snap-type: y proximity;
}

body.parallax-fullscreen .hero,
body.parallax-fullscreen .section,
body.parallax-fullscreen footer {
    scroll-snap-align: start;
}

/* Otomatik Bölüm Geçişi (Auto-Snap) - JS kontrollü */
html.parallax-autosnap .hero,
html.parallax-autosnap .section {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

html.parallax-autosnap .section > .container {
    width: 100%;
}

/* Blur Geçiş Efekti (ayrı seçenek) */
body.parallax-blur .section,
body.parallax-blur .hero {
    transition: filter 0.25s ease, opacity 0.25s ease;
}

body.parallax-blur .section.blur-out,
body.parallax-blur .hero.blur-out {
    filter: blur(5px);
    opacity: 0.5;
}

body.parallax-blur .section.blur-in,
body.parallax-blur .hero.blur-in {
    filter: blur(0);
    opacity: 1;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 999;
    }

    .nav.active {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }

    .nav-link {
        font-size: 1.3rem;
        padding: 14px 32px;
        color: var(--dark);
        font-weight: 600;
        border-radius: 12px;
        width: 80%;
        text-align: center;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(253, 184, 19, 0.12);
        color: var(--primary-dark);
    }

    .nav-link.active::after {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .hero-content {
        width: 100%;
    }

    .hamburger {
        display: flex;
        z-index: 1002;
    }

    .hero-buttons {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
    }

    .hero-buttons .btn {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 14px 24px;
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section {
        padding: 64px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    /* Mobil gradient efektlerini yumuşat */
    .hero::before {
        display: none;
    }

    .hero::after {
        display: none;
    }

    .hero-overlay {
        opacity: 0.5;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .header {
        padding: 12px 0;
    }

    .logo-img {
        height: 38px;
    }

    .hero {
        padding-top: 72px;
    }

    .hero-content {
        padding-top: 32px;
        padding-bottom: 48px;
    }

    .hero-badge {
        font-size: 0.78rem;
        padding: 8px 14px;
        gap: 6px;
    }

    .hero-title {
        font-size: clamp(1.9rem, 9vw, 2.35rem);
        line-height: 1.08;
    }

    .hero-subtitle {
        margin-bottom: 28px;
        font-size: 0.98rem;
    }

    .hero-buttons {
        gap: 10px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 24px;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 14px;
    }

    .header {
        padding: 10px 0;
    }

    .logo-img {
        height: 34px;
    }

    .hero {
        padding-top: 68px;
    }

    .hero-content {
        padding-top: 24px;
        padding-bottom: 40px;
    }

    .hero-badge {
        padding: 7px 12px;
        font-size: 0.72rem;
        gap: 5px;
        line-height: 1.2;
    }

    .hero-title {
        font-size: clamp(1.65rem, 10vw, 2rem);
        line-height: 1.03;
        margin-bottom: 18px;
    }

    .hero-subtitle {
        font-size: 0.92rem;
        line-height: 1.65;
        margin-bottom: 24px;
    }

    .hero-buttons {
        gap: 8px;
    }

    .hero-buttons .btn {
        padding: 12px 18px;
        font-size: 0.92rem;
        border-radius: 40px;
    }

    .scroll-indicator {
        gap: 6px;
        font-size: 0.68rem;
    }

    .scroll-arrow {
        font-size: 1rem;
    }
}
