/* ========================================
   RESET & GLOBAL
======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f6f1;
    color: #20332a;
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

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



button {
    font: inherit;
}

.container {
    width: min(1120px, 90%);
    margin: 0 auto;
}

.section {
    padding: 110px 0;
}


/* ========================================
   TYPOGRAPHY
======================================== */

h1,
h2,
h3 {
    line-height: 1.15;
}

h1 {
   font-size: clamp(3rem, 5vw, 5.4rem);
    font-weight: 500;
    letter-spacing: -0.04em;
}

h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 4vw, 4rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    margin-bottom: 25px;
}

h3 {
    font-size: 1.2rem;
}

p {
    color: #5e6a63;
}

.eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    font-weight: 700;
    color: #6b815b;
    margin-bottom: 18px;
}


/* ========================================
   HEADER
======================================== */

.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(247, 246, 241, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(32, 51, 42, 0.08);
}

.nav-container {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.08em;
}

.logo span {
    color: #789164;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.25s ease;
}

.nav-menu a:hover {
    color: #789164;
}

.nav-button {
    background: #20332a;
    color: white !important;
    padding: 12px 20px;
    border-radius: 100px;
}

.nav-button:hover {
    background: #789164;
}

.menu-toggle {
    display: none;
    border: none;
    background: none;
    font-size: 1.8rem;
    cursor: pointer;
}


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

.hero {
    min-height: 100vh;
    padding-top: 150px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 70px;
}

.hero h1 span {
    color: #789164;
    display: block;
}

.hero-description {
    max-width: 620px;
    font-size: 1.15rem;
    margin-top: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.25s ease;
}

.button-primary {
    background: #20332a;
    color: white;
}

.button-primary:hover {
    background: #789164;
    transform: translateY(-2px);
}

.button-secondary {
    border: 1px solid #bcc4be;
}

.button-secondary:hover {
    background: white;
}

.hero-info {
    display: flex;
    gap: 42px;
    margin-top: 55px;
    padding-top: 30px;
    border-top: 1px solid #d6d8d3;
}

.hero-info div {
    display: flex;
    flex-direction: column;
}

.hero-info strong {
    font-family: Georgia, serif;
    font-size: 1.5rem;
}

.hero-info span {
    color: #768078;
    font-size: 0.8rem;
}

/* ========================================
   HERO BOOK IMAGE
======================================== */

.hero-image {
    position: relative;
    min-height: 560px;

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

    transform: translateX(-55px);
}

/* Glow hijau lembut di belakang buku */

.book-glow {
    position: absolute;

    width: 500px;
    height: 500px;

    background: rgba(170, 190, 155, 0.38);

    border-radius:
        48% 52% 62% 38%
        / 42% 44% 56% 58%;

    filter: blur(35px);

    z-index: 0;
}


/* Frame foto buku */

.hero-book-frame {
    position: relative;

    width: min(520px, 95%);

    border-radius:
        32px 90px 32px 90px;

    overflow: hidden;

    box-shadow:
        0 30px 70px rgba(32, 51, 42, 0.18);

    z-index: 2;

    transform: rotate(1deg);
}


/* Foto asli cover-buku.jpg */

.hero-book-frame img {
    width: 100%;
    height: auto;

    display: block;

    object-fit: cover;

    transition:
        transform 0.5s ease,
        filter 0.5s ease;
}


/* Sedikit efek ketika mouse diarahkan */

.hero-book-frame:hover img {
    transform: scale(1.025);
}


/* Badge Buku Hoya */

.hero-badge {
    position: absolute;

    left: 15px;
    bottom: 65px;

    width: 110px;
    height: 110px;

    border-radius: 50%;

    background: #f8f7f2;

    border: 1px solid rgba(32, 51, 42, 0.12);

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

    box-shadow:
        0 15px 40px rgba(32, 51, 42, 0.15);

    z-index: 3;
}


.hero-badge span {
    font-size: 0.75rem;

    color: #657068;

    margin-bottom: 3px;
}


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

    font-size: 1.45rem;

    color: #20332a;
}


/* ========================================
   QUOTE
======================================== */

.quote-section {
    background: #20332a;
    padding: 90px 0;
}

.quote-container {
    max-width: 900px;
    text-align: center;
}

.quote-mark {
    font-family: Georgia, serif;
    font-size: 5rem;
    color: #98ac85;
    height: 60px;
}

blockquote {
    font-family: Georgia, "Times New Roman", serif;
    color: white;
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.45;
}


/* ========================================
   ABOUT BOOK
======================================== */

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.section-image img {
    width: 100%;
    height: 680px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(32, 51, 42, 0.10);
}

