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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

header {
    background-color: #17183a;
    padding: 2rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    flex-wrap: wrap;
}

/* Memastikan logo Jotun muncul dengan benar */
.logo-wrapper.left {
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.logo-wrapper.right {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}
.logo-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.logo-wrapper.left {
    margin-left: -50px;
}

.logo-wrapper.right {
    margin-right: 0;
}

.logo {
    height: 40px;
    object-fit: contain;
    transition: all 0.3s ease;
    opacity: 1;
    position: relative;
    background: #17183a;
    z-index: 2;
}

.logo.jotun {
    filter: none;
    height: 60px;
}

.logo:hover {
    transform: scale(1.1);
}

.jotun {
    filter: brightness(0) invert(1);
    height: 60px;
}

.sjs {
    height: 50px;
}

.menu-container {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 3;
}

.menu-container ul {
    display: flex;
    list-style: none;
    gap: 3rem;
    text-transform: uppercase;
    font-weight: bold;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.menu-container a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    position: relative;
}

.menu-container a:hover {
    background-color: rgba(255,255,255,0.1);
    color: #ffd700;
}

nav a:hover {
    color: #ffd700;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

section {
    margin-bottom: 4rem;
}

.segment-section {
    padding: 4rem 0;
}

.segment-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: none;
}

.segment-item {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 0;
    position: relative;
    background: none;
    transition: all 0.3s ease;
}

.segment-item h3 {
    margin: 0;
    color: #17183a;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    white-space: nowrap;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: rgba(0,0,0,0.7);
    color: white;
    text-align: center;
    z-index: 1;
}

.segment-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: opacity 0.3s;
    opacity: 1;
    display: block;
    position: relative;
    z-index: 0;
}

.segment-item:hover h3 {
    opacity: 0;
}

.segment-item:hover img {
    opacity: 0.8;
}

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

