html {
    scroll-behavior: smooth;
}

/* Genel sıfırlama */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Sayfanın geneli */
body {
    background: #050505;
    color: #e8e8e3;
    font-family: "Montserrat", Arial, sans-serif;
}


/* HERO */

.hero {
    position: relative;
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    padding: 35px 55px;

    background-image:
        linear-gradient(
            to bottom,
            rgba(5, 5, 5, 0.92) 0%,
            rgba(5, 5, 5, 0.78) 25%,
            rgba(5, 5, 5, 0.30) 60%,
            rgba(5, 5, 5, 0.05) 100%
        ),
        url("../assets/images/hero-castle.jpg");

    background-size: cover;
    background-position: center 45%;
    background-repeat: no-repeat;

    overflow: hidden;
}

.hero::after {
    content: "";

    position: absolute;
    inset: 0;

    background-image: url("../assets/images/grain.png");
    background-size: cover;
    background-position: center;

    opacity: 0.20;

    pointer-events: none;
    z-index: 3;
}

/* Yazıları grain katmanının önünde tut */
.navbar,
.hero-content,
.scroll-indicator {
    position: relative;
    z-index: 4;
}
/* Üst menü */

.navbar {
    position: relative;
    z-index: 10;

    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: 12px;
    letter-spacing: 3px;
}

.logo {
    font-weight: bold;
    color: inherit;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    color: #e8e8e3;
    text-decoration: none;
}

.nav-links a:hover {
    opacity: 0.5;
}


/* Ortadaki ana bölüm */

.hero-content {
    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 6px;
    margin-bottom: 18px;
    opacity: 0.78;
}

.hero h1 {
    font-size: clamp(80px, 14vw, 220px);

    font-weight: 400;
    letter-spacing: -5px;

    line-height: 0.8;
}

.hero-subtitle {
    margin-top: 28px;

    font-size: 10px;
    letter-spacing: 6px;

    opacity: 0.72;
}


/* Hero alt kısmı */

.hero-bottom {
    display: flex;
    justify-content: space-between;

    font-size: 9px;
    letter-spacing: 3px;

    opacity: 0.45;
}

/* AY */

.hero-moon {
    position: absolute;

    top: 9%;
    right: 10%;

    width: clamp(90px, 9vw, 155px);
    height: auto;

    opacity: 0.85;

    z-index: 2;

    pointer-events: none;
}


/* HERO ORTA İÇERİK */

.hero-content {
    transform: translateY(-3vh);
}

.hero-divider {
    width: 1px;
    height: 48px;

    margin: 28px auto 24px;

    background: rgba(232, 232, 227, 0.42);
}

.hero-motto {
    font-size: 9px;
    letter-spacing: 4px;

    opacity: 0.78;
}


/* SCROLL */

