/* ===================================
   CODEX V3 — Cinematic Launch Page
   =================================== */

:root {
    --bg: #0a0a0a;
    --text: #e8e6e1;
    --text-dim: #7a7a7a;
    --accent: #c9a84c;
    --accent-dark: #8b6f2e;
    --red: #6b1c1c;
}

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

/* Scrollbar gizle — iframe içinde scroll çubuğu görünmesin */
html,
body {
    overflow: hidden;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.8;
}

/* ==================
   INTRO OVERLAY
   ================== */
#intro-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 350px;
    background: var(--bg);
    /* Arka plan rengini ana sayfayla eşitledik */
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-top: 40px;
    /* Yazıyı biraz aşağıya ittik */
    pointer-events: none;
}

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

.intro-line-wrapper {
    overflow: hidden;
    margin-bottom: 5px;
}

.intro-line {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 12px;
    color: var(--accent);
    transform: translateY(120%);
    opacity: 0;
}

/* ==================
   PARTICLES CANVAS
   ================== */
#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

/* ==================
   MAIN CONTENT
   ================== */
#main-content {
    position: relative;
    z-index: 1;
    opacity: 0;
}

.section {
    padding: 50px 0;
}

.content-narrow {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 30px;
}

.content-wide {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ==================
   HERO SECTION
   ================== */
.hero-section {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}

.hero-img-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1) saturate(0.7);
}

.hero-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(10, 10, 10, 0.4) 0%,
            rgba(10, 10, 10, 0.1) 40%,
            rgba(10, 10, 10, 0.6) 70%,
            rgba(10, 10, 10, 1) 100%);
}

.hero-text-center {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 6px;
    color: var(--accent);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 400;
    letter-spacing: 15px;
    line-height: 1;
    color: #fff;
    text-shadow: 0 0 80px rgba(201, 168, 76, 0.15);
}

.hero-title span {
    display: inline-block;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 200;
    letter-spacing: 8px;
    color: var(--text-dim);
    margin-top: 15px;
}

/* ==================
   INTRO / QUOTE SECTION
   ================== */
.ornament {
    text-align: center;
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 40px;
    letter-spacing: 8px;
}

.big-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.5;
    text-align: center;
    color: var(--text);
    margin-bottom: 50px;
}

.big-quote em {
    color: var(--accent);
    font-style: italic;
}

.separator {
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
    margin: 0 auto 50px auto;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.col p {
    font-size: 0.95rem;
    color: #aaa;
    text-align: justify;
}

.col strong {
    color: var(--accent);
    font-weight: 500;
}

.col em {
    color: var(--text);
    font-style: italic;
}

/* ==================
   DUO IMAGES (Yan Yana Görseller)
   ================== */
.images-section {
    padding: 30px 0;
}

.duo-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.duo-img-card {
    position: relative;
}

.duo-img-wrapper {
    overflow: hidden;
    border-radius: 4px;
    height: 220px;
}

.duo-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) contrast(1.05) saturate(0.4);
    transition: filter 0.8s ease, transform 1s ease;
}

.duo-img-card:hover .duo-img-wrapper img {
    filter: brightness(0.8) contrast(1.1) saturate(0.8);
    transform: scale(1.04);
}

.duo-caption {
    display: block;
    margin-top: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 4px;
    color: var(--text-dim);
    text-transform: uppercase;
}

/* ==================
   TALE SECTION
   ================== */
.section-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    letter-spacing: 6px;
    color: #fff;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.story-subheading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--accent);
    margin: 40px 0 20px 0;
    text-align: center;
    letter-spacing: 2px;
}

.heading-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 300;
    color: var(--accent);
    opacity: 0.5;
    letter-spacing: 2px;
}

.tale-block {
    margin-bottom: 35px;
}

.tale-block p {
    font-size: 1.05rem;
    color: #b0b0b0;
    margin-bottom: 18px;
    text-align: justify;
}

