/* Jericho Pavers - Full Original Stylesheet */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

:root {
    --brand-red: #D32F2F;
    --dark-red: #B71C1C;
    --clean-white: #FFFFFF;
    --dark-text: #333333;
    --gray-bg: #f9f9f9;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 3%;
    background: var(--clean-white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 45px;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 15px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: bold;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--brand-red);
}

.btn-contact {
    background: var(--brand-red);
    color: white !important;
    padding: 8px 12px;
    border-radius: 4px;
    /* FIX: prevents text breaking */
    white-space: nowrap; 
}

/* --- HERO SLIDER SECTION --- */
.hero-slider { 
    position: relative; 
    overflow: hidden; 
    height: 450px; 
    width: 100%;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: white;
    font-size: 1.5rem;
    padding: 12px 18px;
    cursor: pointer;
    border: none;
    z-index: 10;
    border-radius: 5px;
    transition: 0.3s;
}

.slider-arrow:hover { background: var(--brand-red); }
.prev-hero { left: 10px; }
.next-hero { right: 10px; }

.slides { 
    display: flex; 
    width: 500%; 
    height: 100%;
    /* FIX: Set transition to ease-out for smooth JS control */
    transition: transform 0.6s ease-out; 
}

.slide { 
    width: 20%; 
    height: 100%; 
    background-size: cover; 
    background-position: center; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
    color: white;
    width: 70%; 
}

.hero-content h1 { 
    font-size: 2.2rem; 
    text-transform: uppercase;
    margin-bottom: 10px;
}

.btn-main {
    display: inline-block;
    background: var(--brand-red);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-main:hover { background: var(--dark-red); }

/* Intro & Grid */
.intro {
    padding: 60px 5%;
    text-align: center;
}

.intro h2 { color: var(--brand-red); margin-bottom: 20px; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 0 5% 60px;
}

.card {
    padding: 30px;
    background: var(--gray-bg);
    border-top: 5px solid var(--brand-red);
    text-align: center;
}

/* Footer */
.main-footer {
    background: var(--brand-red);
    color: white;
    padding: 50px 5% 20px 5%;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: left;
}

.footer-col h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.social-icons img {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

.footer-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 30px 0 20px 0;
}

.copyright {
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 1.6rem; }
    .hero-slider { height: 400px; }
    .hero-content { width: 85%; }
}
/* --- KEEP ALL YOUR PREVIOUS CSS AND ADD THIS AT THE BOTTOM --- */

/* Service Gallery Styling - Fixed stacking issue */
.service-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 40px 5%;
}

.service-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

/* Manual Slider for Service Items */
.slider-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.manual-slider {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    height: 100%;
}

.manual-slider img, .single-img {
    min-width: 100%;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.slider-ui {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.slider-ui .arrow {
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 10px;
    cursor: pointer;
    pointer-events: auto;
    font-size: 1.2rem;
}

.dots-container {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
}

.dot.active { background: var(--brand-red); }

.service-text { padding: 20px; text-align: left; }
.service-text h3 { color: var(--brand-red); margin-bottom: 10px; }

/* Contact Form Styling - Fixed broken form in screenshot */
.form-container form {
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-container label {
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--dark-text);
}

.form-container input, 
.form-container select, 
.form-container textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-container button {
    background: var(--brand-red);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.form-container button:hover { background: var(--dark-red); }

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
}
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 2000; /* High z-index to stay above everything else */
    transition: transform 0.3s ease;
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icons img {
    width: 32px;
    height: 32px;
    /* Remove the brightness and invert filters to restore original colors */
    filter: none; 
    transition: transform 0.3s ease;
}

.social-icons img:hover {
    transform: scale(1.1);
}
