/**
 * Button Functionality Styles
 * Styles for modals, notifications, and interactive elements
 */

/* Notification Styles */
.custom-notification {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 99999;
    transition: top 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.custom-notification.show {
    top: 30px;
}

/* Modal Styles */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.custom-modal.show {
    opacity: 1;
    visibility: visible;
}

.custom-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.custom-modal .modal-content {
    position: relative;
    max-width: 900px;
    margin: 50px auto;
    background: #ffffff;
    border-radius: 10px;
    padding: 40px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.custom-modal.show .modal-content {
    transform: translateY(0);
}

.custom-modal .modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: #f5f5f5;
    color: #333;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.custom-modal .modal-close:hover {
    background: #e74c3c;
    color: #ffffff;
    transform: rotate(90deg);
}

.custom-modal h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.custom-modal h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 30px;
    color: #666;
}

.custom-modal h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.custom-modal p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

/* Pricing Modal Styles */
.pricing-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.pricing-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pricing-card:hover,
.pricing-card.featured {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #d4a024;
}

.pricing-card.featured {
    background: #fff;
    position: relative;
}

.pricing-card.featured::before {
    content: "POPULAR";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #d4a024;
    color: #fff;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.pricing-card h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.pricing-card .price {
    font-size: 48px;
    font-weight: 700;
    color: #d4a024;
    margin-bottom: 25px;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    text-align: left;
}

.pricing-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 14px;
    color: #666;
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

.pricing-card ul li::before {
    content: "✓";
    color: #d4a024;
    font-weight: bold;
    margin-right: 10px;
}

.pricing-card .theme-btn {
    margin-top: 10px;
}
a:not([href]):not([tabindex]) {
    cursor: default !important;
}

/* Form Styles */
.custom-modal .form-group {
    margin-bottom: 20px;
}

.custom-modal .form-group input,
.custom-modal .form-group select,
.custom-modal .form-group textarea {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition: all 0.3s ease;
}

.custom-modal .form-group input:focus,
.custom-modal .form-group select:focus,
.custom-modal .form-group textarea:focus {
    outline: none;
    border-color: #d4a024;
    box-shadow: 0 0 0 3px rgba(212, 160, 36, 0.1);
}

.custom-modal .form-group textarea {
    resize: vertical;
}

.custom-modal form button[type="submit"] {
    width: 100%;
    margin-top: 10px;
}

/* Team Details Styles */
.team-details {
    margin: 30px 0;
}

.team-contact {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
}

.team-contact p {
    margin-bottom: 10px;
}

.team-contact p:last-child {
    margin-bottom: 0;
}

.team-contact a {
    color: #d4a024;
    text-decoration: none;
}

.team-contact a:hover {
    text-decoration: underline;
}

/* Service Details Styles */
.service-details {
    margin: 30px 0;
}

.service-details ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.service-details ul li {
    padding: 10px 0 10px 30px;
    position: relative;
    font-size: 15px;
    color: #666;
}

.service-details ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #d4a024;
    font-weight: bold;
    font-size: 18px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.modal-actions .theme-btn {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

/* Star Rating Interactive */
.rating a {
    cursor: pointer;
    transition: all 0.2s ease;
}

.rating a:hover i {
    color: #d4a024;
    transform: scale(1.2);
}

/* Language Switcher Enhancement */
.language-switcher li {
    transition: all 0.3s ease;
}

.language-switcher li a {
    cursor: pointer;
}

.language-switcher li.active a {
    color: #d4a024;
    font-weight: 600;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .custom-modal .modal-content {
        margin: 20px;
        padding: 30px 20px;
        max-height: calc(100vh - 40px);
    }

    .custom-modal h2 {
        font-size: 24px;
    }

    .pricing-options {
        grid-template-columns: 1fr;
    }

    .pricing-card .price {
        font-size: 36px;
    }

    .modal-actions {
        flex-direction: column;
    }

    .modal-actions .theme-btn {
        min-width: 100%;
    }

    .custom-notification {
        left: 20px;
        right: 20px;
        transform: none;
        white-space: normal;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .custom-modal .modal-content {
        padding: 20px 15px;
    }

    .custom-modal h2 {
        font-size: 20px;
        padding-right: 30px;
    }

    .custom-modal .modal-close {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .pricing-card {
        padding: 20px;
    }
}

/* Smooth Scroll Enhancement */
html {
    scroll-behavior: smooth;
}

/* Button Hover Enhancement */
a[href="#"].theme-btn {
    cursor: pointer;
}

