/* DLA Elevator ApS - Custom Styles */

/* Custom Color Palette */
:root {
    --navy-900: #0f172a;
    --navy-800: #1e293b;
    --navy-700: #334155;
    --navy-600: #475569;
    --navy-500: #64748b;
    --gold-500: #d4af37;
    --gold-400: #e5c158;
    --gold-300: #f0d080;
}

/* Font Classes */
.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

/* Custom Color Classes */
.text-navy-900 { color: var(--navy-900); }
.text-navy-800 { color: var(--navy-800); }
.text-navy-700 { color: var(--navy-700); }
.text-navy-600 { color: var(--navy-600); }
.text-navy-500 { color: var(--navy-500); }
.text-gold-500 { color: var(--gold-500); }
.text-gold-400 { color: var(--gold-400); }
.text-gold-300 { color: var(--gold-300); }

.bg-navy-900 { background-color: var(--navy-900); }
.bg-navy-800 { background-color: var(--navy-800); }
.bg-navy-700 { background-color: var(--navy-700); }
.bg-navy-600 { background-color: var(--navy-600); }
.bg-navy-500 { background-color: var(--navy-500); }
.bg-gold-500 { background-color: var(--gold-500); }
.bg-gold-400 { background-color: var(--gold-400); }
.bg-gold-300 { background-color: var(--gold-300); }

.border-navy-900 { border-color: var(--navy-900); }
.border-navy-800 { border-color: var(--navy-800); }
.border-navy-700 { border-color: var(--navy-700); }
.border-navy-600 { border-color: var(--navy-600); }
.border-navy-500 { border-color: var(--navy-500); }
.border-gold-500 { border-color: var(--gold-500); }
.border-gold-400 { border-color: var(--gold-400); }
.border-gold-300 { border-color: var(--gold-300); }

