/*
 * Modern Shortcodes Styling
 * Redesigned shortcodes with modern layouts
 * @package Fitness Pro
 */

/* ==========================================
   COMMON STYLES FOR ALL SHORTCODES
   ========================================== */

.fitness-team-section,
.fitness-testimonial-section,
.fitness-service-section,
.fitness-faq-section,
.fitness-project-section,
.fitness-gallery-section {
    padding: 30px 0;
}

.team-grid,
.service-grid,
.project-grid,
.gallery-grid {
    margin: 0 -15px;
}

.team-member-col,
.service-col,
.testimonial-col,
.project-col,
.gallery-col,
.faq-item {
    padding: 15px;
    margin-bottom: 30px;
}

/* ==========================================
   TEAM MEMBER CARDS - REDESIGNED
   ========================================== */

.team-member-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.team-member-image {
    position: relative;
    overflow: hidden;
    padding-bottom: 100%;
}

.team-member-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member-card:hover .team-member-image img {
    transform: scale(1.1);
}

/* Overlay Style Social Icons */
.team-social-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 107, 53, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member-card:hover .team-social-overlay {
    opacity: 1;
}

.team-social-overlay a {
    color: #fff;
    font-size: 20px;
    margin: 0 10px;
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.team-social-overlay a:hover {
    background: #fff;
    color: #ff6b35;
    transform: translateY(-5px);
}

.team-member-content {
    padding: 25px 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-member-name {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #2c3e50;
}

.team-member-name a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.team-member-name a:hover {
    color: #ff6b35;
}

.team-member-designation {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-member-social {
    margin-top: 15px;
}

.team-member-social a {
    color: #95a5a6;
    font-size: 16px;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.team-member-social a:hover {
    color: #ff6b35;
    transform: scale(1.2);
}

/* ==========================================
   TESTIMONIAL CARDS - REDESIGNED
   ========================================== */

.testimonial-card {
    background: #fff;
    border-radius: 15px;
    padding: 35px 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.testimonial-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

/* Quote Style */
.testimonial-style-quote .testimonial-quote-icon {
    font-size: 60px;
    color: #ff6b35;
    opacity: 0.2;
    margin-bottom: 20px;
}

.testimonial-content {
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    font-style: italic;
}

.testimonial-rating {
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #ffa902;
    font-size: 16px;
    margin-right: 3px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    padding-top: 20px;
    border-top: 2px solid #f8f9fa;
}

.testimonial-author-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    flex-shrink: 0;
}

.testimonial-author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author-info {
    flex-grow: 1;
}

.testimonial-author-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 5px;
    color: #2c3e50;
}

.testimonial-author-designation {
    font-size: 14px;
    color: #7f8c8d;
}

/* ==========================================
   SERVICE CARDS - REDESIGNED
   ========================================== */

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
    color: #fff;
    font-size: 35px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 15px;
    color: #2c3e50;
}

.service-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-title a:hover {
    color: #ff6b35;
}

.service-description {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
}

.service-read-more {
    display: inline-block;
    color: #ff6b35;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-read-more:hover {
    color: #e55a2b;
    transform: translateX(5px);
}

.service-read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-read-more:hover i {
    transform: translateX(5px);
}

/* Service Minimal Style */
.service-style-minimal .service-icon {
    background: transparent;
    color: #ff6b35;
    border: 3px solid #ff6b35;
}

/* ==========================================
   FAQ ACCORDION - REDESIGNED
   ========================================== */

.faq-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    background: #fff;
    border-left: 4px solid transparent;
}

.faq-question:hover {
    background: #f8f9fa;
    border-left-color: #ff6b35;
}

.faq-question.active {
    background: #ff6b35;
    border-left-color: #ff6b35;
}

.faq-number {
    font-size: 24px;
    font-weight: 700;
    color: #ff6b35;
    margin-right: 20px;
    flex-shrink: 0;
}

.faq-question.active .faq-number {
    color: #fff;
}

.faq-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #2c3e50;
    flex-grow: 1;
}

.faq-question.active .faq-title {
    color: #fff;
}

.faq-toggle-icon {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 50%;
    background: #f8f9fa;
    color: #ff6b35;
    font-size: 16px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-question.active .faq-toggle-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 30px;
    background: #f8f9fa;
}

.faq-answer.active {
    display: block;
}

