/* PJ's Concreting Custom Styles */

/* Brand color accent - Green */
:root {
    --brand-green: #4CAF50;
    --brand-green-light: rgba(76, 175, 80, 0.1);
    --brand-green-dark: #388E3C;
}

/* Enhanced link styling */
a {
    transition: color 0.2s ease, border-color 0.2s ease;
}

a:hover {
    color: var(--brand-green) !important;
}

/* Phone number emphasis */
a[href^="tel"] {
    color: var(--brand-green);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease;
}

a[href^="tel"]:hover {
    border-bottom-color: var(--brand-green);
}

/* Email links */
a[href^="mailto"] {
    transition: all 0.2s ease;
}

/* Navigation enhancement */
#header nav ul li a {
    transition: all 0.3s ease;
    min-width: 0 !important;
    padding: 0 1.5rem !important;
    white-space: nowrap;
}

#header nav ul li a:hover {
    background: var(--brand-green-light);
    border-color: var(--brand-green);
}

/* Ensure navigation items fit their content */
#header nav ul {
    width: auto !important;
    max-width: 100%;
}

#header nav ul li {
    flex: 0 1 auto;
}

/* Hide the middle divider line that causes visual issues */
#header nav.use-middle:after {
    display: none !important;
}

/* Remove left border from middle item */
#header nav.use-middle ul li.is-middle {
    border-left: solid 1px #ffffff !important;
}

/* Section headings */
.major {
    position: relative;
    padding-bottom: 0.5em;
}

.major:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--brand-green);
}

/* Article h3 styling */
article h3 {
    color: rgba(255, 255, 255, 0.95);
    margin-top: 2em;
    margin-bottom: 0.8em;
    font-weight: 600;
}

article h3:first-of-type {
    margin-top: 1.5em;
}

/* Icon enhancements */
.icons li a {
    transition: all 0.3s ease;
}

.icons li a:hover {
    background: var(--brand-green);
    border-color: var(--brand-green);
    color: #fff !important;
}

/* Logo icon enhancement */
#header .logo .icon:before {
    color: var(--brand-green);
}

/* CTA boxes */
.cta-box {
    background: var(--brand-green-light);
    padding: 1.5em;
    margin: 2em 0;
    border-radius: 4px;
    border-left: 4px solid var(--brand-green);
}

/* Contact details styling */
#contact .icons {
    margin-top: 1.5em;
}

/* Responsive enhancements */
@media screen and (max-width: 736px) {
    a[href^="tel"] {
        font-size: 1.1em;
    }
}

/* Better paragraph spacing in articles */
article p {
    margin-bottom: 1.2em;
}

article p:last-child {
    margin-bottom: 0;
}

/* Strong text enhancement */
strong {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

/* Hero section enhancement */
#header .content p {
    margin-bottom: 1em;
}

#header .content p:last-child {
    margin-bottom: 0;
}

/* Improve readability of light text */
#header .content p {
    color: rgba(255, 255, 255, 0.8);
}

/* Service highlights */
.service-highlight {
    background: rgba(255, 255, 255, 0.02);
    padding: 1em;
    margin: 1em 0;
    border-left: 3px solid var(--brand-green);
    border-radius: 2px;
}

/* Social proof section */
.social-proof {
    background: var(--brand-green-light);
    padding: 1.5em;
    margin-top: 2em;
    border-radius: 4px;
}

.social-proof a {
    color: var(--brand-green);
    font-weight: 600;
}

/* Contact box styling */
.contact-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 2em;
    margin: 2em 0;
    border-radius: 4px;
}

.contact-box h3 {
    margin-top: 0 !important;
    color: var(--brand-green);
}

/* Footer enhancement */
#footer {
    color: rgba(255, 255, 255, 0.5);
}

#footer .copyright {
    font-size: 0.8em;
}
