/* =====================================================
   MAHKOTA FLORIST BOGOR
   BLOG PAGE — TOKO BUNGA DRAMAGA
   FINAL RESPONSIVE CSS
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: "Poppins", sans-serif;
    background: #faf9f7;
    color: #242424;
    line-height: 1.8;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}


/* =====================================================
   HEADER
===================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid #eee;
}

.header-inner {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    flex-shrink: 0;
}

.logo-main {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 3px;

    background: linear-gradient(
        90deg,
        #a87816,
        #e8c968,
        #a87816
    );

    -webkit-background-clip: text;
    color: transparent;
}

.logo-sub {
    font-size: 9px;
    letter-spacing: 4px;
    color: #555;
    margin-top: 5px;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 27px;
}

.navbar a {
    font-size: 14px;
    color: #444;
    transition: .3s ease;
}

.navbar a:hover,
.navbar a.active {
    color: #ad7d19;
}

.nav-cta {
    padding: 10px 18px;
    border-radius: 30px;

    background: #1f1f1f;
    color: white !important;
}

.menu-toggle {
    display: none;

    border: none;
    background: transparent;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;
}


/* =====================================================
   BREADCRUMB
===================================================== */

.breadcrumb {
    background: #f3f1ed;
    padding: 12px 0;
}

.breadcrumb .container {
    display: flex;
    align-items: center;

    gap: 9px;

    flex-wrap: wrap;

    font-size: 12px;
    color: #777;
}

.breadcrumb a:hover {
    color: #ad7d19;
}


/* =====================================================
   HERO
===================================================== */

.blog-hero {
    position: relative;

    min-height: 430px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            rgba(0,0,0,.88),
            rgba(35,30,20,.78)
        ),
        url("./images/banner-blog.jpg");

    background-size: contain;
    background-position:center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;

    color: white;

    padding: 70px 0;

    max-width: 760px;
}

.hero-label {
    display: inline-block;

    font-size: 11px;
    letter-spacing: 4px;

    color: #e8c968;

    margin-bottom: 15px;
}

.hero-content h1 {
    font-size: clamp(40px, 6vw, 70px);

    line-height: 1.1;

    margin-bottom: 20px;

    font-weight: 700;
}

.hero-content p {
    max-width: 680px;

    color: #eee;

    font-size: 17px;

    margin-bottom: 30px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 13px 24px;

    border-radius: 30px;

    background: linear-gradient(
        135deg,
        #c29532,
        #efd77d
    );

    color: #171717;

    font-weight: 600;

    transition: .3s ease;
}

.hero-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(0,0,0,.25);
}


/* =====================================================
   MAIN LAYOUT
===================================================== */

.main-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        320px;

    gap: 45px;

    padding-top: 70px;
    padding-bottom: 80px;
}


/* =====================================================
   ARTICLE
===================================================== */

.article {
    min-width: 0;

    background: white;

    border-radius: 22px;

    padding: clamp(
        25px,
        5vw,
        55px
    );

    box-shadow:
        0 12px 40px rgba(0,0,0,.05);
}

.article-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 20px;

    color: #9a731e;

    font-size: 12px;

    margin-bottom: 25px;
}

.article h2 {
    font-size: clamp(
        25px,
        3vw,
        34px
    );

    line-height: 1.3;

    margin: 38px 0 18px;

    color: #222;
}

.article h2:first-of-type {
    margin-top: 0;
}

.article h3 {
    line-height: 1.4;
}

.article p {
    margin-bottom: 18px;

    color: #555;

    overflow-wrap: break-word;
}


/* =====================================================
   ARTICLE IMAGES
===================================================== */

.article-image {
    width: 100%;

    margin: 35px 0;

    overflow: hidden;
}

.article-image img {
    display: block;

    width: 100%;
    max-width: 100%;

    height: auto;

    object-fit: contain;

    border-radius: 20px;

    box-shadow:
        0 18px 45px rgba(0,0,0,.10);

    transition:
        transform .6s ease,
        box-shadow .6s ease;
}

.article-image:hover img {
    transform: scale(1.025);

    box-shadow:
        0 22px 55px rgba(0,0,0,.14);
}

.article-image figcaption {
    padding: 10px 5px 0;

    font-size: 11px;

    line-height: 1.6;

    color: #888;

    text-align: center;
}

