/* Custom Styles for Timy Theme */

/* General Styles */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
}

/* Primary Banner */
.primary-banner-area {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: white;
    padding: 80px 0 60px;
    position: relative;
}

.primary-banner-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.primary-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.primary-banner-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: white;
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}

/* Cards */
.service-card,
.team-card,
.testimonial-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
}

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

/* Service Cards */
.service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.service-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.service-duration {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.service-features li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Team Cards */
.team-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-name a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 600;
}

.team-name a:hover {
    color: var(--primary-color);
}

.team-position {
    font-style: italic;
    color: var(--secondary-color);
}

.team-social .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: var(--light-color);
    color: var(--secondary-color);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.team-social .social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Testimonial Cards */
.testimonial-rating .fa-star {
    font-size: 0.9rem;
    margin-right: 2px;
}

.testimonial-text {
    font-style: italic;
    position: relative;
}

.testimonial-author {
    border-top: 1px solid var(--light-color);
    padding-top: 1rem;
}

.author-image img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

/* Single Templates */
.testimonial-card-single {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.client-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.quote-icon {
    opacity: 0.1;
}

/* Navigation */
.testimonial-navigation,
.team-navigation {
    background: var(--light-color);
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: #0056b3;
    border-color: #0056b3;
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

/* Pagination */
.pagination-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-wrapper .page-numbers:hover,
.pagination-wrapper .page-numbers.current {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Section Titles */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--secondary-color);
    line-height: 1.7;
}

/* CTA Sections */
.cta-section {
    padding: 4rem 0;
}

.cta-section.bg-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
}

/* Contact Info Widget */
.contact-info-widget .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--light-color);
    border-radius: 8px;
}

.contact-info-widget .contact-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

/* Social Media Widget */
.social-media-widget .social-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.social-media-widget .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-media-widget .social-link:hover {
    background: var(--dark-color);
    transform: translateY(-2px);
}

/* Recent Services Widget */
.recent-services-widget .service-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--light-color);
}

.recent-services-widget .service-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-services-widget .service-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 1rem;
    flex-shrink: 0;
}

.recent-services-widget .service-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-services-widget .service-info h6 {
    margin: 0 0 0.25rem 0;
    font-size: 0.9rem;
}

.recent-services-widget .service-info h6 a {
    color: var(--dark-color);
    text-decoration: none;
}

.recent-services-widget .service-info h6 a:hover {
    color: var(--primary-color);
}

.recent-services-widget .service-excerpt {
    font-size: 0.8rem;
    color: var(--secondary-color);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .primary-banner-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .testimonial-card-single {
        padding: 2rem 1.5rem;
    }
    
    .team-navigation .d-flex,
    .testimonial-navigation .d-flex {
        flex-direction: column;
        gap: 1rem;
    }
    
    .prev-team-member,
    .next-team-member,
    .prev-testimonial,
    .next-testimonial {
        text-align: center;
    }
}

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

.service-card,
.team-card,
.testimonial-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Focus States for Accessibility */
.btn:focus,
.social-link:focus,
.page-numbers:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .primary-banner-area,
    .cta-section,
    .team-navigation,
    .testimonial-navigation {
        display: none;
    }
    
    .service-card,
    .team-card,
    .testimonial-card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
}