/*
 * Custom styles for the painting and decorating website.
 * This stylesheet complements the Bootstrap framework to give the site
 * a unique look reminiscent of the inspiration website. Colors and
 * spacing are chosen to evoke warmth and professionalism, suitable
 * for a high‑end painting and decorating business.
 */

/* Import a modern, friendly typeface for better readability */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* Typography */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #0b3755;
}

p {
    margin-bottom: 1rem;
}

/* Top info bar styling */
.top-bar {
    background-color: #0b3755;
    color: #fefefe;
    font-size: 0.9rem;
    padding: 0.4rem 0;
}
.top-bar a {
    color: #fefefe;
    margin-right: 0.75rem;
    text-decoration: none;
}
.top-bar a:hover {
    color: #e56e2b;
}

/* Navigation */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #0b3755 !important;
}
.navbar-brand img {
    height: 70px;
    width: auto;
}
.navbar-nav .nav-link {
    font-size: 1rem;
    font-weight: 500;
    margin-right: 1rem;
    color: #0b3755;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #e56e2b;
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}
.hero-content {
    position: relative;
    z-index: 1;
}
.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Buttons */
/* Primary button in warm orange */
.btn-primary {
    background-color: #e56e2b;
    border-color: #e56e2b;
}
.btn-primary:hover {
    background-color: #c95c20;
    border-color: #c95c20;
}
/* Outline light button contrasts with dark overlay */
.btn-outline-light {
    color: #fff;
    border-color: #fff;
}
.btn-outline-light:hover {
    color: #0b3755;
    background-color: #fff;
    border-color: #fff;
}

/* Services */
.services-section {
    padding: 4rem 0;
    background-color: #fdfdfd;
}
.service-card {
    background-color: #fff;
    border: 1px solid #eaeaea;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    transition: box-shadow 0.3s ease;
}
.service-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
}
.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 0.5rem 0.5rem 0 0;
    margin-bottom: 1rem;
}
.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* About / Who we are */
.about-section {
    padding: 4rem 0;
}
.about-section .img-fluid {
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Why choose us */
.why-section {
    background-color: #f5f5f5;
    padding: 4rem 0;
}
.why-section ul {
    list-style: none;
    padding: 0;
}
.why-section li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0.75rem;
}
.why-section li::before {
    content: "\f00c"; /* Font Awesome check icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #e56e2b;
}

/* Process steps */
.process-section {
    padding: 4rem 0;
}
.process-step {
    text-align: center;
    margin-bottom: 2rem;
}
.process-step i {
    font-size: 2rem;
    color: #e56e2b;
    margin-bottom: 1rem;
}

/* Portfolio */
.portfolio-section {
    padding: 4rem 0;
    background-color: #fdfdfd;
}
.portfolio-item {
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    border-radius: 0.5rem;
}
.portfolio-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.portfolio-item:hover img {
    transform: scale(1.1);
}

/* Testimonials */
.testimonials-section {
    background-color: #f5f5f5;
    padding: 4rem 0;
}
.testimonial {
    background-color: #fff;
    border: 1px solid #eaeaea;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}
.testimonial h5 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.testimonial small {
    color: #999;
}

/* Footer */
footer {
    background-color: #0b3755;
    color: #f5f5f5;
    padding: 3rem 0;
}
footer h5 {
    margin-bottom: 1.5rem;
}
footer a {
    color: #ccc;
    text-decoration: none;
}
footer a:hover {
    color: #fff;
    text-decoration: underline;
}
.newsletter-form input[type="email"] {
    border: none;
    padding: 0.5rem;
    border-radius: 0.25rem 0 0 0.25rem;
    width: 70%;
}
.newsletter-form button {
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0 0.25rem 0.25rem 0;
}

/* Contact form */
.contact-section {
    padding: 4rem 0;
}
.contact-form .form-control {
    margin-bottom: 1rem;
}