/**
 * Shortcodes Styles
 * Styling for all shortcode elements
 *
 * @package My_Theme_Core
 */

/* Layout Shortcodes */
.mtc-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.mtc-divider {
    border: none;
    margin: 20px 0;
    height: 1px;
    background: #e0e0e0;
}

.mtc-spacer {
    clear: both;
}

/* Basic Shortcodes */
.mtc-text {
    line-height: 1.6;
}

.mtc-btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.mtc-btn-default {
    background: #333;
    color: #fff;
}

.mtc-btn-default:hover {
    background: #555;
}

.mtc-btn-primary {
    background: #0073aa;
    color: #fff;
}

.mtc-btn-primary:hover {
    background: #005a87;
}

.mtc-btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

.mtc-btn-medium {
    padding: 12px 24px;
    font-size: 16px;
}

.mtc-btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.mtc-icon {
    display: inline-block;
    vertical-align: middle;
}

.mtc-icon-box {
    text-align: center;
    padding: 20px;
}

.mtc-icon-box-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: #0073aa;
}

.mtc-icon-box-title {
    margin: 0 0 10px;
    font-size: 20px;
}

.mtc-icon-box-content {
    color: #666;
}

.mtc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mtc-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.mtc-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0073aa;
    font-weight: bold;
}

/* Content Shortcodes */
.mtc-accordion {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.mtc-accordion-item {
    border-bottom: 1px solid #e0e0e0;
}

.mtc-accordion-item:last-child {
    border-bottom: none;
}

.mtc-accordion-title {
    padding: 15px 20px;
    cursor: pointer;
    background: #f5f5f5;
    font-weight: 500;
    transition: background 0.3s ease;
}

.mtc-accordion-title:hover {
    background: #eeeeee;
}

.mtc-accordion-content {
    padding: 20px;
    display: none;
}

.mtc-accordion-item.mtc-accordion-open .mtc-accordion-content {
    display: block;
}

.mtc-tabs {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.mtc-tabs-nav {
    display: flex;
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
}

.mtc-tabs-nav-item {
    padding: 12px 20px;
    cursor: pointer;
    border-right: 1px solid #e0e0e0;
    transition: background 0.3s ease;
}

.mtc-tabs-nav-item:last-child {
    border-right: none;
}

.mtc-tabs-nav-item:hover,
.mtc-tabs-nav-item.mtc-tabs-active {
    background: #fff;
}

.mtc-tabs-content {
    padding: 20px;
    display: none;
}

.mtc-tabs-content.mtc-tabs-active {
    display: block;
}

.mtc-toggle {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 10px;
}

.mtc-toggle-title {
    padding: 15px 20px;
    cursor: pointer;
    background: #f5f5f5;
    font-weight: 500;
    position: relative;
}

.mtc-toggle-title:after {
    content: "+";
    position: absolute;
    right: 20px;
    font-size: 20px;
}

.mtc-toggle-open .mtc-toggle-title:after {
    content: "−";
}

.mtc-toggle-content {
    padding: 20px;
    display: none;
}

.mtc-toggle-open .mtc-toggle-content {
    display: block;
}

.mtc-blockquote {
    border-left: 4px solid #0073aa;
    padding: 20px;
    margin: 20px 0;
    background: #f9f9f9;
    font-style: italic;
}

.mtc-blockquote cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-weight: 500;
}

.mtc-counter {
    text-align: center;
    padding: 20px;
}

.mtc-counter-number {
    font-size: 48px;
    font-weight: bold;
    color: #0073aa;
    margin-bottom: 10px;
}

.mtc-counter-title {
    font-size: 16px;
    color: #666;
}

.mtc-countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.mtc-countdown-item {
    text-align: center;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 4px;
    min-width: 80px;
}

.mtc-countdown-item span:first-child {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: #0073aa;
}

.mtc-countdown-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.mtc-progress-bar {
    margin: 20px 0;
}

.mtc-progress-title {
    margin-bottom: 10px;
    font-weight: 500;
}

.mtc-progress-percent {
    float: right;
    font-weight: bold;
    color: #0073aa;
}

.mtc-progress-bar-wrapper {
    height: 30px;
    background: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
}

.mtc-progress-bar-fill {
    height: 100%;
    background: #0073aa;
    transition: width 1s ease;
}

.mtc-pricing-table {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 30px;
    text-align: center;
    background: #fff;
    transition: transform 0.3s ease;
}

.mtc-pricing-table:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.mtc-pricing-table-featured {
    border-color: #0073aa;
    border-width: 2px;
}

.mtc-pricing-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.mtc-pricing-price {
    font-size: 48px;
    font-weight: bold;
    color: #0073aa;
    margin-bottom: 20px;
}

.mtc-pricing-period {
    font-size: 16px;
    color: #666;
}

.mtc-pricing-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.mtc-pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.mtc-pricing-features li:last-child {
    border-bottom: none;
}

.mtc-pricing-button {
    display: inline-block;
    padding: 12px 30px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.mtc-pricing-button:hover {
    background: #005a87;
}

.mtc-testimonial {
    padding: 30px;
    background: #f9f9f9;
    border-radius: 4px;
    margin: 20px 0;
}

.mtc-testimonial-image {
    float: left;
    margin-right: 20px;
}

.mtc-testimonial-image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.mtc-testimonial-content p {
    font-style: italic;
    margin-bottom: 15px;
}

.mtc-testimonial-rating {
    margin-bottom: 10px;
}

.mtc-star-filled {
    color: #ffc107;
}

.mtc-star-empty {
    color: #e0e0e0;
}

.mtc-testimonial-author {
    font-weight: 500;
}

.mtc-testimonial-position {
    display: block;
    font-size: 14px;
    color: #666;
    font-weight: normal;
}

.mtc-team-member {
    text-align: center;
    padding: 20px;
}

.mtc-team-image {
    margin-bottom: 15px;
}

.mtc-team-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
}

.mtc-team-name {
    margin: 10px 0 5px;
    font-size: 20px;
}

.mtc-team-position {
    color: #666;
    margin-bottom: 10px;
}

.mtc-clients {
    display: grid;
    gap: 20px;
    padding: 20px 0;
}

.mtc-clients-2 {
    grid-template-columns: repeat(2, 1fr);
}

.mtc-clients-3 {
    grid-template-columns: repeat(3, 1fr);
}

.mtc-clients-4 {
    grid-template-columns: repeat(4, 1fr);
}

.mtc-clients-5 {
    grid-template-columns: repeat(5, 1fr);
}

.mtc-clients-6 {
    grid-template-columns: repeat(6, 1fr);
}

.mtc-faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 10px;
}

