@import url('https://fonts.googleapis.com/css2?family=Freckle+Face&family=Fredoka+One&display=swap');

/* ============================
   FONT FACE
   ============================ */
@font-face {
    font-family: 'Poppins';
    src: url('aset/font/POPPINS-REGULAR.TTF') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Poppins';
    src: url('aset/font/POPPINS-MEDIUM.TTF') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'Poppins';
    src: url('aset/font/POPPINS-SEMIBOLD.TTF') format('truetype');
    font-weight: 600;
}

@font-face {
    font-family: 'Poppins';
    src: url('aset/font/POPPINS-BOLD.TTF') format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'Poppins';
    src: url('aset/font/POPPINS-BLACK.TTF') format('truetype');
    font-weight: 900;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #EFD256;
    color: #1a1a1a;
    overflow-x: hidden;
}

/* ============================
   HEADER / NAVBAR
   ============================ */
header {
    background-color: #EFD256;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0 8px;
}

.logo-area img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 6px;
}

.logo-area span {
    font-family: 'Fredoka One', cursive, sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
    color: #1a4a3a;
    letter-spacing: 2px;
}

nav {
    background-color: #1a4a3a;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 8px 0;
}

nav a {
    text-decoration: none;
    color: #EFD256;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 6px 22px;
    border-radius: 20px;
    display: inline-block;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25), inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

nav a:hover:not(.active) {
    background-color: rgba(239, 210, 86, 0.18);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35), inset 0 -2px 0 rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

nav a.active {
    background-color: #ffffff;
    color: #1a4a3a;
    font-weight: 700;
    border: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

nav a.active:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.25);
}

/* ============================
   HERO SECTION
   ============================ */
.hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    overflow: hidden;
}

/* Foto hero: cover dengan posisi tengah agar kepala & mangkuk pempek keduanya terlihat */
.hero img.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
    z-index: 2;
}

.hero-text {
    position: absolute;
    top: 75px;
    left: 125px;
    transform: none;
    z-index: 3;
}

.hero-text-img {
    width: 470px;
    max-width: 85vw;
    height: auto;
    display: block;
    filter: drop-shadow(2px 4px 14px rgba(0, 0, 0, 0.55));
}

/* ============================
   TENTANG KAMI SECTION
   ============================ */
.tentang {
    background-color: #1a4a3a;
    padding: 60px 80px;
    position: relative;
    overflow: hidden;
}

.tentang-inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1.3fr;
    align-items: center;
    gap: 35px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.tentang-title-img {
    height: 52px;
    width: auto;
    display: block;
    object-fit: contain;
}

.tentang-img-wrap {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    box-shadow: none;
    transition: transform 0.35s ease;
    cursor: pointer;
}

/* Foto: pempek dalam piring tampak atas — di-scale 1.35x untuk memotong border hijau bawaan PNG */
.tentang-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: none;
    transform: scale(1.35);
    transition: transform 0.35s ease;
}

/* Animasi membesar sedikit pada foto saat cursor mengarah ke gambar */
.tentang-img-wrap:hover {
    transform: none;
}

.tentang-img-wrap:hover img {
    transform: scale(1.48);
}

.tentang-desc p {
    color: #cde4d8;
    font-size: 0.82rem;
    line-height: 1.75;
    text-align: justify;
    margin-bottom: 16px;
}

.tentang-desc ul {
    list-style: none;
    padding: 0;
}

