/* ============================================================
   Valdelsa Cinema - Stile del sito (sovrascritture Bootstrap)
   ============================================================ */

:root {
    --vc-bg: #f4f5f7;
    --vc-text: #2f3640;
    --vc-dark: #1e272e;
    --vc-accent: #e15f41;
    --vc-accent-hover: #c04b33;
    --vc-border: #dcdde1;
}

body {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    background-color: var(--vc-bg);
    color: var(--vc-text);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

/* === TOP BAR === */
.top-bar {
    background-color: var(--vc-accent);
    color: #fff;
    font-size: 0.85rem;
}

.top-bar .search-box {
    max-width: 260px;
}

.top-logos img {
    height: 24px;
    width: auto;
    object-fit: contain;
    transition: opacity .3s ease, transform .3s ease;
}

.top-logos a:hover img {
    opacity: .8;
    transform: translateY(-1px);
}

/* === HEADER === */
.site-header {
    background-color: var(--vc-dark);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
}

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

.site-header .nav-link {
    font-size: 1.1rem;
    color: #fff;
    transition: color .3s ease;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
    color: var(--vc-accent);
}

/* === HERO CAROUSEL === */
.hero-slide {
    height: 600px;
    background-size: cover;
    background-position: center;
    background-color: #000;
}

.hero-overlay {
    height: 100%;
    background: linear-gradient(rgba(30, 39, 46, .4), rgba(30, 39, 46, .7));
}

.hero-overlay h2 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, .5);
}

.hero-overlay p {
    font-size: 1.3rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, .5);
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.carousel-indicators .active {
    background-color: var(--vc-accent);
}

/* === BANNER PROMO LATERALI === */
.promo-banner {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
    transition: transform .3s ease;
}

.promo-banner:hover {
    transform: translateY(-5px);
}

.promo-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* === TITOLI SEZIONE === */
.section-main-title {
    font-size: 2.2rem;
    color: var(--vc-dark);
}

.section-subtitle {
    font-size: 1.8rem;
    color: var(--vc-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--vc-accent);
}

/* === FILTRI === */
.filter-btn {
    background-color: #fff;
    color: var(--vc-text);
    border: 1px solid var(--vc-border);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all .3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--vc-accent);
    color: #fff;
    border-color: var(--vc-accent);
    box-shadow: 0 4px 10px rgba(225, 95, 65, .3);
}

.date-filter {
    background-color: #fff;
    border: 1px solid var(--vc-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}

.date-filter label {
    font-weight: 600;
    color: var(--vc-dark);
}

/* === SEZIONI CINEMA / SPETTACOLI === */
.program-section {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .06);
    border: 2px solid var(--vc-border);
}

/* === CARD FILM === */
.movie-card {
    background-color: var(--vc-bg);
    border: 1px solid rgba(0, 0, 0, .05);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .03);
    transition: transform .3s ease, box-shadow .3s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

.movie-poster {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #e5e5e5;
}

.movie-card .card-body {
    border-top: 3px solid var(--vc-accent);
}

.movie-card .card-title {
    font-size: 0.95rem;
    color: var(--vc-dark);
    line-height: 1.2;
}

.movie-location {
    font-size: 0.75rem;
    color: var(--vc-accent);
    font-weight: 600;
}

.movie-card .btn {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* Bottone arancione (accent) */
.btn-accent {
    background-color: var(--vc-accent);
    border-color: var(--vc-accent);
    color: #fff;
}

.btn-accent:hover {
    background-color: var(--vc-accent-hover);
    border-color: var(--vc-accent-hover);
    color: #fff;
}

/* === FASCIA LOGHI PARTNER === */
.partners-band {
    background-color: #dfe4ea;
    border-top: 1px solid var(--vc-border);
    border-bottom: 1px solid var(--vc-border);
}

.partner-logo {
    height: 50px;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(100%) opacity(.8);
    transition: all .3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* === FOOTER === */
.site-footer {
    background-color: var(--vc-dark);
    color: rgba(255, 255, 255, .7);
    font-size: 0.9rem;
    border-top: 5px solid var(--vc-accent);
}

.site-footer a {
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
}

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

.footer-logo {
    max-width: 200px;
    filter: grayscale(1) brightness(2);
}

.footer-title {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--vc-accent);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-map {
    background-color: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
}

.map-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.map-point {
    width: 12px;
    height: 12px;
    background-color: var(--vc-accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .5);
    font-size: 0.8rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero-overlay h2 {
        font-size: 2.2rem;
    }

    .hero-slide {
        height: 450px;
    }
}

/* === HERO PAGINE INTERNE === */
.page-hero {
    min-height: 300px;
    background-size: cover;
    background-position: center;
}

.page-hero .hero-overlay {
    min-height: 300px;
}

.page-hero .hero-overlay p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.page-hero .hero-overlay h1 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, .5);
}