.faq-answer-content {
    padding: 25px 0;
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

/* ==========================================
   PROJECT/PORTFOLIO - REDESIGNED
   ========================================== */

.project-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.project-image {
    position: relative;
    overflow: hidden;
    padding-bottom: 75%;
}

.project-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.15);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.95) 0%, rgba(0, 78, 137, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay-content {
    text-align: center;
    padding: 20px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.project-card:hover .project-overlay-content {
    transform: translateY(0);
}

.project-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #fff;
}

.project-title a {
    color: #fff;
    text-decoration: none;
}

.project-category {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-actions {
    margin-top: 15px;
}

.project-actions a {
    display: inline-block;
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    margin: 0 5px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.project-actions a:hover {
    background: #fff;
    color: #ff6b35;
    transform: translateY(-5px);
}

/* ==========================================
   GALLERY - REDESIGNED
   ========================================== */

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.gallery-image {
    position: relative;
    overflow: hidden;
    padding-bottom: 75%;
}

.gallery-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 107, 53, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-content {
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay-content {
    transform: translateY(0);
}

.gallery-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px;
}

.gallery-zoom {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 24px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.gallery-zoom:hover {
    background: #fff;
    color: #ff6b35;
    transform: scale(1.15) rotate(90deg);
    border-color: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Gallery Image Click Effect */
.gallery-image {
    cursor: pointer;
}

.gallery-item:hover .gallery-image {
    cursor: zoom-in;
}

/* ==========================================
   RESPONSIVE STYLES
   ========================================== */

@media (max-width: 768px) {
    .team-member-content,
    .testimonial-card,
    .service-card,
    .faq-answer-content {
        padding: 20px 15px;
    }

    .team-member-name,
    .service-title,
    .project-title {
        font-size: 18px;
    }

    .service-icon {
        width: 65px;
        height: 65px;
        line-height: 65px;
        font-size: 28px;
    }

    .faq-title {
        font-size: 16px;
    }

    .faq-number {
        font-size: 20px;
        margin-right: 15px;
    }
}

@media (max-width: 576px) {
    .team-member-col,
    .service-col,
    .testimonial-col,
    .project-col,
    .gallery-col {
        padding: 10px;
    }

    .team-member-card,
    .service-card,
    .testimonial-card {
        margin-bottom: 20px;
    }
}

/* ==========================================
   BLOG SECTION - REDESIGNED
   ========================================== */

.fitness-blog-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.blog-posts-grid {
    margin: 0 -15px;
}

.blog-post-col {
    padding: 15px;
    margin-bottom: 30px;
}

/* Blog Post Card */
.blog-post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Blog Post Image */
.blog-post-image {
    position: relative;
    overflow: hidden;
    padding-bottom: 65%;
}

.blog-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post-card:hover .blog-post-image img {
    transform: scale(1.15);
}

/* Category Badge */
.blog-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

.blog-category-badge a {
    display: inline-block;
    background: #ff6b35;
    color: #fff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-category-badge a:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

/* Blog Post Content */
.blog-post-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Post Meta */
.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.blog-meta-item {
    font-size: 13px;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-meta-item i {
    color: #ff6b35;
    font-size: 14px;
}

.blog-meta-item a {
    color: #7f8c8d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-meta-item a:hover {
    color: #ff6b35;
}

/* Post Title */
.blog-post-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 15px;
    line-height: 1.4;
}

.blog-post-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post-title a:hover {
    color: #ff6b35;
}

/* Post Excerpt */
.blog-post-excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-post-excerpt p {
    margin: 0;
}

/* Read More Button */
.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff6b35;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.blog-read-more:hover {
    color: #e55a2b;
    gap: 12px;
}

.blog-read-more i {
    transition: transform 0.3s ease;
}

.blog-read-more:hover i {
    transform: translateX(5px);
}

/* View All Button */
.blog-view-all-btn {
    display: inline-block;
    background: #ff6b35;
    color: #fff;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 30px;
}

.blog-view-all-btn:hover {
    background: #e55a2b;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.blog-view-all-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.blog-view-all-btn:hover i {
    transform: translateX(5px);
}

/* Blog Style - Minimal */
.blog-style-minimal .blog-post-card {
    box-shadow: none;
    border: 1px solid #e9ecef;
}

.blog-style-minimal .blog-category-badge a {
    background: transparent;
    color: #ff6b35;
    border: 2px solid #ff6b35;
}

/* Blog Style - Modern */
.blog-style-modern .blog-post-image {
    padding-bottom: 56%;
}

.blog-style-modern .blog-category-badge {
    top: 20px;
    left: 20px;
}

/* Blog Style - List */
.blog-style-list .blog-post-card {
    flex-direction: row;
}

.blog-style-list .blog-post-image {
    width: 35%;
    padding-bottom: 0;
    height: auto;
    min-height: 250px;
}

.blog-style-list .blog-post-content {
    width: 65%;
}

/* Responsive Blog */
@media (max-width: 768px) {
    .blog-post-title {
        font-size: 18px;
    }
    
    .blog-post-content {
        padding: 20px;
    }
    
    .blog-post-meta {
        gap: 10px;
        font-size: 12px;
    }
    
    .blog-style-list .blog-post-card {
        flex-direction: column;
    }
    
    .blog-style-list .blog-post-image,
    .blog-style-list .blog-post-content {
        width: 100%;
    }
    
    .blog-style-list .blog-post-image {
        padding-bottom: 65%;
    }
}

@media (max-width: 576px) {
    .blog-post-col {
        padding: 10px;
    }
    
    .blog-post-card {
        margin-bottom: 20px;
    }
    
    .blog-post-meta {
        flex-direction: column;
        gap: 8px;
    }
}
