/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: linear-gradient(to right, #1e1e2f, #2c2c3d);
    color: #ffffff;
    line-height: 1.6;
}

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

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

header h1 {
    color: #ffcc33;
    font-size: 1.8rem;
}

nav a {
    text-decoration: none;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s, color 0.3s;
    margin-left: 10px;
}

nav a:hover {
    background-color: #ffcc33;
    color: #1e1e2f;
}

.hero {
    text-align: center;
    padding: 80px 20px;
    background: url('hero-bg.jpg') no-repeat center center/cover;
    border-radius: 10px;
    margin-bottom: 40px;
}

.hero h2 {
    font-size: 2.5rem;
    color: #ffcc33;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero .btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: #ffcc33;
    color: #1e1e2f;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.3s;
}

.hero .btn:hover {
    opacity: 0.8;
}

.station-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.station-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
}

.station-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 204, 51, 0.2);
}

/* Footer */
footer {
    margin-top: 60px;
    padding: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #cccccc;
}

.station-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.station-card::after {
    content: "🚧 In sviluppo";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: #ffffff;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    transition: transform 0.3s ease-in-out;
    pointer-events: none;
}

.station-card:hover::after {
    transform: translate(-50%, -50%) scale(1);
}