.scroll-indicator {
    position: absolute;

    left: 50%;
    bottom: 25px;

    transform: translateX(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 3px;

    font-size: 8px;
    letter-spacing: 4px;

    opacity: 0.7;
}

.scroll-arrow {
    font-size: 20px;
    line-height: 1;
    letter-spacing: 0;
}

/* =========================
   MANIFESTO
   ========================= */

.manifesto {
    position: relative;

    min-height: 680px;

    display: grid;
    grid-template-columns: 1.05fr 1.15fr 0.40fr;
    align-items: center;

    gap: 80px;

    width: min(1680px, 88%);
    margin: 0 auto;

    padding: 75px 0 55px;

    background: #050505;

    overflow: hidden;
}


/* SOL METİN */

.manifesto-text h2 {
    font-size: clamp(42px, 4.3vw, 72px);

    font-weight: 400;
    line-height: 0.95;

    letter-spacing: -1px;
}

.manifesto-tagline {
    margin-top: 25px;

    font-size: 12px;
    letter-spacing: 3px;
}

.small-line {
    width: 32px;
    height: 1px;

    margin: 25px 0;

    background: rgba(232, 232, 227, 0.55);
}

.manifesto-small {
    font-size: 11px;
    line-height: 1.8;

    letter-spacing: 2px;

    opacity: 0.65;
}


/* BÜYÜCÜ */

.manifesto-image {
    text-align: center;
}

.manifesto-image img {
    display: block;

    width: 100%;
    max-width: 520px;

    margin: 0 auto;

    filter: grayscale(100%) contrast(1.1);

    border: 1px solid rgba(255, 255, 255, 0.08);
}

.manifesto-image p {
    margin-top: 14px;

    font-size: 9px;
    letter-spacing: 4px;

    opacity: 0.75;
}


/* SAĞ KÜÇÜK METİN */

.manifesto-side {
    display: flex;
    align-items: center;
    gap: 25px;
}

.manifesto-side .vertical-line {
    width: 1px;
    height: 170px;

    background: rgba(232, 232, 227, 0.35);
}

.manifesto-side p {
    font-size: 9px;

    line-height: 1.8;
    letter-spacing: 3px;

    opacity: 0.7;
}

.manifesto::after {
    content: "";

    position: absolute;
    inset: 0;

    background-image: url("../assets/images/grain.png");
    background-size: cover;

    opacity: 0.10;

    pointer-events: none;

    z-index: 1;
}

.manifesto-text,
.manifesto-image,
.manifesto-side {
    position: relative;
    z-index: 2;
}

/* =========================
   LORE / THREE CARDS
   ========================= */

.lore {
    position: relative;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 55px;

    width: min(1680px, 88%);
    margin: 0 auto;

    padding: 65px 0 95px;

    background: #050505;
}

/* Her kart */

.lore-card {
    position: relative;
    z-index: 2;

    width: 100%;
    text-align: center;
}

/* Görsel çerçevesi */

.lore-image {
    width: 100%;
    aspect-ratio: 1.48 / 1;

    overflow: hidden;

    border: 1px solid rgba(232, 232, 227, 0.25);
}

.lore-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    filter:
        grayscale(100%)
        contrast(1.08)
        brightness(0.85);
}

/* Başlık */

.lore-card h3 {
    margin-top: 16px;
    margin-bottom: 0;

    font-size: 11px;
    font-weight: 400;

    letter-spacing: 5px;
}

/* Açıklama */

.lore-card p {
    margin-top: 9px;
    margin-bottom: 0;

    font-size: 10px;
    line-height: 1.7;

    letter-spacing: 2px;

    opacity: 0.65;
}

/* Hafif grain */

.lore::after {
    content: "";

    position: absolute;
    inset: 0;

    background-image: url("../assets/images/grain.png");
    background-size: cover;

    opacity: 0.08;

    pointer-events: none;

    z-index: 1;
}

/* =========================
   CONTACT
   ========================= */

.contact {
    position: relative;

    padding: 25px 15% 70px;

    background: #050505;

    text-align: center;
}


/* GET IN TOUCH + iki yan çizgi */

.contact-title {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 35px;
}

.contact-title span {
    width: 170px;
    height: 1px;

    background: rgba(232, 232, 227, 0.35);
}

.contact-title h2 {
    font-size: 11px;
    font-weight: 400;

    letter-spacing: 6px;

    white-space: nowrap;
}


/* Üç iletişim seçeneği */

.contact-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    margin-top: 45px;
}

.contact-links a {
    color: #e8e8e3;

    text-decoration: none;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.contact-links a:hover {
    opacity: 0.55;
    transform: translateY(-4px);
}


/* Şimdilik basit ikonlar */

.contact-icon {
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 25px;
    height: 25px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1;
    stroke-linecap: round;
    stroke-linejoin: round;

    opacity: 0.78;
}

.contact-icon .icon-dot {
    fill: currentColor;
    stroke: none;
}

.contact-links p {
    margin-top: 13px;

    font-size: 9px;
    letter-spacing: 5px;
}


/* Grain */

.contact::after {
    content: "";

    position: absolute;
    inset: 0;

    background-image: url("../assets/images/grain.png");
    background-size: cover;

    opacity: 0.07;

    pointer-events: none;
}

.contact-title,
.contact-links {
    position: relative;
    z-index: 2;
}
/* =========================
   FOOTER
   ========================= */

.footer {
    position: relative;

    min-height: 285px;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    padding: 35px 5% 28px;

    background:
        linear-gradient(
            to bottom,
            #050505 0%,
            rgba(5, 5, 5, 0.72) 35%,
            rgba(5, 5, 5, 0.28) 100%
        ),
        url("../assets/images/footer-bg.jpg");

    background-size: cover;
    background-position: center bottom;

    overflow: hidden;
}


/* Üstten karanlığa erit */

.footer::before {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        to bottom,
        #050505 0%,
        rgba(5, 5, 5, 0.95) 20%,
        rgba(5, 5, 5, 0.45) 70%,
        rgba(5, 5, 5, 0.15) 100%
    );

    z-index: 1;
}


