/* === BACKGROUND GRADIENT === */
body,
* {
    font-family: 'Playfair Display', serif;
}

body {
    background: linear-gradient(to bottom, #D6F4ED, #9FDBDF);
    position: relative;
    overflow-x: hidden;
}

/* Layer animasi bintik abstrak */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* tetap di belakang semua section */
    pointer-events: none;

    /* noise abstrak */
    background:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='noise'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' /></filter><rect width='100%' height='100%' filter='url(%23noise)' opacity='0.38'/></svg>") repeat;

    animation: moveNoise 18s linear infinite;
    opacity: 0.55;
    /* sesuaikan jika ingin lebih terang / gelap */
}

/* Animasi noise agar selalu bergerak */
@keyframes moveNoise {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(-60px, -40px);
    }

    50% {
        transform: translate(40px, -60px);
    }

    75% {
        transform: translate(-20px, 50px);
    }

    100% {
        transform: translate(0, 0);
    }
}


/* === SECTION KONTAK 2 KOLOM === */
.kontak-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.kontak-info {
    text-align: left;
}

.map-responsive {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 350px;
}

.map-responsive iframe {
    width: 100%;
    height: 100%;
    border: 0;
    position: absolute;
    top: 0;
    left: 0;
}

/* Responsive: jadi 1 kolom */
@media (max-width: 768px) {
    .kontak-wrapper {
        grid-template-columns: 1fr;
    }
}


/* NAVBAR */
.navbar {
    background: #473472 !important;
}

.navbar .nav-link,
.navbar-brand {
    color: #fff !important;
}

.cart-badge {
    background: #FF3B3B;
    padding: 2px 6px;
    border-radius: 50%;
    font-size: 10px;
    position: absolute;
    top: 2px;
    right: -6px;
}

/* HERO GRADIENT BACKGROUND */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #87BAC3 0%, #5C8A97 50%, #3C5C66 100%);
    background-size: cover;
    background-position: center;
    padding-top: 120px;
    padding-bottom: 80px;
}

/* GLASS EFFECT CARD */
.glass-hero {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    backdrop-filter: blur(9px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* ACCENT */
.accent {
    color: #473472;
    font-weight: bold;
}

.icon-accent {
    color: #473472;
}

/* RESPONSIVE BUTTON */
.btn-primary {
    background: #53629E;
    border: none;
}

.btn-primary:hover {
    background: #3e4f82;
}

@media (max-width: 768px) {
    .btn-lg {
        padding: 8px 14px !important;
        font-size: 14px !important;
    }
}


/* CARD */

.product-card .card {
    background: #87BAC3;
    border-radius: 14px;
    border: none;
}

.product-card img {
    border-radius: 14px 14px 0 0;
}

/* SECTION */
.section-normal {
    padding: 100px 0;
}

.section-normal h2 {
    color: #473472;
    font-weight: bold;
}

/* BUTTON */
.btn-primary {
    background: #53629E;
    border: none;
}

.btn-success {
    background: #473472;
    border: none;
}

/* PARALLAX */
/* === FIX BACKGROUND FULL WIDTH & FIXED (SEMUA PARALLAX / HERO) === */
.hero,
.parallax-tentang {
    width: 100%;
    min-height: auto;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed;
}

/* === RESPONSIVE TEXT AGAR MENGECIL DI MOBILE === */
/* PERBESAR TULISAN UTAMA DI HERO */
.hero h1.display-5 {
    font-size: clamp(40px, 8vw, 62px) !important;
    line-height: 1.1;
}

.hero .accent {
    font-size: clamp(28px, 6vw, 48px) !important;
    display: block;
    margin-top: 6px;
}


.lead {
    font-size: clamp(14px, 3vw, 20px);
}

.navbar .nav-link {
    font-size: clamp(12px, 2.6vw, 16px);
}

.navbar img {
    font-size: clamp(12px, 2.6vw, 16px);
}

/* Hero small text */
.hero .fw-bold {
    font-size: clamp(14px, 3vw, 18px);
}

/* Title section */
.section-normal h2 {
    font-size: clamp(20px, 4.5vw, 32px);
}

/* Card title */
.card h5 {
    font-size: clamp(14px, 3.5vw, 18px);
}

/* Button lebih responsif */
.btn {
    font-size: clamp(12px, 2.8vw, 16px);
    padding: clamp(6px, 2vw, 12px) clamp(12px, 3vw, 24px);
}

/* Navbar brand responsive */
.navbar-brand {
    font-size: clamp(16px, 4.5vw, 22px);
}

/* Ikon ikut mengecil */
.icon-accent,
.bi,
.fas {
    font-size: clamp(18px, 4.5vw, 26px) !important;
}



/* ICON SOSIAL */
.social-icons a {
    font-size: 28px;
    margin: 0 10px;
    color: #53629E;
}

/* CARD TANPA GLASS (NORMAL) */
.glass-card {
    background: none !important;
    backdrop-filter: none !important;
    border: none !important;
    padding: 0 !important;
}

/* ==== ANIMASI SCROLL ==== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Slide Left */
.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.9s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* Slide Right */
.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.9s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Zoom In */
.reveal-zoom {
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.9s ease;
}

.reveal-zoom.active {
    opacity: 1;
    transform: scale(1);
}


/* Smooth slide */
#cardSlide1 .carousel-item {
    transition: transform 0.9s ease-in-out;
    /* semakin besar semakin smooth */
}

/* Ukuran & penampilan gambar */
#cardSlide1 img {
    height: 240px;
    width: 100%;
    object-fit: cover;
    border-radius: 0px;
}

