

/* Main Content */
.main-container {
    width:65%;
    margin: 0 auto;
    padding: 30px 20px;
    flex: 1;
}

.page-title {
    font-family: "Raleway", sans-serif;
    font-weight: 600;
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.page-description {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Filter Section */
.filter-section {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-dark);
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    font-family: "Raleway", sans-serif;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.search-box input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
}

.search-box i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

/* Cards Grid - Modified for exactly 3 cards per row on desktop, 1 card per row on mobile */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Exactly 3 equal columns */
    gap: 25px;
    width: 100%;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Allow cards to expand to match tallest in row */
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .card-image img {
    transform: scale(1.05);
}

.price-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: bold;
}

.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Allow content to expand */
}

.card-title {
    font-family: "Raleway", sans-serif;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.card-info {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    color: var(--text-light);
    font-size: 14px;
}

.card-info i {
    margin-right: 8px;
    color: var(--primary-color);
    width: 16px;
    text-align: center;
}

.card-description {
    margin: 15px 0;
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1; /* Allow description to take available space */
}

.card-actions {
    display: flex;
    justify-content: space-between;
    margin-top: auto; /* Push actions to bottom of card */
}

.info-button,
.book-button {
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.info-button {
    background-color: #f0f0f0;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.info-button:hover {
    background-color: #e0e0e0;
}

.book-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.book-button:hover {
    background-color: var(--primary-hover);
    color:white!important;
    text-decoration: unset!important;
}

.info-button:hover {
    color:inherit!important;
    text-decoration: unset!important;
}

/* Category pills - Updated for Figma design */
.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    justify-content: center;
}

.category-pill {
    background-color: white;
    border: 1px solid var(--primary-color);
    border-radius: var(--pill-radius, 100px);
    padding: 12px 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.category-pill.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.category-pill:hover:not(.active) {
    background-color: var(--primary-light, rgba(115, 39, 83, 0.1));
}

/* No results message */
.no-results {
    text-align: center;
    padding: 50px 0;
    color: var(--text-light);
}

.no-results i {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.no-results h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

/* Modal for service details */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal-backdrop.visible {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: white;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
}

.modal-backdrop.visible .modal-content {
    transform: translateY(0) scale(1);
}

.modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-family: "Raleway", sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: var(--text-dark);
}

.modal-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-light);
}

.modal-body {
    padding: 20px;
}

.modal-body h3 {
    font-family: "Raleway", sans-serif;
    font-weight: 600;
    font-size: 18px;
    margin: 15px 0 10px;
    color: var(--text-dark);
}

.modal-body p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
}

/* Notification System */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.notification {
    background-color: white;
    border-radius: 4px;
    padding: 15px 20px;
    margin-bottom: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transform: translateX(120%);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    max-width: 350px;
    border-left: 4px solid var(--info-color);
}

.notification.visible {
    transform: translateX(0);
}

.notification-icon {
    font-size: 20px;
    margin-right: 15px;
}

.notification-success {
    border-left-color: var(--success-color);
}

.notification-success .notification-icon {
    color: var(--success-color);
}

.notification-error {
    border-left-color: var(--error-color);
}

.notification-error .notification-icon {
    color: var(--error-color);
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.notification-close {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 16px;
    margin-left: 10px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 cards per row on tablet */
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .main-container {
        width:95%;
    }
    .mobile-menu-toggle {
        display: block;
    }

    .cards-grid {
        grid-template-columns: 1fr; /* 1 card per row on mobile */
        gap: 15px;
    }

    .filter-group {
        min-width: 100%;
    }

    .category-pills {
        overflow-x: auto;
        padding-bottom: 5px;
        flex-wrap: nowrap;
    }
}