.tale-block strong {
    color: var(--accent);
    font-weight: 500;
}

/* Epic Quote */
.epic-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text);
    text-align: center;
    padding: 30px 0;
    margin: 25px 0;
    border-top: 1px solid rgba(201, 168, 76, 0.15);
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    position: relative;
}

.quote-mark {
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Cormorant Garamond', serif;
    line-height: 1;
}

.epic-quote strong {
    color: var(--accent);
    font-weight: 600;
}

/* ==================
   TEXT ENHANCEMENTS
   ================== */
.dropcap {
    float: left;
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.5rem;
    line-height: 0.8;
    color: var(--accent);
    margin-right: 12px;
    margin-top: 5px;
    text-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
}

.highlight-text {
    color: var(--accent);
    font-weight: 500;
}

.info-box {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.05) 0%, rgba(201, 168, 76, 0.01) 100%);
    border-left: 2px solid var(--accent);
    padding: 25px 30px;
    margin: 40px 0;
    border-radius: 0 8px 8px 0;
}

.info-box p {
    margin-bottom: 0 !important;
    font-family: 'Inter', sans-serif;
    color: var(--text);
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 50px 0;
}

.method-item {
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.6s ease;
}

.method-item:hover {
    transform: translateY(-8px);
}

.method-img-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    margin-bottom: 20px;
    border: none;
    border-radius: 0;
    /* Edge fade effect so it blends into the #0a0a0a background */
    -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 100%);
    mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 100%);
}

.method-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) contrast(1.1) saturate(0.3);
    transition: filter 0.8s ease, transform 0.8s ease;
}

.method-item:hover .method-img-wrapper img {
    filter: brightness(0.7) contrast(1.2) saturate(0.7);
    transform: scale(1.05);
}

.method-item span {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.6;
}

.method-item strong {
    color: var(--accent);
    display: block;
    margin-top: 5px;
    font-weight: 500;
    letter-spacing: 1px;
}

.emphasized-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem !important;
    color: #fff !important;
    text-align: center;
    margin: 50px 0 20px 0 !important;
    font-style: italic;
    letter-spacing: 1px;
}

/* ==================
   CLOSING SECTION
   ================== */
.closing-section {
    text-align: center;
    padding: 50px 0;
}

.closing-text {
    font-size: 1.1rem;
    color: #999;
    max-width: 600px;
    margin: 0 auto 60px auto;
    line-height: 1.8;
}

.closing-text em {
    color: var(--accent);
    font-style: italic;
}

.closing-text strong {
    color: var(--text);
    font-weight: 500;
}

.closing-brand {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    letter-spacing: 15px;
    color: #fff;
    text-shadow: 0 0 60px rgba(201, 168, 76, 0.1);
    margin-bottom: 10px;
}

.closing-sub {
    font-size: 0.8rem;
    letter-spacing: 6px;
    color: var(--text-dim);
}



/* ==================
   REVEAL ANIMATIONS
   ================== */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s cubic-bezier(0.23, 1, 0.32, 1),
        transform 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-zoom {
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.5s ease, transform 2s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-zoom.active {
    opacity: 1;
    transform: scale(1);
}

.reveal-scale {
    opacity: 0;
    transform: scaleX(0);
    transition: opacity 1s ease, transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scaleX(1);
}

/* Delay Classes */
.delay-1 {
    transition-delay: 0.15s !important;
}

.delay-2 {
    transition-delay: 0.3s !important;
}

.delay-3 {
    transition-delay: 0.45s !important;
}

.delay-4 {
    transition-delay: 0.6s !important;
}

.delay-5 {
    transition-delay: 0.75s !important;
}

.delay-6 {
    transition-delay: 0.9s !important;
}

/* ==================
   RESPONSIVE
   ================== */
@media (max-width: 768px) {
    .two-col {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .hero-title {
        letter-spacing: 10px;
    }

    .intro-line {
        font-size: 2rem;
        letter-spacing: 8px;
    }
}