/* =========================
   FOOTER STYLE
========================= */

.footer {
    background: #473472 !important;
    /* Ungu gelap */
    color: #f8f9fa;
    /* Teks terang */
}

footer a,
footer p,
footer h2,
footer h5 {
    color: #f8f9fa;
    /* teks light */
}

/* Hover link */
footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Logo */
footer img {
    max-width: 160px;
    width: 100%;
    height: auto;
}

/* Social media icons */
footer .social-icons i {
    font-size: 32px;
    color: #f8f9fa;
    transition: 0.3s ease;
}

/* Hover icons */
footer .social-icons i:hover {
    transform: scale(1.15);
    color: #ffffff;
}

/* Google Maps iframe */


/* =========================
   RESPONSIVE
========================= */

/* Tablet */
@media(max-width: 992px) {
    footer img {
        max-width: 140px;
    }

    footer h2,
    footer h5 {
        font-size: 1.2rem;
    }

    footer p,
    footer a {
        font-size: 0.95rem;
    }

    footer .social-icons i {
        font-size: 28px;
    }

    footer .map-responsive iframe {
        height: 100%;
    }
}

/* HP */
@media(max-width: 768px) {
    footer img {
        max-width: 120px;
    }

    footer h2,
    footer h5 {
        font-size: 1.1rem;
    }

    footer p,
    footer a {
        font-size: 0.9rem;
    }

    footer .social-icons i {
        font-size: 26px;
    }

    footer .map-responsive iframe {
        height: 100%;
    }
}

/* HP kecil */
@media(max-width: 576px) {
    footer img {
        max-width: 200px;
    }

    footer h2,
    footer h5 {
        font-size: 1rem;
    }

    footer p,
    footer a {
        font-size: 0.85rem;
    }

    footer .social-icons i {
        font-size: 24px;
    }

    footer .map-responsive iframe {
        height: 100%;

    }
}

iframe {
    width: 100%;
    border-radius: 5px;

}

/* Ukuran logo responsive */
.navbar-brand img {
    height: 50px;
    /* ukuran default logo */
    width: auto;
    /* mempertahankan rasio */
    object-fit: contain;
}

/* Saat layar kecil (HP) perkecil logonya */
@media (max-width: 576px) {
    .navbar-brand img {
        height: 35px;
    }
}

.parallax-tentang {
    background-image: url('bg2.png');
    background-size: cover;
    background-position: center;
    animation: bgScroll 40s linear infinite;
}

@keyframes bgScroll {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 100%;
    }
}
.deskripsi {
    background: #87BAC3;
    padding: 10px;
    border-radius: 15px;
    color: #4a237a;
    
}

/* Judul di dalam deskripsi */
.deskripsi h3 {
    font-weight: 700;
    margin-bottom: 15px;
}

/* List style */
.deskripsi .list-group {
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 10px;
    backdrop-filter: blur(4px);
}

.deskripsi .list-group-item {
    background:  #87BAC3;
     color: #f8f9fa;
   
}
