@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    background-color: #4d4d4d;
    color: #e0e0e0;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    position: relative;
    background-image: url('img/bg.jpg');
    background-repeat: repeat;
    background-size: auto;
}

body::before {
    content: '';
    position: fixed;
    right: 0;
    bottom: 0;
    width: 400px;
    height: 400px;
    background: url('img/dede.png') no-repeat right bottom;
    background-size: contain;
    opacity: 0.7;
    pointer-events: none;
    z-index: 0;
    transform: scaleX(-1);
}

body::after {
    content: '';
    position: fixed;
    left: 0;
    bottom: 0;
    width: 400px;
    height: 400px;
    background: url('img/dede.png') no-repeat left bottom;
    background-size: contain;
    opacity: 0.7;
    pointer-events: none;
    z-index: 0;
}

.container {
    width: 90%;
    max-width: 600px;
    background-color: #a7a7a700;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

header h1 {
    color: #ffae00; /* Gold */
    font-size: 3em;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h2 {
    color: #ffae00;
    border-bottom: 2px solid #ffae00;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.8em;
}

section {
    margin-bottom: 30px;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    margin: 15px 0;
}

ul li a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1.2em;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

ul li a:hover {
    color: #ffae00;
}

ul li a i {
    margin-right: 15px;
    font-size: 1.5em;
    width: 30px; /* To align text */
}

/* Banners */
.banners {
    margin-bottom: 30px;
}

.banners img {
    max-height: 200px;
    max-width: 100%;
    border-radius: 8px;
}

/* Reference Sites */
.cards-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

@media (max-width: 992px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .card:nth-child(n) {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .cards-container {
        grid-template-columns: 1fr 1fr;
    }

    .card {
        grid-column: span 1 !important;
    }

    header h1 {
        font-size: 2.5em;
    }

    h2 {
        font-size: 1.5em;
    }

    body::after,
    body::before {
        width: 160px;
        height: 160px;
    }

    .container {
        padding: 10px;
    }
}

.card {
    background-color: #2a2a2a;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:nth-child(1), .card:nth-child(2) {
    grid-column: span 3;
}

.card:nth-child(n+3) {
    grid-column: span 2;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 15px;
}

.card:not(:has(img[src="img/reklamalani.png"])) img {
    height: 80px;
    object-fit: contain;
}

.card h3 {
    color: #ffae00;
    margin-top: 0px;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card .btn {
    margin-top: auto;
}

.btn {
    display: inline-block;
    background-color: #ffae00;
    color: #121212;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #e6c300;
    color: #121212;
}

footer {
    margin-top: 30px;
    font-size: 0.9em;
    color: #666;
} 