/* ========================================
   TURIN ACRO CUP 2026 — PRESS AREA
   ======================================== */

:root {
    --primary: #00d4aa;
    --primary-dark: #00a88a;
    --primary-light: #33e0be;
    --primary-glow: #00d4aa40;
    --dark: #0a0a0a;
    --dark-card: #141414;
    --dark-surface: #1a1a1a;
    --dark-border: #2a2a2a;
    --text: #f0f0f0;
    --text-muted: #888;
    --text-dim: #555;
    --danger: #ff4757;
    --warning: #ffa502;
    --success: #2ed573;
    --font-heading: 'Bebas Neue', 'Impact', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --nav-height: 70px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-light); }

.text-teal { color: var(--primary) !important; }
.text-muted { color: var(--text-muted) !important; }

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

/* ---- Navigation ---- */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--dark-border);
    height: var(--nav-height);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-brand img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.nav-brand-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text);
    letter-spacing: 2px;
    line-height: 1.1;
}

.nav-brand-sub {
    font-family: var(--font-body);
    font-size: 0.6rem;
    color: var(--primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.5rem 0.7rem;
    border-radius: 8px;
    transition: all 0.2s;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: var(--primary-glow);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-switch {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    border: 1px solid var(--dark-border);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    transition: all 0.2s;
    text-transform: uppercase;
}

.lang-switch:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* ---- Hero ---- */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: var(--nav-height);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.4) 0%,
        rgba(10, 10, 10, 0.6) 40%,
        rgba(10, 10, 10, 0.9) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 4rem 2rem 3rem;
}

.hero-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    border: 1px solid var(--primary);
    padding: 0.3rem 1rem;
    border-radius: 4px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 7vw, 5rem);
    line-height: 0.95;
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* ---- Key Numbers ---- */
.key-numbers {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.key-num {
    text-align: center;
}

.key-num-value {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary);
    line-height: 1;
}

.key-num-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.3rem;
}

/* ---- Sections ---- */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--dark-card);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin-bottom: 2rem;
}

/* ---- Content Cards ---- */
.content-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: border-color 0.3s;
}

.content-card:hover {
    border-color: var(--primary-glow);
}

.content-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    color: var(--primary);
}

.content-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.content-card p:last-child {
    margin-bottom: 0;
}

/* ---- Profile Cards ---- */
.profile-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.profile-card .profile-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: var(--primary);
}

.profile-card h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.profile-card .profile-role {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.profile-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ---- Press Release List ---- */
.press-item {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: border-color 0.3s;
}

.press-item:hover {
    border-color: var(--primary);
}

.press-date {
    text-align: center;
    min-width: 60px;
}

.press-date-day {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary);
    line-height: 1;
}

.press-date-month {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.press-body h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.press-body p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.press-tags {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.press-tag {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    background: var(--primary-glow);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---- Gallery Grid ---- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(0,0,0,0.8));
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-credit {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ---- Download Section ---- */
.download-box {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 2rem;
}

.download-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--dark-border);
    border-radius: 10px;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.download-option:hover {
    border-color: var(--primary);
    background: rgba(0, 212, 170, 0.05);
}

.download-option input[type="checkbox"] {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
}

.download-option .dl-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-glow);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.download-option .dl-info h5 {
    font-size: 0.95rem;
    margin-bottom: 0.1rem;
}

.download-option .dl-info small {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* ---- Forms ---- */
.form-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 2.5rem;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.4rem;
    display: block;
}

.form-control-dark {
    background: var(--dark-surface) !important;
    border: 1px solid var(--dark-border) !important;
    color: var(--text) !important;
    border-radius: 10px !important;
    padding: 0.7rem 1rem !important;
    font-size: 0.9rem !important;
    transition: border-color 0.3s;
    width: 100%;
}

.form-control-dark:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px var(--primary-glow) !important;
    outline: none;
}

.form-control-dark::placeholder {
    color: var(--text-dim);
}