@media (max-width: 768px) {
    .page-hero .hero-overlay h1 {
        font-size: 2.5rem;
    }
}

/* === BIGLIETTERIA: CARD TARIFFE === */
.ticket-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
    border: 1px solid rgba(0, 0, 0, .03);
    transition: transform .3s ease, box-shadow .3s ease;
}

.ticket-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .1);
}

.ticket-card h3 {
    color: var(--vc-accent);
    font-size: 1.6rem;
    border-bottom: 1px solid #f0f0f0;
}

.ticket-card h4 {
    color: var(--vc-dark);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.ticket-card .note {
    font-size: .85rem;
    color: #636e72;
}

.ticket-card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.ticket-card ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: .95rem;
    line-height: 1.5;
}

.ticket-card ul li::before {
    content: "\2013";
    position: absolute;
    left: 0;
    color: var(--vc-accent);
    font-weight: bold;
}

/* === STRISCIA ABBONAMENTI === */
.abbonamenti-strip {
    background-color: var(--vc-dark);
    color: #fff;
    border-top: 4px solid var(--vc-accent);
}

.abbonamenti-strip h2 {
    font-size: 2.2rem;
    color: var(--vc-accent);
    text-transform: uppercase;
}

.abbonamenti-content {
    max-width: 900px;
    background-color: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
}

.abbonamenti-content p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.abbonamenti-content .price-highlight {
    font-weight: 600;
    font-size: 1.2rem;
}

.abbonamenti-content .validity-note {
    display: block;
    font-size: 1rem;
    color: rgba(255, 255, 255, .7);
    border-top: 1px solid rgba(255, 255, 255, .2);
    font-style: italic;
}

/* === LE SALE: RIGHE AD ALTERNANZA === */
.cinema-row {
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .05);
    border: 1px solid rgba(0, 0, 0, .03);
}

.cinema-image {
    height: 400px;
    overflow: hidden;
}

.cinema-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.cinema-row:hover .cinema-image img {
    transform: scale(1.05);
}

.cinema-info h2 {
    font-size: 2.2rem;
    color: var(--vc-dark);
}

.cinema-location {
    color: var(--vc-accent);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    border-bottom: 2px solid var(--vc-border);
    padding-bottom: 8px;
}

.cinema-info p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.btn-programmazione {
    display: inline-block;
    color: var(--vc-accent);
    border: 1px solid var(--vc-accent);
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s ease;
}

.btn-programmazione:hover {
    background-color: var(--vc-accent);
    color: #fff;
}

@media (max-width: 992px) {
    .cinema-image {
        height: 250px;
    }

    .cinema-info h2 {
        font-size: 1.8rem;
    }
}

/* === CONTATTI === */
.contact-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
    border: 1px solid rgba(0, 0, 0, .03);
}

.contact-card h2 {
    font-size: 1.8rem;
    color: var(--vc-dark);
    position: relative;
    padding-bottom: 10px;
}

.contact-card h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--vc-accent);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
}

.contact-item strong {
    color: var(--vc-dark);
}

.contact-card .form-control:focus {
    border-color: var(--vc-accent);
    box-shadow: 0 0 0 .2rem rgba(225, 95, 65, .15);
}

.contact-card .form-check-input:checked {
    background-color: var(--vc-accent);
    border-color: var(--vc-accent);
}

.contact-card .btn-submit {
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: 600;
    padding: 14px 30px;
    transition: background-color .3s ease, transform .2s ease;
}

