body {
    background-color: #F5F3ED;
    font-family: Arial, sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2 {
    font-family: 'Times New Roman', Times, serif;
}

/* Header and Navigation */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
    border-bottom: 2px solid #333;
    background-color: #ffcf71;
}

.logo img {
    height: 50px;
    display: block;
    filter: drop-shadow(1px 1px 0px #333) drop-shadow(-1px -1px 0px #333) drop-shadow(1px -1px 0px #333) drop-shadow(-1px 1px 0px #333);
}

.logo a {
    display: inline-block;
    line-height: 0;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #333;
    margin: 0 6px;
    font-weight: bold;
    font-size: 0.9em;
    border-bottom: 2px solid transparent;
    padding-top: 5px;
    padding-bottom: 5px;
    white-space: nowrap;
}

nav a:hover {
    border-bottom: 2px solid #333;
}

nav a.cta-button {
    border: 2px solid #333;
    padding: 5px 10px;
}

nav a.cta-button:hover {
    background-color: #333;
    color: #F5F3ED;
}

/* Main Content General */
main {
    padding: 20px;
    flex-grow: 1;
}

.placeholder-text, .long-text, .placeholder-text-bottom {
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Home Page: Hero Section v3 */
.hero-v3 {
    display: flex;
    border: 2px solid #333;
    margin-bottom: 30px;
    background-color: #F5F3ED;
}

.hero-v3-text {
    width: 50%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-v3-text h1 {
    font-family:'Times New Roman', Times, serif;
    font-weight: normal;
    font-size: 2.2em;
    margin: 0 0 10px 0;
    color: #4a4a4a;
}

.hero-v3-text .tagline {
    font-size: 1em;
    color: #d9534f;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 30px;
}

.year-line {
    display: flex;
    align-items: center;
    gap: 15px;
}

.year-line span {
    font-weight: bold;
}

.year-line::after {
    content: '';
    display: block;
    height: 2px;
    width: 100%;
    background-color: #333;
}

.hero-v3-image {
    width: 50%;
}

.hero-v3-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Home Page: Menu Highlight Bar v2 */
.menu-highlight-bar-v2 {
    background-color: #ff9d00;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 20px;
}

.menu-highlight-bar-v2 h2 {
    margin: 0;
    font-size: 1.5em;
    flex-shrink: 0;
}

.menu-highlight-bar-v2 .line {
    height: 2px;
    width: 100%;
    background-color: #333;
}

/* Home Page: Menu Showcase */
.menu-showcase {
    text-align: center;
}

.gallery-v2 {
    display: grid;
    grid-template-areas: "gabin" "esteh" "aneka";
    gap: 20px;
}
#item-gabin { grid-area: gabin; }
#item-esteh { grid-area: esteh; }
#item-aneka { grid-area: aneka; }
.gallery-item-v2 img {
    width: 100%;
    display: block;
}

.menu-showcase .gallery-item-v2 .image-frame {
    background-color: #ffe9c5;
    padding: 15px;
    border: 2px solid #b6771d;
}
.gallery-item-v2 p {
    font-family: 'Times New Roman', Times, serif;
    font-size: 2em;
    font-weight: bold;
    margin-top: 5px;
    text-align: center;
    padding-right: 10px;
    color: #F5F3ED;
    -webkit-text-stroke: 0.5px black;
}

/* Styles for other pages */
.about-page h1, .menu-page h1, .product-detail-page h1 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #F5F3ED;
    -webkit-text-stroke: 0.5px black;
}

.about-page h1::after, .menu-page h1::after, .product-detail-page h1::after {
    content: '';
    display: block;
    width: 100px;
    height: 2px;
    background-color: #cccccc;
    margin: 15px auto 0;
}

.team-photo img {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.about-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.about-gallery img {
    width: 100%;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    background-color: #ffcf71;
    padding: 10px;
    border-radius: 10px;
}

.menu-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    flex-shrink: 0;
}

.menu-item-text { text-align: left; }
.menu-item-text h2 { margin-top: 0; margin-bottom: 5px; }
.menu-item-text p {

    font-size: 0.9em;
    overflow-wrap: break-word;
    word-break: break-word;
}

.read-more-btn {
    display: inline-block;
    background-color: #df9d1a82;
    color: #333;
    padding: 8px 24px;
    margin-top: 10px;
    border: 2px solid #333;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
}

.read-more-btn:hover {
    background-color: #b6771d;
    cursor: pointer;
}

.read-more-btn:active {
    background-color: #7b9c91;
    transform: translateY(2px);
}

.product-detail-page .product-image img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid #b6771d;
}

.product-detail-page .product-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 200px;
    margin: 0 auto 25px auto; /* Posisi di tengah dan beri jarak bawah */
    border-radius: 50%;
    background-color: #ffe9c5; /* Warna latar belakang lingkaran */
}

