/* CSS extraído do index.html fornecido pelo usuário */

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

:root {
    --primary: #001a4d;
    --secondary: #0066cc;
    --accent: #ff6b35;
    --dark: #000;
    --light: #f5f5f5;
    --text: #ffffff;
    --text-dark: #333;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--primary);
    color: var(--text);
    line-height: 1.6;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    height: 50px;
    width: auto;
}

.logo h1 {
    font-size: 24px;
    color: #ffcc00;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.header-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.header-links a:hover {
    color: #ffcc00;
}

.whatsapp-btn {
    background: #25d366;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
}

.whatsapp-btn:hover {
    background: #20ba5a;
}

.admin-link {
    background: var(--accent);
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 12px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 40px 20px;
    text-align: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ffcc00;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

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

.btn-primary:hover {
    background: #ff5722;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #ffcc00;
    color: var(--primary);
}

.btn-secondary:hover {
    background: #ffb300;
    transform: translateY(-2px);
}

/* Carousel */
.carousel-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.carousel-container {
    position: relative;
    background: var(--dark);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.carousel {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
    animation: fadeIn 0.5s;
}

.carousel-slide.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.carousel-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-dot.active {
    background: #ffcc00;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(0,0,0,0.8);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Seções */
section {
    padding: 60px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

section h2 {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
    color: #ffcc00;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Benefícios */
.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.benefit-card {
    background: rgba(0,102,204,0.2);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--accent);
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card h3 {
    color: #ffcc00;
    margin-bottom: 15px;
    font-size: 20px;
}

.benefit-card p {
    color: #e0e0e0;
    line-height: 1.8;
}

/* Produtos */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: rgba(0,102,204,0.2);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255,204,0,0.3);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255,107,53,0.3);
}

.product-image {
    width: 100%;
    height: 250px;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    color: #ffcc00;
    margin-bottom: 10px;
    font-size: 18px;
}

.product-info p {
    color: #e0e0e0;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-price {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
}

.price-box {
    flex: 1;
    background: rgba(255,107,53,0.2);
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    border: 1px solid var(--accent);
}

.price-label {
    font-size: 12px;
    color: #ffcc00;
    font-weight: bold;
}

.price-value {
    font-size: 16px;
    color: #ffffff;
    font-weight: bold;
}

/* Vídeos */
.videos-section {
    background: rgba(0,0,0,0.3);
}

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

.video-card {
    background: rgba(0,102,204,0.2);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,204,0,0.3);
}

.video-placeholder {
    width: 100%;
    height: 200px;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
    text-align: center;
    padding: 20px;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    color: #ffcc00;
    margin-bottom: 10px;
}

.video-info p {
    color: #e0e0e0;
    font-size: 14px;
    margin-bottom: 15px;
}

.video-link {
    display: inline-block;
    color: #ffcc00;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid #ffcc00;
}

.video-link:hover {
    color: #ff6b35;
    border-bottom-color: #ff6b35;
}

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

.testimonial-card {
    background: rgba(0,102,204,0.2);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--accent);
}

.stars {
    color: #ffcc00;
    font-size: 18px;
    margin-bottom: 15px;
}

.testimonial-text {
    color: #e0e0e0;
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.8;
}

.testimonial-author {
    color: #ffcc00;
    font-weight: bold;
}

/* Contato */
.contact-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: var(--text);
    text-align: center;
}

.contact-section h2 {
    color: #ffcc00;
}

.contact-info {
    margin-top: 30px;
}

.contact-info p {
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-info a {
    color: #ffcc00;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--accent);
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--text);
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}

/* Admin Panel Specific Styles */
.admin-container {
    display: flex;
    min-height: 100vh;
}
.sidebar {
    width: 250px;
    background-color: var(--primary); /* Azul escuro */
    color: white;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}
.sidebar h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #ffcc00; /* Amarelo */
}
.sidebar ul {
    list-style: none;
    padding: 0;
}
.sidebar ul li {
    margin-bottom: 10px;
}
.sidebar ul li a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}
.sidebar ul li a:hover,
.sidebar ul li a.active {
    background-color: var(--secondary); /* Azul um pouco mais claro */
}
.content {
    flex-grow: 1;
    padding: 20px;
    background-color: var(--light);
    color: var(--text-dark);
}
.content h1 {
    color: var(--primary); /* Azul escuro */
    margin-bottom: 20px;
    font-size: 32px;
}
.logout-button {
    background-color: #dc3545; /* Vermelho */
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: block;
    text-align: center;
    margin-top: 30px;
    transition: background-color 0.3s ease;
}
.logout-button:hover {
    background-color: #c82333;
}

.form-container {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.form-container h2 {
    color: var(--primary); /* Azul escuro */
    margin-bottom: 20px;
    font-size: 24px;
}

.form-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.form-container input[type="text"],
.form-container input[type="number"],
.form-container textarea,
.form-container select,
.form-container input[type="file"] {
    width: calc(100% - 22px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 16px;
}

.form-container textarea {
    resize: vertical;
}

.form-container button {
    background-color: var(--secondary); /* Azul padrão para botões */
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.form-container button:hover {
    background-color: var(--primary);
}

.product-list table,
.video-list table,
.testimonial-list table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.product-list th,
.video-list th,
.testimonial-list th,
.product-list td,
.video-list td,
.testimonial-list td {
    border: 1px solid #dee2e6;
    padding: 12px;
    text-align: left;
}

.product-list th,
.video-list th,
.testimonial-list th {
    background-color: var(--primary); /* Azul escuro */
    color: white;
    font-weight: bold;
}

.product-list img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.product-list .actions a,
.video-list .actions a,
.testimonial-list .actions a {
    margin-right: 10px;
    color: var(--secondary); /* Azul padrão para links de ação */
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-list .actions a:hover,
.video-list .actions a:hover,
.testimonial-list .actions a:hover {
    color: var(--primary);
}

.product-list .actions a.delete,
.video-list .actions a.delete,
.testimonial-list .actions a.delete {
    color: #dc3545; /* Vermelho para ações de exclusão */
}

.product-list .actions a.delete:hover,
.video-list .actions a.delete:hover,
.testimonial-list .actions a.delete:hover {
    color: #c82333;
}

.message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-weight: bold;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .header-links {
        margin-top: 20px;
        flex-direction: column;
        gap: 10px;
    }

    .hero h2 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    section h2 {
        font-size: 30px;
    }

    .benefits,
    .products-grid,
    .videos-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card,
    .product-card,
    .video-card,
    .testimonial-card {
        margin-bottom: 20px;
    }
}

