﻿/* --- RESET E VARIABILI --- */
:root {
    --primary: #d9381e; /* Rosso rock/stile Dire Straits */
    --dark-bg: #121212;
    --card-bg: #1e1e1e;
    --text-light: #f4f4f4;
    --text-muted: #aaaaaa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

    a:hover {
        color: var(--primary);
    }

/* --- NAVBAR --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(5px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
}

    .logo span {
        color: var(--primary);
    }

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

    .nav-links a {
        font-weight: 700;
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

/* --- HERO SECTION (HOME) --- */
#home {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(18, 18, 18, 1)), url('images/Logo.jpg?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--primary);
    color: #fff;
    border-radius: 4px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: background 0.3s ease, transform 0.2s ease;
}

    .btn:hover {
        background-color: #b52b14;
        color: #fff;
        transform: translateY(-2px);
    }

/* --- SEZIONI GENERICHE --- */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    position: relative;
}

    .section-title::after {
        content: '';
        display: block;
        width: 60px;
        height: 4px;
        background-color: var(--primary);
        margin: 0.5rem auto 0;
        border-radius: 2px;
    }

/* --- CHI SIAMO --- */
.about-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* --- GALLERY --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 250px;
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    .gallery-item:hover img {
        transform: scale(1.08);
    }

/* --- EVENTI --- */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.event-card {
    background-color: var(--card-bg);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid var(--primary);
}

.event-date {
    font-weight: bold;
    color: var(--primary);
    font-size: 1.1rem;
}

.event-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.event-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- CONTATTI --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        padding: 0.8rem;
        background-color: var(--card-bg);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 4px;
        color: var(--text-light);
        font-family: inherit;
    }

        .contact-form input:focus,
        .contact-form textarea:focus {
            outline: none;
            border-color: var(--primary);
        }

/* --- FOOTER --- */
footer {
    background-color: #0a0a0a;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .nav-links {
        display: none;
    }
    /* In un sito reale si userebbe un menu hamburger JS */
    .contact-container {
        grid-template-columns: 1fr;
    }

    .event-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}



.site-footer {
    background-color: #111; /* Sfondo scuro in stile rock */
    color: #fff;
    padding: 30px 20px;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.social-links {
    display: flex;
    gap: 20px;
}

    .social-links a {
        color: #fff;
        font-size: 24px;
        transition: color 0.3s ease, transform 0.3s ease;
    }

        /* Effetto al passaggio del mouse */
        .social-links a:hover {
            color: #ff4500; /* Un rosso/arancio grintoso per i Revenge Straits */
            transform: translateY(-3px);
        }