/* ============================================
   MODERN DESIGN SYSTEM - STANDAR BAU
   ============================================ */

/* Custom Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Modern Typography - Clean Design */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    font-weight: 400;
    letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
}

/* Hero Section with Parallax */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 120%;
    will-change: transform;
    transform: translateZ(0);
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(195, 0, 12, 0.15) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.45) 100%);
    position: relative;
    z-index: 2;
}

/* Custom Accent Color */
.accent-color {
    color: #C3000C;
}

.accent-bg {
    background: linear-gradient(135deg, #C3000C 0%, #A0000A 100%);
    background-color: #C3000C;
}

.accent-border {
    border-color: #C3000C;
}

.accent-hover:hover {
    background: linear-gradient(135deg, #A0000A 0%, #800008 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Modern Header - Clean Minimalist */
.modern-header {
    background: #ffffff;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Header Button - Smaller Padding */
.modern-header .modern-btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.9rem;
}

/* Modern Service Cards - Clean Minimalist */
.service-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #C3000C 0%, #A0000A 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: rgba(195, 0, 12, 0.2);
}

/* Icon Styling - Clean Minimalist */
.service-icon {
    width: 56px;
    height: 56px;
    color: #C3000C;
    background: rgba(195, 0, 12, 0.08);
    border-radius: 12px;
    padding: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.service-card:hover .service-icon {
    transform: scale(1.05);
    background: rgba(195, 0, 12, 0.12);
}

/* Modern Button Styles - Clean & Unified */
.modern-btn {
    background: #C3000C;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(195, 0, 12, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    letter-spacing: 0.3px;
    line-height: 1.5;
}

.modern-btn:hover {
    background: #A0000A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(195, 0, 12, 0.3);
}

.modern-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(195, 0, 12, 0.2);
}

.modern-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(195, 0, 12, 0.2), 0 2px 8px rgba(195, 0, 12, 0.2);
}

.modern-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

/* Success State für Formular-Button */
.modern-btn.success {
    background: #10b981 !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3) !important;
    cursor: default;
    opacity: 1 !important;
}

.modern-btn.success:hover {
    background: #10b981 !important;
    transform: none !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3) !important;
}

.modern-btn.success:disabled {
    opacity: 1 !important;
}

/* Modern Section Headings - Clean Style */
.section-heading {
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.construction-heading {
    text-shadow: none;
    letter-spacing: -0.04em;
    font-weight: 700;
}

/* Contact Info - Clean Style */
.contact-info {
    padding: 0;
}

/* Modern Contact Cards - Construction Style */
.contact-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(195, 0, 12, 0.1);
}

/* Modern Form Inputs - Construction Style */
.modern-input {
    width: 100%;
    padding: 1.1rem 1.35rem;
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f8f8;
    font-weight: 500;
}

.modern-input:focus {
    outline: none;
    border-color: #C3000C;
    background: white;
    box-shadow: 0 0 0 3px rgba(195, 0, 12, 0.1), inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Modern Footer */
.modern-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Social Media Icons */
.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: linear-gradient(135deg, #C3000C 0%, #A0000A 100%);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-color: transparent;
}

/* Logo Styling */
.logo-header {
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.logo-header:hover {
    opacity: 0.8;
}

.logo-header img {
    height: 3rem;
    width: auto;
    display: block;
}

.logo-footer {
    height: 4.5rem;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .logo-header img {
        height: 2.25rem;
    }
    
    .logo-footer {
        height: 3.5rem;
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation Classes */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
}

.scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

/* Initial State - Hidden */
[data-animate] {
    opacity: 0;
}

/* Delay Classes */
.animate-delay-100 {
    animation-delay: 0.1s;
}

.animate-delay-200 {
    animation-delay: 0.2s;
}

.animate-delay-300 {
    animation-delay: 0.3s;
}

.animate-delay-400 {
    animation-delay: 0.4s;
}

/* Smooth Transitions */
* {
    transition: color 0.2s ease, background-color 0.2s ease;
}

/* Modern Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #C3000C 0%, #A0000A 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #A0000A 0%, #800008 100%);
}

/* Clean Section Design */
.construction-section {
    background: #ffffff;
    position: relative;
}

.construction-section-alt {
    background: #fafafa;
    position: relative;
}

.construction-heading {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.03em;
    font-weight: 900;
}


.construction-image {
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.construction-image:hover {
    border-color: rgba(195, 0, 12, 0.3);
}

/* Parallax Banner */
.parallax-banner {
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 200%;
    will-change: transform;
    transform: translateZ(0);
}

.parallax-overlay {
    background: linear-gradient(135deg, rgba(195, 0, 12, 0.88) 0%, rgba(0, 0, 0, 0.78) 100%);
    position: relative;
    z-index: 2;
}

/* Compact Form Styling */
.compact-form {
    display: flex;
    flex-direction: column;
}

.compact-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Radio Button Styling */
.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: #374151;
    font-weight: 500;
}

.radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    cursor: pointer;
    accent-color: #C3000C;
}

.radio-option span {
    user-select: none;
}

/* Honeypot Field (hidden from users) */
.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.compact-input {
    width: 100%;
    padding: 0.875rem 1.125rem;
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #f8f8f8;
    font-weight: 500;
}

.compact-input:focus {
    outline: none;
    border-color: #C3000C;
    background: white;
    box-shadow: 0 0 0 3px rgba(195, 0, 12, 0.1), inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.compact-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}


/* Image Grid Styling */
.image-grid {
    height: 100%;
}

.image-grid img {
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: block;
}

.image-grid img:hover {
    transform: scale(1.02);
    opacity: 0.95;
}

/* Grid specific heights for different image sizes */
.image-grid-large {
    min-height: 500px;
    height: 100%;
}

.image-grid-medium,
.image-grid-small {
    min-height: 240px;
    height: 100%;
}

@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: 1fr;
    }
    
    .image-grid-large,
    .image-grid-medium,
    .image-grid-small {
        min-height: 300px;
    }
}

/* Responsive Parallax - Disable on Mobile */
@media (max-width: 768px) {
    .parallax-bg,
    .hero-bg {
        background-attachment: scroll;
        transform: none !important;
    }
    
    .hero-bg {
        top: 0;
        height: 100%;
    }
}
