/* ==========================================
   ZARA K. REED
   RUSSIAN MAIN WEBSITE
   style-ru.css
========================================== */


/* ==========================================
   GLOBAL
========================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background: #0d0d0d;
    color: #e0e6ed;

    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.8;
}


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

header {
    width: 100%;
    background: #0d0d0d;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;

    padding: 22px 30px;

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

    gap: 30px;
}

.logo {
    color: #ffffff;
    font-weight: bold;
    font-size: 1.05rem;
    letter-spacing: 2px;
    white-space: nowrap;
}

.nav-links {
    list-style: none;

    margin: 0;
    padding: 0;

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

    gap: 18px;

    flex-wrap: wrap;
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #d6d9df;

    text-decoration: none;

    font-size: 0.88rem;
    transition: color 0.25s ease;
}

.nav-links a:hover {
    color: #ffb703;
}

.nav-links .lang-switch {
    color: #ffb703;
    font-weight: bold;
}


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

.hero-section {
    min-height: 78vh;

    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;

    gap: 60px;

    padding: 80px 40px;
}

.hero-content {
    max-width: 650px;
    text-align: left;
}

.hero-content h1 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1.05;

    letter-spacing: 4px;
}

.hero-content .subtitle {
    margin: 25px 0 20px;

    color: #ffb703;

    font-size: 1.05rem;
    letter-spacing: 1px;
}

.hero-bio {
    max-width: 600px;
    margin: 0 0 35px;

    color: #a0aec0;

    font-size: 1.05rem;
    line-height: 1.9;
}

.hero-photo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-photo img {
    display: block;

    width: 100%;
    max-width: 500px;
    height: auto;

    border-radius: 6px;
}


/* ==========================================
   GENERAL BUTTON
========================================== */

.btn {
    display: inline-block;

    padding: 12px 25px;

    border: 1px solid #ffb703;
    border-radius: 5px;

    background: transparent;

    color: #ffb703;

    text-decoration: none;
    font-weight: bold;

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

.btn:hover {
    background: #ffb703;
    color: #0d0d0d;

    transform: translateY(-2px);
}


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

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

    margin: 0 auto;

    padding: 90px 25px;
}

.books-section h2,
.about-section h2,
.tutoring-section h2,
footer h2 {
    margin: 0 0 45px;

    color: #ffffff;

    text-align: center;

    font-size: 2rem;
}

.book-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 35px;
}

.book-card {
    background: #11151d;

    border: 1px solid #1a1a1a;
    border-radius: 10px;

    padding: 30px;

    text-align: center;

    transition:
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.book-card:hover {
    border-color: #2a2f39;

    transform: translateY(-4px);

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.25);
}


/* ==========================================
   BOOK COVER SLIDER
========================================== */

.slider-wrapper {
    width: 100%;
}

.cover-slider {
    display: flex;

    gap: 18px;

    overflow-x: auto;

    scroll-snap-type: x mandatory;

    padding-bottom: 8px;

    scrollbar-width: thin;
}

.cover-slider::-webkit-scrollbar {
    height: 6px;
}

.cover-slider::-webkit-scrollbar-thumb {
    background: #333944;
    border-radius: 10px;
}

