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

body {
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #f1f1f1;
    background: radial-gradient(circle at top, #121212, #0a0a0a);
    scroll-behavior: smooth;
}

.layout {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100dvh;
}

header {
    background: linear-gradient(to bottom right, rgba(0,0,0,0.85), rgba(20,20,20,0.7)), 
                url(../img/hero-image.webp) center/cover no-repeat;
    color: #fff;
    position: relative;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 50px;
    backdrop-filter: blur(20px);
    background: rgba(0,0,0,0.35);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    border-radius: 0 0 16px 16px;
    position: relative;
}

.nav {
    display: flex;
    gap: 30px;
    list-style: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav a {
    font-size: 20px;
    text-decoration: none;
    color: #bbb;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: #FFD500;
}

.logo-iberlogistics-express {
    height: 100px;
    width: auto;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #FFD500;
    font-size: 20px;
    font-weight: 600;
    transition: opacity 0.3s;
}

.lang-switch:hover {
    opacity: 0.8;
}

.hero-content {
    text-align: center;
    padding: 140px 20px 160px;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1.2s ease;
    backdrop-filter: blur(12px);
    background: rgba(0,0,0,0.25);
    border-radius: 20px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: #fff;
}

.hero-content p {
    color: #ccc;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 35px;
}

.btn {
    background: linear-gradient(135deg, #FFD500, #ffb800);
    color: #111;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(255,213,0,0.25);
}

.btn:hover {
    background: linear-gradient(135deg, #ffb800, #FFD500);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 22px rgba(255,213,0,0.4);
}

section {
    padding: 80px 20px;
}

h2 {
    font-size: 38px;
    margin-bottom: 40px;
    font-weight: 700;
    text-align: center;
    color: #fff;
    position: relative;
}

h2::after {
    content: "";
    width: 60px;
    height: 4px;
    background: #FFD500;
    display: block;
    margin: 12px auto 0;
    border-radius: 2px;
}

.services {
    background: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: rgba(255,255,255,0.05);
    padding: 30px 25px;
    border-radius: 18px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    transition: transform 0.4s, box-shadow 0.4s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.6), 0 0 16px rgba(255,213,0,0.35);
}

.service-card img {
    width: 150px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    padding: 10px;
}

.service-card h3 {
    font-size: 24px;
    color: #fff;
}

.service-card p {
    font-size: 18px;
    color: #aaa;
}

.service-card ul li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 28px;
    color: #ddd;
    font-size: 15px;
    list-style: none;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.service-card ul li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: #FFD500;
    font-size: 14px;
    top: 0;
}

.service-card ul li:hover {
    color: #FFD500;
}

.why-us {
    background: transparent;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.why-card {
    background: rgba(255,255,255,0.04);
    padding: 28px 22px;
    border-radius: 16px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 6px 16px rgba(0,0,0,0.5);
    transition: all 0.3s;
    text-align: center;
}

.why-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 25px rgba(0,0,0,0.7), 0 0 12px rgba(255,213,0,0.3);
}

.why-card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 18px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    padding: 8px;
}

.why-card h3 {
    font-size: 24px;
    color: #fff;
}

.why-card p {
    font-size: 18px;
    color: #aaa;
}

footer {
    background: #000;
    color: #ccc;
    padding: 80px 20px 20px;
    font-size: 15px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer h4 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #FFD500;
}

.footer a {
    color: #FFD500;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #ffb800;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 30px;
    color: #888;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1080px) {
    header nav {
        padding: 5px 5px;
    }

    nav {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        text-align: center;
    }
    
    .nav {
        position: static;
        transform: none;
        gap: 20px;
    }

    .nav a {
        font-size: 18px;
    }

    .lang-switch {
        margin: 15px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-content p {
        font-size: 17px;
    }

    .service-card ul li {
        font-size: 14px;
        margin-bottom: 10px;
    }

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

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}