/* --- RESET & GLOBAL VARIABLES --- */
:root {
    --primary-red: #E31E24;
    --dark-blue: #0f1c2e;
    --text-grey: #444;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Roboto', sans-serif; line-height: 1.6; color: var(--text-grey); background-color: var(--white); }
.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }
a { text-decoration: none; }
ul { list-style: none; }

/* --- NAVBAR --- */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo a { display: flex; align-items: center; }
.logo img { height: 55px; width: auto; object-fit: contain; }
.nav-links { display: flex; gap: 25px; }
.nav-links a { color: var(--dark-blue); font-weight: 500; font-size: 1rem; transition: 0.3s; text-transform: uppercase; }
.nav-links a:hover { color: var(--primary-red); }
.menu-toggle { display: none; font-size: 1.5rem; color: var(--dark-blue); cursor: pointer; }

/* --- HERO SECTION (Background Diubah Disini) --- */
.hero {
    /* MENGGUNAKAN GAMBAR BARU */
    background: url('images/cover-baru.jpg') no-repeat center center;
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: -80px;
    padding-top: 80px;
}
.hero-overlay {
    background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0.2) 100%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}
.hero-content { max-width: 600px; }
.hero-content h2 { font-size: 3.5rem; color: var(--primary-red); font-weight: 900; line-height: 1.2; margin-bottom: 1rem; text-transform: uppercase; }
.hero-content p { font-size: 1.2rem; margin-bottom: 2rem; color: var(--dark-blue); font-weight: 500; }
.btn-primary { display: inline-block; background: var(--primary-red); color: var(--white); padding: 12px 30px; border-radius: 5px; font-weight: bold; transition: 0.3s; box-shadow: 0 4px 15px rgba(227, 30, 36, 0.4); }
.btn-primary:hover { background: #b9151a; transform: translateY(-2px); }

/* --- SECTIONS UMUM --- */
.mission {
    padding: 8rem 0;
    text-align: center;
    
    /* BACKGROUND PARALLAX DENGAN OVERLAY GELAP */
    /* linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)) <-- Ini yang bikin gelap */
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/port-night.jpg');
    
    background-size: cover;       /* Gambar memenuhi area */
    background-position: center;  /* Gambar di tengah */
    background-attachment: fixed; /* EFEK PARALLAX (Gambar diam saat scroll) */
    
    color: #ffffff; /* Ubah warna teks jadi Putih */
}
.mission-content h3 {
    color: #e0e0e0; 
    font-weight: 300;
    margin-bottom: 15px;
    letter-spacing: 1px;
}
.quote-box h2 {
    color: #ffffff;             /* Teks Utama Putih Bersih */
    font-size: 2.8rem;
    display: inline-block;
    margin: 0 20px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5); /* Bayangan teks biar makin jelas */
}
.quote-box i {
    color: var(--primary-red);
    font-size: 1.8rem;
    vertical-align: top;
}

.about { padding: 5rem 0; background: var(--bg-light); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2.2rem; color: var(--dark-blue); }
.line { width: 60px; height: 4px; background: var(--primary-red); margin: 10px auto; }
.about-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 3rem; align-items: center; }
.highlight-box { margin-top: 20px; background: var(--white); padding: 15px; border-left: 4px solid var(--primary-red); display: flex; align-items: center; gap: 15px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.highlight-box i { font-size: 2rem; color: var(--primary-red); }
.about-features { display: flex; flex-direction: column; gap: 15px; }
.feature-item { background: var(--white); padding: 20px; border-radius: 8px; display: flex; align-items: center; gap: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; }
.feature-item:hover { transform: translateX(10px); }
.feature-item i { color: var(--primary-red); font-size: 1.5rem; }

.services { padding: 5rem 0; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.card { background: var(--white); padding: 2rem; border-radius: 10px; border: 1px solid #eee; transition: 0.3s; position: relative; overflow: hidden; }
.card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-color: transparent; transform: translateY(-5px); }
.card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--primary-red); transform: scaleX(0); transform-origin: left; transition: 0.3s; }
.card:hover::before { transform: scaleX(1); }
.icon-box { width: 60px; height: 60px; background: #fff0f0; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.icon-box i { font-size: 1.5rem; color: var(--primary-red); }
.card h3 { margin-bottom: 1rem; color: var(--dark-blue); }

.certifications { background: var(--dark-blue); color: var(--white); padding: 4rem 0; }
.cert-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.cert-text ul li { margin-bottom: 10px; font-size: 1.1rem; }
.cert-text i { color: var(--primary-red); margin-right: 10px; }
.client-box { background: rgba(255,255,255,0.1); padding: 20px; border-radius: 8px; margin-top: 20px; display: flex; align-items: center; gap: 15px; }
.client-box i { font-size: 2rem; }

/* --- FOOTER --- */
footer { background: linear-gradient(135deg, #cc181e 0%, #E31E24 100%); color: var(--white); padding: 4rem 0 1rem; }
.footer-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-info h3 { font-size: 1.8rem; margin-bottom: 1.5rem; border-bottom: 2px solid rgba(255,255,255,0.3); display: inline-block; padding-bottom: 5px; }
.contact-item { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 1.5rem; }
.contact-item i { margin-top: 5px; font-size: 1.2rem; }
.contact-item a { color: var(--white); text-decoration: underline; }
.footer-brand { display: flex; justify-content: flex-end; align-items: center; }
.footer-brand img { width: 200px; height: auto; background: transparent; padding: 0; box-shadow: none; border-radius: 0; filter: brightness(0) invert(1); }
.copyright { text-align: center; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 1.5rem; font-size: 0.9rem; }

/* --- RESPONSIVE MOBILE (Update Menu HP) --- */
@media (max-width: 768px) {
    .navbar .container { position: relative; }
    
    /* MENU TOGGLE MUNCUL */
    .menu-toggle { display: block; }

    /* PENGATURAN MENU DROPDOWN */
    .nav-links {
        display: none; /* Default sembunyi */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 80px;
        left: 0;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
        text-align: center;
        border-top: 1px solid #eee;
    }

    /* KELAS ACTIVE UNTUK JS */
    .nav-links.active { display: flex; }
    .nav-links li { margin: 15px 0; }

    .hero-content h2 { font-size: 2.5rem; }
    .about-grid, .cert-wrapper, .footer-layout { grid-template-columns: 1fr; }
    .footer-brand { justify-content: flex-start; margin-top: 20px; }
    .footer-brand img { width: 180px; }
}