/* General Styling */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #000; /* Black background */
    color: white; /* Default text color */
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.container {
    display: flex;
    flex: 1;
    width: 100%;
}

/* Left Section with Photos */
.left-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px; /* Spacing between photos */
}

.photo-frame {
    border: 6px solid #535251; /* Frame-like border */
    border-radius: 10px;
    background-color: #222; /* Frame background */
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.photo-frame img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}

.photo-frame:hover {
    transform: scale(1.05); /* Slight zoom on hover */
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* Right Section with Content */
.right-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.right-section h1 {
    font-size: 3rem;
    color: #f4f4f4;
    margin-bottom: 20px;
    text-shadow: 0 3px 5px rgba(255, 255, 255, 0.3);
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1rem;
    color: #000;
    text-decoration: none;
    background-color: #f4f4f4;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.button:hover {
    background-color: #ef8127;
    color: #fff;
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.6);
}

/* Footer Section */
footer {
    background-color: #111; /* Black footer */
    color: white;
    padding: 20px 40px;
    text-align: center;
    border-top: 1px solid #444;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-content div {
    flex: 1;
    min-width: 150px;
    text-align: center;
}

.footer-content h3 {
    margin-bottom: 10px;
    color: #f4f4f4;
    text-transform: uppercase;
    font-size: 1.2rem;
}

.footer-content p {
    margin: 5px 0;
    color: #aaa;
    font-size: 0.9rem;
}

.footer-content p:hover {
    color: #fff;
}

.logorental {
    width: 300px; /* Lebar maksimal gambar */
    height: auto; /* Menjaga proporsi gambar */
    display: block;
    margin: 0 auto; /* Memposisikan gambar di tengah */
}

/* Responsive tweaks */
@media (max-width: 1024px) {
    body {
        height: auto;
        min-height: 100vh;
    }

    .container {
        flex-direction: column;
        min-height: auto;
    }

    .left-section,
    .right-section {
        width: 100%;
        padding: 20px 16px;
    }

    .photo-grid {
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        max-width: 500px;
        margin: 0 auto;
    }

    .photo-frame img {
        height: 150px;
    }

    .right-section h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .buttons {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .button {
        width: 100%;
        text-align: center;
        padding: 14px 24px;
    }

    .logorental {
        width: 200px;
        max-width: 100%;
    }

    .footer-content {
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    .footer-content div {
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .left-section {
        padding: 16px;
    }

    .right-section {
        padding: 20px 16px;
    }

    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .photo-frame img {
        height: 130px;
    }

    .right-section h1 {
        font-size: 1.6rem;
        margin-bottom: 16px;
    }

    .logorental {
        width: 180px;
    }

    footer {
        padding: 20px 16px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .footer-content div {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .photo-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 300px;
    }

    .photo-frame img {
        height: 180px;
    }

    .right-section h1 {
        font-size: 1.4rem;
        padding: 0 10px;
    }

    .logorental {
        width: 150px;
    }

    .button {
        font-size: 0.9rem;
        padding: 12px 20px;
    }

    footer {
        padding: 16px 12px;
    }

    .footer-content h3 {
        font-size: 1rem;
    }

    .footer-content p {
        font-size: 0.85rem;
    }
}