select.form-control-dark {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L2 5h12z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    padding-right: 2.5rem !important;
}

textarea.form-control-dark {
    resize: vertical;
    min-height: 100px;
}

/* ---- Buttons ---- */
.btn-primary-tac {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--dark) !important;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: none;
    border-radius: 50px;
    padding: 0.8rem 2rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary-tac:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
    color: var(--dark) !important;
}

.btn-outline-tac {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-radius: 50px;
    padding: 0.7rem 1.8rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline-tac:hover {
    background: var(--primary-glow);
    color: var(--primary);
}

/* ---- Footer ---- */
.main-footer {
    background: var(--dark-card);
    border-top: 1px solid var(--dark-border);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 0.8rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-col h5 {
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--dark-border);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-dim);
    font-size: 0.75rem;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
}

.footer-social a {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.footer-social a:hover {
    color: var(--primary);
}

/* ---- Cookie Banner ---- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--dark-card);
    border-top: 1px solid var(--dark-border);
    padding: 1.2rem 1.5rem;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-inner p {
    flex: 1;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    min-width: 200px;
}

.cookie-actions {
    display: flex;
    gap: 0.5rem;
}

.cookie-actions button {
    font-size: 0.75rem;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    border: none;
    transition: all 0.2s;
}

.cookie-accept {
    background: var(--primary);
    color: var(--dark);
}

.cookie-reject {
    background: var(--dark-surface);
    color: var(--text-muted);
    border: 1px solid var(--dark-border) !important;
}

/* ---- Privacy / Info Page ---- */
.info-page {
    padding-top: calc(var(--nav-height) + 3rem);
    min-height: 100vh;
}

.info-page h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.info-page h5 {
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.info-page p, .info-page li {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.info-page ul {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}

/* ---- Flash Messages ---- */
.flash-msg {
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.flash-msg.success { background: #2ed57322; color: var(--success); border: 1px solid #2ed57344; }
.flash-msg.danger { background: #ff475722; color: var(--danger); border: 1px solid #ff475744; }
.flash-msg.warning { background: #ffa50222; color: var(--warning); border: 1px solid #ffa50244; }
.flash-msg.info { background: #00d4aa22; color: var(--primary); border: 1px solid #00d4aa44; }

/* ---- Page Header ---- */
.page-header {
    padding: calc(var(--nav-height) + 3rem) 0 3rem;
    background: var(--dark-card);
    border-bottom: 1px solid var(--dark-border);
}

.page-header .breadcrumb {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-bottom: 1rem;
}

.page-header .breadcrumb a {
    color: var(--text-muted);
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--dark-card);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--dark-border);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

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

    .key-numbers {
        gap: 1.5rem;
    }

    .press-item {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: 60vh;
    }

    .hero-content {
        padding: 2rem 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .content-card, .form-card, .download-box {
        padding: 1.5rem;
    }
}

/* ---- Utility ---- */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.text-center { text-align: center; }
.d-flex { display: flex; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.flex-wrap { flex-wrap: wrap; }

.row { display: flex; flex-wrap: wrap; margin: 0 -0.75rem; }
.col-md-6 { flex: 0 0 100%; padding: 0 0.75rem; margin-bottom: 1rem; }
.col-md-4 { flex: 0 0 100%; padding: 0 0.75rem; margin-bottom: 1rem; }
.col-lg-8 { flex: 0 0 100%; padding: 0 0.75rem; }
.col-lg-4 { flex: 0 0 100%; padding: 0 0.75rem; }

@media (min-width: 768px) {
    .col-md-6 { flex: 0 0 50%; }
    .col-md-4 { flex: 0 0 33.333%; }
}

@media (min-width: 992px) {
    .col-lg-8 { flex: 0 0 66.666%; }
    .col-lg-4 { flex: 0 0 33.333%; }
}

/* ---- Checkbox card style ---- */
.check-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.check-card input[type="checkbox"] {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ---- Spinner ---- */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--dark-border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