.featured-image {
    margin-top: 35px;
    margin-bottom: 45px;
}

.featured-image img {
    max-height: 520px;
}

.closing-image {
    margin-top: 45px;
    margin-bottom: 45px;
}

.closing-image img {
    max-height: 500px;
}


/* =====================================================
   HIGHLIGHT
===================================================== */

.highlight-box {
    margin: 35px 0;

    padding: 25px;

    border-left: 4px solid #c59b3b;

    background:
        linear-gradient(
            135deg,
            #fffaf0,
            #fff
        );

    border-radius:
        0 15px 15px 0;
}

.highlight-box strong {
    font-size: 18px;

    color: #8e6716;
}

.highlight-box a {
    display: inline-block;

    color: #a27419;

    font-weight: 600;
}


/* =====================================================
   SERVICE GRID
===================================================== */

.service-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;

    margin: 25px 0 35px;
}


/* =====================================================
   SERVICE CARD
===================================================== */

.service-card {
    min-width: 0;

    padding: 0 !important;

    overflow: hidden;

    border:
        1px solid #eee;

    border-radius: 18px;

    background: #fff;

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.service-card:hover {
    transform: translateY(-6px);

    border-color: #d7bb72;

    box-shadow:
        0 18px 40px rgba(0,0,0,.10);
}


/* =====================================================
   SERVICE IMAGE
===================================================== */

.service-image {
    position: relative;

    width: 100%;
    height: 220px;

    overflow: hidden;

    background: #f5f3ef;
}

.service-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    transition:
        transform .6s ease;
}

.service-card:hover
.service-image img {
    transform: scale(1.08);
}

.service-image::after {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 70%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.28),
            transparent
        );

    transform: skewX(-20deg);

    transition:
        left .8s ease;

    pointer-events: none;
}

.service-card:hover
.service-image::after {
    left: 140%;
}


/* =====================================================
   SERVICE CONTENT
===================================================== */

.service-content {
    position: relative;

    padding: 22px;
}

.service-number {
    display: inline-block;

    margin-bottom: 5px;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

    color: #b58a29;
}

.service-content h3 {
    margin-bottom: 8px;

    font-size: 18px;

    color: #222;
}

.service-content p {
    margin-bottom: 0;

    font-size: 13px;

    color: #666;
}


/* =====================================================
   STEPS
===================================================== */

.steps {
    display: grid;

    gap: 15px;

    margin: 25px 0;
}

.step {
    display: flex;

    align-items: flex-start;

    gap: 18px;

    padding: 20px;

    background: #faf8f3;

    border-radius: 15px;
}

.step > span {
    flex: 0 0 45px;

    width: 45px;
    height: 45px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    background: #1e1e1e;

    color: #e5c35e;

    font-weight: 700;

    font-size: 12px;
}

.step h3 {
    font-size: 16px;

    margin-bottom: 3px;
}

.step p {
    margin: 0;

    font-size: 13px;
}


/* =====================================================
   CHECK LIST
===================================================== */

.check-list {
    list-style: none;

    display: grid;

    gap: 10px;

    margin: 20px 0 35px;
}

.check-list li {
    padding: 13px 17px;

    background: #faf9f6;

    border-radius: 10px;

    color: #555;

    overflow-wrap: break-word;
}


/* =====================================================
   CTA
===================================================== */

.article-cta {
    margin-top: 50px;

    padding:
        45px 30px;

    border-radius: 20px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #171717,
            #343026
        );

    color: white;
}

.article-cta span {
    font-size: 10px;

    letter-spacing: 4px;

    color: #e3c45d;
}

.article-cta h2 {
    color: white;

    margin: 12px 0;
}

.article-cta p {
    color: #ddd;
}

.article-cta a {
    display: inline-block;

    margin-top: 10px;

    padding: 12px 25px;

    background: #e1bd54;

    color: #171717;

    border-radius: 30px;

    font-weight: 600;

    transition: .3s ease;
}

.article-cta a:hover {
    transform: translateY(-3px);
}


/* =====================================================
   FAQ
===================================================== */

.faq {
    margin-top: 60px;
}

.faq details {
    border-bottom: 1px solid #eee;

    padding: 18px 0;
}

.faq summary {
    cursor: pointer;

    font-weight: 600;

    color: #333;
}

