* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Language transition animation */
[data-lang] {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

[data-lang].fade-out {
    opacity: 0;
    transform: translateY(-5px);
}

[data-lang].fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll animation classes */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth section transitions */
section {
    transition: background-color 0.5s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    color: #ffffff;
    line-height: 1.6;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(31, 31, 31, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(21, 101, 192, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
}

nav.scrolled {
    background: rgba(31, 31, 31, 0.98);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

.logo img {
    height: 160px;
    width: auto;
    transform: scale(1.7);
    margin: -40px 0;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #1565c0;
}

.language-selector {
    display: flex;
    gap: 0.8rem;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid #404040;
}

.language-selector a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-block;
}

.language-selector a:hover {
    color: #1565c0;
    transform: translateY(-2px);
}

.language-selector a.active {
    color: #1565c0;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #1a1a1a;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.02;
    background-image: 
        linear-gradient(rgba(21, 101, 192, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(21, 101, 192, 0.5) 1px, transparent 1px);
    background-size: 50px 50px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
    position: relative;
    z-index: 1;
}

.hero-label {
    font-size: 0.95rem;
    color: #1565c0;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -1px;
    line-height: 1.1;
    color: #ffffff;
    max-width: 900px;
}

.hero p {
    font-size: 1.25rem;
    color: #9ca3af;
    margin-bottom: 3.5rem;
    max-width: 650px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn-primary {
    padding: 1.1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    background: #1565c0;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: #1976d2;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(21, 101, 192, 0.4), 0 0 20px rgba(21, 101, 192, 0.2);
}

.btn-secondary {
    padding: 1.1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    background: transparent;
    color: #e0e0e0;
    border: 1px solid #404040;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: #1565c0;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(21, 101, 192, 0.3), 0 0 15px rgba(21, 101, 192, 0.15);
    background: rgba(21, 101, 192, 0.1);
}

/* Section Styles */
section {
    padding: 8rem 3rem;
}

.section-label {
    font-size: 0.85rem;
    color: #1565c0;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    color: #ffffff;
    line-height: 1.2;
}

.section-description {
    font-size: 1.15rem;
    color: #9ca3af;
    max-width: 650px;
    line-height: 1.7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: #1f1f1f;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    background: #2a2a2a;
    padding: 2.5rem;
    border-radius: 2px;
    border: 1px solid #333333;
    transition: all 0.3s ease;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 0 20px rgba(21, 101, 192, 0.3);
    pointer-events: none;
}

.service-card:hover {
    border-color: #1565c0;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(21, 101, 192, 0.2), 0 0 30px rgba(21, 101, 192, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1.5rem;
    color: #1565c0;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(21, 101, 192, 0.6));
}

.service-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
    letter-spacing: -0.3px;
}

.service-description {
    color: #9ca3af;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    background: #1a1a1a;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-top-row {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 0;
}

.contact-top-row .contact-card {
    flex: 0 0 auto;
    width: auto;
    min-width: 280px;
}

.contact-card:not(#email-card):not(#address-card) {
    grid-row: 2;
}

@media (max-width: 1200px) {
    .contact-top-row {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 1200px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #email-card {
        grid-column: 1;
    }
    
    #address-card {
        grid-column: 2;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    #email-card,
    #address-card {
        grid-column: 1;
    }
}

.contact-card {
    background: #242424;
    padding: 2.5rem;
    border: 1px solid #2d2d2d;
    border-radius: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    min-width: 0;
}

.contact-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 0 20px rgba(21, 101, 192, 0.3);
    pointer-events: none;
}

.contact-card:hover {
    border-color: #1565c0;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(21, 101, 192, 0.2), 0 0 30px rgba(21, 101, 192, 0.15);
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(21, 101, 192, 0.6));
}

.contact-card:hover .contact-phone-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 6px rgba(21, 101, 192, 0.6));
}

.contact-icon {
    width: 32px;
    height: 32px;
    color: #1565c0;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.contact-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 0.75rem;
}

.contact-title {
    font-size: 1.15rem;
    margin-bottom: 0;
    font-weight: 600;
    color: #ffffff;
    word-break: keep-all;
    flex: 1;
}

