/* =====================================================
   NEEV INANI — WILDLIFE WEBSITE
   MAIN STYLESHEET
===================================================== */


/* =====================================================
   RESET
===================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Georgia, "Times New Roman", serif;
    background: #0a0b09;
    color: #f1eee6;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}


/* =====================================================
   NAVIGATION
===================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 24px 6%;

    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.75),
        rgba(0, 0, 0, 0)
    );
}

.logo {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 4px;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    position: relative;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.75);

    transition: color 0.3s ease;
}

.nav-links a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: #ffffff;

    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffffff;
}

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


/* =====================================================
   HERO
===================================================== */

.hero {
    min-height: 100vh;

    position: relative;

    display: flex;
    align-items: center;

    padding: 140px 8% 100px;

    background-image:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.82) 0%,
            rgba(0, 0, 0, 0.52) 45%,
            rgba(0, 0, 0, 0.25) 100%
        ),
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.25),
            #0a0b09 100%
        ),
        url("assets/Background.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    max-width: 800px;
}

.eyebrow,
.section-label {
    font-family: Arial, Helvetica, sans-serif;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 4px;
    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.65);

    margin-bottom: 20px;
}

.hero h1 {
    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(70px, 12vw, 170px);

    font-weight: 400;
    line-height: 0.82;

    letter-spacing: -6px;

    margin-bottom: 45px;
}

.hero h1 span {
    font-style: italic;
    color: #d8d2c1;
}

.hero-text {
    max-width: 500px;

    font-size: 18px;
    line-height: 1.8;

    color: rgba(255, 255, 255, 0.78);

    margin-bottom: 35px;
}


/* =====================================================
   BUTTONS
===================================================== */

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;

    padding: 14px 24px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 600;

    letter-spacing: 2px;
    text-transform: uppercase;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.primary-btn {
    background: #f1eee6;
    color: #111;
}

.primary-btn:hover {
    background: #ffffff;
    transform: translateY(-3px);
}

.secondary-btn {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.hero-scroll {
    position: absolute;

    bottom: 35px;
    right: 6%;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 9px;
    letter-spacing: 3px;

    color: rgba(255, 255, 255, 0.45);

    writing-mode: vertical-rl;
}


/* =====================================================
   INTRODUCTION
===================================================== */

.intro {
    padding: 150px 8%;
    background: #0a0b09;
}

.intro-container {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 50px;
}

.section-number {
    font-family: Arial, Helvetica, sans-serif;

    font-size: 12px;
    letter-spacing: 3px;

    color: rgba(255, 255, 255, 0.35);
}

.intro-content {
    max-width: 750px;
}

.intro h2 {
    font-size: clamp(45px, 6vw, 80px);

    font-weight: 400;
    line-height: 1.05;

    letter-spacing: -2px;

    margin-bottom: 35px;
}

.intro h2 em {
    color: #c9c2ad;
}

.intro-content > p:not(.section-label) {
    max-width: 650px;

    font-size: 18px;
    line-height: 1.9;

    color: rgba(255, 255, 255, 0.65);

    margin-bottom: 30px;
}

.text-link {
    display: inline-block;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;

    color: #d8d2c1;

    border-bottom: 1px solid rgba(216, 210, 193, 0.4);

    padding-bottom: 7px;

    transition: border-color 0.3s ease;
}

.text-link:hover {
    border-color: #ffffff;
}


/* =====================================================
   BOOKS
===================================================== */

.books {
    padding: 130px 8%;

    background: #10120f;
}

.books-heading {
    max-width: 1200px;

    margin: 0 auto 70px;

    display: flex;
    justify-content: space-between;
    align-items: end;

    gap: 40px;
}

.books-heading h2 {
    font-size: clamp(45px, 6vw, 75px);

    font-weight: 400;
    line-height: 1;

    letter-spacing: -2px;
}

.books-heading > p {
    max-width: 300px;

    font-size: 15px;
    line-height: 1.7;

    color: rgba(255, 255, 255, 0.55);
}


/* =====================================================
   BOOK CARD
===================================================== */

.book-card {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: 280px 1fr;

    min-height: 360px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    background: rgba(255, 255, 255, 0.025);
}

.book-cover-placeholder {
    min-height: 360px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.01)
        );

    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.book-cover-placeholder span {
    font-family: Arial, Helvetica, sans-serif;

    font-size: 10px;
    letter-spacing: 4px;

    color: rgba(255, 255, 255, 0.35);
}

.book-details {
    padding: 60px;
}

.coming-soon {
    font-family: Arial, Helvetica, sans-serif;

    font-size: 10px;
    letter-spacing: 3px;

    color: #bcb49e;

    margin-bottom: 20px;
}

.book-details h3 {
    font-size: clamp(30px, 4vw, 48px);

    font-weight: 400;

    margin-bottom: 20px;
}

.book-details > p:not(.coming-soon) {
    max-width: 500px;

    color: rgba(255, 255, 255, 0.55);

    line-height: 1.8;

    margin-bottom: 30px;
}

.book-details button {
    padding: 12px 22px;

    border: 1px solid rgba(255, 255, 255, 0.15);

    background: transparent;

    color: rgba(255, 255, 255, 0.3);

    cursor: not-allowed;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}


/* =====================================================
   CONSERVATION
===================================================== */

.conservation {
    min-height: 650px;

    display: flex;
    align-items: center;

    padding: 100px 8%;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.82),
            rgba(0, 0, 0, 0.45)
        ),
        url("assets/Background.jpg");

    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.conservation-content {
    max-width: 850px;
}

