/* arifin */
:root {
    --primary: #F4C2C2;
    --secondary: #B76E79;
    --white: #FFFFFF;
    --greige: #B2A59B;
    --text-dark: #333;
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', 'Lato', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--secondary);
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Top Bar */
.top-bar {
    background: var(--primary);
    padding: 8px 0;
    font-size: 12px;
    text-align: right;
}
.top-bar a {
    color: var(--text-dark);
    text-decoration: none;
    margin-left: 20px;
}
.top-bar a:hover {
    text-decoration: underline;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}
.logo img {
    height: 50px;
}
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}
.nav-menu li {
    margin-left: 20px;
}
.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
}
.hover-flip:hover {
    transform: rotateX(10deg);
    color: var(--secondary);
}
.lang-flags a {
    font-size: 1.2rem;
    margin: 0 5px;
    text-decoration: none;
}
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    overflow: hidden;
}
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}
.slide.active {
    opacity: 1;
}
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    width: 100%;
    padding: 20px;
}
.hero-content h1 {
    font-size: 3rem;
    color: white;
    animation: fadeText 2s infinite alternate;
}
@keyframes fadeText {
    0% { opacity: 0.8; }
    100% { opacity: 1; }
}

/* Profil */
.profil {
    padding: 60px 0;
}
.profil-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.profil-image img {
    width: 100%;
    border-radius: 10px;
}
.profil-text p {
    font-size: 1.1rem;
}

/* Services */
.services {
    padding: 60px 0;
    background-size: cover;
    background-attachment: fixed;
    color: white;
}
.services h2 {
    text-align: center;
    color: white;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}
.service-card {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(5px);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: var(--text-dark);
}
.service-card h3 {
    color: var(--secondary);
    margin-bottom: 10px;
}

/* Coverage */
.coverage {
    padding: 60px 0;
    background: var(--primary);
}
.coverage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.coverage-map img {
    width: 100%;
    border-radius: 10px;
}
.coverage-cities ul {
    list-style: none;
    padding-left: 0;
}
.coverage-cities li {
    padding: 8px 0;
    border-bottom: 1px solid var(--greige);
}

/* Gallery */
.gallery {
    overflow: hidden;
    padding: 60px 0;
    background: var(--white);
}
.gallery h2 {
    text-align: center;
}
.gallery-track {
    display: flex;
    width: fit-content;
    animation: scrollGallery 20s linear infinite;
}
.gallery-track img {
    height: 250px;
    width: auto;
    margin-right: 20px;
    border-radius: 10px;
}
@keyframes scrollGallery {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Testimonials */
.testimonials {
    padding: 60px 0;
    background: var(--greige);
}
.testimonials h2 {
    text-align: center;
}
.testimonial-slider {
    overflow: hidden;
    width: 100%;
}
.testimonial-wrapper {
    display: flex;
    animation: slideTestimonials 30s linear infinite;
}

.testimonial-item {
    min-width: 50%; /* Dua testimonial per slide */
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    margin: 10px;
    box-shadow: var(--shadow);
    box-sizing: border-box;
}

@keyframes slideTestimonials {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Bergerak setengah dari total lebar (5 pasang) */
}

/* FAQ */
.faq {
    padding: 60px 0;
    background-size: cover;
    background-attachment: fixed;
}
.faq h2 {
    text-align: center;
    color: white;
}
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: rgba(255,255,255,0.9);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}
.faq-question {
    background: var(--primary);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.faq-question h3 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.1rem;
}
.faq-question .toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary);
}
.faq-answer {
    background: var(--white);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-item.active .faq-answer {
    padding: 15px 20px;
    max-height: 200px;
}

/* Contact */
.contact {
    padding: 60px 0;
    background: var(--white);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.contact-form form {
    display: flex;
    flex-direction: column;
}
.contact-form input,
.contact-form textarea {
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--greige);
    border-radius: 5px;
    font-family: inherit;
}
.contact-form button {
    background: var(--secondary);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}
.contact-form button:hover {
    background: #9a5c66;
}
.contact-info p {
    margin: 15px 0;
}
.contact-info a {
    color: var(--secondary);
    text-decoration: none;
}

/* Map */
.map iframe {
    display: block;
}

/* Sticky Buttons */
.sticky-btn {
    position: fixed;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}
.sticky-btn.show {
    opacity: 1;
    visibility: visible;
}
.scroll-top {
    left: 30px;
}
.whatsapp-btn {
    right: 30px;
    background: #25D366;
}
.sticky-btn:hover {
    transform: scale(1.1);
}

/* Footer */
.footer {
    background: var(--greige);
    padding: 30px 0;
    text-align: center;
}
.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}
.social-icons a {
    font-size: 1.5rem;
    margin: 0 10px;
    display: inline-block;
}
.copyright {
    font-size: 12px;
    margin-top: 20px;
    color: var(--text-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 20px 0;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-menu li {
        margin: 15px 0;
    }
    .hamburger {
        display: flex;
    }
    .profil-grid,
    .coverage-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .testimonial-item {
        min-width: 100%;
    }
}
/* arifin */

/* Style untuk language flags dengan gambar */
.lang-flags {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
}
.lang-flags a {
    display: inline-block;
    line-height: 0; /* Hilangkan jarak vertikal berlebih */
}
.lang-flags img {
    width: 28px;
    height: auto;
    border-radius: 3px; /* Opsional: sudut sedikit melengkung */
    transition: transform 0.2s ease;
}
.lang-flags img:hover {
    transform: scale(1.1); /* Efek hover sedikit membesar */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.social-icons i {
    font-size: 24px; /* Ukuran ikon Font Awesome */
}
.social-icons img {
    width: 24px;
    height: 24px;
    object-fit: contain; /* Pastikan gambar tidak terdistorsi */
    transition: transform 0.2s ease;
}
.social-icons a:hover img {
    transform: scale(1.1); /* Efek hover membesar */
}
body.rtl {
    direction: rtl;
    text-align: right;
}

/* Pastikan hamburger selalu di atas */
.hamburger {
    position: relative;
    z-index: 1002;
    cursor: pointer;
}

/* Menu memiliki z-index lebih rendah */
.nav-menu {
    z-index: 1000;
}

.nav-menu.active {
    z-index: 1001;
}

/* Opsional: pastikan area klik hamburger tidak terganggu */
.hamburger .bar {
    pointer-events: none; /* agar klik tetap pada elemen hamburger */
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    cursor: default;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 50px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s;
}

.close-lightbox:hover {
    color: #ccc;
}

/* Hover pause untuk gallery */
.gallery-track:hover {
    animation-play-state: paused;
}

/* Styling gallery-item */
.gallery-item {
    display: inline-block;
    cursor: pointer;
    margin-right: 20px; /* Sesuaikan dengan jarak antar gambar */
}
.gallery-item img {
    height: 250px;
    width: auto;
    border-radius: 10px;
    pointer-events: none; /* Klik diteruskan ke parent */
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}