/* Navigation Styles */
.nav-link {
    @apply text-white hover:text-gold-300 px-4 py-2 text-sm font-semibold transition-all duration-300 rounded-lg backdrop-blur-sm bg-white/10 hover:bg-white/20 border border-white/20 hover:border-gold-300/50 shadow-lg hover:shadow-xl;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-link.active {
    @apply text-gold-300 bg-white/20 border-gold-300/70 shadow-xl;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.mobile-nav-link {
    @apply block px-4 py-3 text-base font-semibold text-white hover:text-gold-300 hover:bg-white/10 transition-all duration-300 rounded-lg backdrop-blur-sm bg-white/5 border border-white/10 hover:border-gold-300/50;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.mobile-nav-link.active {
    @apply text-gold-300 bg-white/15 border-gold-300/70;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Language Switcher */
.language-switcher {
    @apply flex space-x-2;
}

.lang-btn {
    @apply px-3 py-1 text-sm font-medium text-white hover:text-gold-300 transition-all duration-300 rounded-lg backdrop-blur-sm bg-white/10 hover:bg-white/20 border border-white/20 hover:border-gold-300/50 shadow-md hover:shadow-lg;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.lang-btn.active {
    @apply text-gold-300 bg-white/20 border-gold-300/70 shadow-lg;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.8) 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(212, 175, 55, 0.1) 0%, transparent 50%, rgba(15, 23, 42, 0.1) 100%);
    z-index: 1;
}

/* Button Styles */
.btn-primary {
    @apply inline-flex items-center px-8 py-4 border border-transparent text-base font-medium rounded-lg text-white bg-navy-900 hover:bg-navy-800 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-navy-500 transition-all duration-200 shadow-lg hover:shadow-xl;
}

.btn-secondary {
    @apply inline-flex items-center px-8 py-4 border-2 border-white text-base font-medium rounded-lg text-white hover:bg-white hover:text-navy-900 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-white transition-all duration-200;
}

.btn-primary-white {
    @apply inline-flex items-center px-8 py-4 border border-transparent text-base font-medium rounded-lg text-navy-900 bg-white hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-white transition-all duration-200 shadow-lg hover:shadow-xl;
}

/* Feature Cards */
.feature-card {
    @apply bg-white p-8 rounded-lg shadow-lg hover:shadow-xl transition-all duration-300 border border-gray-100;
}

.feature-icon {
    @apply w-16 h-16 bg-gold-100 rounded-full flex items-center justify-center text-gold-500 mb-6;
}

/* Value Cards */
.value-card {
    @apply bg-white p-8 rounded-lg shadow-lg hover:shadow-xl transition-all duration-300 border border-gray-100 text-center;
}

.value-icon {
    @apply w-16 h-16 bg-navy-100 rounded-full flex items-center justify-center text-navy-900 mb-6 mx-auto;
}

/* Service Cards */
.service-card {
    @apply bg-white p-8 rounded-lg shadow-lg hover:shadow-xl transition-all duration-300 border border-gray-100;
}

.service-icon {
    @apply w-20 h-20 bg-gold-100 rounded-full flex items-center justify-center text-gold-500 mb-6;
}

/* Process Steps */
.process-step {
    @apply text-center bg-white p-8 rounded-lg shadow-lg hover:shadow-xl transition-all duration-300 border border-gray-100;
}

.process-number {
    @apply w-16 h-16 bg-navy-900 text-white rounded-full flex items-center justify-center text-2xl font-bold mb-6 mx-auto;
}

/* Team Cards */
.team-card {
    @apply bg-white p-6 rounded-lg shadow-lg hover:shadow-xl transition-all duration-300 border border-gray-100 text-center;
}

/* Stat Items */
.stat-item {
    @apply text-center;
}

/* Gallery Items */
.gallery-item {
    @apply bg-white rounded-lg shadow-lg hover:shadow-xl transition-all duration-300 overflow-hidden;
}

/* Contact Items */
.contact-item {
    @apply flex items-start space-x-4;
}

.contact-icon {
    @apply w-12 h-12 bg-gold-100 rounded-full flex items-center justify-center text-gold-500 flex-shrink-0;
}

/* FAQ Items */
.faq-item {
    @apply bg-white p-6 rounded-lg shadow-lg hover:shadow-xl transition-all duration-300 border border-gray-100;
}

/* Form Styles */
.form-input, .form-select, .form-textarea {
    @apply transition-all duration-200;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    @apply ring-2 ring-navy-500 border-transparent;
}

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

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

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

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

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .feature-card, .value-card, .service-card {
        @apply p-6;
    }
    
    .process-step {
        @apply p-6;
    }
    
    .contact-item {
        @apply flex-col text-center;
    }
    
    .contact-icon {
        @apply mx-auto mb-4;
    }
}

/* Loading States */
.loading {
    @apply opacity-50 pointer-events-none;
}

/* Success/Error Messages */
.message-success {
    @apply bg-green-100 border border-green-400 text-green-700 px-4 py-3 rounded mb-4;
}

.message-error {
    @apply bg-red-100 border border-red-400 text-red-700 px-4 py-3 rounded mb-4;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--navy-500);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--navy-600);
}

/* Print Styles */
@media print {
    .nav-link, .language-switcher, .btn-primary, .btn-secondary {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero-section {
        height: auto !important;
        min-height: 200px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles for Accessibility */
button:focus, a:focus, input:focus, select:focus, textarea:focus {
    @apply outline-none ring-2 ring-navy-500 ring-offset-2;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .text-gray-600 {
        color: #000 !important;
    }
    
    .text-gray-300 {
        color: #000 !important;
    }
    
    .bg-gray-50 {
        background-color: #fff !important;
    }
}

/* Dark Mode Support (if needed in future) */
@media (prefers-color-scheme: dark) {
    /* Dark mode styles can be added here */
}

/* Mobile Menu Button */
.mobile-menu-btn {
    @apply text-white hover:text-gold-300 transition-all duration-300 p-2 rounded-lg backdrop-blur-sm bg-white/10 hover:bg-white/20 border border-white/20 hover:border-gold-300/50 shadow-md hover:shadow-lg;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Custom Utility Classes */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.gradient-text {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--gold-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Performance Optimizations */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}


