/*
Theme Name: VirtuBridge
Description: A modern WordPress theme for VirtuBridge Madagascar - Services de Développement Logiciel
Version: 1.0
Author: VirtuBridge
Text Domain: virtubridge
*/

/* Import Tailwind CSS */
@import url('https://cdn.tailwindcss.com');

/* Custom styles for VirtuBridge Madagascar */

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
/* ::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #111827;
}

::-webkit-scrollbar-thumb {
    background: #2a5375;
    border-radius: 5px;
    border: 2px solid #111827;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

::-webkit-scrollbar-corner {
    background: #111827;
} */

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation classes */
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* Hover effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Custom button styles */
.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.btn-outline {
    border: 2px solid #9ca3af;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: #6b7280;
    background-color: #374151;
    color: white;
}

/* WordPress specific styles */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

.alignleft {
    float: left;
    margin-right: 1em;
}

.alignright {
    float: right;
    margin-left: 1em;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875em;
    color: #6b7280;
    margin-top: 0.5em;
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
}

/* WordPress content area */
.entry-content {
    max-width: 100%;
}

.entry-content img {
    max-width: 100%;
    height: auto;
}

/* WordPress widgets */
.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #e5e7eb;
}

/* WordPress comments */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #1f2937;
    border-radius: 0.5rem;
}

.comment-author {
    font-weight: 600;
    color: #3b82f6;
}

.comment-meta {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

/* WordPress search form */
.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-field {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #374151;
    border-radius: 0.375rem;
    background: #1f2937;
    color: #e5e7eb;
}

.search-submit {
    padding: 0.5rem 1rem;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-submit:hover {
    background: #2563eb;
}
