/* =========================================
   VÉLUX - RACING JUMPSUITS
   Design System & Styling
========================================= */

:root {
    --bg-color: #050505;
    --bg-secondary: #0f0f11;
    --text-primary: #f0f0f0;
    --text-secondary: #9ca3af;
    --accent-color: #d4af37; /* Metallic Gold */
    --accent-hover: #f1c40f;
    --navbar-bg: rgba(5, 5, 5, 0.85);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

/* ================== NAVBAR ================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--navbar-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-color);
    text-decoration: none;
    letter-spacing: 2px;
}

.brand-logo-img {
    height: 48px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Button variants */
.btn-primary {
    background-color: var(--accent-color);
    color: #000;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-heading);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary-outline {
    border: 1px solid var(--accent-color);
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    color: var(--accent-color) !important;
}

.btn-primary-outline:hover {
    background-color: var(--accent-color);
    color: #000 !important;
}

.lang-toggle {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-body);
    transition: var(--transition-smooth);
}

.lang-toggle:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* ================== HERO ================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 80px;
}

.hero-content {
    flex: 1;
    max-width: 500px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
    height: 600px; /* Base height for the carousel container */
}

.hero-carousel-img {
    position: absolute;
    top: 0;
    right: 0;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
    opacity: 0;
    transition: opacity 1s ease-in-out;
    animation: float 6s ease-in-out infinite;
}

.hero-carousel-img.active {
    opacity: 1;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* ================== PRODUCTS ================== */
.products {
    padding: 6rem 2rem;
    background-color: var(--bg-secondary);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-catchphrase {
    text-align: center;
    font-size: 1.2rem;
    font-style: italic;
    font-family: var(--font-heading);
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 4rem;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-hover), var(--accent-color));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: var(--bg-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-10px);
}

.product-image-wrapper {
    position: relative;
    height: 400px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    transition: var(--transition-smooth);
}

.product-card .img-back {
    opacity: 0;
}

.product-card:hover .img-front {
    opacity: 0;
}

.product-card:hover .img-back {
    opacity: 1;
}

.product-info h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.product-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}



/* ================== ABOUT ================== */
.about {
    padding: 6rem 2rem;
    background: linear-gradient(rgba(5,5,5,0.9), rgba(5,5,5,0.9)), url('Fotos Site/Produtos/Classicos/Lotus/lotusfront.png') no-repeat center center/cover;
    background-attachment: fixed;
    text-align: center;
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.2rem;
    color: #cfcfcf;
    margin-bottom: 1rem;
}

/* ================== CONTACT ================== */
.contact {
    padding: 6rem 2rem;
    background-color: var(--bg-secondary);
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-subtitle {
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-body);
    transition: var(--transition-smooth);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

/* ================== FOOTER ================== */
.footer {
    padding: 3rem 2rem;
    background-color: var(--bg-color);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    margin-bottom: 1.5rem;
}



.footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.copyright {
    margin-top: 2rem;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ================== SOCIAL LINKS ================== */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    color: var(--accent-color);
}

/* ================== HAMBURGER MENU ================== */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text-primary);
    margin: 6px 0;
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ================== CHATBOT ================== */
.chatbot-container {
    position: fixed;
    bottom: 6.5rem;
    right: 2rem;
    z-index: 2000;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    pointer-events: none;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    z-index: 2001;
    pointer-events: auto;
    cursor: pointer;
}

.chatbot-toggle svg {
    width: 28px;
    height: 28px;
}

.chatbot-window {
    width: 350px;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.chatbot-window.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.chatbot-header {
    background: var(--bg-color);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h3 {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin: 0;
}

.chatbot-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.chatbot-close:hover {
    color: var(--accent-color);
}

.chatbot-messages {
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 350px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) var(--bg-color);
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: var(--bg-color);
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background-color: var(--accent-color);
    border-radius: 10px;
}

.chat-msg {
    max-width: 85%;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.bot-msg {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 0;
}

.user-msg {
    background: var(--accent-color);
    color: #000;
    align-self: flex-end;
    border-bottom-right-radius: 0;
    font-weight: 500;
}

.chatbot-options {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.chat-option-btn {
    background: var(--bg-color);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--text-primary);
    padding: 0.6rem;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: left;
}

.chat-option-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--accent-color);
}

/* ================== WHATSAPP FLOAT ================== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    z-index: 2000;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: white;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* ================== RESPONSIVE ================== */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-color);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        gap: 1.5rem;
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1050;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .nav-overlay.visible {
        opacity: 1;
        pointer-events: auto;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
        min-height: auto;
    }
    
    .hero-content {
        margin-bottom: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-image {
        margin-top: 2rem;
        height: 600px; /* Fixed height to ensure visibility */
        width: 100%;
        position: relative;
        display: block;
        flex: none; /* Prevent shrinking */
    }

    .hero-carousel-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        opacity: 0;
        transition: opacity 1s ease-in-out;
    }

    .hero-carousel-img.active {
        opacity: 1;
    }

    /* Fixed elements for Mobile */
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
        left: auto;
        width: 50px;
        height: 50px;
    }

    .chatbot-container {
        bottom: 5rem;
        right: 1rem;
    }
    
    .chatbot-window {
        width: calc(100vw - 2rem); /* Full width minus margins */
        max-height: 60vh; /* Don't take over the entire vertical screen */
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* ================== SIZE PICKER ================== */
.size-picker-container {
    margin-bottom: 2rem;
}

.select-wrapper {
    position: relative;
    max-width: 300px;
}

.size-select {
    width: 100%;
    padding: 0.8rem 1rem;
    padding-right: 2.5rem;
    background: var(--bg-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: var(--transition-smooth);
}

.size-select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.2);
}

.select-wrapper::after {
    content: "▼";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    pointer-events: none;
    font-size: 0.8rem;
}

.size-select option {
    background: #1a1a1c;
    color: var(--text-primary);
}
