/* Bathroom & Kitchen Plumbing Page */
.service-page {
    background-color: #f7f8fb;
    min-height: 100vh;
    padding: 80px 60px;
}

.service-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 70px;
}

/* Hero */
.service-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-hero.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.service-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: #4169b3;
    font-size: 14px;
}

.service-title {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 18px 0;
    line-height: 1.2;
}

.service-description {
    font-size: 16px;
    line-height: 1.8;
    color: #5f6368;
}

.service-bullets {
    margin: 30px 0 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    list-style: none;
}

.service-bullets li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #3c4043;
}

.service-bullets i {
    color: #ff5722;
    font-size: 16px;
}

.service-hero-visual {
    position: relative;
}

.service-hero-visual img.primary-image {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 18px 45px rgba(65, 105, 179, 0.2);
}

.service-hero-badge {
    position: absolute;
    bottom: -25px;
    right: 30px;
    background-color: white;
    padding: 22px 26px;
    border-radius: 14px;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.service-hero-badge strong {
    font-size: 32px;
    color: #4169b3;
}

.service-hero-badge span {
    font-size: 14px;
    color: #5f6368;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Details Grid */
.service-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.service-detail-card {
    background-color: white;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 16px;
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-detail-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.service-detail-card h3 {
    margin: 0;
    font-size: 22px;
    color: #1a1a2e;
}

.service-detail-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #5f6368;
}

.service-detail-card ul {
    margin: 0;
    padding-left: 18px;
    color: #3c4043;
    font-size: 14px;
    line-height: 1.6;
}

/* Process */
.service-process {
    background: linear-gradient(135deg, #4169b3 0%, #5d8fe2 100%);
    border-radius: 16px;
    padding: 45px 50px;
    color: white;
    box-shadow: 0 20px 55px rgba(65, 105, 179, 0.25);
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.service-process-header h2 {
    margin: 0 0 10px 0;
    font-size: 34px;
}

.service-process-header p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.service-process-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.service-process-card {
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-process-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.service-process-step {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.service-process-card h4 {
    margin: 0;
    font-size: 18px;
    color: white;
}

.service-process-card p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* CTA */
.service-cta {
    background: linear-gradient(135deg, #ff5722 0%, #ff7b4d 100%);
    color: white;
    border-radius: 16px;
    padding: 40px 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    box-shadow: 0 22px 55px rgba(255, 87, 34, 0.25);
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-cta.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.service-cta h3 {
    margin: 0 0 10px 0;
    font-size: 28px;
}

.service-cta p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

.service-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    border-radius: 8px;
    background-color: white;
    color: #ff5722;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.3);
}

/* Gallery */
.service-gallery {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.gallery-header {
    max-width: 900px;
}

.gallery-header h2 {
    margin: 0 0 12px 0;
    font-size: 36px;
    color: #1a1a2e;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.gallery-header p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #6b7280;
    font-weight: 400;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.gallery-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05), 0 8px 24px rgba(0, 0, 0, 0.08);
    aspect-ratio: 1;
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.gallery-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.gallery-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1), 0 16px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-8px);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                filter 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.1);
    filter: brightness(0.95) saturate(1.1) contrast(1.02);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.15) 35%,
        rgba(0, 0, 0, 0.55) 75%,
        rgba(0, 0, 0, 0.75) 100%);
    opacity: 1;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.gallery-card:hover .gallery-overlay {
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.1) 30%,
        rgba(0, 0, 0, 0.65) 70%,
        rgba(0, 0, 0, 0.85) 100%);
}

.gallery-info {
    padding: 28px 24px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.4s ease;
}

.gallery-card:hover .gallery-info {
    transform: translateY(-4px);
}

.gallery-info h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.3px;
    text-transform: capitalize;
    line-height: 1.3;
}

.gallery-info p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #f0f4ff;
    font-weight: 400;
    opacity: 0.9;
}

.gallery-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 30%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
    pointer-events: none;
}

.gallery-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 3;
}

.gallery-card:hover::before {
    opacity: 1;
}

.gallery-card:hover::after {
    opacity: 1;
}

/* Responsive */
@media (max-width: 1200px) {
    .service-hero {
        grid-template-columns: 1fr;
    }

    .service-hero-visual {
        order: -1;
    }

    .service-details {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .service-process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-page {
        padding: 60px 25px;
    }

    .service-container {
        gap: 50px;
    }

    .service-title {
        font-size: 36px;
    }

    .service-bullets {
        grid-template-columns: 1fr;
    }

    .service-details {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery-header h2 {
        font-size: 28px;
    }

    .service-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-process-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .service-page {
        padding: 50px 20px;
    }

    .service-title {
        font-size: 32px;
    }
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    overflow: auto;
    padding: 40px 20px;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox-content {
    position: relative;
    width: 100%;
    max-width: 950px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    animation: slideUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin: 0 auto;
    align-self: center;
}

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

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg) scale(1.1);
}

.lightbox-image-container {
    position: relative;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    max-height: 85vh;
}

#lightbox-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    animation: zoomIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 100;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav:active {
    background: rgba(255, 255, 255, 0.35);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

.lightbox-info {
    color: #ffffff;
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-info h3 {
    margin: 0 0 8px 0;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}

.lightbox-info p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #e0e0e0;
}

@media (max-width: 768px) {
    .lightbox {
        padding: 30px 15px;
    }

    .lightbox-content {
        gap: 20px;
    }

    .lightbox-image-container {
        min-height: 400px;
        max-height: 80vh;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
    }

    .lightbox-counter {
        font-size: 12px;
        padding: 6px 12px;
    }

    .lightbox-info {
        padding: 16px;
    }

    .lightbox-info h3 {
        font-size: 18px;
    }

    .lightbox-info p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .lightbox {
        padding: 20px 10px;
    }

    .lightbox-content {
        gap: 16px;
        max-width: 100%;
    }

    .lightbox-image-container {
        min-height: 300px;
        max-height: 75vh;
        border-radius: 8px;
    }

    .lightbox-nav {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .lightbox-prev {
        left: 5px;
    }

    .lightbox-next {
        right: 5px;
    }

    .lightbox-close {
        width: 35px;
        height: 35px;
        font-size: 20px;
        top: 5px;
        right: 5px;
    }

    .lightbox-counter {
        font-size: 11px;
        bottom: 10px;
        right: 10px;
    }

    .lightbox-info {
        padding: 14px;
        border-radius: 8px;
    }

    .lightbox-info h3 {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .lightbox-info p {
        font-size: 12px;
    }
}