.slide-item {
    flex: 0 0 100%;

    scroll-snap-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.book-cover-img {
    display: block;

    width: 100%;
    max-width: 330px;

    height: auto;

    border-radius: 4px;
}

.cover-label {
    margin-top: 12px;

    color: #a0aec0;

    font-size: 0.85rem;
}

.swipe-hint {
    margin: 14px 0 0;

    color: #6f7887;

    font-size: 0.8rem;
}


/* ==========================================
   BOOK TITLES / BUY LINKS
========================================== */

.book-card h3 {
    margin: 28px 0 20px;

    color: #ffffff;

    font-size: 1.25rem;
    letter-spacing: 1px;
}

.buy-links {
    display: flex;

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

    flex-wrap: wrap;

    gap: 12px;
}

.buy-btn {
    display: inline-block;

    padding: 10px 18px;

    border-radius: 4px;

    text-decoration: none;

    font-size: 0.85rem;
    font-weight: bold;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.buy-btn:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.buy-btn.amazon {
    background: #ffb703;
    color: #0d0d0d;
}

.buy-btn.ridero {
    background: #262c36;
    color: #ffffff;
}


/* ==========================================
   GENERAL CONTENT SECTIONS
========================================== */

.about-section {
    max-width: 1000px;

    margin: 0 auto;

    padding: 90px 25px;
}

.about-section + .about-section {
    border-top: 1px solid #171b22;
}

.about-content {
    max-width: 780px;

    margin: 0 auto;

    color: #a0aec0;

    font-size: 1rem;
    line-height: 1.9;
}

.about-content p {
    margin: 0 0 25px;
}

.about-content strong {
    color: #ffffff;
}


/* ==========================================
   CONTENT SECTION BUTTONS
========================================== */

.about-content .btn {
    margin-top: 10px;
}


/* ==========================================
   TUTORING
========================================== */

.tutoring-section {
    max-width: 1000px;

    margin: 0 auto;

    padding: 90px 25px;

    text-align: center;
}

.tutoring-section > p {
    max-width: 760px;

    margin: 0 auto 20px;

    color: #a0aec0;
}

.tutoring-target {
    color: #ffb703 !important;

    font-weight: bold;
}

.waitlist-box {
    max-width: 700px;

    margin: 40px auto 0;

    padding: 35px;

    background: #11151d;

    border: 1px solid #1a1a1a;
    border-radius: 10px;
}

.waitlist-box > p {
    color: #a0aec0;

    margin-top: 0;
    margin-bottom: 30px;
}

.waitlist-box strong {
    color: #ffffff;
}


/* ==========================================
   FORM
========================================== */

.waitlist-form {
    width: 100%;
}

.form-input {
    border: 1px solid #2a3039;
    border-radius: 5px;

    background: #0d0d0d;

    color: #ffffff;

    font-size: 0.95rem;

    outline: none;

    transition: border-color 0.25s ease;
}

.form-input::placeholder {
    color: #687181;
}

.form-input:focus {
    border-color: #ffb703;
}

.form-submit-btn {
    cursor: pointer;

    font-family: inherit;
    font-size: 0.95rem;
}


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

footer {
    max-width: 1000px;

    margin: 0 auto;

    padding: 80px 25px 35px;

    border-top: 1px solid #1a1a1a;

    text-align: center;
}

footer h2 {
    margin-bottom: 20px;
}

footer > p {
    max-width: 700px;

    margin: 0 auto 25px;

    color: #8892b0;
}

.social-links {
    margin: 35px 0;
}

.social-links p {
    margin: 8px 0;

    color: #a0aec0;
}

.social-links a {
    color: #ffb703;

    text-decoration: none;
}

.social-links a:hover {
    text-decoration: underline;
}

footer h3 {
    color: #ffffff;
}

footer .copyright {
    margin-top: 45px;

    color: #6b7280;

    font-size: 0.85rem;
}


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

@media (max-width: 950px) {

    .navbar {
        flex-direction: column;

        justify-content: center;

        padding: 22px 20px;
    }

    .nav-links {
        justify-content: center;

        gap: 12px 16px;
    }

}


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

@media (max-width: 700px) {

    body {
        font-size: 0.95rem;
    }

    .navbar {
        padding: 20px 15px;
    }

    .logo {
        font-size: 0.95rem;
    }

    .nav-links {
        gap: 9px 13px;
    }

    .nav-links a {
        font-size: 0.78rem;
    }

    .hero-section {
        min-height: 70vh;

        padding:
            80px 20px
            70px;
    }

    .hero-content h1 {
        font-size: clamp(2.4rem, 12vw, 4rem);

        letter-spacing: 2px;
    }

    .hero-content .subtitle {
        font-size: 0.9rem;
    }

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

    .books-section,
    .about-section,
    .tutoring-section {
        padding: 70px 20px;
    }

    .books-section h2,
    .about-section h2,
    .tutoring-section h2,
    footer h2 {
        font-size: 1.7rem;

        margin-bottom: 35px;
    }

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

        gap: 25px;
    }

    .book-card {
        padding: 22px;
    }

    .book-card h3 {
        font-size: 1.1rem;
    }

    .waitlist-box {
        padding: 25px 20px;
    }

    footer {
        padding:
            70px 20px
            30px;
    }

}

@media (max-width: 700px) {

    .hero-section {
        grid-template-columns: 1fr;
        gap: 45px;

        padding: 70px 20px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-bio {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-photo img {
        max-width: 420px;
    }
}


/* ==========================================
   VERY SMALL SCREENS
========================================== */

@media (max-width: 420px) {

    .nav-links {
        gap: 8px 10px;
    }

    .nav-links a {
        font-size: 0.72rem;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .buy-links {
        flex-direction: column;
    }

    .buy-btn {
        width: 100%;
        max-width: 220px;
    }

}