/* Estilos adicionais para ConstruAgro */

/* Variáveis CSS */
:root {
    --primary-yellow: #F2E205;
    --secondary-orange: #F29F05;
    --accent-orange: #F28705;
    --dark-gray: #595959;
    --black: #0D0D0D;
    --rustic-orange: #F28705;
    --rustic-yellow: #F2E205;
}

/* Estilos do Footer */
.footer {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    color: white;
    padding: 60px 0 30px;
}

.footer-brand img {
    transition: transform 0.3s ease;
}

.footer-brand img:hover {
    transform: scale(1.05);
}

.footer-title {
    color: var(--rustic-yellow);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--rustic-yellow);
}

.social-links {
    margin-top: 20px;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.social-link:hover {
    background: var(--rustic-orange);
    transform: translateY(-3px);
    color: white;
}

.contact-info-footer {
    margin-top: 20px;
}

.contact-item-footer {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-item-footer i {
    font-size: 1.2rem;
    margin-right: 10px;
    margin-top: 2px;
}

.contact-item-footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item-footer a:hover {
    color: var(--rustic-yellow);
}

.footer-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--rustic-orange), transparent);
    margin: 30px 0 20px;
}

/* Estilos do WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    color: white;
}

.whatsapp-btn i {
    font-size: 28px;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--black);
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: var(--black);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsividade do WhatsApp */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-btn i {
        font-size: 24px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* Estilos adicionais */
.text-rustic {
    color: var(--accent-orange);
    font-weight: 600;
}

.bg-rustic {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--secondary-orange) 100%);
}

.product-icon {
    font-size: 3rem;
    color: var(--accent-orange);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--black);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-orange), var(--secondary-orange));
    border-radius: 2px;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--secondary-orange) 100%);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 135, 5, 0.4);
    color: white;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--rustic-yellow) !important;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--rustic-yellow) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--secondary-orange) 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

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

/* Efeitos de hover para cards */
.card-custom {
    position: relative;
    overflow: hidden;
}

.card-custom::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;
}

.card-custom:hover::before {
    left: 100%;
}

