/* Services Page Styles */

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 35vh;
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
}

.hero-section .lead {
    font-size: 1.3rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Category Cards */
.category-card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(10px);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    border-color: var(--primary-golden);
    background: rgba(212, 175, 55, 0.1);
}

.category-image {
    max-height: 250px;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.service-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.placeholder-image {
    height: 200px;
    background: rgba(212, 175, 55, 0.1);
    border: 2px dashed var(--primary-golden);
    border-radius: 10px;
}

.category-card .placeholder-image {
    height: 250px;
}

.category-description {
    font-size: 1.1rem;
    line-height: 1.6;
}

.category-actions .badge {
    font-size: 0.9rem;
    padding: 8px 12px;
}

/* Subcategory Cards */
.subcategory-card {
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(10px);
}

.subcategory-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
    border-color: var(--primary-golden);
    background: rgba(212, 175, 55, 0.1);
}

.subcategory-card .card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-golden);
}

.subcategory-card .card-text {
    color: #e9ecef;
}

.category-card .card-body h2 {
    color: var(--primary-golden);
}

/* Main Services Section */
.services-main-section {
    margin-top: 0;
    padding-top: 4rem;
}

.services-main-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Search Form Styles */
.service-search {
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 25px 0 0 25px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 20px;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-input:focus {
    border-color: var(--primary-golden);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.btn-golden {
    background: linear-gradient(45deg, var(--primary-golden), var(--secondary-golden));
    border: none;
    color: #000;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 0 25px 25px 0;
}

.btn-golden:hover {
    background: linear-gradient(45deg, var(--secondary-golden), var(--primary-golden));
    color: #000;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.3);
}

.search-info {
    font-size: 0.9rem;
}

.search-results-summary {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

/* Mobile Responsive Fixes */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section {
        min-height: 30vh;
    }
    
    .services-main-section {
        padding-top: 2rem;
    }
    
    .services-main-section h2 {
        font-size: 2rem;
    }
    
    .service-search {
        max-width: 100%;
        margin: 0 15px;
        padding: 0 10px;
        display: block !important;
        visibility: visible !important;
        min-height: 120px;
    }
    
    .search-input.form-control {
        border-radius: 25px 25px 0 0 !important;
        margin-bottom: 0 !important;
        padding: 15px 20px !important;
        font-size: 16px !important;
        width: 100% !important;
        background: #ffffff !important;
        color: #333 !important;
        border: 2px solid #d4af37 !important;
        height: auto !important;
        min-height: 55px !important;
    }
    
    .search-input.form-control::placeholder {
        color: #666 !important;
        opacity: 1 !important;
    }
    
    .search-input.form-control:focus {
        background: #ffffff !important;
        color: #333 !important;
        border-color: #d4af37 !important;
        box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25) !important;
        outline: none !important;
    }
    
    .btn-golden {
        border-radius: 0 0 25px 25px;
        width: 100%;
        padding: 15px 25px;
        font-size: 16px;
    }
    
    .service-search .input-group {
        flex-direction: column;
        width: 100%;
        display: flex !important;
    }
    
    .service-search .input-group .form-control {
        border-bottom: none;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        min-height: 50px;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .services-main-section h2 {
        font-size: 1.8rem;
    }
    
    /* Additional mobile search fixes */
    .service-search {
        margin: 0 10px;
        padding: 0 5px;
    }
    
    .search-input.form-control {
        padding: 12px 15px !important;
        font-size: 14px !important;
        background: #ffffff !important;
        color: #333 !important;
        border: 2px solid #d4af37 !important;
        min-height: 50px !important;
    }
    
    .search-input.form-control::placeholder {
        color: #666 !important;
        opacity: 1 !important;
    }
    
    .btn-golden {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    /* Search info mobile styles */
    .search-info {
        padding: 0 10px;
        text-align: center;
    }
    
    .search-info .btn-outline-light {
        font-size: 12px;
        padding: 5px 10px;
    }
}

.category-card .card-body p {
    color: #e9ecef;
}

.subcategory-description {
    min-height: 80px;
}

.subcategory-footer {
    border-top: 1px solid #f8f9fa;
    padding-top: 15px;
}

.pricing-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
}

/* Package Cards */
.package-card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.featured-package {
    position: relative;
}

.featured-package::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-golden), var(--secondary-golden));
    z-index: 1;
}