.section-content > p {
    margin-bottom: 20px;
}

.feature-list {
    margin-top: 40px;
}

.feature-item {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 20px;
    padding: 22px 0;
    border-top: 1px solid #d7d9d4;
}

.feature-item span {
    color: #789164;
    font-family: Georgia, serif;
    font-size: 1.3rem;
}

.feature-item h3 {
    margin-bottom: 6px;
}


/* ========================================
   AUTHOR
======================================== */

.author-section {
    background: #e8eadf;
}

.author-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 100px;
    align-items: center;
}

.author-content > p {
    margin-bottom: 20px;
}

.author-signature {
    font-family: Georgia, cursive;
    font-style: italic;
    font-size: 1.6rem;
    color: #789164;
    margin-top: 40px;
}

.author-image-wrapper {
    position: relative;
}

.author-image {
    height: 620px;
    width: 100%;
    object-fit: cover;

    position: relative;
    z-index: 2;

    border-radius: 18px;

    box-shadow:
        0 25px 60px rgba(32, 51, 42, 0.10);
}

.author-decoration {
    position: absolute;

    width: 100%;
    height: 100%;

    border: 1px solid #9aac8a;
    border-radius: 18px;

    top: 25px;
    left: 25px;
}


/* ========================================
   SECTION HEADING
======================================== */

.section-heading {
    max-width: 700px;
    margin-bottom: 55px;
}

.section-heading.light h2,
.section-heading.light p {
    color: white;
}

.section-heading.light .eyebrow {
    color: #afc49c;
}


/* ========================================
   GALLERY
======================================== */

.gallery-section {
    background: #f7f6f1;
}

.gallery-grid {
    display: grid;

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

    grid-auto-rows: 280px;

    gap: 16px;
}


/* Semua item galeri */

.gallery-item {
    position: relative;

    overflow: hidden;

    border-radius: 14px;

    min-width: 0;

    background: #e8eadf;
}


/* Semua image wajib mengikuti ukuran grid */

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.6s ease;
}


.gallery-item:hover img {
    transform: scale(1.03);
}


/* Foto vertikal besar */

.gallery-large {
    grid-row: span 2;
}


/* Foto horizontal besar */

.gallery-wide {
    grid-column: span 2;
}


/* Text overlay */

/* ========================================
   GALLERY SPECIES INFORMATION
======================================== */

.gallery-overlay {
    position: absolute;
    inset: 0;

    padding: 28px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    background: linear-gradient(
        to top,
        rgba(12, 30, 21, 0.82) 0%,
        rgba(12, 30, 21, 0.35) 30%,
        transparent 58%
    );

    color: white;

    pointer-events: none;
}


.gallery-overlay span {
    font-size: 0.65rem;
    font-weight: 700;

    letter-spacing: 0.18em;

    text-transform: uppercase;

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

    margin-bottom: 5px;
}


.gallery-overlay h3 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 1.55rem;
    font-weight: 500;

    line-height: 1.15;

    color: white;

    margin: 0;
}


.gallery-overlay h3 em {
    font-weight: 500;
}


.gallery-overlay p {
    color: rgba(255, 255, 255, 0.80);

    font-size: 0.78rem;

    margin-top: 6px;

    line-height: 1.4;
}

/* ========================================
   CONTENT / CHAPTERS
======================================== */

.content-section {
    background: #20332a;
    padding-top: 130px;

}

.chapter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: rgba(255, 255, 255, 0.12);
}

.chapter-card {
    background: #263e33;
    padding: 45px 35px;
    min-height: 260px;
    transition: 0.3s ease;
}

.chapter-card:hover {
    background: #304b3e;
}

.chapter-number {
    color: #a9bc98;
    font-family: Georgia, serif;
    font-size: 1.8rem;
}

.chapter-card h3 {
    color: white;
    font-family: Georgia, serif;
    font-size: 1.6rem;
    margin: 35px 0 15px;
}

.chapter-card p {
    color: #bcc9c1;
}

.media-section {
    background: #f7f6f1;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.media-card {
    padding: 40px;
    border: 1px solid #d9ddd3;
    border-radius: 18px;
    background: #ffffff;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.media-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(32, 56, 45, 0.08);
}

.media-source {
    display: block;
    margin-bottom: 22px;

    color: #789166;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.media-card h3 {
    margin-bottom: 20px;

    font-family: Georgia, serif;
    font-size: 1.65rem;
    line-height: 1.25;

    color: #20382d;
}

.media-card p {
    margin-bottom: 28px;

    color: #667169;
    line-height: 1.7;
}

