/* Service Page Styles */
.service-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/driveway.jpg');
    background-size: 200% auto;
    background-position: 0% 70%;
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
    animation: driftBackground 45s ease-in-out infinite;
    will-change: background-position;
}

/* Patio hero specific styles */
.patio-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/decking.jpg');
    background-size: 200% auto;
    background-position: 0% 85%;
    animation: driftBackground 45s ease-in-out infinite;
}

@keyframes driftBackground {
    0% {
        background-position: 0% 85%;
    }
    50% {
        background-position: 100% 85%;
    }
    100% {
        background-position: 0% 85%;
    }
}

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Add specific hero background for UPVC page */
.upvc-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/cleanroof.jpg'), url('../images/upvc.jpg');
    background-size: 150% auto, 150% auto;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    animation: slideBackground 30s linear infinite;
    will-change: background-position;
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
}

@keyframes slideBackground {
    0% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
    100% {
        background-position: 0% center;
    }
}

/* Add specific hero background for Roof Cleaning page */
.roof-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/bigroof.jpg');
    background-size: 200% auto;
    background-position: 0% 70%;
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
    animation: driftBackground 45s ease-in-out infinite;
    will-change: background-position;
}

/* Add specific hero background for Gutter Cleaning page */
.gutter-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/gutter.jpg');
    background-size: 200% auto;
    background-position: 0% 60%;
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
    animation: driftBackground 45s ease-in-out infinite;
    will-change: background-position;
}

/* Add specific hero background for Fence Cleaning page */
.fence-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/fencing.jpg');
    background-size: 50% auto;
    background-position: 0% 40%;
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
    animation: driftBackground 45s ease-in-out infinite;
    will-change: background-position;
}

/* Add specific hero background for Building Exterior Cleaning page */
.building-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/exterior.jpg');
    background-size: 60% auto;
    background-position: 0% 70%;
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
    animation: driftBackground 45s ease-in-out infinite;
    will-change: background-position;
}

.graffiti-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/graffiti.jpg');
    background-size: 60% auto;
    background-position: 0% 70%;
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
    animation: driftBackground 45s ease-in-out infinite;
    will-change: background-position;
}

.service-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.service-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.service-hero p {
    font-size: 1.2rem;
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.service-details {
    padding: 80px 0;
    background-color: #34495e;
}

.service-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-description {
    background: #111;
    color: #fff;
    padding: 0 20px;
    box-shadow: none;
    margin-bottom: 40px;
    max-width: 100%;
    border: 3px solid #3498db;
    border-radius: 14px;
}

.service-description h2 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 2rem;
}

.service-description p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #fff;
}

.service-description ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
}

.service-description ul li {
    padding: 18px 0 18px 30px;
    position: relative;
    font-size: 1.25rem;
    line-height: 1.8;
    color: #3498db;
    font-family: 'Montserrat', 'Segoe UI', 'Arial Rounded MT Bold', 'Arial', sans-serif;
}

.service-description ul li:before {
    content: "•";
    color: #3498db;
    font-size: 1.5em;
    position: absolute;
    left: 0;
    top: 5px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.step {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
    border: 2.5px solid #3498db;
}

.step:hover {
    transform: translateY(-5px);
}

.step i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 20px;
}

.step h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.step p {
    color: #666;
    margin: 0;
}

.service-cta {
    background: #3498db;
    color: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.service-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.service-cta p {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: white;
    color: #3498db;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-hero h1 {
        font-size: 2.5rem;
    }

    .service-hero p {
        font-size: 1.1rem;
    }

    .service-description {
        padding: 30px;
    }

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

    .service-cta {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .service-hero h1 {
        font-size: 2rem;
    }

    .service-description {
        padding: 20px;
    }

    .service-cta {
        padding: 20px;
    }
}

.service-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.service-text {
    padding-right: 20px;
}

.service-video {
    width: 100%;
    height: 100%;
    min-height: 300px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.service-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .service-content-grid {
        grid-template-columns: 1fr;
    }
    
    .service-text {
        padding-right: 0;
    }
    
    .service-video {
        min-height: 250px;
    }
}

.service-video-group {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
}

.service-video-group .service-video {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 525px;
}

.service-video video {
    width: 100%;
    height: 525px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.video-caption {
    display: none;
}

@media (max-width: 900px) {
    .service-video-group {
        flex-direction: column;
        gap: 20px;
    }
} 

/* Flex group for roof bullets and image */
.roof-bullets-image-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
}
.roof-bullets-image-group > div:first-child {
    width: 100%;
    max-width: 600px;
}
.roof-bullets-image-group > div:last-child {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.roof-bullet-img {
    max-width: 600px;
    width: 90vw;
    border-radius: 16px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.22);
    margin: 120px auto 0 auto;
    object-fit: cover;
    background: #222;
    display: block;
}
@media (min-width: 900px) {
    .roof-bullets-image-group {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }
    .roof-bullets-image-group > div:first-child {
        max-width: 480px;
    }
    .roof-bullets-image-group > div:last-child {
        max-width: 700px;
    }
    .roof-bullet-img {
        max-width: 520px;
        width: 100%;
    }
} 

@media (max-width: 480px) {
  .roof-bullet-img {
    max-width: 320px;
    width: 92vw;
    margin-top: 40px;
  }
}

.green-tick {
    color: #27ae60;
    margin-left: 0.5em;
    font-size: 1.25em;
    vertical-align: middle;
}
.benefits-tick-list li {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: 1.15em;
} 
.benefits-tick-list li .fa-check-circle {
    color: #27ae60;
    margin-right: 0.5em;
    font-size: 1.25em;
    vertical-align: middle;
}

.fence-bullet-img {
    max-width: 600px;
    width: 91.125vw;
    border-radius: 16px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.22);
    margin: 120px auto 0 -320px;
    object-fit: cover;
    background: #222;
    display: block;
} 

.building-bullet-img {
    max-width: 660px;
    width: 99vw;
    margin-left: -340px;
} 

@media (max-width: 480px) {
  .fence-bullet-img {
    max-width: 320px;
    width: 92vw;
    margin: 40px auto 0 auto !important;
  }
} 

@media (max-width: 480px) {
  .building-bullet-img {
    max-width: 320px;
    width: 92vw;
    margin-top: 40px;
    margin-left: auto;
  }
} 

@media (max-width: 480px) {
  .fence-hero {
    background-size: cover !important;
    background-position: center !important;
  }
} 

@media (max-width: 480px) {
  .driveway-video {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
  }
} 

@media (max-width: 480px) {
  .service-video-mobile {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
  }
} 