/*
Theme Name: MaxBedini Engineering
Theme URI: http://maxbedini.com
Author: Antigravity AI
Description: Un tema modern, responsive i lleuger per a MaxBedini Engineering.
Version: 1.0
Text Domain: maxbedini
*/

/* Custom CSS variables */
:root {
    --primary-color: #0036A5; /* The classic blue */
    --text-color: #333333;
    --bg-color: #f8f9fa;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 600;
}

/* Header */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.site-logo {
    max-height: 50px;
    width: auto;
}

.site-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.main-navigation a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    color: #ffffff;
    text-align: center;
    padding: 100px 20px;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto 30px;
}

.btn-primary {
    display: inline-block;
    background-color: #ffffff;
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, background-color 0.3s;
}

.btn-primary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* Footer */
.site-footer {
    background-color: #222222;
    color: #ffffff;
    padding: 40px 20px;
    text-align: center;
    margin-top: 50px;
}

.site-footer a {
    color: #4da6ff;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.footer-info p {
    margin: 5px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
    }
    .main-navigation ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
}


.project-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important; } 
.btn-primary:hover { background: #002266 !important; } 
.btn-secondary:hover { background: #0036A5 !important; color: #fff !important; } 
.btn-read-more:hover { text-decoration: underline !important; }


body { display: flex; flex-direction: column; min-height: 100vh; } 
.site-main { flex-grow: 1; }