.contact-card .btn-submit:hover {
    transform: translateY(-2px);
}

/* === STAGIONE TEATRALE === */
.btn-download {
    background-color: #f39c12;
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(243, 156, 18, .3);
    transition: all .3s ease;
}

.btn-download:hover {
    background-color: #d68910;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, .4);
}

.category-header {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .05);
    border: 1px solid rgba(0, 0, 0, .03);
}

.category-image {
    height: 220px;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.category-info h2 {
    font-size: 2.2rem;
    color: var(--vc-dark);
}

.logo-tag {
    background-color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid var(--vc-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
}

.logo-tag img {
    max-height: 35px;
    width: auto;
    object-fit: contain;
}

/* Card spettacolo (variante grande della movie-card) */
.show-card .movie-poster {
    height: 360px;
}

.show-card .card-title {
    font-size: 1.15rem;
}

.show-card .movie-location {
    font-size: 0.95rem;
}

.show-card .btn {
    font-size: 0.85rem;
}

/* === SCHEDA FILM === */
.back-link {
    display: inline-block;
    color: var(--vc-accent);
    font-weight: 600;
    text-decoration: none;
}

.back-link:hover {
    color: var(--vc-accent);
    text-decoration: underline;
}

.movie-header {
    border-bottom: 2px solid var(--vc-border);
}

.movie-header h1 {
    font-size: 2.8rem;
    color: var(--vc-dark);
    line-height: 1.2;
}

.movie-meta {
    font-size: 1.1rem;
    color: #636e72;
}

.movie-trailer {
    background-color: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
    height: 400px;
}

.movie-trailer iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.movie-plot {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
    border: 1px solid rgba(0, 0, 0, .03);
}

.movie-plot h3 {
    font-size: 1.5rem;
    color: var(--vc-dark);
    border-bottom: 2px solid var(--vc-accent);
    padding-bottom: 8px;
    display: inline-block;
}

.movie-plot p {
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Card orari */
.schedule-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
    border: 1px solid rgba(0, 0, 0, .03);
}

.schedule-card .cinema-name {
    color: var(--vc-accent);
    font-size: 1.8rem;
    font-weight: 600;
    border-bottom: 1px solid #f0f0f0;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-table tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background-color .2s ease;
}

.schedule-table tr:hover {
    background-color: #fafafa;
}

.schedule-table tr:last-child {
    border-bottom: none;
}

.schedule-table td {
    padding: 15px 10px;
    color: #4a4a4a;
    font-size: 1.05rem;
    vertical-align: middle;
}

.schedule-table td:first-child {
    width: 45%;
    font-weight: 600;
}

.text-red {
    color: #d32f2f;
    font-weight: 400;
}

.text-orange {
    color: #f57c00;
    font-weight: 600;
}

.diff-font-vo {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-style: italic;
    font-size: 0.95rem;
    margin-left: 5px;
}

.schedule-notes {
    font-size: 0.95rem;
    color: #636e72;
    background-color: #f9f9fa;
    border-radius: 8px;
    border-left: 3px solid var(--vc-accent);
}

.location-note {
    font-size: 1.05rem;
    color: #636e72;
}

.btn-buy-tickets {
    width: 100%;
    background-color: #5a5b5e;
    color: #fff;
    border: none;
    padding: 16px;
    font-size: 1.1rem;
    text-align: center;
    text-decoration: none;
    display: block;
    border-radius: 3px;
    transition: background .3s;
}

.btn-buy-tickets:hover {
    background-color: #454648;
    color: #fff;
}

@media (max-width: 992px) {
    .movie-trailer {
        height: 350px;
    }

    .movie-header h1 {
        font-size: 2.2rem;
    }
}

/* === BOLLINI SCHEDA FILM (età consigliata ecc.) === */
.bollino {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}

/* === NEWSLETTER FOOTER === */
.newsletter-band {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.newsletter-band .form-control:focus {
    border-color: var(--vc-accent);
    box-shadow: none;
}

/* Scroll con offset per l'àncora #orari (compensa un'eventuale barra) */
#orari {
    scroll-margin-top: 20px;
}