.package-description {
    min-height: 100px;
}

.package-footer {
    border-top: 1px solid #f8f9fa;
    padding-top: 15px;
}

/* Individual Service Cards */
.service-card {
    border: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    min-height: 280px;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-card .card-title {
    font-size: 1rem;
    font-weight: 600;
}

/* Service Information Items */
.service-info-item {
    padding: 20px;
}

.service-info-item i {
    transition: transform 0.3s ease;
}

.service-info-item:hover i {
    transform: scale(1.1);
}

/* Empty State */
.empty-state {
    padding: 60px 20px;
}

.empty-state i {
    opacity: 0.6;
}

/* Badges and Tags */
.badge {
    font-size: 0.75rem;
    padding: 6px 10px;
    border-radius: 20px;
}

.badge.bg-golden {
    background-color: var(--primary-golden) !important;
    color: #000 !important;
}

.badge.bg-success {
    background-color: #28a745 !important;
}

.badge.bg-secondary {
    background-color: #6c757d !important;
}

/* Section Spacing */
.service-category {
    margin-bottom: 4rem;
}

.service-category:last-child {
    margin-bottom: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .category-card .row {
        text-align: center;
    }
    
    .category-image {
        max-height: 150px;
        margin-bottom: 20px;
    }
    
    .subcategory-card .card-body {
        padding: 15px;
    }
    
    .package-card .card-body {
        padding: 15px;
    }
    
    .service-card {
        min-height: auto;
    }
    
    .pricing-info {
        margin-bottom: 15px;
    }
    
    .cta-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .cta-buttons .btn:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .category-actions {
        text-align: center;
        margin-top: 20px;
    }
    
    .service-info-item {
        padding: 30px 15px;
    }
    
    .service-info-item i {
        font-size: 2rem !important;
    }
}

/* Button styles are now centralized in base.css */

.btn-outline-golden {
    border: 2px solid var(--primary-golden);
    color: var(--primary-golden);
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 25px;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-golden:hover {
    background: var(--primary-golden);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

/* Alert Styles */
.alert-info {
    background-color: #e7f3ff;
    border-color: #b3d7ff;
    color: #0c5460;
    border-radius: 10px;
}

/* Card Header for Featured Packages */
.card-header.bg-golden {
    background: linear-gradient(135deg, var(--primary-golden) 0%, var(--secondary-golden) 100%) !important;
    border-bottom: none;
    font-weight: bold;
}

/* Text Colors */
.text-golden {
    color: var(--primary-golden) !important;
}

/* Service Information Section */
.service-info-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(10px);
}

.service-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--primary-golden);
}

.service-info-item h4 {
    color: var(--primary-golden);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-info-item p {
    color: #e9ecef;
    line-height: 1.6;
    margin-bottom: 0;
}

.service-info-item i {
    color: var(--primary-golden);
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(0, 0, 0, 0.9) 100%);
    border-top: 3px solid var(--primary-golden);
}

.cta-buttons .btn {
    margin: 0.5rem;
    min-width: 180px;
    font-weight: 600;
}

/* Package Cards */
.package-card {
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(10px);
}

.package-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
    border-color: var(--primary-golden);
    background: rgba(212, 175, 55, 0.1);
}

.featured-package {
    border: 2px solid var(--primary-golden);
    background: rgba(212, 175, 55, 0.05);
}

.package-card .card-title {
    color: var(--primary-golden);
}

.package-card .card-text {
    color: #e9ecef;
}

/* Selected Service Highlighting */
.selected-service {
    border-color: var(--primary-golden) !important;
    background: rgba(212, 175, 55, 0.2) !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5) !important;
    transform: scale(1.02);
}

.selected-service .btn-outline-golden {
    background: var(--primary-golden);
    color: #000;
    border-color: var(--primary-golden);
}

