/* 
    Vanguard Protection 
    Modern, Minimalist, Premium CSS
*/

/* 1. Variables & Setup */
:root {
    /* Colors */
    --bg-main: #0a0a0b;
    --bg-dark: #121214;
    --bg-dark-alt: #16161a;
    --bg-card: #1c1c22;
    --bg-card-hover: #222228;
    
    --primary: #c5a365; /* Elegant Gold */
    --primary-hover: #d4b57b;
    --secondary: #2f385c; /* Deep slate blue */
    --secondary-hover: #3d4a7a;
    
    --text-main: #f0f0f2;
    --text-muted: #9ba1b4;
    --text-dark: #0a0a0b;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-primary: rgba(197, 163, 101, 0.3);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Sizes */
    --header-height: 80px;
    --top-bar-height: 40px;
    --border-radius-sm: 4px;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #ffffff;
    line-height: 1.2;
    font-weight: 500;
}

h1 span, h2 span, h3 span {
    color: var(--primary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Base Utility Classes */
.text-center { text-align: center; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.bg-dark { background-color: var(--bg-dark); }
.bg-dark-alt { background-color: var(--bg-dark-alt); }
.section { padding: 80px 0; }
.section-title { font-size: 2.5rem; margin-bottom: 1rem; font-weight: 700; }
.section-subtitle { color: var(--text-muted); font-size: 1.125rem; max-width: 800px; margin: 0 auto 3rem; }
.lead-text { font-size: 1.25rem; font-weight: 300; margin-bottom: 1.5rem; color: #fff; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197, 163, 101, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.05);
}

/* 2. Header & Navigation */
.top-bar {
    background-color: #050505;
    height: var(--top-bar-height);
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
}

.top-contact span { margin-right: 20px; }
.top-contact i, .top-location i { color: var(--primary); margin-right: 6px; }

.header {
    background-color: rgba(10, 10, 11, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(10, 10, 11, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.logo-bold { font-weight: 700; color: #fff; }
.logo-light { font-weight: 300; color: var(--primary); }

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: var(--primary);
}

.btn-nav {
    border: 1px solid var(--primary);
    padding: 8px 20px;
    border-radius: var(--border-radius-sm);
    color: var(--primary);
}

.btn-nav:hover {
    background-color: var(--primary);
    color: var(--text-dark);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.mobile-toggle .bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.mobile-toggle .bar:nth-child(1) { top: 0; }
.mobile-toggle .bar:nth-child(2) { top: 11px; }
.mobile-toggle .bar:nth-child(3) { top: 22px; }

/* Mobile Nav Active state for hamburger */
.mobile-toggle.active .bar:nth-child(1) { top: 11px; transform: rotate(45deg); }
.mobile-toggle.active .bar:nth-child(2) { opacity: 0; }
.mobile-toggle.active .bar:nth-child(3) { top: 11px; transform: rotate(-45deg); }

/* 3. Hero Section */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-height) - var(--top-bar-height));
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(to right, rgba(10, 10, 11, 0.95) 0%, rgba(10, 10, 11, 0.7) 50%, rgba(10, 10, 11, 0.4) 100%),
                      url('../assets/hero-bg-2.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
    transform: scale(1.05); /* slightly inner scaled for elegant feel */
}

/* Fallback if image fails */
@media (max-width: 768px) {
    .hero-bg { background-attachment: scroll; }
}

.hero-text {
    max-width: 700px;
    z-index: 1;
}

.hero-subtitle {
    color: var(--primary);
    font-family: var(--font-heading);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.hero-subtitle::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 1px;
    background-color: var(--primary);
    margin-right: 15px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 16px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.7;
    transition: var(--transition);
}

.scroll-indicator:hover { opacity: 1; }

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 14px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* 4. About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content p {
    margin-bottom: 1.2rem;
    color: var(--text-muted);
}

.stats-row {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.why-us-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.why-us-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary);
}

.why-us-card h3 {
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-main);
}

.feature-list i {
    color: var(--primary);
    margin-top: 4px;
    font-size: 1.1rem;
}

/* 5. Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    background-color: var(--bg-card-hover);
    border-color: var(--border-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(197, 163, 101, 0.1);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-icon i {
    font-size: 24px;
    color: var(--primary);
}

.service-card:hover .service-icon {
    background-color: var(--primary);
}

.service-card:hover .service-icon i {
    color: var(--text-dark);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 6. Team & Regions Section */
.mgmt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.mgmt-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid var(--border-color);
}

.mgmt-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.avatar {
    width: 64px;
    height: 64px;
    background-color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    flex-shrink: 0;
}

.mgmt-header h4 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.role {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.mgmt-tasks {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mgmt-tasks li {
    position: relative;
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.mgmt-tasks li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.region-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.region-card:hover {
    border-color: var(--border-primary);
}

.region-header {
    background-color: var(--secondary);
    padding: 15px 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: #fff;
}

.region-body {
    padding: 24px;
}

.region-body h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.badge {
    background-color: rgba(197, 163, 101, 0.15);
    color: var(--primary);
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: normal;
}

.region-area {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.regional-leaders h6 {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.regional-leaders ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.regional-leaders li {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.regional-leaders strong {
    color: var(--text-main);
    font-weight: 500;
}

.org-structure h4 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.org-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.org-node {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    text-align: center;
    width: 100%;
    font-weight: 500;
}

.org-node.level-1 { background-color: var(--secondary); border: none; }
.level-2 { border-color: rgba(197, 163, 101, 0.5); color: var(--primary); }

.org-diagram i {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* 7. Career Section */
.career-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.req-box {
    background-color: rgba(197, 163, 101, 0.05);
    border: 1px solid var(--border-primary);
    border-radius: var(--border-radius);
    padding: 24px;
    border-left: 4px solid var(--primary);
}

.req-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.req-header i {
    color: var(--primary);
    font-size: 1.25rem;
}

.req-box p {
    color: var(--text-main);
}

.req-box em {
    display: block;
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-muted);
}

.check-list i {
    color: #4ade80; /* Soft green */
    margin-top: 4px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 480px;
    background-image: url('../assets/career-guard.png');
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    position: relative;
}

.image-placeholder::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(10, 10, 11, 0.8) 0%, transparent 50%);
    border-radius: var(--border-radius-lg);
}

/* 8. Footer */
.footer {
    background-color: #050505;
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-widget h3 {
    font-size: 1.25rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-muted);
}

.contact-info i {
    color: var(--primary);
    margin-top: 5px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.social-links a:hover {
    background-color: var(--primary);
    color: var(--text-dark);
}

.impressum-mini {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background-color: var(--bg-card);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    border-radius: var(--border-radius);
    padding: 40px;
    position: relative;
    border: 1px solid var(--border-color);
    transform: translateY(20px);
    transition: var(--transition);
    overflow-y: auto;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: #fff;
}

.modal-content h2 { margin-bottom: 20px; }
.modal-content p { color: var(--text-muted); margin-bottom: 15px; }

/* 9. Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* 10. Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-title { font-size: 3.5rem; }
    .about-grid, .career-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .hero-title { font-size: 2.5rem; }
    .section { padding: 60px 0; }
    .section-title { font-size: 2rem; }
    
    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: rgba(18, 18, 20, 0.98);
        border-bottom: 1px solid var(--border-color);
        padding: 30px 24px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .mobile-toggle { display: block; }
    
    .mgmt-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .stats-row { flex-direction: column; gap: 20px; text-align: left; }
}
