/* 
 * EcoPlanta CSS - Desenvolvido por Zaenis Studio
 * Sistema para Viveiro de Eucaliptos
 */

:root {
    --primary-color: #198754;
    --secondary-color: #20c997;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

body.zaenixstudio {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 76px; /* Para compensar navbar fixa */
}

/* Hero Section */
.hero-section.zaenixstudio {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-buttons .btn {
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Navbar */
.navbar.zaenixstudio {
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.95) !important;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.navbar-brand.zaenixstudio {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Seções */
section.zaenixstudio {
    padding: 80px 0;
}

/* Cards dos produtos */
.product-card.zaenixstudio {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.product-card.zaenixstudio:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.product-img {
    height: 200px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--success-color);
}

.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
}

.quantity-controls button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-controls input {
    width: 50px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
}

/* Team Cards */
.team-card.zaenixstudio {
    transition: all 0.3s ease;
}

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

/* Botões customizados */
.btn-success.zaenixstudio {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-success.zaenixstudio:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Stats */
.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0;
}

/* Carrinho flutuante */
#carrinhoBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Responsivo */
@media (max-width: 768px) {
    .hero-section.zaenixstudio {
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons .btn {
        display: block;
        margin-bottom: 10px;
    }
    
    section.zaenixstudio {
        padding: 60px 0;
    }
}

/* Modal customizations */
.modal-content.zaenixstudio {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.modal-header.zaenixstudio {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 15px 15px 0 0;
}

/* Loading animations */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.spinner-border.zaenixstudio {
    color: var(--primary-color);
}

/* Alertas customizados */
.alert.zaenixstudio {
    border: none;
    border-radius: 10px;
    padding: 15px 20px;
}

.alert-success.zaenixstudio {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
}

.alert-danger.zaenixstudio {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
}

/* Efeito 3D */
.zn3d {
    position: relative;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2), 0px 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efeito interativo - aumenta o 3D ao passar o mouse */
.zn3d:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.3), 0px 15px 40px rgba(0, 0, 0, 0.25);
}

/* Caso queira um efeito mais dramático no foco (ativo ou selecionado) */
.zn3d:focus-within, .zn3d:active {
    transform: translateY(-8px);
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.3), 0px 20px 50px rgba(0, 0, 0, 0.2);
}