/*
  Styles for the Solid Finish Solutions website inspired by The Painting Specialist site.
  The color palette features rich purples and deep blues with clean typography and generous spacing.
*/

/* CSS reset & typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    color: #333;
    background-color: #f4f4f9;
    line-height: 1.6;
}

/* Top bar */
.top-bar {
    background-color: #513074;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.top-bar .contact-info {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.top-bar .rating-tagline {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
}

.top-bar .stars {
    color: #ffd700;
    letter-spacing: 0.1em;
    font-size: 1rem;
}

.top-bar .cta-button {
    background-color: #6c47a3;
    color: #fff;
    padding: 0.35rem 0.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.top-bar .cta-button:hover {
    background-color: #8260b8;
}

/* Header */
.site-header {
    background-color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.logo-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo {
    height: 40px;
    width: auto;
}

.logo-title h1 {
    font-size: 1.75rem;
    color: #513074;
    font-weight: 700;
}

.main-nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0.5rem 0;
}

.main-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    padding: 0.3rem 0.5rem;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #513074;
}

/* Social icons placeholder */
.social-icons {
    display: flex;
    gap: 0.5rem;
}

.social {
    width: 32px;
    height: 32px;
    display: inline-block;
    border-radius: 4px;
    background-size: cover;
}
/* Replace these background-image urls with your own social icon images */
.social.fb { background-image: url('https://simpleicons.org/icons/facebook.svg'); background-color: #3b5998; }
.social.tw { background-image: url('https://simpleicons.org/icons/twitter.svg'); background-color: #1da1f2; }
.social.ig { background-image: url('https://simpleicons.org/icons/instagram.svg'); background-color: #E4405F; }
.social.li { background-image: url('https://simpleicons.org/icons/linkedin.svg'); background-color: #0077b5; }

/* Hero section */
.hero {
    position: relative;
    height: 60vh;
    background: url('https://images.unsplash.com/photo-1560185127-6c3d91d8e09b?auto=format&fit=crop&w=1500&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.hero-overlay {
    background: rgba(81, 48, 116, 0.6);
    padding: 2rem;
    border-radius: 8px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.rating-badge {
    background-color: #fff;
    color: #513074;
    padding: 0.4rem 0.8rem;
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Services section */
.services-section {
    padding: 3rem 1rem;
    background-color: #fff;
    text-align: center;
}

.services-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #513074;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.card {
    background-color: #f8f5fa;
    border-radius: 8px;
    padding: 1.5rem;
    width: 280px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

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

.card .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background-size: contain;
    background-repeat: no-repeat;
}

.icon.interior { background-image: url('https://img.icons8.com/fluency/96/roller.png'); }
.icon.exterior { background-image: url('https://img.icons8.com/fluency/96/paint-brush.png'); }
.icon.specialist { background-image: url('https://img.icons8.com/fluency/96/wall.png'); }

.card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    color: #513074;
}

.card p {
    font-size: 0.95rem;
    color: #555;
}

/* About section */
.about-section {
    padding: 3rem 1rem;
    background-color: #f4f4f9;
    text-align: center;
}

.about-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #513074;
}

.about-section p {
    max-width: 800px;
    margin: 0 auto 1rem;
    font-size: 1.05rem;
    color: #555;
}

/* Contact section */
.contact-section {
    padding: 3rem 1rem;
    background-color: #fff;
    text-align: center;
}

.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #513074;
}

.contact-section ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    color: #555;
}

.contact-section li {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.contact-section a {
    color: #513074;
    text-decoration: none;
}

.contact-section .cta-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.7rem 1.4rem;
    background-color: #6c47a3;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.contact-section .cta-button:hover {
    background-color: #8260b8;
}

/* Footer */
.site-footer {
    background-color: #513074;
    color: #fff;
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }
    .cards {
        flex-direction: column;
        align-items: center;
    }
    .card {
        width: 90%;
    }
    .site-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .main-nav {
        margin-top: 1rem;
    }
}