/* Vila Guilherme Page Specific Styles */

/* Hero Section */
.vila-guilherme-hero-section {
    background: linear-gradient(135deg, rgba(4, 217, 217, 0.9), rgba(1, 52, 64, 0.9)), 
                url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2073&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.vila-guilherme-hero-section::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="vila-guilherme-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23vila-guilherme-pattern)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.vila-guilherme-hero-section .container {
    position: relative;
    z-index: 2;
}

.text-gradient {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-image-container {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

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

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

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), #c55a3a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(4, 217, 217, 0.3);
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-color), #c55a3a);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color), #c55a3a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(4, 217, 217, 0.3);
}

/* Process Steps */
.process-step {
    position: relative;
    padding: 2rem 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), #c55a3a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(4, 217, 217, 0.3);
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(4, 217, 217, 0.4);
}

/* Accordion Customization */
.accordion-button {
    background: white;
    border: none;
    border-radius: 15px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-weight: 600;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--accent-color), #c55a3a);
    color: white;
    box-shadow: 0 5px 20px rgba(4, 217, 217, 0.3);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(4, 217, 217, 0.25);
    border-color: var(--accent-color);
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-body {
    background: white;
    padding: 1.5rem;
    border-radius: 0 0 15px 15px;
}

/* CTA Section */
.bg-primary {
    background: linear-gradient(135deg, var(--accent-color), #c55a3a) !important;
    position: relative;
    overflow: hidden;
}

.bg-primary::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="cta-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23cta-pattern)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.bg-primary .container {
    position: relative;
    z-index: 2;
}

/* Footer Enhancements */
.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color) !important;
    transform: translateY(-3px);
}

/* Custom Interactive Section Styles */
.custom-vila-guilherme-section {
    background: linear-gradient(135deg, rgba(4, 217, 217, 0.02), rgba(1, 52, 64, 0.02));
    position: relative;
}

.custom-vila-guilherme-section::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="vila-guilherme-custom-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(217,112,74,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23vila-guilherme-custom-pattern)"/></svg>');
    opacity: 0.6;
    z-index: 1;
}

.custom-vila-guilherme-section .container {
    position: relative;
    z-index: 2;
}

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

.custom-content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.content-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), #c55a3a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

/* Reason Cards */
.reason-card {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(4, 217, 217, 0.05);
    border-radius: 15px;
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}

.reason-card:hover {
    background: rgba(4, 217, 217, 0.1);
    transform: translateY(-3px);
}

.reason-card i {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

/* Location Items */
.location-item {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(13, 110, 253, 0.05);
    border-radius: 15px;
    border-left: 4px solid #0d6efd;
    transition: all 0.3s ease;
}

.location-item:hover {
    background: rgba(13, 110, 253, 0.1);
    transform: translateY(-3px);
}

.location-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-color), #c55a3a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 5px 15px rgba(4, 217, 217, 0.3);
    flex-shrink: 0;
}

.location-content {
    flex: 1;
}

/* Benefit Items */
.benefit-item {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(40, 167, 69, 0.05);
    border-radius: 15px;
    border-left: 4px solid #28a745;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(40, 167, 69, 0.1);
    transform: translateY(-3px);
}

.benefit-item i {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

/* Table Styles */
.table {
    border-radius: 10px;
    overflow: hidden;
}

.table thead th {
    background: linear-gradient(135deg, var(--accent-color), #c55a3a);
    color: white;
    border: none;
    font-weight: 600;
}

.table tbody tr {
    transition: all 0.3s ease;
}

.table tbody tr:hover {
    background: rgba(4, 217, 217, 0.05);
}

/* Responsive Custom Section */
@media (max-width: 768px) {
    .custom-content-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .content-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .reason-card,
    .location-item,
    .benefit-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .reason-card i,
    .benefit-item i {
        font-size: 1.2rem;
    }
    
    .location-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin-right: 0.75rem;
    }
}

@media (max-width: 576px) {
    .custom-content-card {
        padding: 1rem;
    }
    
    .content-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .reason-card,
    .benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .reason-card i,
    .benefit-item i {
        margin-bottom: 0.5rem;
    }
    
    .location-item {
        flex-direction: column;
        text-align: center;
    }
    
    .location-number {
        margin: 0 auto 0.75rem;
    }
    
    .table-responsive {
        font-size: 0.8rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .mandaqui-hero-section {
        background-attachment: scroll;
        padding: 2rem 0;
    }
    
    .hero-image-container {
        margin-top: 2rem;
    }
    
    .benefit-card,
    .service-card {
        margin-bottom: 2rem;
    }
    
    .benefit-icon,
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .process-step {
        padding: 1.5rem 0.5rem;
    }
}

@media (max-width: 576px) {
    .mandaqui-hero-section {
        text-align: center;
    }
    
    .benefit-card,
    .service-card {
        padding: 1.5rem;
    }
    
    .benefit-icon,
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .process-step {
        padding: 1rem 0;
    }
    
    .accordion-button {
        font-size: 0.9rem;
        padding: 1rem;
    }
    
    .accordion-body {
        padding: 1rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Hover Effects */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #c55a3a);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #c55a3a, var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(4, 217, 217, 0.3);
}

.btn-outline-light:hover {
    background: white;
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-light:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(4, 217, 217, 0.3);
}

/* WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    animation: pulse 2s infinite;
}

.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 {
    background: #128C7E;
    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: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #333;
}

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

@keyframes pulse {
    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 Flutuante */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-btn i {
        font-size: 24px;
    }
    
    .whatsapp-tooltip {
        right: 60px;
        font-size: 12px;
        padding: 6px 10px;
    }
}

@media (max-width: 576px) {
    .whatsapp-float {
        bottom: 10px;
        right: 10px;
    }
    
    .whatsapp-btn {
        width: 45px;
        height: 45px;
    }
    
    .whatsapp-btn i {
        font-size: 20px;
    }
    
    .whatsapp-tooltip {
        display: none; /* Esconder tooltip em telas muito pequenas */
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--accent-color), #c55a3a);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #c55a3a, var(--accent-color));
}