.media-link {
    color: #20382d;
    font-weight: 700;
    text-decoration: none;
}

.media-link:hover {
    text-decoration: underline;
}
/* ========================================
   TESTIMONIAL
======================================== */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.testimonial-card {
    background: white;
    padding: 38px;
    border-radius: 4px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
}

.stars {
    color: #789164;
    letter-spacing: 5px;
    margin-bottom: 25px;
}

.testimonial-card > p {
    font-family: Georgia, serif;
    font-size: 1.25rem;
    color: #35473e;
    line-height: 1.6;
}

.testimonial-person {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e2;
}

.testimonial-person span {
    font-size: 0.8rem;
    color: #839087;
}


/* ========================================
   BUY BOOK
======================================== */

.buy-section {
    padding: 110px 0;
    background: #dfe5d7;
}

.buy-grid {
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    gap: 100px;
    align-items: center;
}

.buy-book-image {
    display: flex;
    justify-content: center;
}

.buy-book-image img {
    max-height: 620px;
    box-shadow: 0 30px 60px rgba(20, 30, 20, 0.25);
}

.buy-content > p {
    max-width: 620px;
}

.book-price-list {
    margin: 30px 0 18px;
    max-width: 600px;
}

.book-price-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 30px;

    padding: 16px 0;

    border-bottom: 1px solid rgba(32, 51, 42, 0.15);
}

.book-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    color: #20332a;
}

.book-price {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
    color: #20332a;
    font-weight: 600;
    white-space: nowrap;
}

.stock-info {
    color: #547044;
}

.buy-buttons {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.button-whatsapp {
    background: #20332a;
    color: white;
}

.button-whatsapp:hover {
    background: #789164;
}

.button-marketplace {
    background: white;
}

.button-marketplace:hover {
    transform: translateY(-2px);
}

.purchase-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    font-size: 0.82rem;
}


/* ========================================
   CONTACT
======================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.contact-list {
    display: flex;
    flex-direction: column;
}

.contact-list a {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid #d4d8d3;
}

.contact-list span {
    color: #7a857e;
}

.contact-list strong {
    text-align: right;
}


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

.footer {
    background: #17261f;
    color: white;
    padding-top: 70px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    padding-bottom: 60px;
}

.footer-logo {
    color: white;
}

.footer-brand p {
    max-width: 350px;
    margin-top: 20px;
    color: #9eaaa3;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #c4cec8;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #88968e;
    font-size: 0.8rem;
}


/* ========================================
   FLOATING WHATSAPP
======================================== */

.floating-whatsapp {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #20332a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 500;
    transition: 0.3s ease;
}

.floating-whatsapp:hover {
    background: #789164;
    transform: translateY(-4px);
}


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

@media (max-width: 900px) {

    .section {
        padding: 80px 0;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 82px;
        left: 0;
        width: 100%;
        padding: 25px 5%;
        background: #f7f6f1;
        flex-direction: column;
        align-items: flex-start;
        border-bottom: 1px solid #ddd;
    }
    .nav-menu.active {
    display: flex;
}

    .nav-menu.active {
        display: flex;
    }

    .hero-grid,
    .two-column,
    .author-grid,
    .buy-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 60px;
    }

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

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

    .hero-buttons,
   

    .hero-image img {
        width: min(340px, 80%);
    }

    .section-image img {
        height: 500px;
    }

    .author-grid {
        gap: 60px;
    }

    .author-image {
        height: 520px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-large {
        grid-row: span 1;
    }

    .gallery-wide {
        grid-column: span 1;
    }

    .chapter-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .buy-grid {
        gap: 60px;
    }

}


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

@media (max-width: 600px) {

    .container {
        width: 88%;
    }

    .header .nav-container {
        height: 70px;
    }

    .nav-menu {
        top: 70px;
    }

    .hero {
        padding-top: 120px;
    }

    h1 {
        font-size: 3.2rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-info {
        gap: 20px;
    }

    .hero-info strong {
        font-size: 1.2rem;
    }

    .book-glow {
        width: 300px;
        height: 300px;
    }

    .hero-badge {
        width: 80px;
        height: 80px;
        left: 5px;
    }

    .section-image img,
    .author-image {
        height: 430px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 320px;
    }

    .chapter-grid {
        grid-template-columns: 1fr;
    }

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

    .purchase-features {
        flex-direction: column;
        gap: 8px;
    }

    .contact-list a {
        flex-direction: column;
        gap: 3px;
    }

    .contact-list strong {
        text-align: left;
    }

    .footer-container {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

}