/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, 'Arial', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    min-height: -webkit-fill-available; /* iOS height fix */
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    padding-top: 60px; /* Reduced for mobile */
}

/* Fix for iOS height */
html {
    height: -webkit-fill-available;
}

/* Container styles */
.hero-container, .products, .footer-content {
    max-width: 1030px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header styles */
header {
    background-color: #ffffff;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 60px; /* Fixed height for mobile */
    border-bottom: 1px solid #eee;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.navbar {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    background-color: white;
    position: relative;
}

.logo {
    height: 100%;
    display: flex;
    align-items: center;
}

.logo-image {
    height: 40px;
    width: auto;
    display: block;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #0066cc;
}

.linkedin-icon {
    font-size: 1.2rem;
}

/* Language selector styles */
.language-selector {
    display: flex;
    align-items: center;
}

/* Hero section */
.hero {
    width: 100%;
    background-color: #fafafa;
    overflow: hidden;
    padding: 0;
    display: flex;
    justify-content: center;
}

.hero-container {
    position: relative;
    background-color: #fafafa;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 8px;
    width: 80%;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Products section */
.products {
    padding: 100px 0;
    text-align: center;
}

.products h2 {
    font-size: 2.5rem;
    color: #133364;
    margin-bottom: 50px;
}

.product-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 120px;
}

.product-item {
    flex: 1;
    text-align: center;
}

.product-image {
    width: 290px;
    height: 140px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-item h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
}

.product-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 90%;
}

.products-footer {
    padding: 0 20px;
}

.excellence-title {
    font-weight: bold;
    color: #133364;
    margin-bottom: 10px;
}

.products-description {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Main content */
main {
    flex: 1;
    padding-bottom: 40px;
}

/* Footer styles */
footer {
    background-color: #333;
    color: #fff;
    padding: 2rem 0;
    margin-top: auto;
}

.footer-content {
    text-align: center;
    max-width: 1030px;
    margin: 0 auto;
    padding: 0 20px;
}

.company-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.company-name {
    font-size: 1.5rem;
    font-weight: bold;
}

.footer-linkedin {
    display: inline-flex;
    align-items: center;
    font-size: 1.5rem;
    color: #fff;
    transition: color 0.3s ease;
}

.footer-linkedin:hover {
    color: #0077B5;
}

.footer-nav {
    margin-bottom: 2rem;
}

.footer-nav .nav-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    list-style: none;
    padding: 0;
}

.footer-nav .nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-nav .nav-links a:hover {
    color: #0077B5;
}

.address {
    margin-bottom: 0.5rem;
}

.contact {
    margin-bottom: 1rem;
}

.copyright {
    font-size: 0.9rem;
    color: #ccc;
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-nav .nav-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .footer-nav {
        margin-bottom: 2.5rem;
    }

    .nav-right {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        height: -webkit-fill-available;
        width: 80%;
        max-width: 300px;
        background-color: white;
        flex-direction: column;
        padding: 80px 20px 20px;
        transition: transform 0.3s ease;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        transform: translateX(100%);
        -webkit-transform: translateX(100%);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-right.active {
        transform: translateX(0);
        -webkit-transform: translateX(0);
        right: 0;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        margin-top: 1rem;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 12px 0;
        font-size: 16px;
    }

    .language-selector {
        margin-top: 2rem;
    }

    /* Hamburger animation */
    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        -webkit-transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
        -webkit-transform: rotate(-45deg) translate(7px, -6px);
    }

    .products {
        padding: 50px 1rem;
    }

    .product-description {
        max-width: 100%;
    }

    .products-description {
        font-size: 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    /* Footer responsive styles */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 1rem;
    }

    .footer-left {
        align-items: center;
    }

    .footer-right {
        text-align: center;
    }

    .footer-nav .nav-links {
        align-items: center;
    }

    .address, .contact {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
}

/* Responsive design */
@media (max-width: 1080px) {
    .navbar, .hero-container, .products, .footer-content {
        max-width: 95%;
        padding: 0 1rem;
    }

    .hero-image {
        width: 100%;
        height: auto;
        aspect-ratio: 1030/470;
    }

    .product-grid {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .product-item {
        width: 100%;
        max-width: 500px;
    }

    .product-image {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    header {
        height: 70px;
    }

    .navbar {
        padding: 0.5rem 1rem;
    }

    .logo-image {
        height: 40px;
    }

    .hamburger-menu {
        display: flex;
    }

    .nav-right {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        height: -webkit-fill-available;
        width: 80%;
        max-width: 300px;
        background-color: white;
        flex-direction: column;
        padding: 80px 20px 20px;
        transition: transform 0.3s ease;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        transform: translateX(100%);
        -webkit-transform: translateX(100%);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-right.active {
        transform: translateX(0);
        -webkit-transform: translateX(0);
        right: 0;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        margin-top: 1rem;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 12px 0;
        font-size: 16px;
    }

    .language-selector {
        margin-top: 2rem;
    }

    /* Hamburger animation */
    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        -webkit-transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
        -webkit-transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero {
        margin-top: 70px;
    }
}

/* Tablet-specific adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content {
        width: 70%;
    }
}

.hamburger-menu {
    width: 44px; /* Larger touch target */
    height: 44px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    z-index: 1001;
    margin-left: auto;
    position: relative;
}

.hamburger-menu span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #333;
    transition: all 0.3s;
} 