/* ==============================================
   Asia Defence Centre Sdn Bhd — Main Stylesheet
   Brand Colors: Navy #0A1120 | Gold #D4AF37
   ============================================== */

:root {
    --navy: #0A1120;
    --navy-light: #0F172A;
    --gold: #D4AF37;
    --gold-dark: #B8962F;
    --white: #FFFFFF;
    --gray-light: #CBD5E1;
    --gray-dark: #1E293B;
    --overlay: rgba(10, 17, 32, 0.75);
    --overlay-light: rgba(10, 17, 32, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--navy);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.relative { position: relative; z-index: 2; }

/* ---------- HEADER ---------- */
#header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 17, 32, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img { height: 50px; width: auto; }
.desktop-nav { display: flex; gap: 2rem; }
.desktop-nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
.desktop-nav a:hover { color: var(--gold); }

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
}
.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--navy-light);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gold);
}
.mobile-nav.active { display: flex; }
.mobile-nav a {
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* ---------- SECTIONS ---------- */
.section {
    padding: 100px 0;
    position: relative;
}
.dark { background: var(--navy); }
.image-bg-section {
    background-color: var(--navy);
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.section-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay);
    z-index: 1;
}

/* ---------- HERO ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10,17,32,0.8) 0%, rgba(10,17,32,0.95) 100%);
    z-index: 1;
}
.hero-content { z-index: 2; }
.tagline {
    color: var(--gold);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 2rem;
    line-height: 1.2;
}
.hero-text {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    color: var(--gray-light);
}
.hero-contact {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    color: var(--gold);
}

/* ---------- TYPOGRAPHY ---------- */
.section-subtitle {
    color: var(--gold);
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}
.section-text {
    color: var(--gray-light);
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
    max-width: 900px;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}
.btn-gold {
    background: var(--gold);
    color: var(--navy);
}
.btn-gold:hover { background: var(--gold-dark); }
.btn-dark {
    background: var(--navy);
    color: var(--white);
}
.btn-dark:hover { background: var(--navy-light); }

/* ---------- VALUES GRID ---------- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}
.value-card {
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: 8px;
    border-left: 3px solid var(--gold);
    transition: transform 0.3s;
}
.value-card:hover { transform: translateY(-5px); }
.value-card h4 { margin-bottom: 1rem; color: var(--gold); }

/* ---------- CAPABILITIES LIST ---------- */
.capability-list { margin-top: 3rem; }
.capability-item {
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--gold);
}
.capability-item h4 { margin-bottom: 0.8rem; color: var(--gold); font-size: 1.2rem; }

/* ---------- ADDRESS & STATS ---------- */
.address-block {
    background: rgba(212, 175, 55, 0.1);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}
.address-block h4 { color: var(--gold); margin-bottom: 1rem; }
.stats-row {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* ---------- CERTIFICATIONS & METRICS ---------- */
.cert-list {
    list-style: none;
    margin: 2rem 0;
}
.cert-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: var(--gray-light);
}
.metrics-row {
    display: flex;
    justify-content: flex-start;
    gap: 4rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}
.metric-item { text-align: center; }
.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
}
.metric-label { color: var(--gray-light); font-size: 0.9rem; }

/* ---------- GOLD SECTION (Contact) ---------- */
.gold-section {
    background: var(--gold);
    color: var(--navy);
}
.gold-section .section-text { color: rgba(10, 17, 32, 0.8); }
.gold-section .section-title { color: var(--navy); }
.dark-text { color: var(--navy) !important; }
.contact-blocks {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}
.contact-block {
    background: rgba(255,255,255,0.5);
    padding: 1.5rem;
    border-radius: 8px;
}
.disclaimer-box {
    background: rgba(10, 17, 32, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid var(--navy);
}

/* ---------- CONTACT FORM ---------- */
.contact-form {
    background: rgba(255,255,255,0.8);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
    color: var(--navy);
}
.contact-form h4 { margin-bottom: 1.5rem; font-size: 1.3rem; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}
.contact-form textarea { min-height: 120px; resize: vertical; margin-bottom: 1rem; }
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
    font-size: 0.9rem;
}
.checkbox-label a { color: var(--gold-dark); text-decoration: underline; }

/* ---------- FOOTER ---------- */
footer {
    background: var(--navy-light);
    padding: 4rem 0 2rem;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}
.footer-logo-img { height: 60px; margin-bottom: 1.5rem; }
.copyright { margin-bottom: 0.5rem; color: var(--gray-light); }
.ssm-no { margin-bottom: 1.5rem; color: var(--gold); font-size: 0.9rem; }
.footer-links a {
    color: var(--gray-light);
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .mobile-menu-toggle { display: block; }
    .form-row { grid-template-columns: 1fr; }
    .metrics-row { justify-content: center; gap: 2rem; }
    .stats-row { flex-direction: column; gap: 0.5rem; }
    .hero-contact { flex-direction: column; gap: 0.5rem; }
    .section { padding: 60px 0; }
}
