/* --- 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 --- */
.hero {
    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); }

/* --- MISSION SECTION --- */
.mission {
    padding: 8rem 0;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/port-night.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
}
.quote-box h2 { color: #ffffff; font-size: 2.8rem; display: inline-block; margin: 0 20px; text-shadow: 0 4px 10px rgba(0,0,0,0.5); }
.quote-box i { color: var(--primary-red); font-size: 1.8rem; }

/* --- ABOUT SECTION --- */
.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); }
.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); margin-bottom: 15px; transition: 0.3s; }
.feature-item i { color: var(--primary-red); font-size: 1.5rem; }

/* --- POLICIES SECTION --- */
.policies { padding: 5rem 0; background: var(--white); }
.policy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 2rem; }
.policy-card { background: var(--bg-light); padding: 2.5rem; border-radius: 12px; text-align: center; transition: 0.3s; border-bottom: 4px solid transparent; }
.policy-card:hover { transform: translateY(-10px); border-bottom-color: var(--primary-red); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.policy-card i { font-size: 3rem; color: var(--primary-red); margin-bottom: 1.5rem; }
.policy-card h3 { color: var(--dark-blue); margin-bottom: 1rem; }
.policy-card p { font-size: 0.95rem; margin-bottom: 1.5rem; }
.btn-outline { background: transparent; border: 2px solid var(--primary-red); color: var(--primary-red); padding: 8px 20px; border-radius: 5px; cursor: pointer; font-weight: bold; transition: 0.3s; }
.btn-outline:hover { background: var(--primary-red); color: var(--white); }

/* --- MODAL STYLE --- */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.7); overflow-y: auto; padding-top: 50px; }
.modal-content { background-color: #fff; margin: auto; padding: 40px; border-radius: 10px; width: 85%; max-width: 700px; position: relative; }
.modal-header { text-align: center; border-bottom: 2px solid #eee; margin-bottom: 20px; padding-bottom: 15px; }
.modal-header h2 { color: var(--primary-red); }
.modal-body ol { padding-left: 20px; margin-top: 15px; }
.modal-body li { margin-bottom: 10px; }
.close { position: absolute; right: 20px; top: 15px; font-size: 30px; font-weight: bold; cursor: pointer; color: #aaa; }
.close:hover { color: black; }

/* --- SERVICES --- */
.services { padding: 5rem 0; background: var(--bg-light); }
.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; }
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.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); }

/* --- CERTIFICATIONS --- */
.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; }
.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; }

/* --- 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; }
.contact-item { display: flex; gap: 15px; margin-bottom: 1.5rem; }
.contact-item a { color: var(--white); text-decoration: underline; }
.footer-brand img { width: 200px; filter: brightness(0) invert(1); }
.copyright { text-align: center; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 1.5rem; margin-top: 2rem; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-links { display: none; flex-direction: column; width: 100%; position: absolute; top: 80px; left: 0; background: var(--white); padding: 20px 0; border-top: 1px solid #eee; }
    .nav-links.active { display: flex; }
    .hero-content h2 { font-size: 2.5rem; }
    .about-grid, .cert-wrapper, .footer-layout { grid-template-columns: 1fr; }
    .footer-brand { display: none; }
    .modal-content { width: 95%; padding: 20px; }
}