/* ==========================================
   RUNHAMS DECORATING - HOME PAGE
   Hero, Trust Bar, Intro, Services,
   Why Choose Us, Red Gradient CTA
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Overpass:wght@300;400;600;700&display=swap');

/* ==========================================
   RESET & BASE
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Overpass', sans-serif;
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.runhams-home-hero {
    background-image: url('/img/runhams-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 10rem 2rem 8rem;
    text-align: center;
    color: #fff;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.runhams-home-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.runhams-home-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
}

/* Badge */
.runhams-home-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 100px;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2rem;
    animation: runhams-fadeInUp 0.8s ease-out;
}

.runhams-home-hero-badge i {
    color: #ffc107;
}

.runhams-home-hero-title {
    color: #fff;
    margin-bottom: 1.25rem;
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.15;
    animation: runhams-fadeInUp 0.8s ease-out 0.2s both;
}

.runhams-home-hero-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin: 0 auto 2.5rem;
    max-width: 650px;
    line-height: 1.7;
    font-weight: 300;
    animation: runhams-fadeInUp 0.8s ease-out 0.4s both;
}

/* ==========================================
   HERO BUTTONS
   ========================================== */

.runhams-home-hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: runhams-fadeInUp 0.8s ease-out 0.6s both;
}

.runhams-home-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.25rem;
    background-color: #d90f0f;
    color: #fff;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 4px;
    letter-spacing: 0.3px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.runhams-home-hero-cta:hover {
    background-color: #b50d0d;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(217, 15, 15, 0.35);
}

.runhams-home-hero-cta-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.25rem;
    background-color: transparent;
    color: #fff;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 4px;
    letter-spacing: 0.3px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.runhams-home-hero-cta-outline:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    transform: translateY(-2px);
}

/* Scroll Indicator */
.runhams-home-hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    animation: runhams-fadeIn 1s ease-out 1.2s both;
}

.runhams-home-hero-scroll-text {
    font-size: 0.8125rem;
    margin-bottom: 0.5rem;
    opacity: 0.7;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.runhams-home-hero-scroll-arrow {
    width: 18px;
    height: 18px;
    border-right: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    transform: rotate(45deg);
    animation: runhams-bounce 2s infinite;
}

/* ==========================================
   TRUST BAR
   ========================================== */

.runhams-home-trust {
    background-color: #2b2b2b;
    padding: 1.25rem 2rem;
}

.runhams-home-trust-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.runhams-home-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    font-weight: 400;
    white-space: nowrap;
}

.runhams-home-trust-item i {
    color: #d90f0f;
    font-size: 0.9375rem;
}

/* ==========================================
   SECTION LABELS (shared pattern)
   Always block, above the heading
   ========================================== */

.runhams-home-intro-label,
.runhams-home-services-label,
.runhams-home-why-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #d90f0f;
    margin-bottom: 0.625rem;
}

/* ==========================================
   INTRO SECTION
   ========================================== */

.runhams-home-intro {
    background-color: #f3f3f3;
    padding: 6rem 0;
}

.runhams-home-intro-inner {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 3rem;
    align-items: center;
}

.runhams-home-intro-content {
    flex: 1;
}

.runhams-home-intro-heading {
    font-size: 2.25rem;
    color: #333;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
    padding-bottom: 0.75rem;
}

.runhams-home-intro-heading::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: #d90f0f;
    position: absolute;
    bottom: 0;
    left: 0;
}

.runhams-home-intro-text {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.25rem;
    line-height: 1.7;
    font-weight: 300;
}

/* Feature Checkmarks */
.runhams-home-intro-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem 1.5rem;
    margin: 1.5rem 0 2rem;
}

.runhams-home-intro-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: #333;
    font-weight: 400;
}

.runhams-home-intro-feature i {
    color: #d90f0f;
    font-size: 0.875rem;
    flex-shrink: 0;
}