.mtc-faq-question {
    padding: 15px 20px;
    cursor: pointer;
    background: #f5f5f5;
    font-weight: 500;
    position: relative;
}

.mtc-faq-question:after {
    content: "+";
    position: absolute;
    right: 20px;
    font-size: 20px;
}

.mtc-faq-open .mtc-faq-question:after {
    content: "−";
}

.mtc-faq-answer {
    padding: 20px;
    display: none;
}

.mtc-faq-open .mtc-faq-answer {
    display: block;
}

.mtc-feature-box {
    padding: 30px;
    text-align: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.mtc-feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.mtc-feature-box-icon {
    font-size: 48px;
    color: #0073aa;
    margin-bottom: 15px;
}

.mtc-feature-box-title {
    margin: 0 0 15px;
    font-size: 22px;
}

.mtc-cta {
    padding: 40px;
    background: #0073aa;
    color: #fff;
    border-radius: 4px;
    text-align: center;
}

.mtc-cta-title {
    margin: 0 0 15px;
    font-size: 32px;
}

.mtc-cta-content {
    margin-bottom: 20px;
    font-size: 18px;
}

.mtc-cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: #fff;
    color: #0073aa;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.mtc-cta-button:hover {
    transform: scale(1.05);
}

.mtc-timeline {
    position: relative;
    padding: 20px 0;
}

.mtc-timeline:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e0e0e0;
    transform: translateX(-50%);
}

.mtc-breadcrumbs {
    padding: 10px 0;
    font-size: 14px;
}

.mtc-breadcrumbs a {
    color: #0073aa;
    text-decoration: none;
}

.mtc-breadcrumbs-separator {
    margin: 0 10px;
    color: #999;
}

