/* Reset Styles */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
    overflow-x: hidden;
}

/* Header Styles */
.main-header {
    background: #2a9d8f;
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    width: 200px;
    height: auto;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links ul {
    list-style: none; /* Menghapus bullet points */
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #e9c46a;
    text-decoration: none;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
    text-align: left;
}

.hero-content {
    flex: 1;
}

.handwriting-font {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem; /* Sesuaikan ukuran font */
    color: #907e49; /* Warna teks */
    transition: background 0.3s ease;
}

.hero h2 {
    font-size: 2rem;
    color: #264653;
    margin-bottom: 1rem;
    line-height: 4rem;
    margin-top: -0.8rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #555;
    margin-bottom: 2rem;
}

.hero .btn {
    background: #2a9d8f;
    color: #fff;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.3s ease;
    letter-spacing: 1px;
}

.hero .btn:hover {
    background: #12db3d;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    order: 1; /* Default posisi gambar */
}

.hero-gif {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* About */
.about {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    flex-direction: column; 
    margin: 0 auto; 
    text-align: center; 
}

.about-grid {
    display: flex;
    justify-content: space-evenly;
    gap: 2rem;
    flex-wrap: wrap;
}

.about-item {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.about-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.about-item a {
    text-decoration: none;
    list-style: none;
}

.about-item a:hover {
    text-decoration: none;
}

.about .container h3 {
    font-size: 1.2rem;
    color: #264653;
    margin-bottom: 1rem;
}

.about .container p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Footer Section */
.main-footer {
    background: #2a9d8f;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}

/* Responsiveness */
@media (max-width: 1024px) { /* Tablet */
    .hero {
        flex-direction: space-between;
        text-align: start;
        padding: 4rem 3rem;
    }

    .logo {
        width: 150px;
    }

    .nav-links ul {
        font-size: 14px;
    }

    .hero-content {
        margin-top: 2rem;
        padding: 0 2rem;
        margin-bottom: 7rem;
    }

    .hero h2 {
        font-size: 2rem;
        line-height: 3rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero .btn {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }

    .hero-gif {
        max-width: 400px;
    }

    .about h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) { /* Mobile */
    .hero {
        flex-direction: column;
        text-align: left;
        padding: 0rem 1rem;
    }

    .handwriting-font {
        font-size: 0.5rem;
    }

    .hero-image {
        order: 1; /* Pastikan gambar tetap di atas */
    }

    .hero-content {
        order: 2; /* Teks berada di bawah */
    }

    .hero h2 {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    h2.handwriting-font {
        font-size:1.5rem;
        
    }

    .hero .hero-content p {
        font-size: 0.9rem;
    }

    .hero .btn {
        font-size: 0.9rem;
        font-weight: 600;
    }

    .hero-gif {
        max-width: 300px;
    }

    .about {
        padding: 1rem;
    }

    .about .container h3 {
        font-size: 1rem;
    }

    .about .container p {
        font-size: 0.8rem;
    }
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    cursor: pointer;
    width: 30px;
    height: 30px;
    z-index: 1001;
    margin-right: 10px; /* Tambahkan jarak dari tepi kanan */
    position: relative; /* Pastikan posisi relatif untuk kontrol lebih baik */
}

.hamburger .bar {
    display: block;
    width: 100%;
    height: 4px;
    background-color: #fff;
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* Responsive Menu */
.nav-links {
    display: flex;
    list-style: none;
}

.nav-links ul {
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
    font-size: 14px;
    font-weight: normal;
}

.nav-links a:hover {
    color: #e9c46a;
    text-decoration: none;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        position: absolute;
        align-self: center;
        right: 20px; /* Jarak dari tepi kanan */
    }

    .nav-links {
        display: none; /* Hide menu by default */
        flex-direction: column;
        position: absolute;
        top: 90%;
        right: 0;
        background: #2a9d8f;
        width: 100%;
        text-align: end;
        padding: 1rem 0;
        padding-right: 30px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex; /* Show menu when active */
    }

    .nav-links ul {
        flex-direction: column;
        gap: 1rem;
    }
}

.main-footer {
    font-size: 0.8rem;
    padding: 0.5rem 0;
}


/* Hero Section */
.services-hero {
    background-color: #f9f9f9;
    padding: 4rem 2rem;
}

.hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 2.5rem;
    color: #264653;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Services Section */
.services {
    padding: 4rem 2rem;
    background-color: #ffffff;
}

.services-heading {
    text-align: center;
    margin-bottom: 3rem;
    color: #264653;
}

.services-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.service-item {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: center;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.service-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.service-item h3 {
    font-size: 1.5rem;
    color: #264653;
    margin-bottom: 1rem;
}

.service-item p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero-layout {
        flex-direction: column;
        text-align: center;
    }

    .hero-image img {
        max-width: 80%;
        margin: 0 auto;
    }

    .services-heading h1 {
        font-size: 1rem;
    }

    .services-heading p {
        font-size: 0.8rem;
        text-align: justify;
    }

    .services-grid {
        justify-content: center;
        gap: 1.5rem;
    }

    .service-item {
        flex: 1 1 calc(100% - 2rem);
        max-width: 100%;
    }

    .service-item h3 {
        font-size: 1rem;
    }

    .service-item p {
        font-size: 0.8rem;
    }
}

/* Jasa Joki */
.akun {
    padding: 4rem 2rem;
    background-color: #ffffff;
}

.akun-heading {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #264653;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

th {
    background-color: #f4f4f4;
    font-weight: bold;
}

a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

a:hover {
    text-decoration: none;
}


@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 1.2rem;
    }

    .akun-item {
        flex: 1 1 calc(100% - 2rem);
        max-width: 100%;
    }

    .akun .akun-heading {
        font-size: 1rem;
        margin: 0 auto;
    }

    .table {
        font-size:0.5rem;
        
    }
    
    th, td {
        padding: 5px;
    }
}

/* Features Section */
.features {
    text-align: center;
    padding: 60px 20px;
    background-color: #f8f9fa;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.feature-item img {
    width: 100px;
    margin-bottom: 15px;
}
.feature-item h3 {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: #343a40;
}
.feature-item p {
    color: #6c757d;
}

/* FAQ Section */
.faq {
    margin-top: 60px;
    padding: 30px 20px;
    background-color: #c9e8f6;
}
.faq-item {
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}
.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.faq h2 {
    margin-bottom: 40px;
    color: #343a40;
}
.faq-item h3 {
    margin-bottom: 10px;
    color: #343a40;
}
.faq-item p {
    color: #6c757d;
}

/* Team Section */
.team {
    text-align: center;
    padding: 60px 20px;
}
.team-grid {
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}
.team-member {
    text-align: center;
}
.team-member img {
    width: 200px;
    height: auto;
    margin-bottom: 15px;
}
.team-member h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #343a40;
}
.team-member p {
    color: #6c757d;
}

/* Testimonials Section */
.extended-testimonials {
    padding: 60px 20px;
    text-align: center;
}
.extended-testimonials h2 {
    margin-bottom: 30px;
    color: #343a40;
}
.testimonials-slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    scroll-snap-type: x mandatory;
}
.testimonial-item {
    min-width: 300px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    scroll-snap-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.testimonial-item h4 {
    margin-top: 15px;
    color: #007bff;
}

/* Newsletter Section */
.newsletter {
    text-align: center;
    padding: 60px 20px;
    background-color: #f8f9fa;
    max-width: 1200px;
    margin: 0 auto;
}
.newsletter h2 {
    margin-bottom: 30px;
    color: #343a40;
}
.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    flex-direction: column;
}
.newsletter-form input,
.newsletter-form textarea {
    padding: 15px;
    flex: 1;
    border: 1px solid #ced4da;
    border-radius: 5px;
    min-width: 250px;
    font-size: 1em;
    font-family: Arial, Helvetica, sans-serif;
}
.newsletter-form textarea {
    resize: none; 
    height: 100px; 
    margin-bottom: 10px;
}
.newsletter-form button {
    padding: 15px 30px;
    background-color: #007bff;
    font-weight: bold;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.newsletter-form button:hover {
    background-color: #0056b3;
    transform: translateY(-2px); 
}


/* Contact Section */
.contact {
    padding: 60px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}
.contact h2 {
    margin-bottom: 30px;
    color: #343a40;
}
.contact-item h3 {
    margin-bottom: 10px;
    color: #343a40;
}
.contact-item p {
    color: #6c757d;
}
.contact-item a {
    color: #007bff;
    text-decoration: none;
}
.contact-item a:hover {
    text-decoration: none;
}

/* Call-to-Action Section */
.cta {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: #ffffff;
}
.cta h2 {
    margin-bottom: 20px;
}
.cta p {
    margin-bottom: 30px;
    color: #f8f9fa;
}
.cta .btn {
    background-color: #ffffff;
    color: #007bff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.cta .btn:hover {
    background-color: #0056b3;
    color: #ffffff;
}

/* Responsif (Mobile First) */
@media (max-width: 768px) {
    .features-grid, 
    .team-grid, 
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-slider {
        flex-direction: column;
    }
    .testimonial-item {
        min-width: 100%;
    }
    .newsletter-form {
        flex-direction: column;
    }
}

/* Tentang Kami */
.about-us {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.about-us-heading {
    margin-bottom: 20px;
    color: #333;
}

.about-us p {
    font-size: 1.1em;
    line-height: 1.8;
    margin: 0 auto 20px;
    max-width: 800px;
    color: #555;
}

.about-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.about-us-item h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #007bff;
}

.about-us-item p,
.about-us-item ul {
    font-size: 1em;
    line-height: 1.6;
    color: #666;
    margin: 0 auto;
}

.about-us-item ul {
    list-style-type: disc;
    padding-left: 20px;
}

.about-us-item ul li {
    margin-bottom: 10px;
    list-style: none;
    text-align: left;
}

.about-us-image img {
    max-width: 50%;
    height: auto;
    margin: 40px auto;
    border-radius: 10px;
}

.cta-about-us {
    margin-top: 40px;
}

.cta-about-us h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #333;
}

.cta-about-us p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #555;
}

.cta-about-us .btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #007bff;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.cta-about-us .btn:hover {
    background-color: #0056b3;
}

/* Responsif untuk ukuran layar kecil */
@media (max-width: 768px) {
    .about-us {
        padding: 40px 15px;
    }

    .about-us-heading {
        font-size: 1.2em;
    }

    .about-us p {
        font-size: 1em;
    }

    .about-us-grid {
        grid-template-columns: 1fr;
    }

    .about-us-item h3 {
        font-size: 1.2em;
    }

    .about-us-item p,
    .about-us-item ul {
        font-size: 0.8em;
    }

    .cta-about-us h3 {
        font-size: 1.2em;
    }

    .cta-about-us p {
        font-size: 1em;
    }

    .cta-about-us .btn {
        font-size: 1em;
        padding: 12px 20px;
    }

    .about-us-image img {
        max-width: 90%;
        margin: 30px auto;
    }
}
