/* Pricing Cards Plugin Styles - Green Theme */

/* Ana wrapper */
.pricing-cards-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Giriş alanı */
.pricing-intro-section {
    text-align: center;
    margin: 40px 0 60px 0;
    padding: 40px 30px;
    background: linear-gradient(135deg, #166534, #16a34a, #22c55e);
    border-radius: 20px;
    color: white;
    box-shadow: 0 15px 35px rgba(22, 101, 52, 0.3);
    position: relative;
    overflow: hidden;
}

.pricing-intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="10" height="10" patternUnits="userSpaceOnUse"><circle cx="5" cy="5" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.intro-title {
    font-size: 32px;
    font-weight: bold;
    margin: 0 0 20px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.intro-subtitle {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

/* Kartlar container */
.pricing-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: #ffffff;
    border: 2px solid #166534;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(22, 101, 52, 0.15);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.pricing-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(22, 101, 52, 0.25);
    border-color: #16a34a;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #166534, #16a34a, #22c55e, #4ade80);
}

.pricing-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(34, 197, 94, 0.05), transparent);
    transform: rotate(45deg);
    transition: all 0.4s ease;
    opacity: 0;
}

.pricing-card:hover::after {
    opacity: 1;
    animation: shimmer 2s ease-in-out;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.card-title {
    color: #1e3a8a;
    font-size: 26px;
    font-weight: bold;
    margin: 0 0 20px 0;
    padding: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.card-price {
    color: #166534;
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 10px 0;
    background: linear-gradient(135deg, #166534, #16a34a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    line-height: 1;
}

.card-price-label {
    color: #6b7280;
    font-size: 14px;
    margin: 0 0 20px 0;
}

.membership-badge {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    padding: 8px 14px;
    margin: 0 auto 16px auto;
    border-radius: 20px;
    display: inline-block;
}

.membership-icon::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: #166534;
    margin-right: 6px;
    border-radius: 2px;
    vertical-align: middle;
}

.membership-type {
    color: #166534;
    font-size: 16px;
    font-weight: 500;
}

.difficulty {
    margin-bottom: 20px;
    text-align: center;
}

.difficulty-star::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 16px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23166534" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="12,2 15.09,8.26 22,9.27 17,14.14 18.18,21.02 12,17.77 5.82,21.02 7,14.14 2,9.27 8.91,8.26"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 6px;
    vertical-align: middle;
}

.difficulty-text {
    color: #166534;
    font-size: 16px;
}

.contact-button {
    display: inline-block;
    background: linear-gradient(135deg, #166534, #16a34a);
    color: white !important;
    text-decoration: none !important;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: bold;
    margin: 30px 0 0 0;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(22, 101, 52, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s ease;
}

.contact-button:hover::before {
    left: 100%;
}

.contact-button:hover {
    background: linear-gradient(135deg, #14532d, #16a34a);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(22, 101, 52, 0.4);
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.features-list li {
    padding: 10px 0;
    color: #374151;
    font-size: 15px;
    position: relative;
    padding-left: 30px;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 5px 0;
}

.features-list li:not(.more-details-toggle):not(.hidden-feature)::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: bold;
    font-size: 14px;
    background: #dcfce7;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.2);
}

.features-list li:not(.more-details-toggle):not(.hidden-feature):hover {
    background: #f8fafc;
    transform: translateX(5px);
}

.more-details-toggle {
    cursor: pointer;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    margin: 15px 0 5px 0;
    padding: 8px 16px !important;
    color: #166534 !important;
    font-weight: bold;
    text-align: center;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: inline-block;
    width: 100%;
}

.more-details-toggle:hover {
    background: linear-gradient(135deg, #bbf7d0, #86efac);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(22, 101, 52, 0.2);
}

/* Modal Kutucuk Stilleri */
.packet-details-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(22, 101, 52, 0.3);
    border: 2px solid #166534;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, #166534, #16a34a);
    color: white;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
}

.modal-close {
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.modal-body {
    padding: 25px;
    max-height: 400px;
    overflow-y: auto;
}

.modal-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-features-list .modal-feature {
    padding: 12px 0;
    color: #374151;
    font-size: 15px;
    position: relative;
    padding-left: 35px;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}

.modal-features-list .modal-feature:last-child {
    border-bottom: none;
}

.modal-features-list .modal-feature::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: bold;
    font-size: 16px;
    background: #dcfce7;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.2);
}

.modal-features-list .modal-feature:hover {
    background: #f9fafb;
    transform: translateX(5px);
    border-radius: 8px;
    padding: 12px 8px 12px 35px;
}

.packet-details-modal.show {
    display: flex !important;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        max-width: 90%;
        margin: 20px;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-header h3 {
        font-size: 18px;
    }
    
    .modal-body {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        max-width: 95%;
        margin: 10px;
    }
    
    .modal-header {
        padding: 12px 15px;
    }
    
    .modal-header h3 {
        font-size: 16px;
    }
    
    .modal-body {
        padding: 15px;
    }
}

.more-details-toggle .arrow {
    transition: transform 0.3s ease;
    font-size: 18px;
    margin-left: 8px;
}

.more-details-toggle.active .arrow {
    transform: rotate(180deg);
}

.hidden-feature {
    color: #6b7280 !important;
    font-size: 14px;
    opacity: 0.8;
    background: #f9fafb;
    border-left: 3px solid #d1d5db;
    padding-left: 27px !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pricing-cards-wrapper {
        padding: 15px;
    }
    
    .pricing-intro-section {
        margin: 30px 0 40px 0;
        padding: 30px 20px;
    }
    
    .intro-title {
        font-size: 26px;
    }
    
    .intro-subtitle {
        font-size: 16px;
    }
    
    .pricing-cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-card {
        padding: 30px 20px;
    }
    
    .card-title {
        font-size: 22px;
    }
    
    .card-price {
        font-size: 30px;
    }
    
    .contact-button {
        padding: 12px 28px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .pricing-cards-wrapper {
        padding: 10px;
        gap: 15px;
    }
    
    .pricing-intro-section {
        margin: 20px 0 30px 0;
        padding: 25px 15px;
    }
    
    .intro-title {
        font-size: 22px;
    }
    
    .intro-subtitle {
        font-size: 15px;
    }
    
    .pricing-card {
        padding: 25px 15px;
    }
    
    .card-title {
        font-size: 20px;
    }
    
    .card-price {
        font-size: 26px;
    }
}

/* Özel animasyonlar */
@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes introSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-card {
    animation: cardSlideIn 0.8s ease forwards;
    opacity: 0;
}

.pricing-intro-section {
    animation: introSlideIn 1s ease forwards;
}

.pricing-card:nth-child(1) { animation-delay: 0.1s; }
.pricing-card:nth-child(2) { animation-delay: 0.2s; }
.pricing-card:nth-child(3) { animation-delay: 0.3s; }
.pricing-card:nth-child(4) { animation-delay: 0.4s; }
.pricing-card:nth-child(5) { animation-delay: 0.5s; }
.pricing-card:nth-child(6) { animation-delay: 0.6s; }

/* Print CSS */
@media print {
    .pricing-cards-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .contact-button {
        background: #166534 !important;
        color: white !important;
    }
    
    .pricing-intro-section {
        background: #166534 !important;
        color: white !important;
    }
}

/* Yüksek kontrast desteği */
@media (prefers-contrast: high) {
    .pricing-card {
        border-width: 3px;
    }
    
    .card-title, .card-price {
        color: #000 !important;
    }
    
    .features-list li:not(.more-details-toggle):not(.hidden-feature)::before {
        background: #ffffff;
        border: 2px solid #166534;
    }
}