/* Intro Button */
.runhams-home-intro-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.75rem;
    background-color: #2b2b2b;
    color: #fff;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 4px;
    letter-spacing: 0.3px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.runhams-home-intro-cta:hover {
    background-color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.runhams-home-intro-image {
    flex: 1;
    background-image: url('/img/runhams-intro.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    min-height: 420px;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */

.runhams-home-services {
    background-color: #ffffff;
    padding: 6rem 0;
}

.runhams-home-services-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Header */
.runhams-home-services-header {
    text-align: center;
    margin-bottom: 3rem;
}

.runhams-home-services-heading {
    font-size: 2.25rem;
    font-weight: 700;
    color: #333;
    position: relative;
    padding-bottom: 0.75rem;
    display: inline-block;
}

.runhams-home-services-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: #d90f0f;
}

/* Cards Grid */
.runhams-home-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Clickable Card (anchor tag) */
.runhams-home-services-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8e8e8;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.runhams-home-services-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.runhams-home-services-image {
    height: 260px;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.runhams-home-services-card:hover .runhams-home-services-image {
    transform: scale(1.03);
}

.runhams-home-services-body {
    padding: 1.75rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.runhams-home-services-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.runhams-home-services-description {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.7;
    font-weight: 300;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

/* Inline link-style indicator (not an <a> now, card is the <a>) */
.runhams-home-services-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #d90f0f;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.runhams-home-services-card:hover .runhams-home-services-link {
    gap: 0.75rem;
}

.runhams-home-services-link i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.runhams-home-services-card:hover .runhams-home-services-link i {
    transform: translateX(3px);
}

/* ==========================================
   WHY CHOOSE US
   ========================================== */

.runhams-home-why {
    background-color: #f3f3f3;
    padding: 6rem 0;
}

.runhams-home-why-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.runhams-home-why-header {
    text-align: center;
    margin-bottom: 3rem;
}

.runhams-home-why-heading {
    font-size: 2.25rem;
    font-weight: 700;
    color: #333;
    position: relative;
    padding-bottom: 0.75rem;
    display: inline-block;
}

.runhams-home-why-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: #d90f0f;
}

.runhams-home-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.runhams-home-why-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 3rem 2rem 2.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8e8e8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.runhams-home-why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.runhams-home-why-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background-color: rgba(217, 15, 15, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.runhams-home-why-icon i {
    font-size: 1.625rem;
    color: #d90f0f;
}

.runhams-home-why-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.runhams-home-why-text {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.7;
    font-weight: 300;
}

/* ==========================================
   RED GRADIENT CTA BANNER
   Lighter red: #e83232 → #c41414
   ========================================== */

.runhams-home-cta {
    background: linear-gradient(135deg, #e83232 0%, #c41414 100%);
    padding: 4.5rem 2rem;
}

.runhams-home-cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.runhams-home-cta-content {
    flex: 1;
}

.runhams-home-cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.runhams-home-cta-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    line-height: 1.6;
    max-width: 550px;
}

.runhams-home-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* CTA Primary Button - white fill */
.runhams-home-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 2.25rem;
    background-color: #fff;
    color: #d90f0f;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 4px;
    letter-spacing: 0.3px;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.runhams-home-cta-btn:hover {
    background-color: #2b2b2b;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* CTA Phone Button - outline on red */
.runhams-home-cta-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 2.25rem;
    background-color: transparent;
    color: #fff;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 4px;
    letter-spacing: 0.3px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.2s ease;
}

.runhams-home-cta-phone:hover {
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.runhams-home-cta-phone i {
    font-size: 0.875rem;
}

/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes runhams-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes runhams-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes runhams-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(-8px) rotate(45deg);
    }
    60% {
        transform: translateY(-4px) rotate(45deg);
    }
}

/* ==========================================
   RESPONSIVE - TABLET (1024px)
   ========================================== */

@media screen and (max-width: 1024px) {

    /* Hero */
    .runhams-home-hero {
        min-height: 70vh;
        padding: 8rem 2rem 6rem;
    }

    .runhams-home-hero-title {
        font-size: 2.5rem;
    }

    .runhams-home-hero-text {
        font-size: 1rem;
    }

    /* Trust */
    .runhams-home-trust-inner {
        gap: 2rem;
    }

    /* Intro */
    .runhams-home-intro {
        padding: 5rem 0;
    }

    .runhams-home-intro-heading {
        font-size: 1.875rem;
    }

    /* Services */
    .runhams-home-services {
        padding: 5rem 0;
    }

    .runhams-home-services-heading {
        font-size: 1.875rem;
    }

    /* Why */
    .runhams-home-why {
        padding: 5rem 0;
    }

    .runhams-home-why-heading {
        font-size: 1.875rem;
    }

    /* CTA */
    .runhams-home-cta-title {
        font-size: 1.75rem;
    }
}

/* ==========================================
   RESPONSIVE - MOBILE (768px)
   ========================================== */

@media screen and (max-width: 768px) {

    /* Hero */
    .runhams-home-hero {
        padding: 7rem 1.5rem 5rem;
        min-height: 75vh;
    }

    .runhams-home-hero-title {
        font-size: 2rem;
    }

    .runhams-home-hero-text {
        font-size: 0.9375rem;
        margin-bottom: 2rem;
    }

    .runhams-home-hero-badge {
        font-size: 0.8125rem;
        padding: 0.4rem 1rem;
    }

    .runhams-home-hero-cta,
    .runhams-home-hero-cta-outline {
        padding: 0.8rem 1.75rem;
        font-size: 0.875rem;
    }

    .runhams-home-hero-scroll {
        bottom: 1.5rem;
    }

    /* Trust */
    .runhams-home-trust {
        padding: 1rem 1.5rem;
    }

    .runhams-home-trust-inner {
        gap: 1rem 2rem;
        justify-content: center;
    }

    .runhams-home-trust-item {
        font-size: 0.8125rem;
    }

    /* Intro */
    .runhams-home-intro {
        padding: 4rem 0;
    }

    .runhams-home-intro-inner {
        flex-direction: column;
        padding: 0 1.5rem;
    }

    .runhams-home-intro-heading {
        font-size: 1.875rem;
    }

    .runhams-home-intro-text {
        font-size: 0.9375rem;
    }

    .runhams-home-intro-features {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .runhams-home-intro-feature {
        font-size: 0.875rem;
    }

    .runhams-home-intro-image {
        width: 100%;
        min-height: 280px;
    }

    /* Services */
    .runhams-home-services {
        padding: 4rem 0;
    }

    .runhams-home-services-inner {
        padding: 0 1.5rem;
    }

    .runhams-home-services-heading {
        font-size: 1.875rem;
    }

    .runhams-home-services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Why */
    .runhams-home-why {
        padding: 4rem 0;
    }

    .runhams-home-why-inner {
        padding: 0 1.5rem;
    }

    .runhams-home-why-heading {
        font-size: 1.875rem;
    }

    .runhams-home-why-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .runhams-home-why-card {
        padding: 2.5rem 1.5rem 2rem;
    }

    /* CTA */
    .runhams-home-cta {
        padding: 3.5rem 1.5rem;
    }

    .runhams-home-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .runhams-home-cta-title {
        font-size: 1.75rem;
    }

    .runhams-home-cta-text {
        font-size: 0.9375rem;
        max-width: 100%;
    }

    .runhams-home-cta-actions {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
}

/* ==========================================
   RESPONSIVE - SMALL MOBILE (480px)
   ========================================== */

@media screen and (max-width: 480px) {

    /* Hero */
    .runhams-home-hero {
        padding: 6rem 1rem 4rem;
        min-height: 80vh;
    }

    .runhams-home-hero-title {
        font-size: 1.75rem;
    }

    .runhams-home-hero-text {
        font-size: 0.875rem;
    }

    .runhams-home-hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .runhams-home-hero-cta,
    .runhams-home-hero-cta-outline {
        width: 100%;
        max-width: 280px;
        text-align: center;
        font-size: 0.875rem;
    }

    .runhams-home-hero-scroll-text {
        font-size: 0.75rem;
    }

    .runhams-home-hero-scroll-arrow {
        width: 14px;
        height: 14px;
    }

    /* Trust */
    .runhams-home-trust {
        padding: 0.875rem 1rem;
    }

    .runhams-home-trust-inner {
        gap: 0.75rem 1.5rem;
    }

    .runhams-home-trust-item {
        font-size: 0.75rem;
    }

    .runhams-home-trust-item i {
        font-size: 0.8125rem;
    }

    /* Intro */
    .runhams-home-intro {
        padding: 3rem 0;
    }

    .runhams-home-intro-inner {
        padding: 0 1rem;
    }

    .runhams-home-intro-heading {
        font-size: 1.5rem;
    }

    .runhams-home-intro-text {
        font-size: 0.875rem;
    }

    .runhams-home-intro-cta {
        font-size: 0.875rem;
        padding: 0.7rem 1.5rem;
    }

    .runhams-home-intro-image {
        min-height: 240px;
    }

    /* Labels */
    .runhams-home-intro-label,
    .runhams-home-services-label,
    .runhams-home-why-label {
        font-size: 0.75rem;
    }

    /* Services */
    .runhams-home-services {
        padding: 3rem 0;
    }

    .runhams-home-services-inner {
        padding: 0 1rem;
    }

    .runhams-home-services-heading {
        font-size: 1.5rem;
    }

    .runhams-home-services-image {
        height: 200px;
    }

    .runhams-home-services-body {
        padding: 1.25rem;
    }

    .runhams-home-services-title {
        font-size: 1.125rem;
    }

    .runhams-home-services-description {
        font-size: 0.875rem;
    }

    /* Why */
    .runhams-home-why {
        padding: 3rem 0;
    }

    .runhams-home-why-inner {
        padding: 0 1rem;
    }

    .runhams-home-why-heading {
        font-size: 1.5rem;
    }

    .runhams-home-why-card {
        padding: 2rem 1.25rem 1.75rem;
    }

    .runhams-home-why-title {
        font-size: 1.125rem;
    }

    .runhams-home-why-text {
        font-size: 0.875rem;
    }

    /* CTA */
    .runhams-home-cta {
        padding: 3rem 1rem;
    }

    .runhams-home-cta-title {
        font-size: 1.5rem;
    }

    .runhams-home-cta-text {
        font-size: 0.875rem;
    }

    .runhams-home-cta-btn,
    .runhams-home-cta-phone {
        padding: 0.8rem 1.75rem;
        font-size: 0.875rem;
    }
}