/*
 * Et Voila Child Theme Custom CSS
 * Additional styles for the child theme
 */

/* Custom container styles */
.et-voila-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    
}

/* Custom hero section */
.et-voila-hero {
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.et-voila-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.et-voila-hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Custom card styles */
.et-voila-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.et-voila-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.et-voila-card h3 {
    color: #007cba;
    margin-bottom: 15px;
}

/* Custom grid layout */
.et-voila-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

/* Custom form styles */
.et-voila-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
}

.et-voila-form input,
.et-voila-form textarea,
.et-voila-form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.et-voila-form input:focus,
.et-voila-form textarea:focus,
.et-voila-form select:focus {
    border-color: #007cba;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2);
}

/* Custom navigation enhancements */
.et-voila-nav-enhancement {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Custom footer styles */
.et-voila-footer-custom {
    background: #333;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.et-voila-footer-custom a {
    color: #007cba;
    text-decoration: none;
}

.et-voila-footer-custom a:hover {
    color: #005a87;
}

/* Animation classes */
.et-voila-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Back to top button styles */
.et-voila-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #007cba;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.3);
}

.et-voila-back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.et-voila-back-to-top:hover {
    background: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 124, 186, 0.4);
}

/* Form error styles */
.et-voila-form input.error,
.et-voila-form textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .et-voila-hero h1 {
        font-size: 2rem;
    }
    
    .et-voila-hero p {
        font-size: 1rem;
    }
    
    .et-voila-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .et-voila-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .et-voila-container {
        padding: 0 10px;
    }
    
    .et-voila-hero {
        padding: 40px 0;
    }
    
    .et-voila-back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}