* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Trebuchet MS', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    padding: 20px;
}
section, .main-content {
    scroll-margin-top: 100px;
}

/* --- HEADER & NAVIGASI --- */
header {
    background: #ccf5ef;
    color: #fff;
    padding: 10px 20px;
    margin-bottom: 40px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    border-radius: 20px;
    position: sticky;
    top: 20px;
    z-index: 100;
}

header img {
    height: 60px;
    margin-right: 15px;
    border-radius: 50%;
}

header h1 {
    color: #333;
    font-size: 24px;
    margin-right: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

.nav-bar {
    color: #fff;
    background-color: #ccf5ef;
    border-radius: 15px;
    transition: 1s;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    transition: 0.3s;
    border-radius: 15px;
}

nav ul li a:hover {
    background-color: #333;
    color: #fff;
}

.nav-bar li a.aktif {
    background-color: #333;
    color: #fff;
    border-radius: 15px;
    transition: 0.3s;
}

/* --- MAIN CONTENT (BERANDA) --- */
.main-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto 60px auto;
    padding: 20px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.main-image-content {
    flex: 1;
}

.main-image-content img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    display: block;
}

.main-text-content {
    flex: 1;
    padding: 10px;
}

.main-text-content h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 28px;
}

.cta-button {
    display: inline-block;
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    margin-top: 20px;
    text-decoration: none;
    border-radius: 10px;
    transition: 0.3s;
}

.cta-button:hover {
    background-color: #829996;
}

/* --- JUDUL SECTIONS --- */
.section-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- TENTANG KAMI --- */
.about-section {
    max-width: 1000px;
    margin: 60px auto;
    padding: 20px;
    background: #fff;
    border-radius: 20px;
}

.about-content {
    display: flex;
    gap: 30px;
    align-items: center;
}

.about-content img {
    width: 40%;
    border-radius: 20px;
}

.about-text {
    flex: 1;
    font-size: 18px;
    text-align: justify;
}

/* --- FEATURES --- */
.features-section {
    max-width: 1100px;
    margin: 0 auto 60px auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 40px;
    color: #829996;
    margin-bottom: 15px;
}

/* --- INFO CONTAINER (JAM BUKA & ARTIKEL) --- */
.info-container {
    display: flex;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto 60px auto;
}

.hours-card {
    flex: 1;
    background: #829996;
    color: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.hours-card h3 {
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-bottom: 10px;
}

.hours-card table {
    width: 100%;
    font-size: 18px;
}

.status-open {
    background: #fff;
    color: #829996;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 15px;
    font-weight: bold;
    margin-top: 4rem;
    text-decoration: none;
    transition: 1s;
}

.status-open:hover {
    background: #db6464;
    color: white;
}

.article-preview {
    flex: 1.5;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
}

.mini-post {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.mini-post img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}

.mini-post:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.post-text h4 {
    margin-bottom: 5px;
    color: #333;
}

.post-text a {
    color: #829996;
    font-weight: bold;
    font-size: 14px;
}

/* --- GALLERY --- */
.gallery-section {
    max-width: 1100px;
    margin: 0 auto 60px auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* --- MENU SECTION --- */
.menu-section {
    max-width: 1000px;
    margin: 60px auto;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.menu-card {
    background: #fff;
    padding: 15px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.menu-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 10px;
}

/* --- FOOTER --- */
footer {
    background-color: #2c241b; 
    color: #e0e0e0;
    padding: 60px 20px 30px;
    margin-top: 50px;
    font-family: 'Trebuchet MS', sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.footer-column {
    flex: 1;
    min-width: 300px;
}

.footer-column h3 {
    color: #ccf5ef;
    font-size: 22px;
    margin-bottom: 20px;
    border-bottom: 2px solid #829996;
    display: inline-block;
    padding-bottom: 5px;
}

.contact-info p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.contact-details p i {
    margin-right: 10px;
    color: #829996;
}

.social-links a {
    display: inline-block;
    color: #2c241b;
    background-color: #ccf5ef;
    padding: 8px 15px;
    margin-right: 10px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
    transition: 0.3s;
}

.social-links a:hover {
    background-color: #fff;
    transform: translateY(-3px);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #3e342a;
    color: #fff;
    font-size: 13px;
    outline: none;
    transition: 0.3s;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    background: #4e4236;
    box-shadow: 0 0 5px rgba(204, 245, 239, 0.5);
}

.contact-form button {
    background-color: #829996;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.contact-form button:hover {
    background-color: #ccf5ef;
    color: #2c241b;
}

.footer-image {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-image img {
    width: 100%;
    max-width: 240px;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 5px 29px rgba(0,0,0,0.5);
    margin-bottom: 20px;
}

.copyright {
    font-size: 12px;
    color: #aaa;
    margin-top: auto;
}

/* --- MEDIA QUERIES (RESPONSIF HP) --- */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    header h1 {
        margin: 10px 0;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .main-content, .info-container,.about-content {
        flex-direction: column;
    }
    .main-text-content {
        text-align: center;
    }
    .about-content img {
        width: 100%;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-column h3 {
        display: block; 
        border-bottom: none;
    }
    .contact-form button {
        width: 100%;
    }
}