/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    min-height: 100vh;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.logo {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    letter-spacing: 5px;
    position: relative;
    z-index: 10;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% { filter: drop-shadow(0 0 5px rgba(255,107,107,0.5)); }
    100% { filter: drop-shadow(0 0 20px rgba(78,205,196,0.8)); }
}

.contador-container h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.contador {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    padding: 2rem 3rem;
    border-radius: 25px;
    background: linear-gradient(135deg, rgba(255,107,107,0.9), rgba(78,205,196,0.9), rgba(69,183,209,0.9));
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255,255,255,0.3);
    display: inline-block;
    min-width: 450px;
    position: relative;
    z-index: 10;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    animation: contadorPulse 2s ease-in-out infinite;
    letter-spacing: 2px;
}

.contador::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1);
    border-radius: 25px;
    z-index: -1;
    animation: borderRotate 3s linear infinite;
}

@keyframes contadorPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes borderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Estilo sugerido para todas as imagens do projeto */
.imagens {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.8);
}

.imagens:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Tamanhos específicos para diferentes tipos de imagens */
.hero-image {
    max-width: 800px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.carrossel-item {
    max-width: 900px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.carrossel-item-fusca-aviao {
    max-width: 900px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.legenda {
    font-size: 1.1em;
    color: #2c3e50;
    text-align: center;
    margin-top: 10px;
    font-weight: 500;
    text-shadow: 0.5px 0.5px 1px rgba(255,255,255,0.8);
}

/* Seções */
section {
    padding: 4rem 0;
    margin: 2rem 0;
}

section:nth-child(even) {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    margin: 2rem 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

section:nth-child(even)::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

section:nth-child(even):hover::before {
    left: 100%;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #1a1a2e;
    font-weight: 700;
    position: relative;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1);
    border-radius: 3px;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { box-shadow: 0 0 5px rgba(255,107,107,0.5); }
    100% { box-shadow: 0 0 15px rgba(78,205,196,0.8); }
}

/* Hero Section */
.hero {
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: rgb(87, 87, 87);
    padding: 8rem 0;
    margin: 0;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="heroPattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="white" opacity="0.1"/><circle cx="10" cy="10" r="1" fill="white" opacity="0.05"/><circle cx="40" cy="40" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23heroPattern)"/></svg>');
    animation: heroFloat 25s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: rgb(42, 42, 42);
}

.hero h2::after {
    background: rgb(20, 20, 20);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-image {
    max-width: 600px;
    margin: 0 auto;
}

/* Sobre e Características */
.sobre p, .caracteristicas p, .fusca-aviao p {
    font-size: 1.3rem;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #2c3e50;
    font-weight: 400;
    text-shadow: 0.5px 0.5px 1px rgba(255,255,255,0.8);
}

/* Ficha Técnica */
.ficha-grid {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.ficha-grid ul {
    list-style: none;
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    min-width: 450px;
    border: 2px solid rgba(0,0,0,0.1);
}

.ficha-grid li {
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 1.2rem;
    color: #2c3e50;
    font-weight: 400;
}

.ficha-grid li:last-child {
    border-bottom: none;
}

.ficha-grid strong {
    color: #e74c3c;
    font-weight: 700;
    text-shadow: 0.5px 0.5px 1px rgba(0,0,0,0.1);
}

/* Galeria e Carrossel */
.carrossel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    background: rgba(255,255,255,0.9);
    border: 2px solid rgba(0,0,0,0.1);
}

.carrossel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carrossel-item {
    min-width: 100%;
    margin: 0;
    border-radius: 0;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.carrossel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.carrossel-btn {
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.carrossel-btn:hover {
    background: white;
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 35px rgba(0,0,0,0.4);
    filter: brightness(1.1);
}

/* Video Section */
.video-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 56.25%; /* Proporção 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    background: white;
    border: 2px solid rgba(0,0,0,0.1);
}

.youtube-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    border: none;
    object-fit: cover;
}

.video-container video {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    text-align: center;
    padding: 3rem 0;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerPattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.05"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23footerPattern)"/></svg>');
    animation: footerFloat 30s ease-in-out infinite;
}

@keyframes footerFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.footer p {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .contador {
        font-size: 2rem;
        min-width: 300px;
        padding: 1.5rem 2rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .ficha-grid ul {
        min-width: 300px;
        padding: 1.5rem;
    }
    
    .ficha-grid li {
        font-size: 1rem;
    }
    
    .carrossel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .carrossel-btn-fusca-aviao {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .indicator-fusca-aviao {
        width: 10px;
        height: 10px;
    }
    
    .logo-image {
        max-width: 450px;
    }
    
    .carrossel {
        max-width: 800px;
    }
    
    .carrossel-fusca-aviao {
        max-width: 800px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }
    
    .contador {
        font-size: 1.8rem;
        min-width: 280px;
        padding: 1rem 1.5rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .ficha-grid ul {
        min-width: 250px;
        padding: 1rem;
    }
    
    .logo-image {
        max-width: 350px;
    }
    
    .carrossel {
        max-width: 600px;
    }
    
    .carrossel-fusca-aviao {
        max-width: 600px;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeInUp 0.8s ease-out;
}

/* Galeria Fusca e Avião */
.galeria-fusca-aviao {
    text-align: center;
    margin-top: 3rem;
}

.carrossel-fusca-aviao {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    background: rgba(255,255,255,0.9);
    border: 2px solid rgba(0,0,0,0.1);
}

.carrossel-container-fusca-aviao {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carrossel-item-fusca-aviao {
    min-width: 100%;
    margin: 0;
    border-radius: 0;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.carrossel-nav-fusca-aviao {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.carrossel-btn-fusca-aviao {
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 10;
}

.carrossel-btn-fusca-aviao:hover {
    background: white;
    transform: scale(1.1);
}

.carrossel-indicators-fusca-aviao {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator-fusca-aviao {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator-fusca-aviao.active {
    background: #e74c3c;
    transform: scale(1.2);
}

.indicator-fusca-aviao:hover {
    background: rgba(255,255,255,0.8);
}

/* Seção Logo */
.logo-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 4rem 0;
    margin: 2rem 20px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 2px solid rgba(0,0,0,0.1);
}

.logo-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.logo-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    object-fit: contain;
    margin: 2rem auto;
    transition: transform 0.3s ease, filter 0.3s ease;
    border: 2px solid rgba(0,0,0,0.1);
    border-radius: 10px;
}

.logo-image:hover {
    transform: scale(1.1) rotate(2deg);
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.4)) brightness(1.1);
    animation: logoShake 0.5s ease-in-out;
}

@keyframes logoShake {
    0%, 100% { transform: scale(1.1) rotate(2deg); }
    25% { transform: scale(1.1) rotate(3deg); }
    75% { transform: scale(1.1) rotate(1deg); }
}

/* Efeitos de hover adicionais */
.imagem-comparacao {
    text-align: center;
    margin-top: 2rem;
}

.ficha-grid ul:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
} 