.tentang-desc ul li {
    color: #cde4d8;
    font-size: 0.82rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tentang-desc ul li::before {
    content: '●';
    color: #EFD256;
    font-size: 0.65rem;
    flex-shrink: 0;
}

/* Dekorasi Kurva Ikan di sebelah kiri (asset3.png) */
.fish-tentang-left {
    position: absolute;
    left: -30px;
    bottom: -45px;
    width: 310px;
    height: auto;
    pointer-events: none;
    z-index: 1;
    opacity: 0.85;
    transform: rotate(180deg);
}

/* Dekorasi 1 Ikan di pojok kanan atas */
.fish-single-tentang {
    position: absolute;
    top: 20px;
    right: 40px;
    width: 48px;
    height: auto;
    opacity: 0.7;
    pointer-events: none;
    transform: scaleX(-1);
}

/* ============================
   FAVORIT MAHASISWA SECTION
   ============================ */
.favorit {
    background-color: #EFD256;
    padding: 60px 80px;
    position: relative;
    overflow: hidden;
}

.favorit-title-img {
    height: 50px;
    width: auto;
    display: block;
    margin: 0 auto 28px;
    position: relative;
    z-index: 2;
    object-fit: contain;
}

.favorit-card {
    background-color: #1a4a3a;
    border-radius: 20px;
    padding: 24px;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Foto: pempek paket isi 5 dengan rounded corners inside dark green card */
.favorit-card-img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    display: block;
    border-radius: 14px;
}

.favorit-card-content {
    padding: 10px 10px 10px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.favorit-card-tag {
    display: inline-block;
    background-color: transparent;
    color: #EFD256;
    font-family: 'Freckle Face', cursive, sans-serif;
    font-weight: 400;
    font-size: 1.35rem;
    padding: 8px 28px;
    border-radius: 30px;
    margin-bottom: 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    align-self: center;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

a.favorit-card-tag:hover {
    background-color: #EFD256;
    color: #1a4a3a;
    box-shadow: 0 4px 14px rgba(239, 210, 86, 0.35);
}

.favorit-card-content p {
    color: #cde4d8;
    font-size: 0.8rem;
    line-height: 1.75;
    text-align: justify;
}

/* Hiasan ikan di sebelah kanan (asset2.png) */
.fish-favorit-right {
    display: none;
}

/* ============================
   NIKMATI PEMPEK SECTION
   ============================ */
.nikmati {
    background-color: #EFD256;
    padding: 50px 80px 70px;
    position: relative;
    overflow: hidden;
}

.nikmati-title-img {
    height: 48px;
    width: auto;
    display: block;
    margin: 0 auto 35px;
    position: relative;
    z-index: 2;
    object-fit: contain;
}

/* Grid 2 kolom dengan 1 garis vertikal di tengah */
.nikmati-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 920px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Garis vertikal lurus di tengah memisahkan kolom kiri & kanan */
.nikmati-grid::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background-color: #1a4a3a;
}

.nikmati-item {
    padding: 20px 45px 35px;
}

.nikmati-item h3 {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1a4a3a;
    border: 1.5px solid #1a4a3a;
    border-radius: 14px;
    padding: 3px 16px;
    margin-bottom: 12px;
}

.nikmati-item p {
    font-size: 0.82rem;
    line-height: 1.72;
    color: #1a2a22;
    text-align: justify;
}

/* Hiasan ikan kurva di sisi kiri bawah (asset2.png) */
.fish-nikmati-left {
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 320px;
    height: auto;
    pointer-events: none;
    z-index: 1;
    opacity: 0.85;
    transform: rotate(180deg);
}


/* ============================
   KATA MEREKA SECTION
   ============================ */
.kata-mereka {
    background-color: #1a4a3a;
    padding: 60px 80px;
    position: relative;
    overflow: hidden;
}

.testimoni-title-img {
    height: 48px;
    width: auto;
    display: block;
    margin: 0 auto 35px;
    position: relative;
    z-index: 2;
    object-fit: contain;
}

.kata-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1050px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.kata-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 22px 22px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Nama reviewer: Warna merah khas Figma */
.kata-card .reviewer-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: #b73229;
    margin-bottom: 4px;
}

.kata-card .stars {
    color: #EFD256;
    font-size: 0.9rem;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.kata-card p {
    font-size: 0.8rem;
    line-height: 1.6;
    color: #444;
    text-align: left;
}

/* Hiasan ikan vertikal di bagian atas & bawah */
.fish-kata-top {
    display: none;
}

.fish-kata-bottom {
    display: none;
}

/* ============================
   PESAN SEKARANG SECTION
   ============================ */
.pesan {
    background-color: #EFD256;
    padding: 60px 80px;
    position: relative;
    overflow: hidden;
}

.pesan-title-wrap {
    text-align: center;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.pesan-title-link {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease;
}

.pesan-title-img {
    height: 52px;
    width: auto;
    display: block;
    object-fit: contain;
    margin: 0 auto;
}

/* Animasi tombol saat cursor diarahkan (hover) */
.pesan-title-link:hover {
    transform: translateY(-4px) scale(1.06);
    filter: drop-shadow(0 6px 14px rgba(26, 74, 58, 0.35));
}

.pesan-title-link:active {
    transform: translateY(-1px) scale(1.02);
}

.pesan-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 14px;
}

.pesan-badge {
    font-size: 0.8rem;
    color: #1a4a3a;
}

.pesan-badge span {
    font-weight: 700;
}

a.pesan-badge-frozen {
    text-decoration: none;
    cursor: pointer;
    background-color: #EFD256;
    border: 2px solid #1a4a3a;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #1a4a3a;
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    display: inline-block;
}

a.pesan-badge-frozen:hover {
    background-color: #1a4a3a;
    color: #EFD256;
    box-shadow: 0 4px 12px rgba(26, 74, 58, 0.3);
}

.pesan-desc {
    font-size: 0.82rem;
    color: #1a4a3a;
    line-height: 1.75;
    max-width: 440px;
    margin: 0 auto 36px;
    text-align: justify;
}

/* Hiasan ikan kanan di section Pesan Sekarang (asset2.png) */
.pesan-fish-right {
    position: absolute;
    top: 20px;
    right: 0;
    width: 320px;
    height: auto;
    pointer-events: none;
    z-index: 1;
    opacity: 0.85;
}

.pesan-platforms {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 10px 30px 0;
    position: relative;
    z-index: 2;
}

.platform-item {
    display: block;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.platform-item:hover {
    transform: translateY(-4px);
    opacity: 0.85;
}

.platform-img {
    height: 54px;
    width: auto;
    object-fit: contain;
    display: block;
}

.platform-name-grab .grab-svg {
    width: 95px;
    height: 52px;
    display: block;
}

.platform-name-shopee {
    display: flex;
    align-items: center;
    gap: 10px;
}

.platform-name-shopee .shopee-bag-svg {
    width: 38px;
    height: 44px;
    flex-shrink: 0;
}

.platform-name-shopee .shopee-text-brand {
    display: flex;
    flex-direction: column;
    color: #1a4a3a;
    font-family: 'Poppins', sans-serif;
    line-height: 0.95;
}

.platform-name-shopee .shopee-main {
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: -0.3px;
}

.platform-name-shopee .shopee-sub {
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.platform-name-gofood {
    display: flex;
    align-items: center;
    gap: 10px;
}

.platform-name-gofood .gofood-circle-svg {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.platform-name-gofood .gofood-brand-text {
    font-size: 2.2rem;
    font-weight: 900;
    color: #1a4a3a;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -1px;
}

/* ============================
   FOOTER
   ============================ */
footer {
    background-color: #EFD256;
    padding: 50px 80px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
}

.footer-left {
    max-width: 300px;
}

.footer-left .footer-brand {
    font-family: 'Fredoka One', cursive, sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
    color: #1a4a3a;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.footer-left address {
    font-style: normal;
    font-size: 0.78rem;
    line-height: 1.75;
    color: #333;
    margin-bottom: 30px;
}

.footer-contacts {
    list-style: none;
    padding: 0;
}

.footer-contacts li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
    color: #333;
    margin-bottom: 12px;
}

.footer-contacts li a {
    color: #333;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.footer-contacts li a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 40px;
    width: 0;
    height: 1.5px;
    background-color: #1a4a3a;
    transition: width 0.3s ease;
}

.footer-contacts li a:hover {
    color: #1a4a3a;
    font-weight: 600;
    transform: translateX(4px);
}

.footer-contacts li a:hover::after {
    width: calc(100% - 40px);
}

.footer-contacts li .contact-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #1a4a3a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.footer-contacts li a:hover .contact-icon {
    background-color: #fff;
    box-shadow: 0 0 0 2px #1a4a3a;
}

.footer-contacts li .contact-icon svg {
    width: 14px;
    height: 14px;
    fill: #EFD256;
}

.footer-right {
    max-width: 310px;
    width: 100%;
}

.footer-right .ig-title {
    font-size: 0.82rem;
    color: #333;
    margin-bottom: 14px;
}

.footer-right .ig-title strong {
    color: #1a4a3a;
    font-weight: 700;
}

.footer-ig-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

/* Foto Instagram grid:
   1. Logo Pempek OMO (gambar logo kotak hijau)
   2. Foto tangan pegang pempek
   3. Foto pempek putih di piring
   4. Foto pempek goreng/kapal selam */
.footer-ig-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 5px;
    display: block;
}

.footer-bottom {
    text-align: center;
    font-size: 0.72rem;
    color: #555;
    padding: 16px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* ============================
   FISH / DECORATIONS
   ============================ */
.deco-fish {
    position: absolute;
    pointer-events: none;
    opacity: 0.12;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 900px) {
    .tentang-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .tentang-desc ul li {
        justify-content: center;
    }

    .favorit-card {
        grid-template-columns: 1fr;
    }

    .favorit-card-img {
        height: 220px;
    }

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

    .footer-inner {
        flex-direction: column;
        gap: 30px;
    }

    .footer-left,
    .footer-right {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 640px) {
    header {
        padding: 10px 16px;
    }

    .hero {
        /* tinggi mengikuti proporsi foto — tidak ada cropping */
    }

    .hero-text {
        left: 20px;
    }

    .hero-text h1 {
        font-size: 1.6rem;
    }

    .tentang,
    .favorit,
    .nikmati,
    .kata-mereka,
    .pesan,
    footer {
        padding-left: 20px;
        padding-right: 20px;
    }

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

    .pesan-platforms {
        gap: 24px;
    }
}