/* Custom CSS for GR Estudos e Consultoria */

:root {
    --verde-principal: #2E7D32;
    --verde-secundario: #4CAF50;
    --azul-principal: #1976D2;
    --azul-secundario: #42A5F5;
    --terra: #8D6E63;
    --branco: #FFFFFF;
    --cinzento-claro: #F5F5F5;
    --cinzento-escuro: #424242;
}

/* Global Styles */
* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* Custom Colors */
.has-background-primary-custom {
    background-color: var(--verde-principal) !important;
}

.has-background-secondary-custom {
    background-color: var(--azul-principal) !important;
}

.has-text-primary-custom {
    color: var(--verde-principal) !important;
}

.has-text-secondary-custom {
    color: var(--azul-principal) !important;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.is-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.navbar-item {
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-item:hover {
    color: var(--verde-principal) !important;
}

.logo-placeholder {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
}

.logo-placeholder i {
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--verde-principal) 0%, var(--azul-principal) 100%);
    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="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"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-body {
    position: relative;
    z-index: 1;
}

.hero-image-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 4rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-image-placeholder i {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Buttons */
.button.is-success {
    background-color: var(--verde-secundario);
    border-color: var(--verde-secundario);
    transition: all 0.3s ease;
}

.button.is-success:hover {
    background-color: var(--verde-principal);
    border-color: var(--verde-principal);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.button.is-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Sections */
.section {
    padding: 4rem 1.5rem;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--verde-principal), var(--azul-principal));
    margin: 1rem auto 2rem;
    border-radius: 2px;
}

/* Boxes */
.box {
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--verde-secundario), var(--azul-secundario));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper i {
    font-size: 2rem;
    color: white;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--verde-principal), var(--azul-principal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: white;
}

.price-tag {
    background: linear-gradient(135deg, var(--verde-secundario), var(--azul-secundario));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
    margin: 1rem 0;
}

/* Payment Buttons */
.payment-button {
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.payment-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
    color: white;
}

/* Slider Styles */
.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    margin: 0 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.slider-controls {
    text-align: center;
    margin-top: 2rem;
}

.slider-btn {
    background: var(--verde-principal);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    margin: 0 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: var(--verde-secundario);
    transform: scale(1.1);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--cinzento-claro);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-placeholder {
    text-align: center;
    color: var(--cinzento-escuro);
}

.gallery-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-info {
    background: linear-gradient(135deg, var(--verde-principal), var(--azul-principal));
    color: white;
    padding: 2rem;
    border-radius: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

/* Footer */
.footer {
    background: var(--cinzento-escuro) !important;
}

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

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a:hover {
    color: var(--verde-secundario) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-body {
        padding: 2rem 0;
    }
    
    .title.is-1 {
        font-size: 2.5rem !important;
    }
    
    .subtitle.is-3 {
        font-size: 1.5rem !important;
    }
    
    .section {
        padding: 2rem 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--verde-principal), var(--azul-principal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.border-gradient {
    border: 2px solid;
    border-image: linear-gradient(135deg, var(--verde-principal), var(--azul-principal)) 1;
}


/* Slider Styles - Enhanced */
.service-icon-large {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--verde-principal), var(--azul-principal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-icon-large i {
    font-size: 4rem;
    color: white;
}

.price-display {
    background: linear-gradient(135deg, var(--verde-secundario), var(--azul-secundario));
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    display: inline-block;
    margin: 1rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
}

.price-usd {
    font-size: 1.2rem;
    opacity: 0.9;
}

.slider-indicators {
    text-align: center;
    margin-top: 1rem;
}

.indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    margin: 0 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--verde-principal);
    transform: scale(1.2);
}

.indicator:hover {
    background: var(--verde-secundario);
}

/* Service Items in Cards */
/* Removed as services are now individual cards */

/* Payment Form Styles */
.payment-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 2rem auto;
}

.payment-method {
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: var(--verde-principal);
    background: rgba(76, 175, 80, 0.05);
}

.payment-method.selected {
    border-color: var(--verde-principal);
    background: rgba(76, 175, 80, 0.1);
}

.payment-method i {
    font-size: 2rem;
    margin-right: 1rem;
    color: var(--verde-principal);
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .service-icon-large {
        width: 100px;
        height: 100px;
    }
    
    .service-icon-large i {
        font-size: 2.5rem;
    }
    
    .price-amount {
        font-size: 1.5rem;
    }
    
    .price-usd {
        font-size: 1rem;
    }
    
    .slide {
        padding: 1rem;
    }
    
    .buttons .button {
        margin-bottom: 0.5rem;
    }
}

/* Loading Animation for Payment */
.payment-loading {
    display: none;
    text-align: center;
    padding: 2rem;
}

.payment-loading.active {
    display: block;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--verde-principal);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

/* Success/Error Messages */
.message-success {
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
    text-align: center;
}

.message-error {
    background: linear-gradient(135deg, #F44336, #E91E63);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
    text-align: center;
}

/* Enhanced Button Styles */
.button.is-large {
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.payment-button {
    background: linear-gradient(135deg, #FF6B35, #F7931E) !important;
    border: none !important;
    color: white !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.payment-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4) !important;
    color: white !important;
}

/* Card Enhancements */
.service-card {
    position: relative;
    overflow: hidden;
}

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

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

/* Floating Action Button for WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.whatsapp-float:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Carrinho de Compras */
.cart-container {
    position: relative;
    display: inline-block;
}

.cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 350px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
    max-height: 400px;
    overflow-y: auto;
}

.cart-dropdown.show {
    display: block;
}

.cart-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.cart-items {
    padding: 15px;
    max-height: 250px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-name {
    font-weight: 500;
    flex: 1;
}

.cart-item-price {
    font-weight: bold;
    color: #48c774;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #f14668;
    cursor: pointer;
    padding: 5px;
    margin-left: 10px;
}

.cart-footer {
    padding: 15px;
    border-top: 1px solid #eee;
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
}

.cart-total {
    text-align: right;
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* Checkbox personalizado */
.product-selection {
    margin: 15px 0;
}

.checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9em;
    color: #666;
}

.checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 3px;
    margin-right: 8px;
    position: relative;
    background: white;
    transition: all 0.3s ease;
}

.checkbox input[type="checkbox"]:checked + .checkmark {
    background: #48c774;
    border-color: #48c774;
}

.checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox:hover .checkmark {
    border-color: #48c774;
}

/* Responsividade do carrinho */
@media (max-width: 768px) {
    .cart-dropdown {
        width: 300px;
        right: -50px;
    }
}

@media (max-width: 480px) {
    .cart-dropdown {
        width: 280px;
        right: -80px;
    }
}

/* Controles de Quantidade */
.quantity-controls {
    margin-top: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.quantity-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    border-color: #48c774;
    background: #48c774;
    color: white;
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity-input {
    width: 60px;
    height: 32px;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
}

.quantity-input:focus {
    outline: none;
    border-color: #48c774;
    box-shadow: 0 0 0 2px rgba(72, 199, 116, 0.2);
}

/* Responsividade dos controles de quantidade */
@media (max-width: 768px) {
    .quantity-wrapper {
        gap: 6px;
    }
    
    .quantity-btn {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .quantity-input {
        width: 50px;
        height: 28px;
        font-size: 12px;
    }
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cart-item-quantity {
    font-size: 0.8em;
    color: #666;
    font-style: italic;
}

