/*
Theme Name: Brightwork
Theme URI: https://brightworkpaintingandrestoration.com
Description: Custom theme for Brightwork Painting and Restoration
Author: Jonnydswebdev.com (Jonathan Dillon)
Author URI: https://jonnydswebdev.com
Version: 1.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: brightwork
*/

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.8;
    color: #222;
    font-size: 16px;
}

/* Header Styles */
.header {
    background-color: #fff;
    padding: 15px 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    flex: 1;
    display: flex;
    align-items: center;
}

.logo {
    height: 80px;
    width: auto;
}

.header-content {
    flex: 2;
    text-align: center;
    padding: 0 20px;
}

.logo-container:last-child {
    flex: 1;
    visibility: hidden;
}

.header h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    color: #222;
    margin-bottom: 8px;
    font-weight: bold;
    text-align: center;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('assets/images/Banners/BrightworksBanner.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    color: white;
    height: 600px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    padding-bottom: 30px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 18px 36px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.4rem;
    margin-top: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(96, 125, 139, 0.2);
}

/* Services Section */
.services {
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(to bottom, #eceff1 0%, white 100%);
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    margin-top: 40px;
    padding: 0 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-item {
    background: #eceff1;
    padding: 30px;
    border-radius: 10px;
    font-size: 1.2rem;
}

.service-item h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #222;
}
/* quick services */
.quick-services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0;
    /* Add some margin for spacing */
}

.quick-service-item {
    background: #cfd8dc;
    /* Light grey background */
    padding: 15px 20px;
    /* Padding for spacing */
    border-radius: 10px;
    /* Rounded corners */
    color: #263238;
    /* Text color */
    font-size: 1.1rem;
    /* Font size */
    font-weight: 500;
    /* Font weight */
    margin: 10px;
    /* Margin between items */
    transition: background 0.3s;
    /* Smooth background transition */
    text-align: center;
    /* Center text */
    flex: 1 1 200px;
    /* Flex properties for responsive design */
}

/* Gallery */
.gallery {
    margin-top: 20px;
}

.before-after {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.before-after-pair {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.before-after-pair img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    border-radius: 5px;
    cursor: zoom-in;
    transition: transform 0.2s ease;
}

.before-after-pair img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.image-label {
    margin-top: 10px;
    font-weight: bold;
    font-size: 1.2rem;
    color: #444;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    z-index: 1000;
    padding: 20px;
}

.lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-controls {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-btn {
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 5px;
    user-select: none;
    transition: background-color 0.3s ease;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.close-lightbox:hover {
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* Work Showcase */
/* Hide the Previous Works gallery temporarily */
/*
.work-showcase {
    display: none; // Hide the gallery
}
*/

.work-showcase {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.showcase-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.showcase-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#showcase-slides {
    display: flex;
    justify-content: center;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.showcase-slide {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.showcase-slide.active {
    display: flex;
}

.showcase-slide img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.work-description {
    padding: 10px;
}

.work-description h4 {
    font-size: 1.8rem;
    margin: 10px 0;
    color: #555;
}

.work-description p {
    font-size: 1.2rem;
    color: #666;
}

.showcase-controls {
    margin-top: 20px;
}

.showcase-btn {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 0 10px;
}

.showcase-btn:hover {
    background-color: #c0392b;
}
/* Testimonials */
.testimonials {
    background: #eceff1;
    /* Light grey background for the testimonials section */
    padding: 60px 20px;
    /* Padding for spacing */
    text-align: center;
    /* Center text */
}

.testimonial-grid {
    display: grid;
    /* Use grid layout */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* Responsive columns */
    gap: 30px;
    /* Space between items */
    max-width: 1200px;
    /* Max width for the grid */
    margin: 0 auto;
    /* Center the grid */
    padding: 0 20px;
    /* Padding for the grid */
}

.testimonial-item {
    background: white;
    /* White background for each testimonial */
    padding: 25px;
    /* Padding for spacing */
    border-radius: 10px;
    /* Rounded corners */
    box-shadow: 0 3px 10px rgba(96, 125, 139, 0.15);
    /* Subtle shadow for depth */
    transition: transform 0.3s;
    /* Smooth transition for hover effect */
}

.testimonial-text {
    font-style: italic;
    /* Italic text for quotes */
    margin-bottom: 15px;
    /* Space below the text */
    color: #444;
    /* Darker text color */
}

.testimonial-author {
    font-weight: bold;
    /* Bold text for author */
    color: #222;
    /* Darker color for author name */
}

/* Add hover effect for testimonial items */
.testimonial-item:hover {
    transform: translateY(-5px);
    /* Lift effect on hover */
    box-shadow: 0 6px 15px rgba(96, 125, 139, 0.25);
    /* Darker shadow on hover */
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    background: #cfd8dc;
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #222;
}

.business-credentials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 0 auto 30px;
    max-width: 800px;
    text-align: center;
}

.business-description {
    font-size: 1.4rem;
    color: #444;
    margin: 0;
    text-align: center;
    flex: 0 1 auto;
    line-height: 1.4;
}

.business-credentials img {
    height: 120px;
    width: auto;
    order: -1;
    margin: 0 10px;
}

.footer-bottom {
    width: 100%;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #b0bec5;
    font-size: 0.9rem;
    color: #546e7a;
}

.footer-links {
    margin: 10px 0;
}

.footer-links a {
    color: #546e7a;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Legal Pages (Privacy Policy & Terms of Service) */
.back-link {
    display: inline-block;
    margin: 20px 0;
    color: #e74c3c;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        padding: 15px 10px;
        gap: 15px;
        text-align: center;
    }

    .logo-container {
        justify-content: center;
    }

    .logo {
        height: 60px;
    }

    .header-content {
        text-align: center;
    }

    .header-content h1 {
        font-size: 2rem;
    }

    .header .subtitle {
        font-size: 1.2rem;
        justify-content: center;
    }

    .logo-container:last-child {
        display: none;
    }

    .business-credentials {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .business-credentials img {
        order: -1;
        margin: 0 auto;
    }

    .business-description {
        text-align: center;
    }

    .service-item {
        text-align: center;
        padding: 20px 15px;
    }

    footer {
        padding: 30px 15px;
    }

    footer p {
        font-size: 1.6rem;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .services h2 {
        font-size: 2.2rem;
        padding: 0 15px 15px;
    }
} 

/* Contact Page Styles */
.contact-section {
    padding: 40px 20px;
    /* Add padding for spacing */
    background-color: #f9f9f9;
    /* Light background for contrast */
    border-radius: 10px;
    /* Rounded corners */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* Subtle shadow for depth */
    max-width: 600px;
    /* Max width for the section */
    margin: 0 auto;
    /* Center the section */
    text-align: center;
    /* Center text */
}

.contact-section h1 {
    font-size: 2.5rem;
    /* Larger font size for the title */
    margin-bottom: 20px;
    /* Space below the title */
    color: #333;
    /* Darker color for the title */
}

.contact-section p {
    font-size: 1.2rem;
    /* Font size for description */
    color: #666;
    /* Lighter color for description */
}

.phone-number {
    font-size: 1.5rem;
    /* Font size for phone number */
    color: #e74c3c;
    /* Color for phone number */
    margin-top: 10px;
    /* Space above phone number */
}

.phone-number a {
    text-decoration: none;
    /* Remove underline from link */
    color: #e74c3c;
    /* Color for link */
}

.phone-number a:hover {
    text-decoration: underline;
    /* Underline on hover */
}