:root {
    --primary-blue: #1a5276; /* Blau del logo */
    --accent-green: #2ecc71; /* Verd del logo */
    --text-dark: #2c3e50;
    --light-bg: #f8fafc;
    --white: #ffffff;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Navegació Elegant */
header {
    padding: 1.5rem 10%;
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-sizing: border-box;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px; /* Ajustat per al logo FoodLogistic */
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li { margin-left: 30px; }

nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}

nav ul li a:hover { color: var(--accent-green); }

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    padding: 150px 10% 80px;
    gap: 50px;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
}

.hero-text h1 {
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Botons */
.btn-main {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--primary-blue);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(26, 82, 118, 0.3);
}

/* Seccions Comuns */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 10%;
}

.card {
    padding: 40px;
    background: var(--light-bg);
    border-radius: 15px;
    transition: 0.3s;
}

.card:hover { background: var(--white); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

/* Contacte */
.contact {
    background: var(--light-bg);
    padding: 80px 10%;
}

.contact-card {
    background: var(--white);
    max-width: 600px;
    margin: 0 auto;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    outline: none;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--accent-green);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

footer {
    text-align: center;
    padding: 40px;
    font-size: 0.8rem;
    color: #888;
}

/* Responsive */
@media (max-width: 768px) {
    .hero { flex-direction: column; text-align: center; }
    .hero-text h1 { font-size: 2.2rem; }
}
