/* ===== FOOTER STYLES ===== */

/* Main Footer Container */
.footer {
    background: linear-gradient(0deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)), linear-gradient(127.36deg, #6a11cb 31.85%, #2575fc 108.53%) !important;
    padding: 60px 0 0 !important;
    position: relative;
}

/* Footer Block Layout */
.footer_block {
    margin-bottom: 30px !important;
}

.footer_block:last-of-type {
    margin-bottom: 0 !important;
}

/* Footer Logo Section */
.footer_logo {
    margin-bottom: 15px !important;
}

.footer_logo-image {
    width: 130 !important;
    height: 130 !important;
    max-width: 130 !important;
    max-height: 130 !important;
    object-fit: contain !important;
    filter: brightness(1.1) !important;
}

/* Footer Description */
.footer_description {
    color: #2b3543 !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    margin-bottom: 25px !important;
    max-width: 280px !important;
    font-weight: 400 !important;
}

/* Footer Social Links */
.footer_social {
    display: flex !important;
    gap: 20px !important;
    margin-bottom: 25px !important;
    font-size: 20px !important;
}

.footer_social-link {
    color: #29323c !important;
    text-decoration: none !important;
    transition: all 0.3s ease-in-out !important;
}

.footer_social-link:hover {
    color: #3d53eb !important;
    transform: scale(1.1) !important;
    text-shadow: .5px 0 #3d53eb !important;
}

.footer_social-link i {
    font-size: 20px !important;
}

/* Footer Contact Information */
.footer_contacts {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
}

.footer_contact-item {
    display: flex !important;
    align-items: center !important;
    color: #2b3543 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    transition: color 0.3s ease !important;
}

.footer_contact-item:hover {
    color: #3d53eb !important;
    text-shadow: .5px 0 #3d53eb !important;
}

.footer_contact-item i {
    margin-right: 10px;
    transition: color 0.3s ease-in-out;
}

.footer_contact-item:hover i {
    color: #3d53eb;
}

/* Footer Navigation */
.footer_block-header {
    margin-bottom: 15px;
}

.footer_block-nav_item {
    margin-bottom: 10px;
}

.footer_block-nav_item:last-of-type {
    margin-bottom: 0;
}

/* Footer List Items */
.footer_block-list_item {
    max-width: 230px;
    margin-bottom: 15px;
}

.footer_block-list_item:last-of-type {
    margin-bottom: 0;
}

.footer_block-list_item .marker {
    background: #000;
    border-radius: 50%;
    width: 8px;
    height: 8px;
    margin-right: 10px;
}

.footer_block-list_item .link {
    width: calc(100% - 18px);
}

/* Footer Instagram Grid */
.footer_block-instagram {
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
}

.footer_block-instagram_item {
    border-radius: 12px;
    overflow: hidden;
    backface-visibility: hidden;
}

.footer_block-instagram_item img {
    transition: .5s;
}

.footer_block-instagram_item:focus img,
.footer_block-instagram_item:hover img {
    transform: scale(1.1);
}

/* Footer Links */
.footer_block .link {
    font-weight: 600;
}

.footer_block .link:focus,
.footer_block .link:hover {
    color: #3d53eb;
    text-shadow: .5px 0 #3d53eb;
}

/* Footer Secondary (Copyright) */
.footer_secondary {
    color: #000;
    padding: 30px 0 60px;
}

.footer_secondary-scroll {
    font-size: 32px;
    line-height: 1;
}

.footer_secondary-copyright {
    font-size: 12px;
    line-height: 1;
    margin-top: 10px;
}

/* ===== RESPONSIVE FOOTER STYLES ===== */

/* Small devices (576px and up) */
@media screen and (min-width: 575.98px) {
    .footer_wrapper {
        margin: 0 -15px;
    }

    .footer_block {
        padding: 0 15px;
    }

    .footer_block-list_item:after {
        top: 6px;
    }

    .footer_secondary-copyright {
        margin-top: 0;
    }
}

/* Medium devices (768px and up) */
@media screen and (min-width: 767.98px) {
    .footer {
        padding: 80px 0 0;
    }

    .footer_wrapper {
        margin: 0 -20px;
    }

    .footer_block {
        margin-bottom: 40px;
        padding: 0 20px;
    }

    .footer_block-instagram {
        grid-gap: 15px;
    }

    .footer_block[data-order="2"] .footer_block-header {
        margin-bottom: 10px;
    }

    .footer_block[data-order="3"] .footer_block-header {
        margin-bottom: 20px;
    }

    .footer_block[data-order="4"] .footer_block-header {
        margin-bottom: 25px;
    }

    .footer_secondary {
        padding-bottom: 80px;
    }
}

/* Large devices (992px and up) */
@media screen and (min-width: 991.98px) {
    .footer {
        padding: 120px 0 0;
    }

    .footer_wrapper {
        margin: 0;
    }

    .footer_block {
        margin-bottom: 0;
        padding: 0;
    }

    .footer_block[data-order="1"] .footer_logo {
        margin-bottom: 10px;
    }

    .footer_block[data-order="2"] .footer_block-header {
        margin-bottom: 20px;
    }

    .footer_block[data-order="1"],
    .footer_block[data-order="4"] {
        max-width: 230px;
    }

    .footer_block[data-order="4"] {
        flex-grow: 1;
    }

    .footer_contacts .footer_contact-item:first-of-type {
        margin-bottom: 15px;
    }

    .footer_secondary {
        padding-bottom: 100px;
    }

    /* Mobile responsiveness for footer logo */
    .footer_logo-image {
        width: 130px;
        height: 130px;
    }
}

/* Mobile specific styles */
@media (max-width: 768px) {
    .footer_logo-image {
        width: 100px;
        height: 100px;
        max-width: 100px;
        max-height: 100px;
    }

    .footer_description {
        font-size: 14px;
    }

    .footer_contact-item {
        font-size: 13px;
    }
}