.contact-phone-icon {
    width: 20px;
    height: 20px;
    color: #1565c0;
    flex-shrink: 0;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.contact-info {
    color: #9ca3af;
    font-size: 1rem;
}

.contact-flags {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.contact-flags img {
    height: 24px;
    width: auto;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    background: #0f0f0f;
    padding: 3.5rem 3rem;
    border-top: 1px solid #2d2d2d;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-brand img {
    height: 200px;
    width: auto;
}

.footer-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
}

.footer-description {
    color: #6b7280;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.footer-copyright {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .language-selector {
        display: none;
    }
}

/* Email Modal */
.email-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.email-modal.active,
.map-modal.active {
    display: flex;
}

.map-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.map-modal-content {
    max-width: 500px;
}

#map {
    background: #1a1a1a;
}

/* Dark theme for Leaflet popup */
.leaflet-popup-content-wrapper {
    background: #242424;
    color: #e0e0e0;
    border: 1px solid #1565c0;
}

.leaflet-popup-tip {
    background: #242424;
    border: 1px solid #1565c0;
}

.leaflet-container a.leaflet-popup-close-button {
    color: #9ca3af;
}

.leaflet-container a.leaflet-popup-close-button:hover {
    color: #1565c0;
}

.modal-content {
    background: #242424;
    border: 1px solid #1565c0;
    border-radius: 4px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: #9ca3af;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #1565c0;
}

.modal-header {
    margin-bottom: 1.5rem;
}

.modal-header h2 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: #9ca3af;
    font-size: 0.9rem;
}

.form-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    color: #e0e0e0;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.7rem;
    background: #1a1a1a;
    border: 1px solid #404040;
    border-radius: 4px;
    color: #ffffff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1565c0;
}

.form-group textarea {
    resize: vertical;
    min-height: 90px;
}

.form-submit {
    width: 100%;
    padding: 0.9rem;
    background: #1565c0;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.form-submit:hover {
    background: #1976d2;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .modal-content {
        padding: 1.5rem;
        width: 95%;
    }
    
    .modal-header h2 {
        font-size: 1.25rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-row .form-group {
        margin-bottom: 1.5rem;
    }
}

/* Image Gallery Modal */
.image-gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    padding: 2rem;
}

.image-gallery-modal.active {
    display: flex;
}

.image-gallery-content {
    max-width: 1200px;
    width: 100%;
    padding: 2rem;
    background: #242424;
    border: 1px solid #1565c0;
    border-radius: 4px;
    max-height: 90vh;
    overflow-y: auto;
}

.image-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.image-gallery-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    background: #1a1a1a;
    border: 1px solid #333333;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-gallery-item:hover {
    transform: translateY(-5px);
    border-color: #1565c0;
}

.image-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #1a1a1a;
}

.image-zoom-icon {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 32px;
    height: 32px;
    background: rgba(21, 101, 192, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.image-zoom-icon:hover {
    background: rgba(21, 101, 192, 1);
    transform: scale(1.1);
}

.image-zoom-icon svg {
    width: 18px;
    height: 18px;
}

/* Fullscreen Image Modal */
.fullscreen-image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    justify-content: center;
    align-items: center;
}

.fullscreen-image-modal.active {
    display: flex;
}

.fullscreen-image-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 4px;
}

.fullscreen-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(21, 101, 192, 0.8);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.fullscreen-close:hover {
    background: rgba(21, 101, 192, 1);
    transform: scale(1.1);
}

.image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(21, 101, 192, 0.8);
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    user-select: none;
}

.image-nav:hover {
    background: rgba(21, 101, 192, 1);
    transform: translateY(-50%) scale(1.1);
}

.image-prev {
    left: 2rem;
}

.image-next {
    right: 2rem;
}

@media (max-width: 768px) {
    .image-gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .image-nav {
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }
    
    .image-prev {
        left: 0.5rem;
    }
    
    .image-next {
        right: 0.5rem;
    }
    
    .fullscreen-close {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        top: 0.5rem;
        right: 0.5rem;
    }
}
