/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f9f9f9;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   HEADER & LOGO – BIGGER ON DESKTOP
   ======================================== */
.header {
    background: linear-gradient(135deg, #ff5e62, #ff9966);
    color: white;
    padding: 0.75rem 1rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.logo {
    padding: 0.5rem 0;
    text-align: center;
}

.logo a {
    display: inline-block;
    line-height: 0;
}

.logo-img {
    height: auto;
    max-height: 140px;        /* BIG LOGO ON DESKTOP */
    width: auto;
    max-width: 90%;
    transition: all 0.3s ease;
}

.contact-header {
    text-align: center;
}

.contact-header .phone {
    font-size: 1.8rem;
    font-weight: bold;
}

.contact-header .free-estimate {
    font-size: 1.5rem;
    font-style: italic;
    color: #fff;
    text-shadow: 1px 1px 2px #000;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    text-align: center;
    padding: 3rem 1rem;
    background: white;
    position: relative;
    overflow: hidden;
}

.paint-splash {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 120px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 200"><path fill="%23ff5e62" d="M0,100 Q100,50 150,120 T300,100 T450,80 T600,120 L600,200 L0,200 Z"/><path fill="%23ff9966" d="M50,80 Q150,30 200,100 T350,90 T500,110 L600,150 L600,200 L0,200 Z"/><path fill="%23ffd700" d="M100,60 Q200,10 250,80 T400,70 T550,90 L600,130 L0,200 Z"/><path fill="%2333cc33" d="M150,50 Q250,0 300,70 T450,60 T600,100 L600,200 Z"/><path fill="%230099ff" d="M200,40 Q300,-10 350,60 T500,50 T600,90 L600,200 Z"/></svg>') no-repeat center;
    background-size: contain;
    opacity: 0.8;
    z-index: 0;
}

.hero h2 {
    font-size: 2.2rem;
    margin: 1rem 0;
    color: #222;
    position: relative;
    z-index: 1;
}

.cta-button {
    display: inline-block;
    background: #ff5e62;
    color: white;
    padding: 1rem 2rem;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255,94,98,0.4);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    background: #ff3b3f;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,59,63,0.5);
}

/* ========================================
   SECTIONS: SERVICES & WHY CHOOSE
   ======================================== */
.services,
.why-choose {
    padding: 2.5rem 1rem;
    text-align: center;
    background: #fff;
    margin: 1rem 0.75rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.services h3,
.why-choose h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ff5e62;
}

.services ul {
    list-style: none;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.services li {
    padding: 0.5rem 0;
    font-weight: 500;
}

.features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 700px;
    margin: 1.5rem auto;
}

.feature {
    background: #f0f8ff;
    padding: 1rem;
    border-radius: 10px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.feature span[role="img"] {
    font-size: 1.5rem;
}

/* ========================================
   FOOTER – SHERWIN-WILLIAMS LOGO
   ======================================== */
.footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.9rem;
}

.sherwin {
    margin-bottom: 1rem;
}

.sw-logo {
    height: 30px;
    margin-top: 0.5rem;
    filter: brightness(0) invert(1);   /* makes the logo white */
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* Large Tablets */
@media (max-width: 1024px) {
    .logo-img { max-height: 110px; }
}

/* Tablets & Small Laptops */
@media (max-width: 768px) {
    .header { padding: 0.75rem 1rem; }

    .logo-img { max-height: 80px; max-width: 85%; }

    .contact-header .phone   { font-size: 1.5rem; }
    .contact-header .free-estimate { font-size: 1.3rem; }

    .hero { padding: 2rem 1rem; }
    .hero h2 { font-size: 1.9rem; }

    .cta-button { padding: 0.9rem 1.8rem; font-size: 1.1rem; }

    .services h3,
    .why-choose h3 { font-size: 1.6rem; }

    .feature { font-size: 1rem; padding: 0.9rem; }

    .footer { padding: 1.5rem 1rem; font-size: 0.85rem; }
    .sw-logo { height: 25px; }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .logo-img { max-height: 65px; max-width: 80%; }

    .contact-header .phone   { font-size: 1.4rem; }
    .contact-header .free-estimate { font-size: 1.1rem; }

    .hero h2 { font-size: 1.7rem; }

    .cta-button { width: 90%; font-size: 1.1rem; padding: 0.9rem 1.5rem; }

    .services,
    .why-choose { margin: 0.75rem 0.5rem; padding: 1.8rem 1rem; }

    .services h3,
    .why-choose h3 { font-size: 1.5rem; }

    .feature {
        font-size: 0.95rem;
        flex-direction: column;
        text-align: center;
    }
    .feature span[role="img"] { font-size: 1.8rem; }
}