/* Tablet specific styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .footer_logo-image {
        width: 120px !important;
        height: 120px !important;
        max-width: 120px !important;
        max-height: 120px !important;
    }
}

/* ===== PAYMENT METHODS MODAL ===== */
.payment-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
    align-items: center;
    justify-content: center;
}

.payment-modal.show {
    display: flex;
}

.payment-modal-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

.payment-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #333;
    line-height: 1;
}

.payment-modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.payment-modal-title {
    font-size: 26px;
    font-weight: 700;
    color: #2b3543;
    margin-bottom: 20px;
    text-align: center;
}

.payment-modal-body {
    color: #2b3543;
}

.payment-intro {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: center;
}

.payment-methods-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.payment-methods-list li {
    font-size: 16px;
    padding: 10px 15px;
    margin-bottom: 8px;
    background: #f8f9fa;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-methods-list li i {
    color: #2575fc;
    font-size: 18px;
}

.payment-provider {
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid #e9ecef;
}

.payment-provider-title {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 10px;
    font-weight: 600;
}

.iris-logo {
    font-size: 20px;
    font-weight: 700;
    color: #6a11cb;
    letter-spacing: 1px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Mobile responsive styles */
@media (max-width: 576px) {
    .payment-modal-content {
        padding: 30px 20px;
        width: 95%;
    }

    .payment-modal-title {
        font-size: 22px;
    }

    .payment-intro {
        font-size: 14px;
    }

    .payment-methods-list li {
        font-size: 14px;
        padding: 8px 12px;
    }

    .iris-logo {
        font-size: 18px;
    }
}

/* Payment Modal - Updated Sections */
.payment-section {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #2575fc;
}

.payment-section-iris {
    border-left-color: #6a11cb;
}

.payment-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.payment-section-header i {
    font-size: 24px;
    color: #2575fc;
}

.payment-section-iris .payment-section-header i {
    color: #6a11cb;
}

.payment-section-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2b3543;
    margin: 0;
}

.payment-section-note {
    margin-top: 15px;
    padding: 15px;
    border-radius: 6px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.payment-instant {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border: 1px solid #81c784;
}

.payment-manual {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 1px solid #ffb74d;
}

.payment-section-note i {
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.payment-instant i {
    color: #2e7d32;
}

.payment-manual i {
    color: #f57c00;
}

.payment-section-note p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #2b3543;
}

.payment-section-note strong {
    color: #1a1a1a;
}

.iris-logo-badge {
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    padding: 8px 20px;
    border-radius: 20px;
    letter-spacing: 1px;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(106, 17, 203, 0.3);
}

/* Mobile responsive updates */
@media (max-width: 576px) {
    .payment-section {
        padding: 15px;
    }

    .payment-section-header h3 {
        font-size: 16px;
    }

    .payment-section-header i {
        font-size: 20px;
    }

    .payment-section-note {
        padding: 12px;
        flex-direction: column;
        gap: 8px;
    }

    .payment-section-note p {
        font-size: 13px;
    }

    .iris-logo-badge {
        font-size: 16px;
        padding: 6px 16px;
    }
}

/* Make IRIS badge clickable */
a.iris-logo-badge {
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateY(0);
}

a.iris-logo-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(106, 17, 203, 0.5);
    background: linear-gradient(135deg, #7e22dc 0%, #2d84ff 100%);
}

a.iris-logo-badge:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(106, 17, 203, 0.3);
}

/* Payment Modal - Compact Version Updates */
.payment-modal-content {
    max-width: 450px !important;
    padding: 30px 25px !important;
}

.payment-modal-title {
    font-size: 22px !important;
    margin-bottom: 15px !important;
}

.payment-intro {
    display: none !important;
}

.payment-section {
    margin-bottom: 20px !important;
    padding: 15px !important;
}

.payment-section-header h3 {
    font-size: 16px !important;
}

.payment-methods-list {
    margin: 0 0 15px 0 !important;
}

.payment-methods-list li {
    font-size: 14px !important;
    padding: 8px 12px !important;
    margin-bottom: 6px !important;
}

.payment-section-note {
    margin-top: 12px !important;
    padding: 12px !important;
}

.payment-section-note p {
    font-size: 13px !important;
}

/* IRIS payment link - text style to discourage use */
.iris-payment-link {
    display: block;
    text-align: center;
    font-size: 12px;
    color: #6c757d;
    text-decoration: underline;
    margin-top: 10px;
    padding: 6px;
    transition: color 0.2s ease;
}

.iris-payment-link:hover {
    color: #495057;
    text-decoration: underline;
}

/* Remove old IRIS badge styles */
.iris-logo-badge,
a.iris-logo-badge {
    display: none !important;
}

/* Mobile compact updates */
@media (max-width: 576px) {
    .payment-modal-content {
        padding: 25px 18px !important;
    }

    .payment-modal-title {
        font-size: 20px !important;
    }

    .payment-section {
        padding: 12px !important;
    }

    .payment-section-header h3 {
        font-size: 15px !important;
    }

    .payment-methods-list li {
        font-size: 13px !important;
    }

    .payment-section-note p {
        font-size: 12px !important;
    }

    .iris-payment-link {
        font-size: 11px;
    }
}

/* Payment Cards Icons Row */
.payment-cards-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.card-icon {
    height: 30px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.other-cards-text {
    font-size: 13px;
    color: #495057;
    font-weight: 500;
}

/* Mobile adjustments for card icons */
@media (max-width: 576px) {
    .payment-cards-icons {
        gap: 10px;
    }

    .card-icon {
        height: 26px;
    }

    .other-cards-text {
        font-size: 12px;
    }
}
