/*
==========================================================================
   CUSTOM ENTERPRISE STYLE FOR ADB.HERSAM.NET (SIEMENS INSPIRED)
   Base Theme: Anymatter (Grav CMS)
========================================================================== */

:root {
    /* Siemens Design System Inspired Palette */
    --siemens-teal: #00ffb9;
    --siemens-dark-teal: #00796b;
    --siemens-bg-dark: #0c1a1a;
    --siemens-bg-light: #f4f6f8;
    --siemens-text-dark: #192229;
    --siemens-text-muted: #6c757d;
    --font-sans: 'Siemens Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* --- Global Reset & Typography Overrides --- */
body {
    font-family: var(--font-sans);
    color: var(--siemens-text-dark);
    line-height: 1.6;
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    color: var(--siemens-bg-dark);
    font-weight: 700;
    clear: both;
}

/* --- Navigation / Header Adjustments --- */
header, .header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
    transition: background 0.3s ease;
}

/* Jika menggunakan kelas body_classes: header-transparent di Grav */
body.header-transparent header {
    background: transparent;
    position: absolute;
    width: 100%;
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

body.header-transparent header a {
    color: #ffffff !important;
}

/* --- Corporate Buttons (Sharp Corners) --- */
.btn {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 0 !important; /* Kekhasan desain Siemens: Kotak presisi */
    margin-right: 1rem;
    margin-bottom: 1rem;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--siemens-teal);
    color: #0c1a1a !important;
    border-color: var(--siemens-teal);
}

.btn-primary:hover {
    background-color: #00d199;
    border-color: #00d199;
    box-shadow: 0 4px 12px rgba(0, 255, 185, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff !important;
    border-color: #ffffff;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #0c1a1a !important;
}

.btn-outline {
    background-color: transparent;
    color: var(--siemens-dark-teal) !important;
    border-color: var(--siemens-dark-teal);
}

.btn-outline:hover {
    background-color: var(--siemens-dark-teal);
    color: #ffffff !important;
}

/* --- Section 1: Hero Component --- */
.modular-hero {
    position: relative;
    background: linear-gradient(rgba(12, 26, 26, 0.65), rgba(12, 26, 26, 0.85)), 
                url('../images/siemens-hero.jpg') center/cover no-repeat;
    padding: 12rem 2rem 10rem 2rem;
    color: #ffffff;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.modular-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.modular-hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.modular-hero h1 strong {
    color: var(--siemens-teal);
}

.modular-hero h3 {
    font-size: 1.4rem;
    font-weight: 400;
    color: #e2e8f0;
    max-width: 800px;
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

/* --- Section 2: Grid & Services Component --- */
.modular-services {
    padding: 6rem 2rem;
    background-color: #ffffff;
}

.modular-services h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 1rem;
}

.modular-services h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--siemens-dark-teal);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: var(--siemens-bg-light);
    padding: 3rem 2.5rem;
    border-top: 4px solid var(--siemens-dark-teal);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    transform: translateY(-8px);
    background: #ffffff;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-top-color: var(--siemens-teal);
}

.card h3 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--siemens-bg-dark);
}

.card p {
    font-size: 1rem;
    color: var(--siemens-text-dark);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.card a {
    color: var(--siemens-dark-teal);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.card a:hover {
    color: var(--siemens-teal);
}

/* --- Section 3: Highlight / Split Component --- */
.modular-highlight {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--siemens-bg-dark);
    color: #ffffff;
    padding: 0;
    min-height: 500px;
}

.highlight-text {
    flex: 1 1 500px;
    padding: 6rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.highlight-text h2 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.highlight-text p {
    color: #cbd5e0;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.highlight-text ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2.5rem;
}

.highlight-text ul li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.75rem;
    color: #e2e8f0;
}

.highlight-text ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--siemens-teal);
    font-weight: bold;
}

.highlight-image {
    flex: 1 1 500px;
    background: url('../images/factory.jpg') center/cover no-repeat;
    min-height: 400px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .modular-hero h1 {
        font-size: 2.5rem;
    }
    .modular-hero h3 {
        font-size: 1.1rem;
    }
    .highlight-text {
        padding: 4rem 2rem;
    }
    .modular-services h1 {
        font-size: 2rem;
    }
}
