/* ============================================
   SERVICE PAGES - Additional Styles
   ============================================ */

/* Service Hero */
.service-hero {
    position: relative;
    padding: 180px 0 100px;
    background: var(--dark);
    overflow: hidden;
}

.service-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, rgba(26, 38, 52, 0.95) 0%, rgba(45, 62, 80, 0.85) 100%),
        var(--hero-image) center/cover no-repeat;
}

.service-hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.1) 0%, transparent 60%);
}

/* Service-specific hero backgrounds */
.waterproofing-hero .service-hero-bg {
    --hero-image: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1920&q=80');
}

.epoxy-hero .service-hero-bg {
    --hero-image: url('https://images.unsplash.com/photo-1562663474-6cbb3eaa4d14?w=1920&q=80');
}

.silicone-hero .service-hero-bg {
    --hero-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80');
}

.tiling-hero .service-hero-bg {
    --hero-image: url('https://images.unsplash.com/photo-1620626011761-996317b8d101?w=1920&q=80');
}

.service-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    background: rgba(0, 180, 216, 0.1);
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-radius: 50px;
    margin-bottom: 24px;
}

.badge-letter {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
    border-radius: 50%;
}

.service-badge span:last-child {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.service-hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.service-hero h1 .highlight {
    color: var(--primary);
}

.service-hero p {
    font-size: 18px;
    color: var(--gray-400);
    margin-bottom: 32px;
    line-height: 1.7;
}

.service-hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Service Overview */
.service-overview {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.overview-content p {
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.8;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--gray-200);
}

.overview-stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-desc {
    display: block;
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 8px;
}

.overview-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--dark-light) 0%, var(--dark) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.image-placeholder svg {
    width: 80px;
    height: 80px;
    color: var(--primary);
    opacity: 0.5;
    display: none;
}

/* Service-specific overview images */
.waterproofing-img {
    background: url('https://images.unsplash.com/photo-1621905252507-b35492cc74b4?w=800&q=80') center/cover no-repeat !important;
}

.epoxy-img {
    background: url('https://images.unsplash.com/photo-1562663474-6cbb3eaa4d14?w=800&q=80') center/cover no-repeat !important;
}

.silicone-img {
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=800&q=80') center/cover no-repeat !important;
}

.tiling-img {
    background: url('https://images.unsplash.com/photo-1620626011761-996317b8d101?w=800&q=80') center/cover no-repeat !important;
}

.image-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.1) 0%, rgba(26, 38, 52, 0.2) 100%);
}

/* Service Types Grid */
.service-types {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.type-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.type-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.type-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 180, 216, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.type-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.type-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.type-card p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

.type-features {
    list-style: none;
}

.type-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--gray-600);
}

.type-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

/* Service Process */
.service-process {
    padding: var(--section-padding) 0;
    background: var(--dark);
}

.service-process .section-badge {
    background: rgba(0, 180, 216, 0.2);
}

.service-process .section-title {
    color: var(--white);
}

.service-process .section-subtitle {
    color: var(--gray-400);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.service-process .process-step {
    background: var(--dark-surface);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-process .step-number {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 16px;
}

.service-process .step-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
}

.service-process .step-content p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.7;
}

/* FAQ Section */
.service-faq {
    padding: var(--section-padding) 0;
    background: var(--white);
}

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

.faq-item {
    padding: 30px;
    background: var(--off-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.faq-item p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* Service CTA */
.service-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
}

.service-cta h2 {
    font-size: clamp(28px, 4vw, 40px);
    color: var(--white);
    margin-bottom: 16px;
}

.service-cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.service-cta .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.service-cta .btn-primary:hover {
    background: var(--off-white);
}

.service-cta .btn-secondary {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.service-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--dark);
    border-radius: var(--radius-md);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
    list-style: none;
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 24px;
    font-size: 14px;
    color: var(--gray-300);
    transition: all var(--transition-fast);
}

.dropdown-menu li a:hover {
    color: var(--white);
    background: rgba(0, 180, 216, 0.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .overview-image {
        order: -1;
    }

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

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

@media (max-width: 768px) {
    .service-hero {
        padding: 140px 0 80px;
    }

    .service-hero-buttons {
        flex-direction: column;
    }

    .service-hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

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

    .types-grid {
        grid-template-columns: 1fr;
    }

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

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        box-shadow: none;
        padding: 0;
        padding-left: 20px;
    }
}