/* Media Shortcodes */
.mtc-gallery {
    display: grid;
    gap: 10px;
    padding: 20px 0;
}

.mtc-gallery-2 {
    grid-template-columns: repeat(2, 1fr);
}

.mtc-gallery-3 {
    grid-template-columns: repeat(3, 1fr);
}

.mtc-gallery-4 {
    grid-template-columns: repeat(4, 1fr);
}

.mtc-gallery-item {
    overflow: hidden;
    border-radius: 4px;
}

.mtc-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.mtc-gallery-item:hover img {
    transform: scale(1.1);
}

.mtc-slider {
    position: relative;
    overflow: hidden;
}

.mtc-slider-item {
    display: none;
}

.mtc-slider-item.mtc-slider-active {
    display: block;
}

.mtc-before-after {
    position: relative;
    overflow: hidden;
}

.mtc-before-after-before,
.mtc-before-after-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.mtc-before-after-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #fff;
    cursor: ew-resize;
    transform: translateX(-50%);
}

/* Blog & Portfolio Shortcodes */
.mtc-blog,
.mtc-portfolio {
    display: grid;
    gap: 30px;
    padding: 20px 0;
}

.mtc-blog-2,
.mtc-portfolio-2 {
    grid-template-columns: repeat(2, 1fr);
}

.mtc-blog-3,
.mtc-portfolio-3 {
    grid-template-columns: repeat(3, 1fr);
}

.mtc-blog-4,
.mtc-portfolio-4 {
    grid-template-columns: repeat(4, 1fr);
}

.mtc-blog-item,
.mtc-portfolio-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.mtc-blog-item:hover,
.mtc-portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.mtc-blog-thumbnail,
.mtc-portfolio-thumbnail {
    overflow: hidden;
}

.mtc-blog-thumbnail img,
.mtc-portfolio-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.mtc-blog-item:hover .mtc-blog-thumbnail img,
.mtc-portfolio-item:hover .mtc-portfolio-thumbnail img {
    transform: scale(1.1);
}

.mtc-blog-content,
.mtc-portfolio-content {
    padding: 20px;
}

.mtc-blog-title,
.mtc-portfolio-title {
    margin: 0 0 10px;
    font-size: 20px;
}

.mtc-blog-title a,
.mtc-portfolio-title a {
    color: #333;
    text-decoration: none;
}

.mtc-blog-title a:hover,
.mtc-portfolio-title a:hover {
    color: #0073aa;
}

.mtc-blog-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.mtc-blog-excerpt {
    color: #666;
    line-height: 1.6;
}

/* Shop Shortcodes */
.mtc-products {
    display: grid;
    gap: 30px;
    padding: 20px 0;
}

.mtc-products-2 {
    grid-template-columns: repeat(2, 1fr);
}

.mtc-products-3 {
    grid-template-columns: repeat(3, 1fr);
}

.mtc-products-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Other Shortcodes */
.mtc-map {
    border-radius: 4px;
    overflow: hidden;
}

.mtc-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.mtc-contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.mtc-contact-form input,
.mtc-contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
}

.mtc-contact-form button {
    padding: 12px 30px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

.mtc-contact-form button:hover {
    background: #005a87;
}

.mtc-social-icons {
    display: flex;
    gap: 10px;
    padding: 20px 0;
}

.mtc-social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #333;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.mtc-social-icon:hover {
    transform: scale(1.1);
}

.mtc-share {
    display: flex;
    gap: 10px;
    padding: 20px 0;
}

.mtc-share a {
    display: inline-block;
    padding: 10px 15px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.mtc-share a:hover {
    background: #e0e0e0;
}

/* Responsive */
@media (max-width: 768px) {
    .mtc-clients-4,
    .mtc-clients-5,
    .mtc-clients-6 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mtc-blog-3,
    .mtc-blog-4,
    .mtc-portfolio-3,
    .mtc-portfolio-4,
    .mtc-products-3,
    .mtc-products-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mtc-countdown {
        flex-wrap: wrap;
    }
    
    .mtc-cta-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .mtc-clients,
    .mtc-blog,
    .mtc-portfolio,
    .mtc-products {
        grid-template-columns: 1fr;
    }
}

