/* Additional styles for Level Range Fahrschule */
/* Main color palette is defined in layout file (updated to #C71B1B) */

/* Additional utility classes */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

.bg-light {
    background-color: var(--light);
}

.bg-white {
    background-color: white;
}

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.rounded {
    border-radius: var(--radius-md);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

/* Responsive utilities */
@media (max-width: 768px) {
    .mobile-hidden {
        display: none;
    }
}

@media (min-width: 769px) {
    .desktop-hidden {
        display: none;
    }
}

/* Enhanced hero block improvements */
.hero__content-wrapper {
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 2px solid var(--secondary);
    box-shadow: var(--shadow-industrial), 0 0 30px rgba(220, 38, 38, 0.3);
}

.page-hero {
    background: var(--gradient-industrial);
}

.page-hero::before {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(245, 158, 11, 0.05) 50%, rgba(17, 24, 39, 0.1) 100%);
}

/* Enhanced button styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-industrial), 0 0 20px rgba(199, 27, 27, 0.35);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-industrial), 0 0 30px rgba(199, 27, 27, 0.55);
    border-color: var(--secondary);
}

.btn--outline {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
    box-shadow: var(--shadow-md);
}

.btn--outline:hover {
    background: var(--gradient-secondary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-industrial), 0 0 20px rgba(220, 38, 38, 0.4);
}

/* Enhanced section spacing */
section {
    position: relative;
}

/* Improved form styling */
.form-group input,
.form-group textarea {
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Enhanced card hover effects */
.service-item,
.faq__item,
.contact__item {
    transition: all 0.3s ease;
}

.service-item:hover,
.faq__item:hover,
.contact__item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-industrial), 0 0 20px rgba(220, 38, 38, 0.2);
}

/* Industrial Design Enhancements */
.industrial-border {
    border: 2px solid var(--secondary);
    border-radius: 8px;
    position: relative;
}

.industrial-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-accent);
    border-radius: 8px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.industrial-border:hover::before {
    opacity: 1;
}

/* Service Package Industrial Style */
.service-package {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border: 2px solid var(--gray-300);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.service-package::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-secondary);
}

.service-package:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow-industrial), 0 0 20px rgba(220, 38, 38, 0.15);
}

/* Stats Industrial Style */
.stats__item {
    background: var(--gradient-industrial);
    color: white;
    border: 2px solid var(--secondary);
    position: relative;
    overflow: hidden;
}

.stats__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
}

.stats__number {
    color: var(--accent);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* FAQ Industrial Style */
.faq__item {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border-left: 4px solid var(--secondary);
    border-radius: 8px;
    position: relative;
}

.faq__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq__item:hover::before {
    opacity: 1;
}

/* Gallery Industrial Style */
.gallery-item {
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-secondary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover {
    border-color: var(--secondary);
}

/* Contact Form Industrial Style */
.contact-form {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border: 2px solid var(--gray-300);
    border-radius: 12px;
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 12px 12px 0 0;
}

/* Team Member Industrial Style */
.team__member {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border: 2px solid var(--gray-300);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.team__member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-secondary);
}

.team__member:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow-industrial), 0 0 20px rgba(220, 38, 38, 0.15);
}

/* Blog Post Industrial Style */
.blog-post {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border: 2px solid var(--gray-300);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.blog-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-secondary);
}

.blog-post:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow-industrial), 0 0 20px rgba(220, 38, 38, 0.15);
}

/* Testimonial Industrial Style */
.testimonial__item {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border: 2px solid var(--gray-300);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.testimonial__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
}

.testimonial__item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-industrial), 0 0 20px rgba(245, 158, 11, 0.2);
}