/* Home Page Specific Styles */

/* ==================== PACKAGES SECTION ==================== */

/* Paket kartları ortalama - tek kalan kartlar için */
.packages-section .packages-row {
    justify-content: center;
}

    .packages-section .packages-row .package-col {
        flex: 0 0 auto;
        width: 33.333%;
        max-width: 380px;
    }

@media (max-width: 991px) {
    .packages-section .packages-row .package-col {
        width: 100%;
        max-width: 100%;
    }
}

/* Bütün Paketlere Göz At Butonu */
.btn-all-packages {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #f9d42e 0%, #e5c400 100%);
    color: #1b1b1d;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(249, 212, 46, 0.3);
    transition: all 0.3s ease;
}

    .btn-all-packages:hover {
        background: linear-gradient(135deg, #e5c400 0%, #d4b300 100%);
        color: #1b1b1d;
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(249, 212, 46, 0.4);
    }

    .btn-all-packages i {
        transition: transform 0.3s ease;
    }

    .btn-all-packages:hover i {
        transform: translateX(5px);
    }

/* ==================== CAMPAIGN SECTION ==================== */

/* Campaign Section - Dynamic Campaigns */
.campaign-section .row {
    display: flex;
    flex-wrap: wrap;
}

.campaign-col {
    display: flex;
    flex-direction: column;
}

.campaign-card {
    display: flex;
    background: #2f2f31;
    color: #f6f6f6;
    border-radius: 32px;
    overflow: hidden;
    min-height: 320px;
    position: relative;
}

.campaign-content {
    padding: 2rem;
    flex: 1 1 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .campaign-content h3 {
        letter-spacing: 0.15em;
        text-transform: capitalize;
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    .campaign-content .discount {
        text-transform: uppercase;
        letter-spacing: 0.3em;
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .campaign-content p {
        line-height: 1.6;
        font-size: 0.95rem;
        color: rgba(255, 255, 255, 0.85);
    }

.campaign-media {
    flex: 1 1 45%;
    min-height: 200px;
    position: relative;
}

/* Floating Campaign Image */
.campaign-floating-img {
    position: absolute;
    right: 20px;
    bottom: 0;
    max-width: 45%;
    max-height: 280px;
    object-fit: contain;
    z-index: 10;
    pointer-events: none;
}

/* Campaign Empty State */
.campaign-empty {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

/* Kampanya kartları ortalama - tek kalan kartlar için */
.campaign-section .row {
    justify-content: center;
}

    .campaign-section .row .campaign-col {
        flex: 0 0 auto;
        width: 50%;
        max-width: 600px;
    }

@media (max-width: 991px) {
    .campaign-section .row .campaign-col {
        width: 100%;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .campaign-card {
        flex-direction: column;
        min-height: auto;
    }

    .campaign-media {
        min-height: 150px;
        order: -1;
    }

    .campaign-floating-img {
        max-width: 60%;
        max-height: 200px;
        right: 10px;
    }
}

@media (max-width: 768px) {
    .campaign-content {
        padding: 1.5rem;
    }

        .campaign-content h3 {
            font-size: 1.1rem;
        }

        .campaign-content .discount {
            font-size: 1.5rem;
            letter-spacing: 0.2em;
        }

    .campaign-floating-img {
        max-width: 50%;
        max-height: 160px;
    }
}

@media (max-width: 576px) {
    .campaign-content h3 {
        font-size: 1rem;
    }

    .campaign-content .discount {
        font-size: 1.25rem;
    }

    .campaign-content p {
        font-size: 0.9rem;
    }

    .campaign-floating-img {
        max-height: 140px;
    }

    .btn-all-packages {
        padding: 0.85rem 1.75rem;
        font-size: 0.9rem;
    }
}

/* ==================== APPLICATION MODAL ==================== */

.application-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

    .application-modal-overlay.show {
        display: flex;
    }

.application-modal-box {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    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);
    }
}

.application-modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
}

    .application-modal-icon.success {
        background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
        color: #059669;
    }

    .application-modal-icon.error {
        background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
        color: #dc2626;
    }

.application-modal-message {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 24px;
}

.application-modal-btn {
    min-width: 140px;
    padding: 12px 32px;
    font-weight: 600;
}

@media (max-width: 576px) {
    .application-modal-box {
        padding: 30px 20px;
    }

    .application-modal-icon {
        width: 64px;
        height: 64px;
        font-size: 2rem;
    }

    .application-modal-message {
        font-size: 0.95rem;
    }
}
