/*
Theme Name: BP Renovation Pro
Description: Professional WordPress theme for painting and renovation businesses
Version: 1.0
Author: Custom Theme
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #fff;
    background: #1a1a1a;
}

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

/* Header */
header {
    background: rgba(0,0,0,0.9);
    padding: 0.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #444;
    font-size: 0.9rem;
}

.contact-info a, .header-social a {
    color: #ff6b35;
    text-decoration: none;
    margin-right: 1rem;
}

.contact-info a:hover, .header-social a:hover {
    color: #fff;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 5px;
}

.logo-icon {
    background: #ff6b35;
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.logo-text {
    color: #ff6b35;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ff6b35;
}

/* Contact Messages */
.contact-message {
    position: fixed;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem 2rem;
    border-radius: 5px;
    z-index: 1001;
    font-weight: bold;
}

.contact-message.success {
    background: #4CAF50;
    color: white;
}

.contact-message.error {
    background: #f44336;
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text .highlight {
    color: #ff6b35;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #ccc;
}

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

.cta-button:hover {
    background: #e55a2b;
}

.hero-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.hero-image {
    border-radius: 10px;
    overflow: hidden;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.hero-image.painting {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="%23ff6b35" width="400" height="300"/><text x="200" y="150" text-anchor="middle" fill="white" font-size="20">Painting Image</text></svg>');
}

.hero-image.tiling {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="%23333" width="400" height="300"/><text x="200" y="150" text-anchor="middle" fill="white" font-size="20">Tiling Image</text></svg>');
}

/* About Section */
.about {
    padding: 6rem 0;
    background: #222;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #fff;
}

.about p {
    font-size: 1.1rem;
    color: #ccc;
    max-width: 600px;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: #1a1a1a;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.services h2 .highlight {
    color: #ff6b35;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.service-card {
    background: #2d2d2d;
    padding: 3rem 2rem;
    border-radius: 10px;
    border: 1px solid #444;
    text-align: center;
    transition: transform 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card:hover {
    transform: translateY(-10px);
    color: inherit;
}

.service-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

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

.service-icon {
    color: #ff6b35;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #ccc;
}

/* Gallery Section */
.gallery {
    padding: 6rem 0;
    background: #2d2d2d;
}

.gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #fff;
}

.gallery h2 .highlight {
    color: #ff6b35;
}

/* Before/After Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    background: #333;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item.before-after {
    height: 300px;
}

.before-after-container {
    display: flex;
    height: 100%;
    width: 100%;
}

.before-image, .after-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.before-image img, .after-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    z-index: 10;
}

/* Contact Form Section */
.contact-form {
    padding: 6rem 0;
    background: #222;
}

.contact-form h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.contact-form h2 .highlight {
    color: #ff6b35;
}

.contact-form p {
    text-align: center;
    color: #ccc;
    margin-bottom: 3rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.form-group input {
    width: 100%;
    padding: 15px;
    background: #333;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 1rem;
}

.form-group input::placeholder {
    color: #999;
}

.submit-btn {
    background: #ff6b35;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #e55a2b;
}

/* Footer */
footer {
    background: #111;
    padding: 3rem 0 1rem;
    text-align: center;
}

.social-section h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: #fff;
    width: 50px;
    height: 50px;
    border: 2px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #ff6b35;
    border-color: #ff6b35;
    transform: translateY(-3px);
}

.social-links svg {
    width: 24px;
    height: 24px;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-text {
    color: #999;
    font-size: 0.9rem;
}

.form-disclaimer {
    text-align: center;
    color: #999;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Service Portfolio Pages */
.service-portfolio {
    padding: 8rem 0 4rem;
    min-height: 100vh;
}

.service-header {
    text-align: center;
    margin-bottom: 3rem;
}

.service-header h1 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.service-header p {
    color: #ccc;
    font-size: 1.1rem;
}

.back-btn {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    transition: background 0.3s;
}

.back-btn:hover {
    background: #e55a2b;
    color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: #2d2d2d;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
}

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

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.portfolio-item h3 {
    padding: 1rem;
    text-align: center;
    color: #fff;
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .header-top {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .logo-image {
        width: 60px;
        height: 60px;
    }
    
    .logo-text {
        font-size: 0.7rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    nav ul li {
        margin: 0;
    }
    
    .hero {
        min-height: 80vh;
        padding-top: 140px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .hero-images {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-image {
        height: 150px;
    }
    
    .about, .services, .gallery, .contact-form {
        padding: 3rem 0;
    }
    
    .about h2, .services h2, .gallery h2, .contact-form h2 {
        font-size: 2rem;
    }
    
    .services-grid, .portfolio-grid, .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        gap: 1rem;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
    }
    
    /* Mobile before/after */
    .before-after-container {
        flex-direction: column;
    }
    
    .before-image, .after-image {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .cta-button, .submit-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .service-card, .gallery-item {
        padding: 2rem 1.5rem;
    }
}
wp_enqueue_style('bp-renovation-style', get_stylesheet_uri(), array(), time());