/* Search Form Styling */
.service-search {
    max-width: 600px;
    margin: 0 auto;
}

.search-form .input-group {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.search-input {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 15px 20px;
    font-size: 16px;
    color: #333;
}

.search-input:focus {
    background: rgba(255, 255, 255, 1);
    box-shadow: none;
    border: none;
    color: #333;
}

.search-input::placeholder {
    color: #666;
}

.search-form .btn-golden {
    border-radius: 0;
    padding: 15px 25px;
    border: none;
}

.search-info {
    color: #e9ecef;
}

.search-info .btn-outline-light {
    font-size: 12px;
    padding: 4px 8px;
}

/* Search Suggestions */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0 0 15px 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    backdrop-filter: blur(10px);
}

.suggestion-item {
    padding: 12px 20px;
    color: #333;
    cursor: pointer;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.2s ease;
}

.suggestion-item:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #000;
}

.suggestion-item:last-child {
    border-bottom: none;
    border-radius: 0 0 15px 15px;
}

.search-results-summary {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

/* Animation for Cards */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-category {
    animation: slideUp 0.6s ease-out;
}

.service-category:nth-child(even) {
    animation-delay: 0.1s;
}

.service-category:nth-child(odd) {
    animation-delay: 0.2s;
}
/* Image sizing classes */
.service-image-standard {
    height: 200px;
    object-fit: cover;
}

.service-image-small {
    height: 120px;
    object-fit: cover;
}

/* Our Services Page Specific Styles */

/* Image Carousel for Multiple Images */
.service-image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.service-image.active {
    opacity: 1;
}

.service-image.single {
    opacity: 1;
    position: static;
}

/* Image indicators for multiple images */
.image-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active {
    background: rgba(255, 255, 255, 0.9);
}

/* Service Cards */
.service-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* Discount Badge */
.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff4757 0%, #ff3838 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
    z-index: 10;
    animation: pulse 2s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.price-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.price-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.original-price {
    font-size: 0.9em;
    text-decoration: line-through;
    opacity: 0.8;
}

.discounted-price {
    font-size: 1.5em;
    font-weight: bold;
}

.single-price {
    font-size: 1.5em;
    font-weight: bold;
}

/* Fixed height for description to prevent layout shifts */
.card-description {
    height: 3em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.5em;
}

.bundle-features {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.service-badge {
    font-size: 0.75em;
    padding: 4px 8px;
}

/* Booking Integration Styles */
.booking-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    transition: all 0.3s;
}

.booking-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(238, 90, 36, 0.4);
    color: white;
}

.customize-btn {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    transition: all 0.3s;
}

.customize-btn:hover {
    background: #667eea;
    color: white;
}

/* Filter and Search */
.filter-section {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.category-btn {
    padding: 8px 16px;
    border: 2px solid #dee2e6;
    background: white;
    border-radius: 20px;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s;
}

.category-btn:hover,
.category-btn.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
    text-decoration: none;
}

/* Tab Navigation Styles */
.services-tabs {
    margin-bottom: 30px;
}

.services-tabs .nav-link {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    color: #495057;
    border-radius: 25px !important;
    padding: 12px 25px;
    margin-right: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.services-tabs .nav-link:hover {
    background: #667eea;
    border-color: #667eea;
    color: white;
    transform: translateY(-2px);
}

.services-tabs .nav-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Pagination Styles */
.services-pagination {
    margin-top: 30px;
}

.services-pagination .page-link {
    border: 2px solid #dee2e6;
    color: #667eea;
    padding: 8px 12px;
    margin: 0 2px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.services-pagination .page-link:hover {
    background: #667eea;
    border-color: #667eea;
    color: white;
    transform: translateY(-2px);
}

.services-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.services-pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

@media (max-width: 768px) {
    .service-image-container {
        height: 200px;
    }
    
    .category-filter {
        justify-content: center;
    }
    
    .services-tabs .nav-link {
        margin-right: 5px;
        margin-bottom: 10px;
        padding: 10px 20px;
        font-size: 0.9em;
    }
}
