:root {
    --primary-color: #1a1a1a;
    --secondary-color: #007bff;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Header Styles */
header {
    background-color: #F5F5F5;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3%;
    max-width: 1400px;
    margin: 0 auto;
    background-color: #F5F5F5;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 20px;
    margin-right: auto;
}

.logo-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    margin-right: 30px;
}

.logo-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
}

.company-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
    white-space: nowrap;
    line-height: 1;
    margin: 0;
}

.logo:hover .logo-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 0;
        text-align: center;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a {
        display: block;
        padding: 0.8rem 0;
    }

    .nav-links a:hover {
        background-color: var(--light-bg);
    }

    .logo-icon {
        width: 70px;
        height: 70px;
    }

    .company-name {
        font-size: 1.2rem;
        max-width: 130px;
    }

    .logo-container {
        padding-left: 10px;
    }

    .logo-wrapper {
        gap: 15px;
        margin-right: 20px;
    }

    nav {
        padding: 1rem 2%;
    }
}

.language-switch {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
}

.language-switch a {
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
}

.language-switch a.active {
    background: var(--secondary-color);
    color: var(--white);
}

/* Virtual Tour Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    margin-top: 0;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.cta-button:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}

/* Featured Projects Section */
.projects {
    padding: 5rem 0;
    min-height: 100vh;
    background: var(--light-bg);
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 2rem 2rem;
}

.projects h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    aspect-ratio: 16/9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 1.5rem;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.gallery-overlay p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .projects h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

/* Virtual Tour Features */
.virtual-features {
    display: flex;
    justify-content: space-around;
    padding: 4rem 5%;
    background: var(--white);
    max-width: 1400px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 0;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .virtual-features {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Services Section */
.services {
    padding: 5rem 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--light-bg);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 64px;
    height: 64px;
    color: #007bff;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .service-icon {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services {
        padding: 4rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

/* Hide footer when services section is active */
#services:target ~ footer {
    display: none;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    margin-top: 40px;
    background: var(--white);
    display: flex;
    align-items: center;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    margin-top: 30px;
}

.contact-illustration {
    flex: 1;
    padding: 20px;
    max-width: 50%;
    margin-top: 40px;
}

.contact-image {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: block;
}

.contact-form-wrapper {
    flex: 1;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: left;
    padding-top: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(0,123,255,0.1);
}

.send-button {
    background: var(--secondary-color);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.send-button:hover {
    background: #0056b3;
}

@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
        margin-top: 30px;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 30px;
        margin-top: 20px;
    }
    
    .contact-illustration {
        max-width: 100%;
        padding: 0;
        margin-top: 20px;
    }

    .contact-image {
        height: 250px;
    }
    
    .contact h2 {
        font-size: 2rem;
        padding-top: 30px;
    }

    .contact-form-wrapper {
        padding: 15px;
        width: 100%;
    }

    .send-button {
        width: 100%;
        padding: 12px 20px;
        font-size: 16px;
        margin-top: 10px;
    }
}

/* Hide footer when contact section is active */
#contact:target ~ footer {
    display: none;
}

/* Add Font Awesome for icons */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

/* Footer Styles */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 0 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    gap: 4rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
    margin-bottom: 15px;
}

.footer-company-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    white-space: nowrap;
    line-height: 1;
    margin: 0;
}

.footer-links {
    flex: 1;
    display: flex;
    justify-content: space-between;
    gap: 3rem;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 1rem;
}

.footer-column ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-list li {
    color: var(--white);
    display: flex;
    align-items: flex-start;
}

.contact-list li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-list li a:hover {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .footer-column {
        text-align: center;
        margin-bottom: 2rem;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    margin-top: 3rem;
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-logo {
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-column h4 {
        text-align: center;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-column ul li {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-logo-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 10px;
    }
    
    .footer-company-name {
        font-size: 1.2rem;
    }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo img {
        image-rendering: auto;
    }
}

/* Hide footer when about section is active */
#about:target ~ footer {
    display: none;
}

/* Tambahkan di CSS */
.whatsapp-float {
    position: fixed;
    bottom: 50px;
    right: 50px;
    background-color: #25D366;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    box-shadow: 2px 2px 20px rgba(0,0,0,0.2);
    z-index: 100;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
}

.whatsapp-icon {
    width: 50px;
    height: 50px;
    color: white;
    margin-bottom: 5px;
}

.whatsapp-text {
    color: white;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 5px;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.05);
    box-shadow: 2px 2px 30px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 100px;
        height: 100px;
        bottom: 40px;
        right: 40px;
    }

    .whatsapp-icon {
        width: 40px;
        height: 40px;
    }

    .whatsapp-text {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .whatsapp-float {
        width: 90px;
        height: 90px;
        bottom: 30px;
        right: 30px;
    }

    .whatsapp-icon {
        width: 35px;
        height: 35px;
    }

    .whatsapp-text {
        font-size: 11px;
    }
}

.about {
    padding: 120px 0 100px;
    background: var(--light-bg);
    margin-top: 40px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 0;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--text-color);
    padding-top: 10px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.about-text {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.about-text h3 {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.pdf-link {
    font-size: 18px; 
    display: inline-block;
                        padding: 5px 15px;
                        background: #007bff;
                        color: white;
                        text-decoration: none;
                        border-radius: 5px;
                        font-weight: 500;
                        transition: all 0.3s ease;
                        border: none;
                        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.pdf-link:hover {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}


.company-details {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.detail-item {
    padding: 20px;
    background: var(--light-bg);
    border-radius: 8px;
}

.detail-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .company-stats {
        grid-template-columns: 1fr;
    }
    
    .about-text h3 {
        font-size: 1.8rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 100px 0 80px;
        margin-top: 30px;
    }
    
    .about h2 {
        margin-bottom: 30px;
    }
}

/* Remove SVG path styling */
.logo-icon svg {
    display: none;
}

/* Footer logo */
.footer-icon {
    width: 40px;
    height: 40px;
    background: url('/images/LOGO.JPG') no-repeat center center;
    background-size: contain;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-icon,
    .footer-icon {
        width: 40px;
        height: 40px;
    }
    
    .company-name,
    .footer-company-name {
        font-size: 0.9rem;
    }
}

/* About section text styling */
.about-text p {
    text-align: justify;
    line-height: 1.6;
    margin-bottom: 25px;
}

.detail-item {
    margin-bottom: 30px;
}

.detail-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.detail-item p {
    text-align: justify;
    line-height: 1.6;
    margin-bottom: 15px;
}

.detail-item ul {
    padding-left: 20px;
}

.detail-item ul li {
    text-align: justify;
    line-height: 1.6;
    margin-bottom: 8px;
}

/* Mission list styling */
.detail-item ul li {
    position: relative;
    padding-left: 15px;
    list-style-type: none;
}

.detail-item ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Values list styling */
.values-list {
    columns: 2;
    column-gap: 30px;
}

@media (max-width: 768px) {
    .about-text p,
    .detail-item p,
    .detail-item ul li {
        text-align: left; /* Switch to left align on mobile for better readability */
    }
    
    .values-list {
        columns: 1;
    }
}

.vision-content {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.vision-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.vision-content p {
    text-align: justify;
    line-height: 1.6;
    font-size: 1.05rem;
    text-justify: inter-word;
    word-spacing: -0.5px;
    letter-spacing: 0.1px;
    font-kerning: normal;
    white-space: normal;
    max-width: 600px;
}

/* Tambahan untuk browser Firefox */
@-moz-document url-prefix() {
    .vision-content p {
        text-align: justify;
        text-justify: inter-word;
    }
}