/* Custom styles for Just Moved Renovations */

/* Override Bootstrap primary color */
:root {
    --bs-primary: #56b48c;
    --bs-primary-rgb: 86, 180, 140;
    --bs-secondary: #8b9dc3;
    --bs-secondary-rgb: 139, 157, 195;
    --bs-success: #4a7c59;
    --bs-info: #5a8b9a;
    --bs-warning: #d4a574;
    --bs-danger: #a85d5d;
}

/* Explicit button color overrides */
.btn-primary {
    background-color: #56b48c !important;
    border-color: #56b48c !important;
    border-radius: 50px !important;
}

.btn-primary:hover {
    background-color: #4a9d7a !important;
    border-color: #4a9d7a !important;
}

.btn-primary:focus {
    background-color: #3e8568 !important;
    border-color: #3e8568 !important;
    box-shadow: 0 0 0 0.25rem rgba(86, 180, 140, 0.25) !important;
}

/* Make all buttons rounded */
.btn {
    border-radius: 50px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
}

/* Increase padding for navbar button */
.navbar .btn {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

.btn-outline-primary {
    border-radius: 50px !important;
}

.bg-primary {
    background-color: #56b48c !important;
}

.bg-primary-light {
    background-color: #d1f5e2 !important;
}

.bg-success-light {
    background-color: #d1e7dd !important;
}

body {
    padding-top: 0; /* Remove padding to allow full-width headers to start at top */
    font-family: 'Archivo', sans-serif;
    overflow-x: hidden; /* Prevent horizontal scrollbar */
}

html {
    overflow-x: hidden; /* Prevent horizontal scrollbar */
}

main.container {
    margin-top: 100px; /* Add margin to main content to account for fixed navbar */
}

.jumbotron {
    background: linear-gradient(135deg, #56b48c 0%, #66c49c 100%);
    color: white;
}

.navbar {
    background-color: white !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-toggler {
    border-color: #56b48c;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2886, 180, 140, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-brand {
    font-weight: bold;
    padding: 0.25rem 0.5rem;
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

.navbar .container {
    max-width: 1140px;
}

.navbar-nav .nav-link {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    color: #56b48c !important;
    font-weight: 500;
}

.navbar-nav .nav-link:hover {
    color: #4a9d7a !important;
}

.navbar-nav .nav-link:focus {
    color: #3e8568 !important;
}

.card {
    transition: transform 0.2s;
}

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

.contact-info {
    background-color: #f0f4f6;
    padding: 20px;
    border-radius: 5px;
    border-left: 4px solid #56b48c;
}

footer {
    margin-top: auto;
}

/* Footer Styles */
footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: #8b9dc3 !important;
}

footer h5 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer hr {
    border-color: #495057;
}

/* Bathroom Renovation Page Styles */

/* Gallery Section Styles */
.gallery-item {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}


.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.gallery-image[src*="icon-"] {
    width: 250px;
    height: auto;
    object-fit: contain;
    background: none;
    padding: 0;
}


/* Service Panel Hover Effects */
.service-panel {
    transition: transform 0.3s ease;
}

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

.service-panel img {
    transition: box-shadow 0.3s ease;
}

.service-panel:hover img {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-title {
    font-weight: 700;
    color: #56b48c;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.gallery-text {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Features Section Styles */
.features-section {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.feature-item {
    padding: 30px 20px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.feature-title {
    font-weight: 700;
    color: #56b48c;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.feature-text {
    color: #666;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Process Steps Styles */
.step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.step-number {
    min-width: 80px;
    position: relative;
    z-index: 2;
}

.step-content {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -45px;
    padding: 20px 30px;
    position: relative;
    z-index: 1;
    width: 600px;
    margin-right: auto;
}


/* Service Header Styles */
.bathroom-header, .kitchen-header, .loft-header, .painting-header, .extensions-header, .boiler-header, .gardening-header, .windows-header, .insulation-header {
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 0;
    padding: 120px 0 60px 0;
    position: relative;
    z-index: 1;
}

.bathroom-header {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), 
                url('https://just-moved-renovations-static-prod.s3.amazonaws.com/images/bathroom-header-large.jpg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
}

.kitchen-header {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), 
                url('https://just-moved-renovations-static-prod.s3.amazonaws.com/images/kitchen-header-large.jpg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
}

.loft-header {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), 
                url('https://just-moved-renovations-static-prod.s3.amazonaws.com/images/loft-header-large.jpg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
}

.painting-header {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), 
                url('https://just-moved-renovations-static-prod.s3.amazonaws.com/images/decorating-header-large.jpg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
}

.extensions-header {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), 
                url('https://just-moved-renovations-static-prod.s3.amazonaws.com/images/extensions-header-large.jpg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
}

.boiler-header {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), 
                url('https://just-moved-renovations-static-prod.s3.amazonaws.com/images/boilers-header-large.jpg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
}

.gardening-header {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), 
                url('https://just-moved-renovations-static-prod.s3.amazonaws.com/images/garden-header-large.jpg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
}

.windows-header {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), 
                url('https://just-moved-renovations-static-prod.s3.amazonaws.com/images/windows-header-large-2.jpg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
}

.insulation-header {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), 
                url('https://just-moved-renovations-static-prod.s3.amazonaws.com/images/insulation-header-large.jpg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
}

.bathroom-header-content, .kitchen-header-content, .loft-header-content, .painting-header-content, .extensions-header-content, .boiler-header-content, .gardening-header-content, .windows-header-content, .insulation-header-content {
    max-width: 700px;
    padding: 0 20px;
    position: relative;
    z-index: 3;
}

.bathroom-header h1, .kitchen-header h1, .loft-header h1, .painting-header h1, .extensions-header h1, .boiler-header h1, .gardening-header h1, .windows-header h1, .insulation-header h1 {
    font-size: 2.7rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
    color: black;
}

.bathroom-header p, .kitchen-header p, .loft-header p, .painting-header p, .extensions-header p, .boiler-header p, .gardening-header p, .windows-header p, .insulation-header p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
    color: black;
}

.bathroom-header .btn, .kitchen-header .btn, .loft-header .btn, .painting-header .btn, .extensions-header .btn, .boiler-header .btn, .gardening-header .btn, .windows-header .btn, .insulation-header .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Homepage Header Styles */
.homepage-header {
    background-color: white !important;
    background-image: none !important;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    color: #333;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 0;
    padding: 20px 0 60px 0;
    position: relative;
    z-index: 1;
}

/* How It Works Header Styles */
.how-it-works-header {
    background: url('https://just-moved-renovations-static-prod.s3.amazonaws.com/images/green-header-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #333;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 0;
    padding: 120px 0 60px 0;
    position: relative;
    z-index: 1;
}

.how-it-works-header-content {
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 3;
    text-align: center;
}

.how-it-works-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #333;
}

.how-it-works-header p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #333;
}

.homepage-header-content {
    padding: 0 20px;
    position: relative;
    z-index: 3;
    text-align: left;
}

.homepage-header-image {
    padding: 0 20px;
    text-align: center;
}

.homepage-header-image img {
    border-radius: 15px;
    max-width: 100%;
    height: auto;
}

/* Responsive Design */
@media (min-width: 1200px) {
    .homepage-header {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header-title {
        font-size: 2.5rem;
    }
    
    .header-subtitle {
        font-size: 1.1rem;
    }
    
    .homepage-header {
        min-height: auto;
        padding: 80px 0 40px 0;
    }
    
    .homepage-header-content {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .homepage-header-image {
        text-align: center;
        margin-top: 20px;
    }
    
    .how-it-works-header {
        min-height: 400px;
        padding: 100px 0 40px 0;
    }
    
    .how-it-works-header h1 {
        font-size: 2.5rem;
    }
    
    .how-it-works-header p {
        font-size: 1.1rem;
    }
    
    .how-it-works-header-content {
        max-width: 90%;
    }
    
    .bathroom-header {
        min-height: 500px;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
        width: 100vw;
        left: 0;
        right: 0;
        position: relative;
        overflow-x: hidden;
        padding: 140px 0 40px 0;
    }
    
    .bathroom-header h1 {
        font-size: 2rem;
    }
    
    .bathroom-header p {
        font-size: 1rem;
    }
    
    .gallery-image {
        height: 200px;
    }
    
    .feature-icon {
        width: 80px;
        height: 80px;
    }
    
    .step-content {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    /* Responsive underline image */
    .underline-image {
        width: 300px !important;
        max-width: 90vw;
    }
    
    /* Responsive step images */
    .step-image {
        max-width: 120px !important;
    }
}

/* Service Icon Panel Styles */
.service-icon-panel {
    transition: transform 0.3s ease;
}

.service-icon-panel:hover {
    transform: translateY(-3px);
    text-decoration: none;
}

.service-icon-container {
    transition: all 0.3s ease;
    background-color: #ffffff;
    border: 2px solid #e9ecef;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 100px;
}

.service-icon-container:hover {
    border-color: #56b48c;
    box-shadow: 0 4px 15px rgba(86, 180, 140, 0.2);
    background-color: #f8fffe;
}

.service-icon-container img {
    transition: transform 0.3s ease;
    max-width: 100%;
    height: auto;
}

.service-icon-panel:hover .service-icon-container img {
    transform: scale(1.1);
}

.service-icon-container p {
    color: #333;
    transition: color 0.3s ease;
    font-size: 0.8rem;
}

.service-icon-panel:hover .service-icon-container p {
    color: #56b48c;
}

/* Responsive scaling for service icons */
@media (max-width: 1200px) {
    .service-icon-container {
        min-width: 90px;
        min-height: 110px;
    }
    
    .service-icon-container img {
        width: 50px !important;
        height: 50px !important;
    }
    
    .service-icon-container p {
        font-size: 0.75rem;
    }
}

@media (max-width: 992px) {
    .service-icon-container {
        min-width: 80px;
        min-height: 100px;
        padding: 0.5rem !important;
    }
    
    .service-icon-container img {
        width: 45px !important;
        height: 45px !important;
    }
    
    .service-icon-container p {
        font-size: 0.7rem;
    }
}

/* Tick Bullets Styles */
.tick-bullets {
    list-style: none;
    padding-left: 0;
    text-align: left;
    margin-top: 1.5rem;
}

.tick-bullets li {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    padding-left: 0;
}

.tick-bullets li:before {
    content: "✓";
    color: #56b48c;
    font-weight: bold;
    margin-right: 0.5rem;
}