.hero {
    background-color: #17183a;
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.welcome-container {
    display: flex;
    width: 100%;
    gap: 2rem;
    padding: 0 2rem;
    box-sizing: border-box;
}

.welcome-content {
    flex: 1;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.company-info {
    margin-top: 2rem;
}

.company-info h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.whatsapp-group {
    gap: 0.5rem;
}

.whatsapp-icons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.whatsapp-icons img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.contact-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Memastikan konten tetap rapi */
.contact-item p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.dealer-image {
    flex: 1;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.dealer-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.home-content {
    max-width: 800px;
    margin: 0 auto;
}

h1, h2, h3 {
    margin-bottom: 1rem;
}

.segment-item {
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

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

.segment-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: opacity 0.3s;
}

.segment-item:hover img {
    opacity: 0.8;
}

.segment-item h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: rgba(0,0,0,0.7);
    color: white;
    text-align: center;
    margin: 0;
}

.client-section {
    padding: 4rem 0;
}

.client-container {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    box-sizing: border-box;
}

.client-item {
    flex: 1;
    padding: 2rem;
    border-radius: 8px;
    background: #17183a;
    color: white;
    transition: all 0.3s ease;
}

.client-item:hover {
    transform: scale(1.05);
}

/* Projects Section */
.projects-section {
    padding: 4rem 0;
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.projects-slider {
    width: 100%;
}

.project-item {
    margin: 0 10px;
}

.project-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
    background: #17183a;
}

.project-item img:hover {
    transform: scale(1.05);
}

/* Profile Section */
.profile-section {
    padding: 4rem 0;
}

.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.profile-image {
    flex: 1;
    max-width: 50%;
}

.profile-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
    background: #17183a;
}

.profile-image img:hover {
    transform: scale(1.05);
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
}

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

.contact-info {
    flex: 1;
    margin-right: 2rem;
}

.contact-info h3 {
    color: #ffd700;
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-section .contact-info h3,
.contact-section .contact-info p {
    color: black;
    text-transform: uppercase;
}

.contact-map {
    flex: 1;
    height: 400px;
    border-radius: 8px;
    background: #333;
}

/* Footer Styles */
footer {
    background-color: #17183a !important;
    padding: 0.5rem 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 0;
    width: 100%;
}

.footer-info .logo {
    max-width: 80px;
    height: auto;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.dealer-text {
    color: #ffd700;
    margin: 0.3rem 0;
    font-size: 0.8rem;
}

.qr-container {
    margin-top: 0.3rem;
}

.qr-code {
    max-width: 80px;
    height: auto;
}

.footer-bottom {
    text-align: center;
    margin-top: 0.2rem;
    color: white;
    font-size: 0.7rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gaya untuk Menu Hamburger (Sembunyi di Desktop) */
.hamburger {
    display: none; /* Sembunyikan di desktop */
    padding: 12px 15px;
    cursor: pointer;
    background: transparent;
    border: 0;
    margin: 0;
    z-index: 1000;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    width: 100%;
    height: 2px;
    background-color: white;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color 0.1s 0.2s ease-in-out;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: '';
    width: 100%;
    height: 2px;
    background-color: white;
    position: absolute;
    left: 0;
    transition: transform 0.2s 0.2s ease-in-out;
}

.hamburger-inner::before {
    top: -8px;
}

.hamburger-inner::after {
    top: 8px;
}

/* State aktif untuk hamburger */
.hamburger.active .hamburger-inner {
    background-color: transparent;
}

.hamburger.active .hamburger-inner::before {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger-inner::after {
    transform: translateY(-8px) rotate(-45deg);
}

/* Gaya untuk Menu Mobile (Sembunyi di Desktop) */
.mobile-menu {
    display: none;
}

/* Media Queries untuk Responsivitas */
@media (max-width: 768px) {
    /* Sembunyikan menu desktop di mobile */
    .menu-container {
        display: none;
    }
    
    /* Tampilkan tombol hamburger */
    .hamburger {
        display: block;
    }
    
    /* Gaya untuk menu mobile */
    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: #17183a;
        z-index: 900;
        transition: right 0.3s ease-in-out;
        padding: 80px 20px 40px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }
    
    .mobile-menu.active {
        right: 0;
    }
    
    .mobile-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .mobile-menu li {
        margin-bottom: 15px;
    }
    
    .mobile-menu a {
        color: white;
        text-decoration: none;
        font-size: 1.1rem;
        display: block;
        padding: 10px 15px;
        border-radius: 5px;
        transition: background-color 0.2s;
    }
    
    .mobile-menu a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    /* Overlay saat menu mobile terbuka */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 800;
    }
    
    .mobile-menu-overlay.active {
        display: block;
    }
    /* Header & Nav untuk Mobile */
    header {
        padding: 0.5rem 0;
        position: relative;
    }
    
    nav {
        flex-direction: row;
        padding: 0.5rem 1rem;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }
    
    .hamburger {
        display: block;
        order: 2;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: #17183a;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: right 0.3s ease-in-out;
        z-index: 999;
        padding: 80px 20px 40px;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        color: white;
        text-decoration: none;
        font-size: 1.2rem;
        padding: 10px 20px;
        display: block;
        text-align: center;
    }
    
    .logo-wrapper.left {
        order: 1;
        margin: 0;
    }
    
    .logo-wrapper.right {
        display: none;
    }
    
    .logo {
        max-width: 100px;
    }
    
    .logo-wrapper {
        margin: 5px 0;
        text-align: center;
    }
    
    .logo-wrapper.left,
    .logo-wrapper.right {
        position: static;
        transform: none;
        margin: 5px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .logo {
        max-width: 120px;
        height: auto;
    }
    
    /* Hero Section */
    .hero h1 {
        font-size: 2rem;
        padding: 0 1rem;
    }
    
    /* Projects Section */
    .projects-container {
        padding: 0 1rem;
    }
    
    /* Contact Section */
    .contact-container {
        flex-direction: column;
        padding: 0 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .contact-info, 
    .contact-map {
        width: 100%;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
        box-sizing: border-box;
    }
    
    .contact-map iframe {
        width: 100% !important;
        height: 300px !important;
    }
    
    /* Footer */
    .footer-content {
        padding: 2rem 1rem;
    }
    
    .footer-info {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-right {
        margin-top: 1.5rem;
    }
}

/* Perbaikan untuk layar sangat kecil */
@media (max-width: 480px) {
    .project-item img {
        max-width: 100%;
        height: auto;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .contact-form {
        width: 100%;
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    padding: 1rem 2rem;
    background: #ffd700;
    color: #17183a;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #ffda00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* Slick Slider Custom Styles */
.slick-prev,
.slick-next {
    z-index: 1;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    color: white;
    font-size: 20px;
}

.slick-prev {
    left: -20px;
}

.slick-next {
    right: -20px;
}

.slick-prev:hover,
.slick-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slick-dots {
    bottom: -25px;
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.slick-dots li {
    margin: 0 5px;
}

.slick-dots li button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    cursor: pointer;
}

.slick-dots li.slick-active button {
    background: #17183a;
}

.client-item h3 {
    margin: 0;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.client-item h4 {
    margin: 0;
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.project-list {
    margin-top: 1rem;
    list-style-type: none;
    padding-left: 1rem;
}

.project-list p {
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.5;
    position: relative;
    padding-left: 1rem;
}

.project-list p:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ffd700;
}

.client-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.project-slider {
    position: relative;
    max-width: 1200px;
    margin: 2rem auto;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.project-item {
    min-width: 300px;
    margin-right: 2rem;
    position: relative;
    cursor: pointer;
}

.project-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
}

.project-item:hover img {
    transform: scale(1.05);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: rgba(0,0,0,0.7);
    color: white;
    text-align: center;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    z-index: 1000;
}

.slider-btn:hover {
    background: rgba(0,0,0,0.7);
}

.prev {
    left: 1rem;
}

.next {
    right: 1rem;
}

.service-card {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

input, textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

button {
    background-color: #333;
    color: white;
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #555;
}

footer {
    text-align: center;
    padding: 2rem;
    background-color: #333;
    color: white;
}