/* Grain */

.footer::after {
    content: "";

    position: absolute;
    inset: 0;

    background-image: url("../assets/images/grain.png");
    background-size: cover;

    opacity: 0.12;

    pointer-events: none;

    z-index: 2;
}


/* Orta bölüm */

.footer-mark {
    position: relative;
    z-index: 3;

    text-align: center;
}

.footer-star {
    display: block;

    margin-bottom: 28px;

    font-size: 28px;
    font-weight: 300;

    opacity: 0.75;
}

.footer-brand {
    font-size: 9px;
    letter-spacing: 5px;
}

.footer-quote {
    margin-top: 18px;

    font-size: 8px;
    letter-spacing: 4px;

    opacity: 0.65;
}


/* Köşe tarihleri */

.footer-year {
    position: absolute;

    bottom: 30px;

    z-index: 3;

    font-size: 8px;
    letter-spacing: 4px;

    opacity: 0.7;
}

.footer-year-left {
    left: 5%;
}

.footer-year-right {
    right: 5%;
}
/* =========================
   TYPOGRAPHY
   ========================= */

.hero h1,
.manifesto-text h2 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 300;
}

.hero h1 {
    letter-spacing: 8px;
}

.manifesto-text h2 {
    letter-spacing: -1px;
}

.logo {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 8px;
}

.navbar,
.eyebrow,
.hero-subtitle,
.hero-motto,
.scroll-indicator,
.manifesto-tagline,
.manifesto-small,
.manifesto-image p,
.manifesto-side,
.lore-card,
.contact,
.footer {
    font-family: "Montserrat", Arial, sans-serif;
}
/* =========================
   RESPONSIVE — TABLET
========================= */

@media (max-width: 1100px) {

    .navbar {
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero h1 {
        font-size: clamp(72px, 15vw, 150px);
        letter-spacing: -3px;
    }

    .manifesto {
        width: 90%;
        grid-template-columns: 1fr 1fr;
        gap: 55px;
    }

    .manifesto-side {
        display: none;
    }

    .manifesto-image img {
        max-width: 440px;
    }

    .lore {
        width: 90%;
        grid-template-columns: repeat(2, 1fr);
        gap: 45px;
    }

    .lore-card:nth-child(3) {
        grid-column: 1 / -1;
        width: calc(50% - 22.5px);
        justify-self: center;
    }

    .contact {
        padding-left: 8%;
        padding-right: 8%;
    }
}

/* =========================
   NAVIGATION
========================= */

html {
    scroll-behavior: smooth;
}

.nav-links a,
.nav-links a:visited,
.nav-links a:active {
    color: inherit;
    text-decoration: none;
}

.nav-links a {
    transition: opacity 0.25s ease;
}

.nav-links a:hover {
    opacity: 0.55;
}

/* Menüyle gidilen bölüm ekranın tepesine yapışmasın */
#about,
#contact {
    scroll-margin-top: 40px;
}

/* =========================
   RESPONSIVE — MOBILE
========================= */

