/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'din-2014', 'DIN Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

/* Container and layout */
.container {
    min-height: 100vh;
    display: flex;
}

/* Content section */
.content-section {
    flex: 0 0 50%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    background: #fff;
}

.logo {
    margin-bottom: 60px;
}

.logo-img {
    height: 50px;
    width: auto;
    background: white;
    color: orange;
}

.main-content {
    flex: 1;
    max-width: 480px;
}

.headline {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.1;
    color: #666;
    margin-bottom: 32px;
    letter-spacing: 0em;
}

.description {
    font-size: .9rem;
    line-height: 1.5;
    color: #666;
    margin-bottom: 32px;
    font-weight: 300;
}

.contact-line {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    font-weight: 300;
}

.contact-link {
    color: #0021ff;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: #1d4ed8;
}

/* CTA Section */
.cta-section {
    margin: 40px 0;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: .2rem .4rem;
    background: transparent;
    color: #0021ff;
    border: 0.15rem solid #0021ff;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.cta-button:hover {
    background: #0021ff;
    color: white;
    transform: translateY(-1px);
}

.cta-arrow-image {
    width: 10px;
    height: 10px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.cta-button:hover .cta-arrow-image {
    transform: translateX(4px);
}

/* Footer */
.footer {
    margin-top: auto;
}

.footer-links {
    display: flex;
    gap: 32px;
    margin-bottom: 16px;
}

.footer-link {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #333;
}

.external-arrow-image {
    width: 10px;
    height: 10px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.footer-link:hover .external-arrow-image {
    opacity: 1;
}

.copyright {
    font-size: 0.85rem;
    color: #999;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    border-radius: 8px;
    overflow: hidden;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 0 24px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: #333;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #999;
    transition: color 0.2s ease;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #666;
    background: #f5f5f5;
}

.contact-form {
    padding: 0 24px 24px 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-input,
.form-textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #e5e5e5;
    padding: 12px 0;
    font-size: 1rem;
    font-family: inherit;
    color: #333;
    background: transparent;
    transition: border-color 0.2s ease;
    resize: none;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-bottom-color: #0021ff;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #999;
    font-weight: 300;
}

.form-textarea {
    min-height: 120px;
    line-height: 1.5;
}

.form-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    margin-top: 32px;
}

.btn-cancel,
.btn-send {
    padding: 12px 24px;
    border: none;
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 80px;
}

.btn-cancel {
    background: #f5f5f5;
    color: #666;
}

.btn-cancel:hover {
    background: #e5e5e5;
    color: #333;
}

.btn-send {
    background: #333;
    color: white;
}

.btn-send:hover {
    background: #000;
    transform: translateY(-1px);
}

.btn-send:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Image section */
.image-section {
    flex: 0 0 50%;
    position: relative;
    background: #f5f5f5;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slideshow {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Slideshow controls */
.slideshow-controls {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.slideshow-container:hover .slideshow-controls {
    opacity: 1;
    pointer-events: auto;
}

.nav-arrow {
    background: transparent;
    color: white;
    border: none;
    width: auto;
    height: auto;
    border-radius: 0;
    font-size: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    backdrop-filter: none;
}

.nav-arrow:hover {
    background: transparent;
    transform: scale(1.1);
}

.nav-arrow:active {
    transform: scale(0.95);
}

.nav-arrow-image {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Mobile styles */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .content-section {
        padding: 40px 24px;
        min-height: auto;
        order: 2;
    }
    
    .image-section {
        height: 50vh;
        min-height: 300px;
        order: 1;
        flex: none;
    }
    
    .headline {
        font-size: 2.5rem;
        margin-bottom: 24px;
    }
    
    .description {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
    
    .slideshow-controls {
        opacity: 1;
        pointer-events: auto;
        align-items: center;
    }
    
    .nav-arrow {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .content-section {
        padding: 32px 20px;
    }
    
    .headline {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 14px 20px;
        font-size: 0.85rem;
    }
    
    .image-section {
        height: 40vh;
        min-height: 250px;
    }
}

/* Loading animation for logo */
@keyframes logoFade {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.logo-img {
    animation: logoFade 0.6s ease-out;
}

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

/* Focus styles for accessibility */
.cta-button:focus,
.contact-link:focus,
.footer-link:focus,
.nav-arrow:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}