/* ============================================
   IRONCLAD PLUMBING & CONSTRUCTION SOLUTIONS
   Landing Page Styles
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy:        #1a3a6b;
    --navy-dark:   #102a55;
    --sky:         #5b9bd5;
    --sky-light:   #7ab3e0;
    --white:       #ffffff;
    --off-white:   #f5f7fb;
    --light-gray:  #e4eaf3;
    --dark-text:   #0d1f3c;
    --body-text:   #2c3e5a;
    --green-wa:    #25D366;
    --green-wa-dk: #1aab52;
    --red-cta:     #d62828;
    --red-cta-dk:  #b71c1c;
    --shadow:      0 4px 20px rgba(26,58,107,0.18);
    --radius:      10px;
    --max-width:   480px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--off-white);
    color: var(--body-text);
    -webkit-font-smoothing: antialiased;
    /* Extra bottom padding so sticky bar never covers content */
    padding-bottom: 68px;
}

body > * {
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

@media (min-width: 520px) {
    body { background: #c2cfe0; }
    body > * { box-shadow: var(--shadow); }
}

/* ---------- Buttons ---------- */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    border-radius: var(--radius);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
    border: none;
}

.btn:active { transform: scale(0.97); }

/* Primary — navy blue call button */
.btn-primary {
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(26,58,107,0.4);
    animation: pulse-glow 2.5s ease-in-out infinite;
}
.btn-primary:hover {
    background: var(--navy-dark);
    box-shadow: 0 6px 20px rgba(26,58,107,0.55);
    animation: none;
}

/* Secondary — WhatsApp green */
.btn-secondary {
    background: var(--green-wa);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(37,211,102,0.35);
}
.btn-secondary:hover {
    background: var(--green-wa-dk);
}

.btn-wide { margin-top: 10px; }
.btn i { font-size: 1rem; }

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 14px rgba(26,58,107,0.4); }
    50%       { box-shadow: 0 6px 28px rgba(26,58,107,0.65); }
}

/* ---------- TOP HEADER ---------- */
.top-header {
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 3px solid var(--navy);
    position: sticky;
    top: 0;
    z-index: 200;
}

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

.header-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
    /* Logo has black bg — add slight padding so it sits cleanly */
    border-radius: 6px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--dark-text);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}
.header-phone:hover { color: var(--navy); }
.header-phone i { color: var(--navy); }

/* ---------- HERO ---------- */
.hero {
    background: linear-gradient(155deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    padding: 36px 20px 32px;
    text-align: center;
}

.hero-headline {
    font-size: 1.85rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.hero-subheadline {
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 16px;
    letter-spacing: 0.2px;
}

/* Trust bar */
.trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 6px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.trust-bar .divider { opacity: 0.45; }

/* Badges */
.badges-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
}

.badge {
    background: var(--white);
    border-radius: 10px;
    padding: 12px 14px;
    text-align: center;
    flex: 1;
    max-width: 160px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.22);
}

/* Google badge */
.google-badge .badge-logo {
    font-size: 0.85rem;
    font-weight: 700;
    color: #555;
    margin-bottom: 4px;
}
.google-g {
    color: #4285F4;
    font-weight: 900;
    font-size: 1rem;
}
.google-badge .stars-row {
    color: #FBBC05;
    font-size: 0.78rem;
    margin-bottom: 2px;
}
.google-badge .badge-score {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--dark-text);
    line-height: 1;
}
.google-badge .badge-reviews {
    font-size: 0.62rem;
    color: #777;
    margin-top: 3px;
}

/* Experience badge */
.exp-badge {
    background: var(--navy);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}
.exp-icon {
    font-size: 1.3rem;
    color: var(--sky-light);
    margin-bottom: 2px;
}
.exp-years {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--sky-light);
    line-height: 1;
}
.exp-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    opacity: 0.85;
    line-height: 1.3;
    text-transform: uppercase;
}

/* CTA group */
.cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ---------- INFO / PHOTO SECTION ---------- */
.info-section {
    background: var(--white);
    padding: 0 0 32px;
}

/* Photo gallery */
.info-image-wrap {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    background: var(--light-gray);
}

.photo-gallery {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
}
.gallery-img.active { opacity: 1; }

/* Gallery dots */
.gallery-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
}
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.55);
    cursor: pointer;
    transition: background 0.3s;
}
.dot.active { background: var(--white); }

/* Info text area */
.info-content {
    padding: 28px 20px 0;
}

.info-heading {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.25;
}

.info-sub {
    font-size: 0.88rem;
    color: var(--body-text);
    margin-bottom: 18px;
    line-height: 1.55;
}

.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 8px;
}
.info-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.93rem;
    color: var(--body-text);
}
.info-list li i {
    color: var(--sky);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.info-list li strong { color: var(--navy); }

/* ---------- TESTIMONIALS ---------- */
.testimonials-section {
    background: var(--off-white);
    padding: 32px 20px;
}

.section-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--navy);
    text-align: center;
    margin-bottom: 20px;
}

.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 18px;
    border-left: 4px solid var(--sky);
    box-shadow: 0 2px 10px rgba(26,58,107,0.07);
}
.testimonial-stars {
    color: #FBBC05;
    font-size: 0.82rem;
    margin-bottom: 8px;
}
.testimonial-text {
    font-size: 0.87rem;
    color: var(--body-text);
    line-height: 1.55;
    font-style: italic;
    margin-bottom: 8px;
}
.testimonial-author {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy);
}

/* ---------- FINAL CTA SECTION ---------- */
.final-cta-section {
    background: linear-gradient(155deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    padding: 36px 20px;
    text-align: center;
}
.final-cta-section h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.final-cta-section p {
    font-size: 0.93rem;
    opacity: 0.88;
    margin-bottom: 20px;
    line-height: 1.5;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--sky-light);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 14px;
    transition: color 0.2s;
}
.email-link:hover { color: var(--white); }

.final-trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 6px;
    margin-top: 20px;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.75;
}
.final-trust-bar .divider { opacity: 0.4; }

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--dark-text);
    color: rgba(255,255,255,0.65);
    text-align: center;
    padding: 24px 20px;
    font-size: 0.8rem;
    line-height: 1.85;
}
.footer-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--sky-light);
    font-weight: 700;
    text-decoration: none;
    margin-top: 4px;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-phone:hover { color: var(--white); }

/* ---------- STICKY BOTTOM CALL BAR ---------- */
.sticky-call-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--max-width);
    background: var(--red-cta);
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 300;
    letter-spacing: 0.4px;
    box-shadow: 0 -3px 16px rgba(214,40,40,0.4);
    transition: background 0.2s;
}
.sticky-call-bar:hover { background: var(--red-cta-dk); }
.sticky-call-bar:active { transform: translateX(-50%) scale(0.98); }

/* ---------- Scroll fade-in ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Small screens ---------- */
@media (max-width: 360px) {
    .hero-headline { font-size: 1.55rem; }
    .badges-row    { gap: 8px; }
    .badge         { padding: 10px 10px; }
    .exp-years     { font-size: 1.3rem; }
    .sticky-call-bar { font-size: 0.95rem; }
}
