/* Custom font import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #0056b3;
    --primary-dark: #003d80;
    --secondary: #ffffff;
    --accent: #ff6b00;
    --light: #f0f7ff;
    --gray-light: #f5f7fa;
    --gray: #e9ecef;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #4a4a4a;
}

/* Logo styling */
nav {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

nav img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

nav img:hover {
    transform: scale(1.05);
}

/* Hero section with modern background image */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') no-repeat center center;
    background-size: cover;
    padding: 8rem 0;
    position: relative;
}

.hero-section h1 {
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-section p {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Button styling */
a.bg-accent, button.bg-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
    z-index: 1;
}

a.bg-accent:before, button.bg-primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.2, 1, 0.3, 1);
    z-index: -1;
}

a.bg-accent:hover:before, button.bg-primary:hover:before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Why HKS section styling */
.why-hks-item {
    transition: all 0.4s ease;
    border-radius: 12px;
}

.why-hks-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Next steps section styling */
.bg-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

/* Additional custom styles */
.flatpickr-input {
    background-color: white;
    border-radius: 8px;
}

.service-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    width: 100%;
    text-align: center;
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Next steps section icons */
.next-step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.next-step-container:hover .next-step-icon {
    transform: translateY(-5px);
}

.next-step-container {
    transition: all 0.3s ease;
    border-radius: 12px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.next-step-container:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.next-step-number {
    background: linear-gradient(135deg, var(--primary), #0077cc);
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Service cards hover effect */
.service-card {
    transition: all 0.4s ease;
    border-radius: 12px;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Form input focus styles */
input:focus, select:focus, textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.15);
    outline: none;
}

/* Testimonial styling */
.testimonial {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.testimonial::before {
    content: '"';
    position: absolute;
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.08);
    top: -2rem;
    left: -1rem;
    font-family: Georgia, serif;
}

/* Booking form styling */
.booking-form {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: all 0.4s ease;
}

.booking-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* About us section */
.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.about-image:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Contact section */
.contact-info-card {
    border-radius: 12px;
    background: white;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Mobile menu animation */
.mobile-menu {
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    max-height: 0;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.mobile-menu.open {
    max-height: 500px;
}

/* Loading spinner for form submission */
.spinner {
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Footer styling */
footer {
    background-color: #f5f7fa;
    border-top: 1px solid #e5e7eb;
}

#impressum-content {
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 5rem 1rem;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .next-step-container {
        margin-bottom: 1.5rem;
    }
}
