/* =========================================
   CSS - LUXURY STYLING
========================================== */
:root {
    --gold: #D4AF37;
    --gold-light: #F3E5AB;
    --black: #050505;
    --charcoal: #121212;
    --gray: #2C2C2C;
    --white: #FAFAFA;
    --shadow-red: #8a1c1c; /* Acento discreto para Shadow Company */
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--black);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }

/* HEADER */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-logo {
    height: 50px;
    object-fit: contain;
}

.lang-switch {
    display: flex;
    gap: 15px;
}

/* Atualize a classe .lang-btn existente */
.lang-btn {
    background: none;
    border: 1px solid var(--gray);
    color: var(--white);
    padding: 6px 12px; /* Ajuste leve no padding */
    cursor: pointer;
    font-size: 0.85rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    /* Novas propriedades para alinhamento flexbox */
    display: flex;
    align-items: center;
    gap: 10px; /* Espaço entre a bandeira e o texto */
}

/* Adicione este novo estilo para as imagens das bandeiras */
.lang-btn img {
    width: 22px; /* Largura da bandeira */
    height: auto;
    border-radius: 2px; /* Leve arredondamento nos cantos da bandeira */
    box-shadow: 0 2px 4px rgba(0,0,0,0.2); /* Sombra suave para destaque */
}

/* Estados de hover e active permanecem os mesmos, mas a cor dourada se aplica ao texto */
.lang-btn:hover, .lang-btn.active {
    border-color: var(--gold);
    color: var(--gold);
    background-color: rgba(212, 175, 55, 0.1); /* Fundo dourado sutil ao passar o mouse */
}

/* HERO SECTION */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)), url('https://cdn.rockinrio.com/wp-content/uploads/2023/11/site-rock-photo-bg-informacoes.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 20px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.8);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-button {
    background: linear-gradient(45deg, var(--gold), #B8860B);
    color: var(--black);
    padding: 15px 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    font-family: 'Cinzel', serif;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
}

/* PARTNERS LOGOS IN HERO */
.hero-partners {
    position: absolute;
    bottom: 30px;
    display: flex;
    gap: 30px;
    align-items: center;
    opacity: 0.8;
}
.hero-partners img { height: 40px; filter: grayscale(100%) brightness(200%); }

/* SECTIONS GENERAL */
section { padding: 80px 10%; }

.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 15px;
}
.section-title span {
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto;
}

/* FEATURES / EXCLUSIVITY */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--charcoal);
    padding: 40px;
    border: 1px solid var(--gray);
    text-align: center;
    transition: 0.4s;
}

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

.feature-card i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}

/* SHADOW COMPANY SECTION */
.shadow-section {
    background: linear-gradient(to right, #000 0%, #1a1a1a 100%);
    border-top: 1px solid var(--gray);
    border-bottom: 1px solid var(--gray);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.shadow-content { flex: 1; min-width: 300px; }
.shadow-img { flex: 1; text-align: center; }
.shadow-img img { max-width: 100%; width: 250px; }

.shadow-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.shadow-list i { color: var(--shadow-red); }

/* FLEET */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.fleet-card {
    position: relative;
    background: var(--charcoal);
    overflow: hidden;
    border-radius: 4px;
}

.fleet-card img {
    width: 100%;
    height: 250px;
    object-fit: contain; /* Changed to contain to show full cars */
    background: #000;
    transition: 0.5s;
    padding: 20px;
}

.fleet-card:hover img { transform: scale(1.05); }

.fleet-info {
    padding: 20px;
    text-align: center;
}

.fleet-info h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--gold); }
.badge {
    font-size: 0.7rem;
    padding: 5px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 700;
    display: inline-block;
}
.badge-armored { background: var(--white); color: var(--black); }
.badge-standard { background: var(--gray); color: var(--white); }

/* DATES */
.dates-section {
    text-align: center;
    background: url('https://cdn.rockinrio.com/wp-content/themes/rir2/assets/images/logo.png') no-repeat center center;
    background-size: contain;
    background-color: #050505;
    background-blend-mode: overlay;
}

.calendar-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.date-box {
    border: 1px solid var(--gold);
    padding: 20px;
    min-width: 150px;
}
.date-box span { display: block; font-size: 2rem; color: var(--gold); font-family: 'Cinzel', serif; }

/* FOOTER */
footer {
    background: #000;
    padding: 50px 10%;
    text-align: center;
    border-top: 1px solid var(--gray);
    font-size: 0.9rem;
    color: #888;
}
footer p { margin-top: 20px; }

/* FLOATING WHATSAPP */
.float-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    z-index: 9999;
    transition: 0.3s;
}
.float-wa:hover { transform: scale(1.1); background-color: #20ba5a; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .header-logo { height: 35px; }
    section { padding: 60px 5%; }
    .hero-partners { flex-direction: column; gap: 15px; }
}

.other-cars{
    color: var(--gold);
    margin: 20px auto;
    text-align: center;
}

/* MODAL STYLES */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.85); /* Black w/ opacity */
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #121212;
    margin: auto;
    padding: 40px;
    border: 1px solid #D4AF37; /* Gold Border */
    width: 90%;
    max-width: 500px;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
    position: relative;
    border-radius: 4px;
    animation: fadeIn 0.4s;
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    position: absolute;
    right: 20px;
    top: 10px;
}

.close-modal:hover,
.close-modal:focus {
    color: #D4AF37;
    text-decoration: none;
    cursor: pointer;
}

.modal h2 {
    color: #D4AF37;
    font-family: 'Cinzel', serif;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: #050505;
    border: 1px solid #333;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: 0.3s;
    border-radius: 2px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #D4AF37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

/* ESTILO DO BOTÃO WHATSAPP */
.form-submit-btn {
    width: 100%;
    /* Degradê do Verde WhatsApp (#25D366) para um Verde mais escuro/sóbrio */
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: #fff; /* Texto branco para contraste */
    padding: 16px;
    border: none;
    font-weight: bold;
    font-family: 'Cinzel', serif; /* Mantém a fonte de luxo */
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1rem;
    border-radius: 4px;

    /* Para alinhar ícone e texto */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    /* Brilho verde ao passar o mouse */
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.6);
    background: linear-gradient(45deg, #20ba5a, #0e6b5e);
}

.form-submit-btn i {
    font-size: 1.4rem; /* Ícone um pouco maior */
}

/* Ajuste do botão Hero para abrir modal */
#hero-cta { cursor: pointer; }

/* Ajustes Mobile */
@media (max-width: 600px) {
    .modal-content { padding: 25px; }
    .modal h2 { font-size: 1.4rem; }
}