/* Reset and Base Styles */
:root {
    --primary-color: #003366;
    /*#003366;
    /* Deep Blue - Professional */
    --secondary-color: #d4af37;
    /* Gold/Metallic accent */
    --text-color: #333;
    --light-bg: #f4f4f4;
    --white: #ffffff;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    font-weight: 600;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #b8962e;
}

.download-btn {
    margin-top: 20px;
    font-size: 0.85rem;
    padding: 10px 20px;
}

.datasheet-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-heading);
    color: var(--primary-color);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-line1 {
    font-size: 1.3rem;
    font-weight: 700;
}

.logo-line2 {
    font-size: 1.1rem;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-color);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)), url('../assets/images/foto-design-iii.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
    /* Navbar height */
}

.hero-content {
    padding: 40px 20px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    hyphens: auto;
    overflow-wrap: break-word;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 300;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-family: var(--font-heading);
    margin: 20px 0 15px;
    color: var(--primary-color);
}

.about-text ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 10px;
}

.about-text li {
    margin-bottom: 10px;
}

.about-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.about-image-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 80%;
    width: 80%;
}

.about-image-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
    cursor: pointer;
    display: block;
}

.about-image-item img:hover {
    transform: scale(1.1);
}

/* Products Section */
.product-category {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
    align-items: center;
}

.product-category.reverse {
    direction: rtl;
}

.product-category.reverse .product-info {
    direction: ltr;
}

.product-info h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.specs {
    margin-top: 20px;
    background: var(--white);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.specs li {
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.specs li:last-child {
    border-bottom: none;
}

.product-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.product-image-item {
    overflow: hidden;
    border-radius: 5px;
}

.product-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    cursor: pointer;
    display: block;
}

.product-image-item img:hover {
    transform: scale(1.1);
}

/* Service Section */
.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.service-text h3 {
    font-family: var(--font-heading);
    margin: 30px 0 15px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.service-list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.service-list li {
    padding-left: 30px;
    margin-bottom: 15px;
    position: relative;
}

.service-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.service-highlight {
    margin-top: 30px;
    padding: 20px;
    background-color: var(--white);
    border-left: 4px solid var(--secondary-color);
    border-radius: 5px;
}

.service-image {
    overflow: hidden;
    border-radius: 10px;
}

.service-image img {
    width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
    cursor: pointer;
    display: block;
}

.service-image img:hover {
    transform: scale(1.1);
}

/* Applications Section */
.applications-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.app-grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.app-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.app-card:hover {
    transform: translateY(-5px);
}

.app-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.5s ease;
    cursor: pointer;
}

.app-card img:hover {
    transform: scale(1.1);
}

.app-card h4 {
    padding: 15px;
    font-size: 1rem;
    color: var(--primary-color);
}

.app-card.text-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
}

.app-card.text-card h4 {
    padding: 10px;
    font-weight: 500;
}

/* Referenzen Section */
.references-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: var(--text-color);
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.reference-link {
    display: block;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 4px solid var(--secondary-color);
}

.reference-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    color: var(--secondary-color);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 5px;
    height: 200px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    cursor: pointer;
}

.gallery-item img:hover {
    transform: scale(1.1);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-info h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Language Switcher */
.lang-switch {
    margin-left: 20px;
}

#language-select {
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: var(--white);
    font-family: var(--font-body);
    color: var(--text-color);
    cursor: pointer;
}

#language-select:focus {
    outline: none;
    border-color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-content,
    .service-content,
    .product-category {
        grid-template-columns: 1fr;
    }

    .product-category.reverse {
        direction: ltr;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .lang-switch {
        margin-left: 0;
        margin-top: 15px;
    }

    .hamburger {
        display: block;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: var(--primary-color);
        transition: all 0.3s ease-in-out;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Lightbox Gallery Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 75vh;
    object-fit: contain;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    z-index: 2001;
}

.lightbox-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox-prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Lightbox Caption */
.lightbox-caption {
    margin: 15px auto 0;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #fff;
    padding: 15px;
    font-size: 1.2rem;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.benefit-item {
    padding: 30px 20px;
    background: var(--light-bg);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    background: var(--white);
    border-top: 3px solid var(--secondary-color);
}



.benefit-icon {
    margin-bottom: 20px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 64px;
    height: 64px;
}

.benefit-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.4;
}