
/* =====================================
   BRAND ROFIQI - OPPO STORE
   PREMIUM RESPONSIVE WEBSITE
===================================== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #18251e;
    background: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    -webkit-tap-highlight-color: transparent;
}

/* =====================================
   HEADER & NAVIGATION
===================================== */

.header {
    width: 100%;
    background: #063d2c;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 3px 18px #00000020;
}

.navbar {
    width: 90%;
    max-width: 1250px;
    min-height: 80px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.logo {
    color: white;
    font-size: 25px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: .5px;
}

.logo span,
.footer span {
    color: #48e59b;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
}

.nav-menu a {
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: .3s;
}

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

.nav-btn {
    display: inline-block;
    background: #48e59b;
    color: #063d2c;
    padding: 11px 21px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
    transition: .3s;
}

.nav-btn:hover {
    background: white;
    transform: translateY(-3px);
}

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

.hero {
    min-height: 620px;
    padding: 75px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 55px;
    color: white;
    background: linear-gradient(
        120deg,
        #063d2c,
        #087c4d
    );
    overflow: hidden;
}

.hero-content {
    width: 55%;
    max-width: 620px;
}

.label {
    display: inline-block;
    color: #65f3ad;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 3px;
}

.hero h1 {
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.15;
    margin: 20px 0;
}

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

.hero-content > p {
    max-width: 550px;
    color: #e0f5e9;
    font-size: 16px;
    margin-bottom: 25px;
}

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

.btn {
    display: inline-block;
    padding: 13px 25px;
    background: #07945b;
    color: white;
    text-decoration: none;
    border: 2px solid #07945b;
    border-radius: 30px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    transition: .3s;
}

.btn:hover {
    background: #056b42;
    border-color: #056b42;
    transform: translateY(-3px);
}

.btn-light {
    background: white;
    color: #06452f;
    border-color: white;
}

.btn-light:hover {
    background: #65f3ad;
    border-color: #65f3ad;
}

.hero-stat {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    margin-top: 45px;
}

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

.hero-stat strong {
    color: #65f3ad;
    font-size: 24px;
}

.hero-stat small {
    color: #d6f0e2;
    font-size: 12px;
}

/* HERO IMAGE */

.hero-photo {
    position: relative;
    width: 42%;
    max-width: 440px;
    text-align: center;
}

.hero-photo img {
    width: 100%;
    max-height: 430px;
    object-fit: contain;
    filter: drop-shadow(0 20px 25px #00000045);
    border-radius: 20px;
}

.photo-caption {
    background: white;
    color: #06452f;
    padding: 15px;
    border-radius: 15px;
    margin-top: 15px;
    box-shadow: 0 8px 25px #00000020;
}

.photo-caption span {
    color: #07945b;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
}

.photo-caption h3 {
    font-size: 18px;
    margin-top: 4px;
}

/* =====================================
   GENERAL SECTION
===================================== */

.section {
    padding: 85px 8%;
}

.heading {
    text-align: center;
    margin-bottom: 45px;
}

.heading span,
.about-content > span {
    color: #07945b;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
}

.heading h2 {
    color: #063d2c;
    font-size: 35px;
    margin: 10px 0;
}

.heading p {
    color: #777;
    font-size: 15px;
}

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

.gallery {
    background: white;
}

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

.gallery-card {
    background: #f3faf5;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 25px #0000000d;
    transition: .3s;
}

.gallery-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 30px #00000018;
}

.gallery-card img {
    width: 100%;
    height: 260px;
    padding: 15px;
    object-fit: contain;
    background: #eef8f1;
}

.gallery-card h3 {
    text-align: center;
    padding: 18px;
    color: #063d2c;
    font-size: 18px;
}

/* =====================================
   PRODUCTS
===================================== */

.products {
    background: #f7fbf8;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.product-card {
    position: relative;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px #0000000c;
    transition: .3s;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px #00000018;
}

.product-image {
    position: relative;
    height: 270px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #eef8f1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    background: #087c4d;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: bold;
}

.product-info {
    padding: 24px;
}

.product-info h3 {
    color: #063d2c;
    font-size: 21px;
}

.product-info p {
    color: #777;
    font-size: 14px;
    margin: 8px 0;
}

.product-info h2 {
    color: #07945b;
    font-size: 23px;
    margin: 15px 0;
}

.buy {
    display: block;
    width: 100%;
    padding: 12px 10px;
    font-size: 13px;
}

.price-note {
    text-align: center;
    color: #777;
    font-size: 12px;
    margin-top: 30px;
}

/* =====================================
   ADVANTAGES
===================================== */

.advantages {
    background: white;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.feature {
    text-align: center;
    background: #f2faf5;
    padding: 30px 20px;
    border-radius: 18px;
    transition: .3s;
}

.feature:hover {
    background: #ddf7e8;
    transform: translateY(-6px);
}

.icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.feature h3 {
    color: #063d2c;
    font-size: 17px;
    margin-bottom: 10px;
}

.feature p {
    color: #777;
    font-size: 13px;
}

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

.about {
    background: #eaf8ef;
    text-align: center;
}

.about-content {
    max-width: 780px;
    margin: auto;
}

.about h2 {
    color: #063d2c;
    font-size: 35px;
    margin: 15px 0;
}

.about-content p {
    color: #53665a;
    font-size: 15px;
    margin-bottom: 25px;
}

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

.contact {
    background: white;
}

.contact-card {
    max-width: 620px;
    margin: auto;
    padding: 40px 30px;
    border-radius: 20px;
    background: #f2faf5;
    text-align: center;
    box-shadow: 0 8px 25px #0000000c;
}

.contact-card h3 {
    color: #063d2c;
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-card p {
    color: #53665a;
    font-size: 14px;
    margin: 13px 0;
}

.contact-card .btn {
    margin-top: 20px;
}

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

.footer {
    background: #063d2c;
    color: white;
    text-align: center;
    padding: 40px 15px;
}

.footer h2 {
    font-size: 27px;
    margin-bottom: 10px;
}

.footer p {
    color: #d4e9dc;
    font-size: 13px;
    margin: 6px 0;
}

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

@media (max-width: 1000px) {

    .navbar {
        width: 94%;
        flex-wrap: wrap;
        justify-content: center;
        padding: 15px 0;
        gap: 15px;
    }

    .nav-menu {
        justify-content: center;
        flex-wrap: wrap;
        gap: 18px;
    }

    .hero {
        padding: 65px 6%;
        gap: 30px;
    }

    .hero-content {
        width: 55%;
    }

    .hero-photo {
        width: 42%;
    }

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

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

}

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

@media (max-width: 650px) {

    html {
        scroll-padding-top: 150px;
    }

    .navbar {
        width: 94%;
        min-height: auto;
        padding: 15px 0;
        gap: 12px;
    }

    .logo {
        width: 100%;
        text-align: center;
        font-size: 23px;
    }

    .nav-menu {
        width: 100%;
        justify-content: center;
        gap: 10px 17px;
    }

    .nav-menu a {
        font-size: 12px;
    }

    .nav-btn {
        padding: 9px 17px;
        font-size: 12px;
    }

    /* HERO */

    .hero {
        min-height: auto;
        padding: 55px 6%;
        flex-direction: column;
        text-align: center;
        gap: 35px;
    }

    .hero-content {
        width: 100%;
    }

    .label {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .hero h1 {
        font-size: clamp(34px, 9vw, 45px);
    }

    .hero-content > p {
        font-size: 14px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stat {
        justify-content: center;
        gap: 22px;
        margin-top: 30px;
    }

    .hero-stat strong {
        font-size: 20px;
    }

    .hero-stat small {
        font-size: 10px;
    }

    .hero-photo {
        width: 100%;
        max-width: 350px;
    }

    .hero-photo img {
        max-height: 330px;
    }

    /* SECTION */

    .section {
        padding: 60px 6%;
    }

    .heading {
        margin-bottom: 30px;
    }

    .heading h2,
    .about h2 {
        font-size: 27px;
    }

    .heading p {
        font-size: 13px;
    }

    /* GALLERY */

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

    .gallery-card img {
        height: 250px;
    }

    /* PRODUCTS */

    .product-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .product-image {
        height: 260px;
    }

    .product-info {
        padding: 22px;
    }

    /* FEATURES */

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* ABOUT */

    .about-content p {
        font-size: 14px;
    }

    /* CONTACT */

    .contact-card {
        padding: 30px 18px;
    }

    .contact-card h3 {
        font-size: 21px;
    }

    .contact-card p {
        font-size: 13px;
    }

    /* FOOTER */

    .footer {
        padding: 32px 15px;
    }

    .footer h2 {
        font-size: 23px;
    }

}

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

@media (max-width: 380px) {

    .nav-menu {
        gap: 9px 12px;
    }

    .nav-menu a {
        font-size: 11px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-stat {
        gap: 13px;
    }

    .hero-stat strong {
        font-size: 18px;
    }

    .btn {
        padding: 11px 17px;
        font-size: 12px;
    }

    .heading h2 {
        font-size: 24px;
    }

}
