/* Custom styles for Tara brand website */

/* Profile image hover effect */
.profile-image {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

/* Hero section animations */
.hero-buttons a {
    transition: all 0.3s ease;
    min-width: 200px;
}

.hero-buttons a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Navigation enhancements */
.nav-link.active {
    color: #2563eb;
    font-weight: 600;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background-color: #2563eb;
    border-radius: 1px;
}

/* Filter buttons */
.filter-btn {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.filter-btn:hover:not(.active) {
    border-color: #2563eb;
    color: #2563eb;
}

.filter-btn.active {
    background-color: #2563eb !important;
    color: white !important;
    border-color: #2563eb !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Service/Project cards */
.project-card {
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
    border: 1px solid #f3f4f6;
}

.project-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: #e5e7eb;
}

/* Form success message */
.success-message {
    display: none;
    background-color: #10b981;
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.success-message.show {
    display: block;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom accent colors for sections */
.accent-50 {
    background-color: #faf5ff;
}

/* Mobile menu animation */
#mobile-menu {
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive hero image */
.hero-image {
    max-width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

/* Logo styling */
.logo-img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

/* Enhanced section spacing */
section {
    position: relative;
    overflow: hidden;
}

/* Gradient overlays for visual interest */
.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    pointer-events: none;
}

/* Service card icons */
.service-icon {
    transition: all 0.3s ease;
}

.project-card:hover .service-icon {
    transform: scale(1.1);
}

/* Stats cards enhancement */
.stats-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.15);
}

/* Contact form enhancements */
.contact-form-container {
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive improvements */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .hero-buttons a {
        width: 100%;
        text-align: center;
        min-width: auto;
    }
    
    .profile-image {
        width: 24rem;
        height: 24rem;
    }
    
    .mobile-nav-links {
        padding: 0.5rem 0;
    }
}

@media (max-width: 640px) {
    .profile-image {
        width: 20rem;
        height: 20rem;
    }
    
    .text-5xl {
        font-size: 2.5rem;
    }
    
    .text-6xl {
        font-size: 3rem;
    }
}