.faq details p {
    margin: 12px 0 0;

    font-size: 14px;
}


/* =====================================================
   SIDEBAR
===================================================== */

.sidebar {
    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 22px;
}

.sidebar-card {
    background: white;

    padding: 27px;

    border-radius: 18px;

    box-shadow:
        0 10px 30px rgba(0,0,0,.05);
}

.sidebar-card h3 {
    font-size: 20px;

    margin: 8px 0 10px;
}

.sidebar-label {
    font-size: 10px;

    letter-spacing: 3px;

    color: #a4771c;
}

.sidebar-card p {
    font-size: 13px;

    color: #666;
}

.sidebar-card > a {
    display: inline-block;

    margin-top: 10px;

    color: #a4771c;

    font-weight: 600;
}

.sidebar-card ul {
    list-style: none;

    margin-top: 15px;
}

.sidebar-card li {
    border-bottom: 1px solid #eee;
}

.sidebar-card li a {
    display: block;

    padding: 11px 0;

    font-size: 13px;

    color: #555;

    transition: .3s ease;
}

.sidebar-card li a:hover {
    color: #a4771c;

    padding-left: 5px;
}


/* =====================================================
   SIDEBAR WHATSAPP
===================================================== */

.sidebar-wa {
    padding: 30px;

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #201f1c,
            #383226
        );

    color: white;
}

.wa-icon {
    font-size: 32px;
}

.sidebar-wa h3 {
    margin: 10px 0;
}

.sidebar-wa p {
    color: #ddd;

    font-size: 13px;
}

.sidebar-wa a {
    display: block;

    text-align: center;

    margin-top: 18px;

    padding: 11px;

    border-radius: 30px;

    background: #dfbc55;

    color: #171717;

    font-weight: 600;
}


/* =====================================================
   FOOTER
===================================================== */

footer {
    background: #171717;

    color: white;
}

.footer-inner {
    padding: 50px 0;

    display: flex;

    justify-content: space-between;

    gap: 40px;
}

.footer-logo {
    font-weight: 700;

    letter-spacing: 3px;

    color: #e1c05b;

    margin-bottom: 10px;
}

.footer-inner p {
    color: #bbb;

    max-width: 450px;

    font-size: 13px;
}

