/* Services Menu Styles */
.services-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.services-menu {
    display: flex;
    gap: 0;
    background: var(--bg-color, #fff);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-height: 500px;
}

/* Left Sidebar */
.services-sidebar {
    width: 300px;
    background: var(--sidebar-bg, #f5f5f5);
    padding: 0;
    border-right: 1px solid var(--border-color, #e0e0e0);
}

.service-category {
    padding: 20px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color, #333);
    font-size: 15px;
}

.service-category:hover {
    background: var(--hover-bg, #e8e8e8);
}

.service-category.active {
    background: var(--active-bg, #fff);
    border-left-color: var(--accent-color, #6b8e7e);
    font-weight: 600;
}

.category-name {
    flex: 1;
}

.category-count {
    color: var(--count-color, #999);
    font-size: 14px;
}

/* Right Content Area */
.services-content {
    flex: 1;
    padding: 30px 40px;
    background: var(--content-bg, #fff);
}

.service-group {
    display: block;
}

.service-group.hidden {
    display: none;
}

.service-item {
    padding: 25px 0;
    border-bottom: 1px solid var(--border-color, #e8e8e8);
}

.service-item:last-child {
    border-bottom: none;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.service-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color, #333);
    margin: 0;
}

.service-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-color, #6b8e7e);
}

.service-details {
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-duration {
    color: var(--secondary-text, #666);
    font-size: 14px;
}

.service-info-btn {
    background: none;
    border: none;
    color: var(--link-color, #4a90e2);
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    transition: color 0.2s;
}

.service-info-btn:hover {
    color: var(--link-hover, #357abd);
}

/* Modal Styles */
.service-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.service-modal.active {
    display: flex;
}

.modal-content {
    background: var(--modal-bg, #fff);
    padding: 40px;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--text-color, #666);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.modal-close:hover {
    background: var(--hover-bg, #f0f0f0);
}

#modalTitle {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-color, #333);
}

#modalBody {
    color: var(--text-color, #555);
    line-height: 1.6;
}

#modalBody ul {
    padding-left: 20px;
}

#modalBody li {
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-menu {
        flex-direction: column;
    }

    .services-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color, #e0e0e0);
    }

    .services-content {
        padding: 20px;
    }

    .service-category {
        padding: 15px 20px;
    }

    .service-title,
    .service-price {
        font-size: 16px;
    }

    .modal-content {
        padding: 30px 20px;
        width: 95%;
    }
}

/* Dark Theme Support */
[data-theme="dark"] .services-menu {
    background: #1a1a1a;
}

[data-theme="dark"] .services-sidebar {
    background: #252525;
    border-right-color: #333;
}

[data-theme="dark"] .service-category {
    color: #e0e0e0;
}

[data-theme="dark"] .service-category:hover {
    background: #2a2a2a;
}

[data-theme="dark"] .service-category.active {
    background: #1a1a1a;
}

[data-theme="dark"] .services-content {
    background: #1a1a1a;
}

[data-theme="dark"] .service-item {
    border-bottom-color: #333;
}

[data-theme="dark"] .service-title {
    color: #e0e0e0;
}

[data-theme="dark"] .service-duration {
    color: #999;
}

[data-theme="dark"] .modal-content {
    background: #2a2a2a;
}

[data-theme="dark"] #modalTitle {
    color: #e0e0e0;
}

[data-theme="dark"] #modalBody {
    color: #ccc;
}

[data-theme="dark"] .modal-close {
    color: #999;
}

[data-theme="dark"] .modal-close:hover {
    background: #333;
}

/* ============================================
   MATRIMONI & EVENTI — CTA preventivo
   ============================================ */

.event-cta {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--cream, #f8f3eb);
    border-radius: 14px;
    border: 1px solid var(--border-color, #e0e0e0);
    text-align: center;
}

.event-cta__text {
    font-size: 0.98rem;
    color: var(--text-color, #333);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.event-cta__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.event-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Lora', serif;
}

.event-btn--whatsapp {
    background: #25D366;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.event-btn--whatsapp:hover {
    background: #1ebe5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.event-btn--email {
    background: var(--primary, #f4a261);
    color: white;
    box-shadow: 0 4px 15px rgba(244, 162, 97, 0.3);
}

.event-btn--email:hover {
    background: var(--secondary, #e76f51);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 162, 97, 0.4);
}

.wa-logo-small {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

[data-theme="dark"] .event-cta {
    background: var(--cream, #2a2520);
    border-color: #444;
}

@media (max-width: 480px) {
    .event-cta__buttons {
        flex-direction: column;
        align-items: center;
    }

    .event-btn {
        width: 100%;
        justify-content: center;
    }
}