.services-page-wrapper {
    background: var(--color-bg);
    padding: 6px 0 20px;
    min-height: 100vh;
}

.page-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    max-width: 1400px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    padding: 20px 0 30px;
}

.services-title {
    color: var(--color-text);
    font-size: 2.5rem;
    margin: 0 0 10px;
    font-weight: 700;
}

.services-subtitle {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.service-hero-card {
    display: grid;
    grid-template-columns: 380px 1fr;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-border-light);
    min-height: 360px;
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease-out forwards;
}

.service-hero-card:nth-child(1) { animation-delay: 0.05s; }
.service-hero-card:nth-child(2) { animation-delay: 0.1s; }
.service-hero-card:nth-child(3) { animation-delay: 0.15s; }
.service-hero-card:nth-child(4) { animation-delay: 0.2s; }
.service-hero-card:nth-child(5) { animation-delay: 0.25s; }



.service-image {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 300px;
}

.service-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.service-hero-card:hover .service-main-img {
    transform: scale(1.04);
}

.image-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.dot:hover, .dot.active {
    background: #fff;
    transform: scale(1.3);
}

.gallery-btn-overlay {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(8px);
    color: #fff;
    border: none;
    padding: 7px 18px;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.25s;
    z-index: 3;
    white-space: nowrap;
}

.gallery-btn-overlay:hover {
    background: rgba(45,90,39,0.9);
}

.service-details {
    padding: 28px 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.service-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}



.service-duration {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-badge {
    background: linear-gradient(135deg, var(--color-accent), #b8860b);
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.service-header h3 {
    margin: 0;
    color: var(--color-text);
    font-size: 1.5rem;
    flex: 1;
    line-height: 1.3;
    font-weight: 700;
}

.price-container {
    text-align: right;
    flex-shrink: 0;
}

.service-price {
    font-weight: 700;
    color: var(--color-accent);
    font-size: 1rem;
    background: #fdf9f0;
    padding: 6px 14px;
    border-radius: 8px;
    white-space: nowrap;
    display: inline-block;
    border: 1px solid #f0e4c0;
}

.price-note {
    display: block;
    font-size: 0.68rem;
    color: #aaa;
    margin-top: 3px;
    text-align: right;
}

.service-price.quote {
    background: #f5f5f5;
    color: #666;
    font-size: 0.85rem;
    border-color: #e0e0e0;
}

.description {
    color: var(--color-text-muted);
    line-height: 1.65;
    font-size: 0.9rem;
    margin: 0;
    word-wrap: break-word;
}

.key-features {
    background: #f9fbf9;
    border-radius: 10px;
    padding: 14px 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

.feature-item i {
    color: var(--color-primary);
    width: 18px;
    flex-shrink: 0;
}

.inclusions-section {
    padding: 12px 0;
    border-top: 1px solid var(--color-border-light);
}

.subsection-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
    color: var(--color-primary);
    font-size: 0.8rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.inclusions-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.inclusions-list li {
    font-size: 0.82rem;
    color: var(--color-text-body);
    display: flex;
    align-items: center;
    gap: 7px;
}

.inclusions-list li i {
    color: var(--color-primary);
    width: 14px;
    flex-shrink: 0;
    font-size: 0.75rem;
}

.more-items {
    color: var(--color-primary) !important;
    font-size: 0.78rem !important;
    font-style: italic;
    grid-column: 1 / -1;
}

.service-stats {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    color: #999;
}

.stat i {
    color: var(--color-primary);
}

.service-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 4px;
}



.view-gallery-btn {
    padding: 11px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    background: transparent;
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
}

.view-gallery-btn:hover {
    background: var(--color-bg);
    transform: translateY(-2px);
}

.empty-services {
    text-align: center;
    padding: 80px 20px;
    color: #bbb;
}

.empty-services i {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

.gallery-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 5000;
    align-items: center;
    justify-content: center;
}

.gallery-modal.open {
    display: flex;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.92);
}

.gallery-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 90vw;
    max-height: 90vh;
    flex-direction: column;
}

.gallery-content img {
    max-width: 80vw;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 12px;
}

.gallery-close {
    position: fixed;
    top: 20px;
    right: 24px;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.gallery-close:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.gallery-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 1.2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.gallery-nav.prev { left: 20px; }
.gallery-nav.next { right: 20px; }
.gallery-nav:hover { background: rgba(255,255,255,0.3); transform: translateY(-50%) scale(1.1); }

.gallery-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
}

.gdot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.2s;
}

.gdot:hover, .gdot.active {
    background: #fff;
    transform: scale(1.3);
}

.gallery-main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-info {
    margin-top: 20px;
    text-align: center;
}

.gallery-counter {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (max-width: 1100px) {
    .service-hero-card { grid-template-columns: 320px 1fr; }
    .service-details { padding: 24px 28px; }
}

@media (max-width: 768px) {
    .service-hero-card { grid-template-columns: 1fr; }
    .service-image { height: 240px; min-height: 240px; }
    .service-details { padding: 20px 18px; }
    .service-header { flex-direction: column; gap: 10px; }
    .price-container { text-align: left; }
    .price-note { text-align: left; }
    .features-grid { grid-template-columns: 1fr; }
    .inclusions-list { grid-template-columns: 1fr; }
    .service-stats { gap: 12px; }
    .services-title { font-size: 1.9rem; }
    .gallery-nav.prev { left: 10px; }
    .gallery-nav.next { right: 10px; }
}

@media print {
    .service-actions, .gallery-modal { display: none; }
}