footer {
    display: flex;
    justify-content: center;
    padding: 20px;
    border-top: 2px solid #333;
    font-weight: bold;
    font-size: 0.9em;
    text-align: center;
    background-color: #b6771d;
    color: #F5F3ED; /* Ditambahkan agar teks terbaca */
}

/* =================================
   Gabin Detail Page - Mobile Styling (BARU)
   ================================= */

.menu-showcase .showcase-title h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 40px;
    color: #F5F3ED;
    -webkit-text-stroke: 0.5px black;
}

.menu-showcase .showcase-title h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 2px;
    background-color: #cccccc;
    margin: 15px auto 0;
}

.menu-item-alternating {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    margin-bottom: 40px;
}

/* Styling untuk LINGKARAN LATAR BELAKANG */
.menu-item-alternating .menu-item-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: #ffe9c5; /* Warna latar belakang lingkaran (krem muda) */
}

/* Styling untuk GAMBAR di dalamnya */
.menu-item-alternating .menu-item-image img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #b6771d; /* Border tebal dengan warna senada footer */
}

/* Styling untuk KOTAK KONTEN */
.menu-item-alternating .menu-item-content {
    background-color: #ffcf71;
    padding: 20px 25px;
    width: 90%;
    max-width: 450px;
    box-sizing: border-box;
    border-radius: 20px;
}

.menu-item-alternating .menu-item-content h3 {
    margin-top: 0;
    font-size: 1.8em;
}

.about-page .placeholder-text {
    background-color: #ffcf71;
    text-align: justify;
    padding: 10px;
    margin-top: 30px;
    border-radius: 10px;
}

.menu-page .menu-item .menu-item-text p {
    text-align: justify;
}

.product-detail-page .placeholder-text p {
    background-color: #ffcf71;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.2em;
    text-align: justify;
    padding: 20px 25px;
    width: 90%;
    max-width: 1400px;
    box-sizing: border-box;
    border-radius: 20px;
}

.about-page .placeholder-text {
    padding: 20px;
    background-color: #ffcf71;
    margin-top: 30px;
}

/* Teks deskripsi di mobile */
.about-page .placeholder-text p {
    font-size: 1.1em; /* Ukuran font normal di mobile */
    line-height: 1.6;
    text-align: justify; /* Rata tengah di mobile */
}

/* Galeri di mobile */
.gallery {
    display: flex;
    flex-direction: row; /* Layout berdampingan */
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 40px;
    margin-bottom: 40px;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}

.gallery .col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gallery img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

/* Kolom dengan lebar berbeda agar simetris */
.gallery .col:nth-child(1) {
    flex: 1.2;
}

.gallery .col:nth-child(2) {
    flex: 1.5;
}

.gallery .col:nth-child(3) {
    flex: 1;
}

.gallery .small img {
    width: 100%;
    height: 85px; /* Tinggi tetap untuk gambar di kolom 'small' */
}

body {
/* Menentukan gambar background */
background-image: url('image/backgroundpapernews.jpg');
        
/* Membuat gambar menutupi seluruh area tanpa merusak rasio */
background-size: cover; 

/* Memposisikan gambar di tengah */
background-position: center; 

/* Mencegah gambar berulang (tiling) */
background-repeat: no-repeat; 

/* Mengunci posisi background agar tidak ikut scroll */
background-attachment:scroll; 

/* Menghilangkan margin bawaan browser */
margin: 0;
padding: 0;
}

body::before {
content: ''; /* Wajib ada untuk pseudo-element */
position:fixed; /* Mengambang di atas body */
top: 0;
left: 0;
right: 0;
bottom: 0;

/* INTI-NYA DI SINI: Warna hitam (0,0,0) dengan transparansi 50% (0.5) */
background-color: #794a1eac; 

/* Pastikan overlay berada di BELAKANG konten, tapi di DEPAN background image */
z-index: -1; 
}

