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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #0b0b0d;
    color: #f5f5f5;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

header {
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 100;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span.icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #d4af37;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.nav-links {
    display: flex;
    gap: 1.25rem;
    font-size: 0.95rem;
}

.nav-links a {
    position: relative;
    padding-bottom: 0.15rem;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #d4af37;
    transition: width 0.2s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.lang-toggle {
    display: flex;
    gap: 0.5rem;
    font-size: 0.85rem;
    align-items: center;
}

.lang-toggle button {
    background: none;
    border: 1px solid #666;
    color: #f5f5f5;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.8rem;
}

.lang-toggle button.active {
    border-color: #d4af37;
    color: #d4af37;
}

main {
    padding-bottom: 3rem;
}

.hero {
    padding: 3rem 0 2rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.hero-title span.highlight {
    color: #d4af37;
}

.hero-subtitle {
    font-size: 1.05rem;
    max-width: 550px;
    color: #dddddd;
    margin-bottom: 1.5rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.badge {
    border-radius: 999px;
    border: 1px solid #555;
    padding: 0.2rem 0.8rem;
    font-size: 0.8rem;
}

.badge.gold {
    border-color: #d4af37;
    color: #d4af37;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.btn {
    border-radius: 999px;
    padding: 0.6rem 1.4rem;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-primary {
    background: #d4af37;
    color: #0b0b0d;
    border-color: #d4af37;
}

.btn-secondary {
    background: transparent;
    color: #f5f5f5;
    border-color: #666;
}

.hero-contact-line {
    font-size: 0.95rem;
    color: #cccccc;
}

.hero-contact-line strong {
    color: #ffffff;
}

.hero-card {
    border-radius: 1rem;
    background: radial-gradient(circle at top, #333 0, #111 50%, #050505 100%);
    border: 1px solid #333;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.hero-card p {
    font-size: 0.9rem;
    color: #d0d0d0;
}

.hero-card-list {
    font-size: 0.9rem;
}

.hero-card-list li {
    margin-left: 1rem;
    margin-bottom: 0.25rem;
}

.section {
    padding: 2.5rem 0 0;
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 600;
}

.section-kicker {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #d4af37;
    margin-bottom: 0.35rem;
}

.section-subtitle {
    font-size: 0.9rem;
    color: #cccccc;
    max-width: 480px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.card {
    background: #111317;
    border-radius: 0.9rem;
    border: 1px solid #262626;
    padding: 1.25rem;
    font-size: 0.9rem;
}

.card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.card p {
    color: #d0d0d0;
    margin-bottom: 0.5rem;
}

.card ul {
    padding-left: 1rem;
    margin-top: 0.5rem;
}

.card ul li {
    margin-bottom: 0.25rem;
}

.tag {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #aaaaaa;
    margin-bottom: 0.4rem;
}

.img-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 0.6rem;
    border: 1px dashed #444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #aaaaaa;
    margin-bottom: 0.6rem;
}

.rates-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.rates-card {
    background: #111317;
    border-radius: 0.9rem;
    border: 1px solid #262626;
    padding: 1.25rem;
    font-size: 0.85rem;
}

.rates-card h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

th, td {
    padding: 0.25rem 0.4rem;
    text-align: left;
    border-bottom: 1px solid #222;
}

th {
    font-weight: 600;
    color: #f5f5f5;
    border-bottom: 1px solid #444;
}

tbody tr:hover {
    background: #181818;
}

.rates-note {
    font-size: 0.8rem;
    color: #bbbbbb;
    margin-top: 0.5rem;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.fleet-card {
    background: #111317;
    border-radius: 0.9rem;
    border: 1px solid #262626;
    padding: 1.25rem;
    font-size: 0.85rem;
}

.fleet-card h3 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.fleet-meta {
    font-size: 0.8rem;
    color: #bbbbbb;
    margin-bottom: 0.4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.5rem;
}

.contact-card, .contact-form-card {
    background: #111317;
    border-radius: 0.9rem;
    border: 1px solid #262626;
    padding: 1.25rem;
    font-size: 0.9rem;
}

.contact-line {
    margin-bottom: 0.4rem;
}

.contact-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #aaaaaa;
    margin-bottom: 0.2rem;
}

.contact-main {
    font-size: 1rem;
    font-weight: 500;
}

.contact-sub {
    font-size: 0.85rem;
    color: #cccccc;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.contact-form label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #aaaaaa;
}

.contact-form input,
.contact-form textarea {
    margin-top: 0.2rem;
    background: #050608;
    border-radius: 0.4rem;
    border: 1px solid #333;
    padding: 0.45rem 0.6rem;
    color: #f5f5f5;
    font-size: 0.85rem;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #d4af37;
}

footer {
    margin-top: 3rem;
    border-top: 1px solid #222;
    padding: 1.25rem 0 1.75rem;
    font-size: 0.8rem;
    color: #aaaaaa;
}

footer .footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
}

.music-control {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    cursor: pointer;
}

.music-control button {
    border-radius: 999px;
    border: 1px solid #555;
    background: transparent;
    color: #f5f5f5;
    padding: 0.25rem 0.8rem;
    font-size: 0.8rem;
    cursor: pointer;
}

.music-control button.playing {
    border-color: #d4af37;
    color: #d4af37;
}

/* Language handling */
[data-lang="it"] .lang-it {
    display: block;
}
[data-lang="it"] .lang-en {
    display: none;
}
[data-lang="en"] .lang-it {
    display: none;
}
[data-lang="en"] .lang-en {
    display: block;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .cards-grid,
    .rates-grid,
    .fleet-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .nav-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .cards-grid,
    .rates-grid,
    .fleet-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2rem;
    }
}