/* Efeito de partículas no hero */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(242, 135, 5, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(242, 159, 5, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(242, 226, 5, 0.1) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

/* Botões com efeito de brilho */
.btn-primary-custom {
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-primary-custom:hover::before {
    left: 100%;
}

/* Efeito de texto rústico */
.rustic-text {
    background: linear-gradient(45deg, var(--accent-orange), var(--secondary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Bordas rústicas animadas */
.rustic-border {
    position: relative;
    overflow: hidden;
}

.rustic-border::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(242, 135, 5, 0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Efeito de parallax sutil */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Animações de entrada */
.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in-delay-1 {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.fade-in-delay-2 {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.fade-in-delay-3 {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Efeito de hover para ícones */
.contact-icon {
    transition: all 0.3s ease;
}

.contact-icon:hover {
    transform: scale(1.2) rotate(5deg);
    color: var(--secondary-orange) !important;
}

/* Efeito de hover para produtos */
.product-icon {
    transition: all 0.3s ease;
}

.card-custom:hover .product-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--secondary-orange) !important;
}

/* Efeito de hover para links do footer */
.footer a {
    position: relative;
    transition: all 0.3s ease;
}

.footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-orange);
    transition: width 0.3s ease;
}

.footer a:hover::after {
    width: 100%;
}

/* Efeito de loading para formulário */
.form-loading {
    position: relative;
    pointer-events: none;
}

.form-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-yellow);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsividade melhorada */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn-primary-custom {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Efeito de scroll suave para navbar */
.navbar-scrolled {
    background: rgba(13, 13, 13, 0.95) !important;
    backdrop-filter: blur(10px);
}

/* Efeito de hover para navbar links */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-yellow);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Efeito de hover para cards de produtos */
.card-custom:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Efeito de hover para botões */
.btn-primary-custom:hover {
    transform: translateY(-3px) scale(1.05);
}

/* Efeito de hover para ícones de contato */
.contact-item:hover .contact-icon {
    animation: pulse 1s infinite;
}

/* Efeito de hover para logo */
.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: rotate(5deg) scale(1.1);
}

/* Efeito de hover para links do menu */
.nav-link:hover {
    transform: translateY(-2px);
}

/* Efeito de hover para cards de valores */
.rustic-border:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(242, 135, 5, 0.3);
}

/* Efeito de hover para formulário */
.form-control:focus {
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 0.2rem rgba(242, 135, 5, 0.25);
}

/* Efeito de hover para select */
.form-select:focus {
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 0.2rem rgba(242, 135, 5, 0.25);
}

/* Efeito de hover para textarea */
.form-control:focus {
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 0.2rem rgba(242, 135, 5, 0.25);
}

/* Efeito de hover para botões do formulário */
.btn-primary-custom:active {
    transform: translateY(-1px) scale(0.98);
}

/* Efeito de hover para links do footer */
.footer a:hover {
    transform: translateY(-2px);
}

/* Efeito de hover para ícones do footer */
.footer a i {
    transition: transform 0.3s ease;
}

.footer a:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Efeito de hover para cards de produtos */
.card-custom:hover .card-header-custom {
    background: linear-gradient(135deg, var(--secondary-orange) 0%, var(--accent-orange) 100%);
}

/* Efeito de hover para seção de contato */
.contact-item:hover {
    transform: translateY(-5px);
}

/* Efeito de hover para seção sobre */
.rustic-border:hover {
    transform: scale(1.02);
}

/* Efeito de hover para hero section */
.hero-section:hover::before {
    animation: float 3s ease-in-out infinite;
}

/* Efeito de hover para hero section */
.hero-section:hover::after {
    animation: float 3s ease-in-out infinite reverse;
}

/* Efeito de hover para hero section */
.hero-section:hover .hero-content {
    transform: translateY(-5px);
}

/* Efeito de hover para hero section */
.hero-section:hover .hero-title {
    transform: scale(1.05);
}

/* Efeito de hover para hero section */
.hero-section:hover .hero-subtitle {
    transform: scale(1.02);
}

/* Efeito de hover para hero section */
.hero-section:hover .btn-primary-custom {
    transform: translateY(-3px) scale(1.05);
}

/* Efeito de hover para hero section */
.hero-section:hover .btn-outline-dark {
    transform: translateY(-3px) scale(1.05);
}

/* Efeito de hover para hero section */
.hero-section:hover img {
    transform: scale(1.05) rotate(2deg);
}

/* Efeito de hover para hero section */
.hero-section:hover .hero-content {
    transform: translateY(-5px);
}

/* Efeito de hover para hero section */
.hero-section:hover .hero-title {
    transform: scale(1.05);
}

/* Efeito de hover para hero section */
.hero-section:hover .hero-subtitle {
    transform: scale(1.02);
}

/* Efeito de hover para hero section */
.hero-section:hover .btn-primary-custom {
    transform: translateY(-3px) scale(1.05);
}

/* Efeito de hover para hero section */
.hero-section:hover .btn-outline-dark {
    transform: translateY(-3px) scale(1.05);
}

/* Efeito de hover para hero section */
.hero-section:hover img {
    transform: scale(1.05) rotate(2deg);
}

/* Efeito de hover para hero section */
.hero-section:hover .hero-content {
    transform: translateY(-5px);
}

/* Efeito de hover para hero section */
.hero-section:hover .hero-title {
    transform: scale(1.05);
}

/* Efeito de hover para hero section */
.hero-section:hover .hero-subtitle {
    transform: scale(1.02);
}

/* Efeito de hover para hero section */
.hero-section:hover .btn-primary-custom {
    transform: translateY(-3px) scale(1.05);
}

/* Efeito de hover para hero section */
.hero-section:hover .btn-outline-dark {
    transform: translateY(-3px) scale(1.05);
}

/* Efeito de hover para hero section */
.hero-section:hover img {
    transform: scale(1.05) rotate(2deg);
}