.conservation h2 {
    font-size: clamp(48px, 7vw, 90px);

    font-weight: 400;

    line-height: 1;

    letter-spacing: -3px;

    margin-bottom: 35px;
}

.conservation-content > p:not(.section-label) {
    max-width: 600px;

    font-size: 18px;

    line-height: 1.9;

    color: rgba(255, 255, 255, 0.7);
}


/* =====================================================
   DEVELOPER PREVIEW
===================================================== */

.developer-preview {
    padding: 140px 8%;

    text-align: center;

    background: #0a0b09;
}

.developer-preview h2 {
    font-size: clamp(45px, 6vw, 75px);

    font-weight: 400;

    line-height: 1.05;

    margin-bottom: 30px;
}

.developer-preview > p:not(.section-label) {
    max-width: 550px;

    margin: 0 auto 30px;

    color: rgba(255, 255, 255, 0.55);

    line-height: 1.8;
}


/* =====================================================
   FOOTER
===================================================== */

footer {
    padding: 70px 8% 35px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    background: #070806;

    text-align: center;
}

.footer-logo {
    font-family: Arial, Helvetica, sans-serif;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 4px;

    margin-bottom: 12px;
}

footer > p {
    color: rgba(255, 255, 255, 0.4);

    font-size: 13px;
}

.footer-links {
    display: flex;
    justify-content: center;

    gap: 25px;

    margin: 30px 0;
}

.footer-links a {
    font-family: Arial, Helvetica, sans-serif;

    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.55);

    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.copyright {
    font-family: Arial, Helvetica, sans-serif;

    font-size: 10px;

    margin-top: 25px;
}

.developer-credit {
    margin-top: 12px;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 10px !important;

    letter-spacing: 0.5px;
}

.developer-credit strong {
    color: rgba(255, 255, 255, 0.75);
}


/* =====================================================
   RESPONSIVE — TABLET
===================================================== */

@media (max-width: 800px) {

    .navbar {
        padding: 20px 5%;
    }

    .nav-links {
        gap: 18px;
    }

    .nav-links a {
        font-size: 10px;
    }

    .hero {
        padding-left: 7%;
        padding-right: 7%;
    }

    .hero h1 {
        letter-spacing: -4px;
    }

    .intro-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .books-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .book-card {
        grid-template-columns: 1fr;
    }

    .book-cover-placeholder {
        min-height: 250px;

        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .book-details {
        padding: 40px;
    }

    .conservation {
        background-attachment: scroll;
    }
}


/* =====================================================
   RESPONSIVE — MOBILE
===================================================== */

@media (max-width: 560px) {

    .navbar {
        position: absolute;

        align-items: flex-start;

        padding: 20px 5%;
    }

    .logo {
        font-size: 12px;
        letter-spacing: 3px;
    }

    .nav-links {
        gap: 12px;

        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .nav-links a {
        font-size: 8px;
        letter-spacing: 1.5px;
    }

    .hero {
        min-height: 100svh;

        padding: 130px 7% 80px;

        background-position: 60% center;
    }

    .hero h1 {
        font-size: clamp(65px, 20vw, 100px);

        letter-spacing: -4px;

        margin-bottom: 35px;
    }

    .hero-text {
        font-size: 15px;
    }

    .hero-scroll {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .intro,
    .books,
    .developer-preview {
        padding: 90px 7%;
    }

    .intro h2,
    .books-heading h2,
    .developer-preview h2 {
        letter-spacing: -1px;
    }

    .intro-content > p:not(.section-label),
    .conservation-content > p:not(.section-label) {
        font-size: 15px;
    }

    .books-heading {
        margin-bottom: 45px;
    }

    .book-details {
        padding: 30px 25px;
    }

    .book-cover-placeholder {
        min-height: 210px;
    }

    .conservation {
        min-height: 600px;

        padding: 90px 7%;
    }

    .conservation h2 {
        letter-spacing: -2px;
    }

    footer {
        padding: 55px 7% 30px;
    }

    .footer-links {
        gap: 18px;
        flex-wrap: wrap;
    }
}


/* =====================================================
   ACCESSIBILITY
===================================================== */

a:focus-visible,
button:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 4px;
}

/* =========================
   HOMEPAGE HERO
========================= */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 7% 80px;
    text-align: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-label {
    display: inline-block;
    margin-bottom: 22px;
    font-size: 0.75rem;
    letter-spacing: 0.28em;
    color: rgba(255,255,255,0.65);
}

.hero h1 {
    margin: 0;
    font-size: clamp(4rem, 11vw, 9rem);
    line-height: 0.9;
    letter-spacing: -0.055em;
    color: #ffffff;
}

.hero-tagline {
    margin: 28px 0 0;
    font-size: clamp(1.15rem, 2.5vw, 1.7rem);
    font-style: italic;
    color: rgba(255,255,255,0.85);
}

.hero-description {
    max-width: 680px;
    margin: 24px auto 0;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.68);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 35px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    padding: 14px 24px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.25s ease;
}

.hero-button.primary {
    background: #ffffff;
    color: #000000;
}

.hero-button.secondary {
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(0,0,0,0.18);
    color: #ffffff;
}

.hero-button:hover {
    transform: translateY(-3px);
}

.hero-button.secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.5);
}

.scroll-line {
    width: 1px;
    height: 45px;
    background: rgba(255,255,255,0.4);
}


/* MOBILE */

@media (max-width: 600px) {

    .hero {
        padding: 110px 6% 100px;
    }

    .hero h1 {
        font-size: clamp(3.3rem, 17vw, 5.5rem);
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-button {
        width: 100%;
    }

    .hero-scroll {
        display: none;
    }
}
