/* ========================================
   GL AUTO - Stili Premium (Nuova Versione)
   Colori: Nero #0a0a0a, Bianco #fff, Grigio #1a1a1a, Oro #C9A96E
   ======================================== */

:root {
    --color-black: #0a0a0a;
    --color-dark: #111111;
    --color-gray: #1a1a1a;
    --color-gold: #C9A96E;
    --color-gold-light: #d4b87a;
    --color-white: #ffffff;
    --color-text: #cccccc;
    --color-text-muted: #888888;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-black);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* NAVBAR */
#mainNav {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(201, 169, 110, 0.1);
}

#mainNav.scrolled {
    padding: 10px 0;
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
}

.brand-gl { color: var(--color-gold); }
.brand-auto { color: var(--color-white); margin-left: 2px; }

.nav-link {
    color: var(--color-text) !important;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 15px !important;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-gold) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: calc(100% - 30px);
}

.btn-whatsapp {
    background: #25D366;
    color: #fff !important;
    border-radius: 50px;
    padding: 8px 20px !important;
    font-weight: 600;
    font-size: 0.85rem;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* HERO */
.hero-section {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(rgba(10,10,10,0.7), rgba(10,10,10,0.8)), 
                url('https://images.unsplash.com/photo-1492144534655-ae7c28fd48d8?w=1920') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content { max-width: 900px; padding: 0 20px; }

.hero-subtitle {
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-size: 1.1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

.hero-title {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-desc {
    color: var(--color-text);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 35px;
    font-weight: 300;
}

.hero-trust-badge {
    margin-top: 15px;
    padding: 10px 20px;
    background: rgba(212,175,55,0.15);
    border: 1px solid var(--color-gold);
    border-radius: 8px;
    display: inline-block;
}

.hero-trust-badge i {
    color: var(--color-gold);
    margin-right: 8px;
}

.hero-trust-badge span {
    color: var(--color-gold);
    font-weight: 600;
    font-size: 0.95rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn-gold {
    background: var(--color-gold);
    color: var(--color-black);
    padding: 14px 35px;
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    border: 2px solid var(--color-gold);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-gold:hover {
    background: transparent;
    color: var(--color-gold);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    padding: 14px 35px;
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    border: 2px solid var(--color-white);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-black);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-gold);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* SECTIONS */
.section-padding { padding: 100px 0; }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--color-gold);
    margin: 0 auto;
}

/* CAR CARDS */
.car-card {
    background: var(--color-dark);
    border: 1px solid rgba(201, 169, 110, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    height: 100%;
}

.car-card:hover {
    transform: translateY(-10px);
    border-color: rgba(201, 169, 110, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.car-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

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

.car-card:hover .car-image img {
    transform: scale(1.1);
}

.car-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--color-gold);
    color: var(--color-black);
    padding: 5px 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.car-badge.sold { background: #dc3545; color: #fff; }
.car-badge.reserved { background: #ffc107; color: #000; }

.car-info { padding: 25px; }

.car-brand {
    color: var(--color-gold);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 5px;
}

.car-model {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.car-details {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.car-detail {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

.car-detail i {
    color: var(--color-gold);
    font-size: 0.9rem;
}

.car-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 15px;
}

.price-current {
    color: var(--color-gold);
    font-size: 1.4rem;
    font-weight: 700;
}

.price-old {
    color: var(--color-text-muted);
    font-size: 1rem;
    text-decoration: line-through;
}

.btn-view {
    display: block;
    text-align: center;
    background: transparent;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
    padding: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view:hover {
    background: var(--color-gold);
    color: var(--color-black);
}

/* FEATURES */
.feature-box {
    text-align: center;
    padding: 40px 25px;
    background: var(--color-dark);
    border: 1px solid rgba(201, 169, 110, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    border-color: var(--color-gold);
    transform: translateY(-5px);
}

.feature-box-gold {
    border: 2px solid var(--color-gold);
    background: rgba(212,175,55,0.05);
}

.feature-box-gold .feature-title {
    color: var(--color-gold);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(201, 169, 110, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.5rem;
    color: var(--color-gold);
    border: 1px solid rgba(201, 169, 110, 0.2);
}

.feature-title {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.feature-text {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* TRUST BANNER */
.trust-banner {
    background: linear-gradient(135deg, var(--color-gold) 0%, #b8941f 100%);
    padding: 40px 0;
    text-align: center;
}

.trust-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.trust-content i:first-child {
    font-size: 2rem;
    color: #1a1a1a;
}

.trust-content span {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
}

.trust-content i:last-child {
    font-size: 1.5rem;
    color: #1a1a1a;
}

/* CTA */
.cta-section {
    background: linear-gradient(rgba(10,10,10,0.9), rgba(10,10,10,0.9)), 
                url('https://images.unsplash.com/photo-1503376780353-7e6692767a70?w=1920') center/cover fixed;
    padding: 100px 0;
    text-align: center;
}

.cta-title {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-text {
    color: var(--color-text);
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

/* FOOTER */
.footer-main {
    background: var(--color-dark);
    border-top: 1px solid rgba(201, 169, 110, 0.1);
    padding: 80px 0 0;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(201, 169, 110, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--color-gold);
    color: var(--color-black);
}

.footer-main h5 {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-main h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-gold);
}

.footer-links, .footer-contact {
    list-style: none;
    padding: 0;
}

.footer-links li, .footer-contact li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-gold);
}

.footer-contact li {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i {
    color: var(--color-gold);
    margin-top: 3px;
    width: 16px;
}

.footer-contact a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--color-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(201, 169, 110, 0.1);
    margin-top: 50px;
    padding: 25px 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* BACK TO TOP */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--color-gold);
    color: var(--color-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-gold-light);
    transform: translateY(-3px);
}

/* PAGE HEADER */
.page-header {
    padding: 150px 0 80px;
    background: linear-gradient(rgba(10,10,10,0.8), rgba(10,10,10,0.9)), 
                url('https://images.unsplash.com/photo-1492144534655-ae7c28fd48d8?w=1920') center/cover;
    text-align: center;
}

.page-title {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-size: 3rem;
    font-weight: 700;
}

.page-breadcrumb {
    color: var(--color-gold);
    font-size: 0.9rem;
    margin-top: 10px;
}

.page-breadcrumb a {
    color: var(--color-text);
    text-decoration: none;
}

.page-breadcrumb a:hover {
    color: var(--color-gold);
}

/* FILTERS */
.filter-bar {
    background: var(--color-dark);
    padding: 25px;
    border: 1px solid rgba(201, 169, 110, 0.1);
    margin-bottom: 40px;
}

.filter-label {
    color: var(--color-gold);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.filter-bar select, .filter-bar input,
.contact-form input, .contact-form textarea, .contact-form select,
.form-control {
    background: var(--color-black);
    border: 1px solid rgba(201, 169, 110, 0.2);
    color: var(--color-white);
    padding: 12px 15px;
}

.filter-bar select:focus, .filter-bar input:focus,
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus,
.form-control:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 0.2rem rgba(201, 169, 110, 0.25);
    background: var(--color-black);
    color: var(--color-white);
}

.contact-form label {
    color: var(--color-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

/* Contact info box */
.contact-info-box {
    background: var(--color-dark);
    padding: 35px;
    border: 1px solid rgba(201, 169, 110, 0.1);
    height: 100%;
}

.contact-info-box h4 {
    color: var(--color-white);
    font-family: var(--font-heading);
    margin-bottom: 25px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-info-item i {
    color: var(--color-gold);
    font-size: 1.2rem;
    margin-top: 3px;
    width: 20px;
}

.contact-info-item div strong {
    color: var(--color-white);
    display: block;
    margin-bottom: 3px;
}

.contact-info-item div span,
.contact-info-item div a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.contact-info-item div a:hover {
    color: var(--color-gold);
}

/* DETTAGLIO AUTO - Tech Box */
.tech-box {
    background: #111111;
    padding: 25px;
    border: 1px solid rgba(201, 169, 110, 0.1);
}

.tech-box h4 {
    color: #C9A96E;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tech-item {
    margin-bottom: 15px;
}

.tech-item small {
    color: #888888;
    display: block;
    font-size: 0.8rem;
}

.tech-item strong {
    color: #ffffff;
    font-size: 0.95rem;
}

/* Crypto Box */
.crypto-box {
    background: rgba(201, 169, 110, 0.1);
    padding: 20px;
    border: 1px solid rgba(201, 169, 110, 0.3);
}

.crypto-box h5 {
    color: #C9A96E;
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.crypto-box p {
    color: #cccccc;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.crypto-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.crypto-badge {
    padding: 4px 10px;
    font-size: 0.75rem;
    border-radius: 3px;
}

.crypto-badge.btc {
    background: rgba(247, 147, 26, 0.2);
    color: #F7931A;
}

.crypto-badge.eth {
    background: rgba(98, 126, 234, 0.2);
    color: #627EEA;
}

.crypto-badge.usdt {
    background: rgba(38, 161, 123, 0.2);
    color: #26A17B;
}

/* Services Box */
.services-box {
    background: #111111;
    padding: 20px;
    border: 1px solid rgba(201, 169, 110, 0.1);
}

.services-box h5 {
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
    font-size: 1rem;
}

.services-box i {
    color: #C9A96E;
    font-size: 1.5rem;
    display: block;
    margin-bottom: 5px;
}

.services-box small {
    color: #888888;
    font-size: 0.75rem;
}

/* Descrizione Box */
.desc-box {
    background: #111111;
    padding: 35px;
    border: 1px solid rgba(201, 169, 110, 0.1);
}

.desc-box h4 {
    color: #C9A96E;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.desc-box p {
    color: #cccccc;
    line-height: 1.8;
}

/* Placeholder immagini */
.img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 220px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9A96E;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    border: 1px solid rgba(201, 169, 110, 0.2);
}

.img-placeholder-small {
    width: 100%;
    height: 100%;
    min-height: 100px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9A96E;
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    border: 1px solid rgba(201, 169, 110, 0.2);
}

.img-thumb img {
    transition: all 0.3s ease;
}

.img-thumb img:hover {
    opacity: 0.8;
}

/* Pagination */
.pagination .page-link {
    background: var(--color-dark);
    border-color: rgba(201, 169, 110, 0.2);
    color: var(--color-text);
}

.pagination .page-link:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-black);
}

.pagination .page-item.active .page-link {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-black);
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .hero-title { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    .section-padding { padding: 60px 0; }
    .cta-title { font-size: 2rem; }
}

@media (max-width: 767px) {
    .hero-title { font-size: 2rem; }
    .hero-section { min-height: 600px; }
    .section-title { font-size: 1.7rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn-gold, .btn-outline { width: 100%; max-width: 280px; }
    .page-title { font-size: 2rem; }
    .trust-content span { font-size: 1rem; }
}