@media (max-width: 600px) {

    /* HERO */
    .hero {
        min-height: 100svh;
        padding: 28px 22px;
        background-position: center 45%;
    }

    .navbar {
        padding: 0;
        width: 100%;
        font-size: 9px;
        letter-spacing: 2px;
    }

    .logo {
        font-size: 14px;
        letter-spacing: 5px;
    }

    .nav-links {
        gap: 20px;
    }

    .hero-moon {
        top: 8%;
        right: 12%;
        width: 75px;
    }

    .hero-content {
        transform: translateY(-1vh);
    }

    .eyebrow {
        font-size: 8px;
        letter-spacing: 4px;
        margin-bottom: 16px;
    }

    .hero h1 {
        font-size: clamp(58px, 18vw, 78px);
        letter-spacing: 2px;
        line-height: 0.85;
    }

    .hero-subtitle {
        margin-top: 22px;
        font-size: 8px;
        line-height: 1.7;
        letter-spacing: 4px;
    }

    .hero-divider {
        height: 40px;
        margin: 24px auto 20px;
    }

    .hero-motto {
        font-size: 7px;
        letter-spacing: 3px;
    }

    .scroll-indicator {
        bottom: 18px;
        font-size: 7px;
    }


    /* MANIFESTO */
    .manifesto {
        width: 88%;
        min-height: auto;

        grid-template-columns: 1fr;
        gap: 50px;

        padding: 90px 0 75px;
    }

    .manifesto-text h2 {
        font-size: clamp(48px, 14vw, 64px);
        line-height: 0.92;
    }

    .manifesto-tagline {
        margin-top: 24px;
        font-size: 10px;
        letter-spacing: 2px;
    }

    .manifesto-small {
        font-size: 9px;
        line-height: 1.9;
        letter-spacing: 1.5px;
    }

    .manifesto-image {
        width: 100%;
    }

    .manifesto-image img {
        width: 100%;
        max-width: none;
    }

    .manifesto-image p {
        margin-top: 14px;
        font-size: 8px;
        letter-spacing: 3px;
    }

    .manifesto-side {
        display: none;
    }


    /* LORE */
    .lore {
        width: 88%;
        grid-template-columns: 1fr;
        gap: 55px;

        padding: 40px 0 90px;
    }

    .lore-card:nth-child(3) {
        grid-column: auto;
        width: 100%;
        justify-self: auto;
    }

    .lore-image {
        width: 100%;
        aspect-ratio: 1.48 / 1;
    }

    .lore-card h3 {
        margin-top: 15px;
        font-size: 10px;
        letter-spacing: 4px;
    }

    .lore-card p {
        margin-top: 8px;
        font-size: 9px;
    }


    /* CONTACT */
    .contact {
        padding: 20px 6% 65px;
    }

    .contact-title {
        gap: 18px;
    }

    .contact-title span {
        width: 60px;
    }

    .contact-title h2 {
        font-size: 9px;
        letter-spacing: 4px;
    }

    .contact-links {
        margin-top: 42px;
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-icon svg {
        width: 22px;
        height: 22px;
    }

    .contact-links p {
        margin-top: 11px;
        font-size: 7px;
        letter-spacing: 2px;
    }


/* FOOTER */
.footer {
    min-height: 250px;
    padding: 30px 5% 58px;
}

.footer-mark {
    width: 100%;
}

.footer-star {
    margin-bottom: 18px;
    font-size: 24px;
}

.footer-brand {
    font-size: 8px;
    letter-spacing: 4px;
}

.footer-quote {
    margin-top: 12px;
    padding: 0 25px;
    font-size: 6px;
    line-height: 1.6;
    letter-spacing: 2px;
}

.footer-year {
    bottom: 20px;
    font-size: 6px;
    letter-spacing: 2px;
}

.footer-year-left {
    left: 6%;
}

.footer-year-right {
    right: 6%;
}

/* =========================
   SCROLL REVEAL
========================= */
}
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.9s ease,
        transform 0.9s ease;
    will-change: opacity, transform;
}

.reveal.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Lore kartları hafif sırayla gelsin */
.lore-card.reveal:nth-child(2) {
    transition-delay: 0.12s;
}

.lore-card.reveal:nth-child(3) {
    transition-delay: 0.24s;
}
/* BACK TO TOP */

.back-to-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 50;

    width: 48px;
    height: 48px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;

    color: #e8e8e3;
    background: rgba(5, 5, 5, 0.72);
    border: 1px solid rgba(232, 232, 227, 0.35);

    text-decoration: none;
    backdrop-filter: blur(5px);

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease,
        border-color 0.3s ease;
}

.back-to-top span {
    font-size: 17px;
    line-height: 1;
}

.back-to-top small {
    font-family: "Montserrat", sans-serif;
    font-size: 6px;
    letter-spacing: 2px;
    margin-left: 2px;
}

.back-to-top:hover {
    border-color: rgba(232, 232, 227, 0.85);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 600px) {
    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 42px;
        height: 42px;
    }
    /* =========================
   SEAMLESS BACKGROUND FIX
========================= */

/* İç bölümlerde ayrı ayrı başlayan grain katmanlarını kaldır */
.manifesto::after,
.lore::after,
.contact::after {
    display: none;
}

/* Manifesto + Lore aynı kesintisiz siyah yüzey */
.manifesto,
.lore,
.contact {
    background: transparent;
}

/* Ana sayfa zemini */
body {
    background-color: #050505;
}
}