
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #8b0000; 
    background-image: url(gambar/gambarbg2.png);
    background-attachment: fixed;
    color: #ffffff;
    min-height: 100vh;
    padding: 40px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Gaya Judul di Tengah (Header) */
header {
    text-align: center;
    margin-bottom: 50px;
}

h1 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: #080808;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.5);
    display: inline-block;
    position: relative;
}
h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #070707;
    margin: 10px auto 0 auto;
    border-radius: 2px;
}

.subtitle {
    font-size: 1.1rem;
    color: #0b0b0b;
    font-weight: 300;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 10px;
}

.gallery-item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Kotak Sementara Pengganti Gambar */
.image-placeholder {
    width: 100%;
    height: 100px;
    background: linear-gradient(135deg, #ff4d4d, #a30000);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #ff4d4d;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    width: 100%;
}

.btn:hover {
    background-color: #e03a3a; 
    transform: translateY(-2px); 
}

.btn:active {
    transform: translateY(0);
}
.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}


.navbar {
    width: 100%;
    padding: 15px 10px;
    position: static;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0d0d0d;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.nav-home:hover {
    background-color: #ff4d4d;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 77, 77, 0.4);
}

.nav-home i {
    font-size: 1.2rem;
    color: #ffffff; 
}
body {
    padding-top: 100px;
}

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 0.9rem;
    color: #060606;
    line-height: 1.5;
}

.card-desc {
    font-size: 0.9rem;
    color: #060606;
    line-height: 1.5;
}
@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }
    body {
        padding: 20px 10px;
    }
}