.footer-contact {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.footer-contact a {
    color: #ddd;
}

.footer-contact a:hover {
    color: #e1c05b;
}

.copyright {
    border-top: 1px solid #333;

    padding: 18px;

    text-align: center;

    color: #888;

    font-size: 11px;
}


/* =====================================================
   FLOATING WHATSAPP
===================================================== */

.floating-wa {
    position: fixed;

    right: 22px;
    bottom: 22px;

    z-index: 2000;

    width: 58px;
    height: 58px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: #1f1f1f;

    color: #e3c45d;

    font-size: 25px;

    box-shadow:
        0 10px 30px rgba(0,0,0,.2);

    transition: .3s ease;
}

.floating-wa:hover {
    transform: scale(1.08);
}


/* =====================================================
   TABLET
   769px — 1050px
===================================================== */

@media (max-width: 1050px) {

    .container {
        width: min(94%, 1180px);
    }

    .navbar {
        gap: 18px;
    }

    .navbar a {
        font-size: 13px;
    }

    .main-layout {
        grid-template-columns:
            minmax(0, 1fr)
            280px;

        gap: 28px;
    }

    .article {
        padding: 40px;
    }

}


/* =====================================================
   TABLET / SMALL LAPTOP
   769px — 900px
===================================================== */

@media (max-width: 900px) {

    .main-layout {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .sidebar {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        align-items: start;
    }

    .sidebar-wa {
        grid-column: 1 / -1;
    }

}


/* =====================================================
   MOBILE NAVIGATION
   601px — 768px
===================================================== */

@media (max-width: 768px) {

    .header-inner {
        min-height: 70px;
    }

    .navbar {
        position: absolute;

        top: 70px;
        left: 0;

        width: 100%;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 15px 20px 20px;

        background: white;

        border-bottom: 1px solid #eee;

        box-shadow:
            0 15px 30px rgba(0,0,0,.08);
    }

    .navbar.show {
        display: flex;
    }

    .navbar a {
        padding: 12px;

        text-align: center;

        font-size: 14px;
    }

    .nav-cta {
        margin-top: 5px;
    }

    .menu-toggle {
        display: block;
    }

    .blog-hero {
        min-height: 430px;
    }

    .hero-content {
        padding: 55px 0;
    }

    .main-layout {
        padding-top: 45px;

        padding-bottom: 60px;
    }

}


/* =====================================================
   MOBILE
   481px — 600px
===================================================== */

@media (max-width: 600px) {

    .container {
        width: 92%;
    }

    .logo-main {
        font-size: 18px;
    }

    .logo-sub {
        font-size: 8px;

        letter-spacing: 3px;
    }

    .breadcrumb .container {
        font-size: 11px;
    }

    .blog-hero {
        min-height: 480px;

        background-position:
            center center;
    }

    .hero-content {
        padding: 50px 0;
    }

    .hero-label {
        font-size: 9px;

        letter-spacing: 3px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .hero-button {
        width: 100%;

        text-align: center;
    }

    .article {
        padding: 25px 20px;

        border-radius: 16px;
    }

    .article-meta {
        gap: 10px;

        font-size: 11px;
    }

    .article h2 {
        font-size: 26px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-image {
        height: 230px;
    }

    .article-image {
        margin: 28px 0;
    }

    .article-image img {
        border-radius: 15px;
    }

    .featured-image img,
    .closing-image img {
        max-height: 420px;
    }

    .step {
        gap: 13px;

        padding: 16px;
    }

    .step > span {
        flex-basis: 40px;

        width: 40px;
        height: 40px;
    }

    .article-cta {
        padding:
            35px 20px;
    }

    .sidebar {
        display: flex;

        flex-direction: column;
    }

    .footer-inner {
        flex-direction: column;

        padding: 40px 0;
    }

    .floating-wa {
        right: 15px;

        bottom: 15px;

        width: 55px;
        height: 55px;
    }

}


/* =====================================================
   SMALL MOBILE
   320px — 480px
===================================================== */

@media (max-width: 480px) {

    .container {
        width: 91%;
    }

    .header-inner {
        min-height: 65px;
    }

    .navbar {
        top: 65px;
    }

    .logo-main {
        font-size: 16px;

        letter-spacing: 2px;
    }

    .logo-sub {
        font-size: 7px;

        letter-spacing: 2px;
    }

    .menu-toggle {
        font-size: 25px;
    }

    .blog-hero {
        min-height: 450px;
    }

    .hero-content {
        padding: 45px 0;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 13px;

        line-height: 1.7;
    }

    .hero-button {
        font-size: 13px;

        padding: 12px 18px;
    }

    .main-layout {
        padding-top: 30px;

        padding-bottom: 50px;
    }

    .article {
        padding: 22px 17px;
    }

    .article h2 {
        font-size: 24px;
    }

    .article p {
        font-size: 14px;
    }

    .highlight-box {
        padding: 20px;

        margin: 25px 0;
    }

    .service-image {
        height: 210px;
    }

    .service-content {
        padding: 18px;
    }

    .service-content h3 {
        font-size: 17px;
    }

    .service-content p {
        font-size: 12px;
    }

    .step {
        align-items: flex-start;
    }

    .step > span {
        flex: 0 0 38px;

        width: 38px;
        height: 38px;

        font-size: 10px;
    }

    .step h3 {
        font-size: 15px;
    }

    .step p {
        font-size: 12px;
    }

    .article-cta h2 {
        font-size: 24px;
    }

    .article-cta p {
        font-size: 13px;
    }

    .article-cta a {
        width: 100%;
    }

    .sidebar-card {
        padding: 22px;
    }

    .sidebar-card h3 {
        font-size: 18px;
    }

    .sidebar-wa {
        padding: 25px;
    }

    .copyright {
        padding:
            15px 10px;

        font-size: 10px;
    }

}


/* =====================================================
   VERY SMALL DEVICES
   BELOW 360px
===================================================== */

@media (max-width: 359px) {

    .container {
        width: 90%;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .article {
        padding: 20px 15px;
    }

    .article h2 {
        font-size: 22px;
    }

    .article p {
        font-size: 13px;
    }

    .service-image {
        height: 190px;
    }

    .floating-wa {
        width: 50px;
        height: 50px;

        right: 12px;
        bottom: 12px;

        font-size: 22px;
    }

}


/* =====================================================
   ACCESSIBILITY / REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

}

