/* Estilos Customizados para JS-Delivery */

:root {
    --primary-color: #FFD700;
    --secondary-color: #FFC700;
    --dark-color: #333;
    --success-color: #28a745;
    --danger-color: #dc3545;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.navbar-brand i {
    margin-right: 8px;
}

/* Hero Section */
.hero-section {
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.hero-section .lead {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 30px;
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

.animate-scale-in {
    animation: scaleIn 0.8s ease-out;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

/* Cards */
.card {
    transition: all 0.3s ease;
    border-radius: 10px;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--dark-color);
}

.card-text {
    color: #666;
    font-size: 1rem;
}

/* Botões */
.btn {
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-dark {
    background-color: var(--dark-color);
    color: white;
}

.btn-dark:hover {
    background-color: #555;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-warning {
    background-color: var(--primary-color);
    color: var(--dark-color);
    border: none;
}

.btn-warning:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.btn-outline-dark {
    color: var(--dark-color);
    border: 2px solid var(--dark-color);
}

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

/* Seções */
section {
    padding: 60px 0;
}

section h2 {
    color: var(--dark-color);
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 40px;
}

/* Formulário */
.form-control,
.form-select {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.text-danger {
    color: var(--danger-color) !important;
    font-size: 0.875rem;
    margin-top: 5px;
}

/* Rodapé */
footer {
    background-color: #1a1a1a;
    border-top: 3px solid var(--primary-color);
}

footer p {
    margin: 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .btn-lg {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Scroll Suave */
html {
    scroll-behavior: smooth;
}

/* Efeito de Hover em Ícones */
i {
    transition: all 0.3s ease;
}

.card:hover i {
    transform: scale(1.1);
}
