/* ============================================
   CV. BENGKEL IT - CUSTOM STYLES
   Dark Theme with Red Accent
   ============================================ */

/* CSS Variables */
:root {
    --bg-primary: #000000;
    --bg-secondary: #0A0A0A;
    --bg-card: #121212;
    --bg-overlay: rgba(255, 255, 255, 0.05);
    
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.85);
    --text-muted: #6B7280;
    
    --border-subtle: rgba(255, 255, 255, 0.1);
    --border-medium: rgba(255, 255, 255, 0.2);
    
    --brand-primary: #DC2626;
    --brand-hover: rgba(220, 38, 38, 0.1);
    --brand-active: #B91C1C;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Header / Navigation */
header {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 12px 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
}

.logo-icon i {
    font-size: 24px;
    color: #000000;
}

.logo-text {
    color: var(--text-primary);
}

.navbar-nav .nav-link {
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--brand-primary);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--brand-primary);
}

.navbar-toggler {
    border: none;
    padding: 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding: 150px 0 100px;
    display: flex;
    align-items: center;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(220, 38, 38, 0.15), transparent),
        var(--bg-primary);
}

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--text-primary);
}

.text-accent {
    color: var(--brand-primary);
}

.hero-description {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 700px;
}

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

/* Custom Buttons */
.btn-primary-custom {
    background: var(--brand-primary);
    color: #000000;
    border: none;
    border-radius: 0;
    padding: 14px 28px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary-custom:hover {
    background: var(--brand-active);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(220, 38, 38, 0.3);
}

.btn-secondary-custom {
    background: var(--bg-overlay);
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
    border-radius: 0;
    padding: 14px 28px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

/* Stats Cards */
.stat-card {
    background: var(--bg-card);
    padding: 32px 24px;
    border: 1px solid var(--border-subtle);
    border-radius: 0;
    transition: all 0.3s ease;
    text-align: center;
}

.stat-card:hover {
    border-color: var(--brand-primary);
    transform: translateY(-4px);
}

.stat-number {
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Section Styles */
section {
    padding: 100px 0;
}

.about-section {
    background: var(--bg-primary);
}

.services-section {
    background: var(--bg-primary);
}

.portfolio-section {
    background: var(--bg-secondary);
}

.vision-section {
    background: var(--bg-primary);
}

.contact-section {
    background: var(--bg-primary);
}

.section-title {
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--brand-primary);
    margin-bottom: 40px;
}

/* About Section */
.about-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.highlight-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 0;
    transition: all 0.3s ease;
    font-size: 16px;
}

.highlight-item:hover {
    border-color: var(--brand-primary);
    transform: translateX(8px);
}

.highlight-item i {
    color: var(--brand-primary);
    font-size: 24px;
}

/* Service Cards */
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 0;
    padding: 32px;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--brand-primary);
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(220, 38, 38, 0.2);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--brand-hover);
    border: 2px solid var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--brand-primary);
    border-radius: 0;
}

.service-icon i {
    font-size: 32px;
}

.service-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.service-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* Portfolio Cards */
.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 0;
    padding: 32px;
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    border-color: var(--brand-primary);
    transform: translateY(-4px);
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 16px;
}

.portfolio-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    margin: 0;
}

.portfolio-tag {
    background: var(--brand-hover);
    color: var(--brand-primary);
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 0;
    white-space: nowrap;
}

.portfolio-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.portfolio-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
}

.portfolio-location {
    font-size: 14px;
    color: var(--text-muted);
}

.portfolio-year {
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-primary);
}

/* Vision Cards */
.vision-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 0;
    padding: 32px;
    transition: all 0.3s ease;
}

.vision-card:hover {
    border-color: var(--brand-primary);
    transform: scale(1.02);
}

.vision-card-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 16px;
}

.vision-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

/* Contact Section */
.contact-info {
    position: sticky;
    top: 120px;
}

.contact-info-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.contact-info-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 32px;
}

.contact-icon {
    color: var(--brand-primary);
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-weight: 500;
}

.contact-value {
    font-size: 16px;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Contact Form */
.contact-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 0;
    padding: 40px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-control {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 0;
    color: var(--text-primary);
    font-size: 16px;
    padding: 14px 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: var(--bg-secondary);
    border-color: var(--brand-primary);
    color: var(--text-primary);
    box-shadow: 0 0 0 3px var(--brand-hover);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 40px;
    height: 40px;
    background: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
}

.footer-logo i {
    font-size: 24px;
    color: #000000;
}

.footer-brand-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-tagline {
    font-size: 16px;
    color: var(--text-muted);
    margin: 0;
}

.footer-divider {
    border-color: var(--border-subtle);
    margin: 32px 0;
}

.footer-copyright,
.footer-location {
    font-size: 14px;
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-section {
        padding: 120px 0 80px;
    }
    
    .contact-info {
        position: static;
        margin-bottom: 40px;
    }
    
    section {
        padding: 80px 0;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 150px 0 60px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-primary-custom,
    .btn-secondary-custom {
        width: 100%;
    }
    
    .contact-form-container {
        padding: 24px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .footer .d-flex {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

@media (max-width: 575px) {
    .portfolio-header {
        flex-direction: column;
    }
    
    .portfolio-tag {
        align-self: flex-start;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-padding-top: 80px;
}