/* ═══════════════════════════════════════════════
   RLC MOOR — Handyman & Decorator
   Brand: Red #cc1414 | Navy #2c4a6b | Dark #111827
   ═══════════════════════════════════════════════ */

/* ── Reset & Base ────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --red:        #cc1414;
    --red-dark:   #a50f0f;
    --red-light:  #e82020;
    --navy:       #2c4a6b;
    --navy-dark:  #1e3349;
    --dark:       #111827;
    --dark-2:     #1f2937;
    --grey:       #6b7280;
    --grey-light: #e5e7eb;
    --white:      #ffffff;
    --off-white:  #f9fafb;
    --font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius:     10px;
    --radius-lg:  18px;
    --shadow:     0 4px 24px rgba(0,0,0,.12);
    --shadow-lg:  0 12px 48px rgba(0,0,0,.18);
    --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul { list-style: none; }

/* ── Utilities ───────────────────────────────── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section-pad { padding: 5rem 0; }
.bg-dark      { background: var(--dark); color: var(--white); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .85rem 1.75rem;
    border-radius: 50px;
    font-family: var(--font);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .02em;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-red {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}
.btn-red:hover, .btn-red:focus {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(204,20,20,.4);
}
.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.6);
}
.btn-ghost:hover, .btn-ghost:focus {
    background: rgba(255,255,255,.12);
    border-color: var(--white);
}
.btn-navy {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}
.btn-navy:hover, .btn-navy:focus {
    background: var(--navy-dark);
    border-color: var(--navy-dark);
    transform: translateY(-2px);
}

/* Section headers */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-label {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--red);
    background: rgba(204,20,20,.08);
    padding: .35rem .9rem;
    border-radius: 50px;
    margin-bottom: .85rem;
}
.section-label--light {
    color: var(--red-light);
    background: rgba(255,255,255,.08);
}
.section-title {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin-bottom: .75rem;
}
.section-sub {
    font-size: 1.05rem;
    color: var(--grey);
    max-width: 560px;
    margin: 0 auto;
}
.section-header--light .section-title { color: var(--white); }
.section-header--light .section-sub   { color: rgba(255,255,255,.65); }

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .55s ease, transform .55s ease;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Navigation ──────────────────────────────── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.navbar.scrolled {
    background: rgba(17,24,39,.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,.3);
    padding: .65rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.nav-logo { display: flex; align-items: center; }
.logo-mark {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.logo-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: .04em;
    text-transform: uppercase;
}
.logo-name strong { color: var(--red); }
.logo-tagline {
    font-size: .65rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.65);
    margin-top: .1rem;
}

/* Nav links */
.nav-menu {
    display: flex;
    align-items: center;
    gap: .25rem;
}
.nav-link {
    padding: .55rem .9rem;
    font-size: .9rem;
    font-weight: 500;
    color: rgba(255,255,255,.85);
    border-radius: 8px;
    transition: color var(--transition), background var(--transition);
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,.08); }
.nav-cta {
    background: var(--red);
    color: var(--white) !important;
    padding: .6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    margin-left: .5rem;
}
.nav-cta:hover { background: var(--red-dark); }

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
    transform-origin: center;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: 110%;
    background-position: center 40%;
    background-repeat: no-repeat;
    transform: scale(1);
    transition: transform 8s ease-out;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(17,24,39,.88) 0%,
        rgba(17,24,39,.72) 50%,
        rgba(44,74,107,.55) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 1.25rem 6rem;
    width: 100%;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--red);
    padding: .4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}
.hero-title {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -.03em;
    color: var(--white);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}
.hero-title span {
    display: block;
    font-size: clamp(1.6rem, 4vw, 3rem);
    font-weight: 400;
    text-transform: none;
    letter-spacing: -.01em;
    color: rgba(255,255,255,.9);
}
.hero-title .amp {
    color: var(--red);
    font-style: normal;
}
.hero-sub {
    font-size: clamp(.95rem, 2vw, 1.15rem);
    color: rgba(255,255,255,.75);
    max-width: 540px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Decorative chevrons */
.hero-chevron-wrap {
    position: absolute;
    right: -2%;
    bottom: 0;
    top: 0;
    display: flex;
    align-items: center;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}
.hero-chevron {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}
.c1 {
    border-width: 22vw 0 22vw 12vw;
    border-color: transparent transparent transparent rgba(204,20,20,.55);
    right: 28%;
}
.c2 {
    border-width: 22vw 0 22vw 12vw;
    border-color: transparent transparent transparent rgba(44,74,107,.55);
    right: 16%;
}
.c3 {
    border-width: 22vw 0 22vw 12vw;
    border-color: transparent transparent transparent rgba(17,24,39,.5);
    right: 4%;
}

/* ── Trust Bar ───────────────────────────────── */
.trust-bar {
    background: var(--red);
    padding: 1rem 0;
    overflow: hidden;
}
.trust-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--white);
    font-weight: 600;
    font-size: .9rem;
    padding: .2rem .5rem;
    flex: 1;
    justify-content: center;
    white-space: nowrap;
}
.trust-item i { font-size: 1.1rem; opacity: .9; }
.trust-divider {
    width: 1px;
    height: 28px;
    background: rgba(255,255,255,.35);
    flex-shrink: 0;
}

/* ── Services ────────────────────────────────── */
.services { background: var(--dark); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.service-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    background-image: var(--bg);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: default;
}
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10,15,26,.92) 0%,
        rgba(10,15,26,.60) 50%,
        rgba(10,15,26,.25) 100%
    );
    transition: background var(--transition);
    z-index: 1;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 56px rgba(0,0,0,.5);
}
.service-card:hover::before {
    background: linear-gradient(
        to top,
        rgba(140,10,10,.92) 0%,
        rgba(100,10,10,.65) 50%,
        rgba(50,5,5,.28) 100%
    );
}
.service-card-inner {
    position: relative;
    z-index: 2;
    padding: 1.75rem;
    width: 100%;
}
.service-card img { display: none; }
.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: .55rem;
    color: var(--white);
    letter-spacing: .01em;
}
.service-card p {
    font-size: .88rem;
    color: rgba(255,255,255,.75);
    line-height: 1.65;
}

/* ── Gallery ─────────────────────────────────── */
.gallery-section { padding-bottom: 5rem; }
.gallery-section .section-header { padding-top: 5rem; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: .6rem;
    margin-top: 2.5rem;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 1 / 1;
    cursor: pointer;
}
.gallery-item.gi-wide  { grid-column: span 2; }
.gallery-item.gi-tall  { grid-row: span 2; aspect-ratio: auto; }
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17,24,39,.85) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.1rem;
    opacity: 0;
    transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
    font-size: .85rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: .02em;
}

/* ── About ───────────────────────────────────── */
.about { background: var(--white); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: center;
}
.about-image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
}
.about-image-frame {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-image-frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
}
.about-accent-block {
    position: absolute;
    bottom: -18px;
    right: -18px;
    width: 60%;
    height: 60%;
    background: var(--red);
    border-radius: var(--radius-lg);
    z-index: 0;
    opacity: .18;
}

.about-content .section-label { display: inline-block; margin-bottom: .9rem; }
.about-content .section-title { margin-bottom: 1.2rem; text-align: left; }
.about-content p {
    color: var(--grey);
    margin-bottom: 1.1rem;
    font-size: .97rem;
    line-height: 1.75;
}
.about-checklist {
    margin: 1.5rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: .7rem;
}
.about-checklist li {
    display: flex;
    align-items: center;
    gap: .65rem;
    font-size: .95rem;
    font-weight: 500;
    color: var(--dark-2);
}
.about-checklist i { color: var(--red); font-size: 1.1rem; flex-shrink: 0; }
.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
}

/* ── Contact ─────────────────────────────────── */
.contact-section { padding-bottom: 5rem; }
.contact-section .section-header { padding-top: 5rem; }
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin-top: 2.5rem;
}
.contact-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.75rem;
    color: var(--white);
    transition: background var(--transition), transform var(--transition), border-color var(--transition);
    cursor: pointer;
}
a.contact-card:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.25);
    transform: translateY(-4px);
}
.contact-card--featured {
    border-color: var(--red);
    background: rgba(204,20,20,.15);
}
a.contact-card--featured:hover {
    background: rgba(204,20,20,.28);
    border-color: var(--red-light);
}
.contact-card--static { cursor: default; }
.contact-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
    color: var(--white);
}
.contact-card-icon--fb  { background: #1877f2; }
.contact-card-icon--loc { background: var(--navy); }
.contact-card-body { flex: 1; min-width: 0; }
.contact-card-label {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
    margin-bottom: .2rem;
}
.contact-card-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.contact-card-hint {
    font-size: .8rem;
    color: rgba(255,255,255,.45);
    margin-top: .2rem;
}
.contact-card-arrow {
    font-size: .85rem;
    color: rgba(255,255,255,.4);
    flex-shrink: 0;
    transition: transform var(--transition);
}
a.contact-card:hover .contact-card-arrow { transform: translateX(4px); color: rgba(255,255,255,.8); }

/* ── Footer ──────────────────────────────────── */
.footer {
    background: #0a0f1a;
    padding: 3.5rem 0 0;
    color: rgba(255,255,255,.65);
}
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: .3rem;
}
.footer-logo {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: .05em;
    color: var(--white);
    text-transform: uppercase;
}
.footer-logo strong { color: var(--red); }
.footer-strapline {
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .6;
}
.footer-location {
    font-size: .82rem;
    margin-top: .3rem;
    opacity: .55;
}
.footer-location i { margin-right: .35rem; }
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.footer-nav a {
    font-size: .9rem;
    color: rgba(255,255,255,.6);
    transition: color var(--transition);
}
.footer-nav a:hover { color: var(--white); }
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: .7rem;
}
.footer-contact a {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .9rem;
    color: rgba(255,255,255,.6);
    transition: color var(--transition);
}
.footer-contact a:hover { color: var(--white); }
.footer-contact i { width: 16px; color: var(--red); }
.footer-bottom {
    text-align: center;
    padding: 1.2rem 0;
    font-size: .8rem;
    color: rgba(255,255,255,.3);
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — Tablet (≤900px)
   ═══════════════════════════════════════════════ */
@media (max-width: 900px) {

    .services-grid { grid-template-columns: repeat(2, 1fr); }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-item.gi-wide { grid-column: span 2; }
    .gallery-item.gi-tall { grid-row: span 1; aspect-ratio: 1 / 1; }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .about-image-wrap { max-width: 520px; margin: 0 auto; }
    .about-content .section-title { text-align: center; }
    .about-content .section-label { display: block; text-align: center; }
    .about-content p { text-align: center; }
    .about-checklist { align-items: center; }
    .about-actions { justify-content: center; }

    .contact-grid { grid-template-columns: 1fr; }

    .footer-inner { flex-direction: column; align-items: center; text-align: center; }
    .footer-nav { align-items: center; flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .footer-contact { align-items: center; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — Mobile (≤640px)
   ═══════════════════════════════════════════════ */
@media (max-width: 640px) {

    /* Nav */
    .nav-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        inset: 0 0 0 25%;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 6rem 1.5rem 2rem;
        background: rgba(10,15,26,.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        gap: .3rem;
        transform: translateX(100%);
        transition: transform var(--transition);
        overflow-y: auto;
    }
    .nav-menu.active { transform: translateX(0); }
    .nav-link { font-size: 1.1rem; padding: .85rem 1rem; border-radius: var(--radius); }
    .nav-cta { margin: .5rem 0 0; text-align: center; border-radius: var(--radius); padding: .9rem 1rem; }

    /* Hero */
    .hero-content { padding: 7rem 1.25rem 5rem; }
    .hero-title { font-size: clamp(2.2rem, 9vw, 3rem); }
    .hero-title span { font-size: clamp(1.2rem, 5vw, 1.8rem); }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { justify-content: center; width: 100%; max-width: 320px; }
    .hero-chevron-wrap { display: none; }

    /* Trust Bar */
    .trust-bar-inner { gap: .75rem; }
    .trust-divider { display: none; }
    .trust-item { flex: 0 1 calc(50% - .75rem); font-size: .8rem; }

    /* Services */
    .services-grid { grid-template-columns: 1fr; gap: 1rem; }
    .section-pad { padding: 3.5rem 0; }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: .4rem;
        margin-top: 2rem;
    }
    .gallery-item.gi-wide { grid-column: span 2; }
    .gallery-item.gi-tall { grid-row: span 1; aspect-ratio: 1/1; }
    .gallery-overlay { opacity: 1; }

    /* About */
    .about-accent-block { display: none; }

    /* Contact */
    .contact-card { padding: 1.2rem 1.3rem; gap: 1rem; }
    .contact-card-value { font-size: .88rem; white-space: normal; }

    /* Footer */
    .footer-nav { gap: .5rem; }
}

/* ── Scrollbar (desktop cosmetic) ─────────────── */
@media (min-width: 1024px) {
    ::-webkit-scrollbar       { width: 8px; }
    ::-webkit-scrollbar-track { background: #0a0f1a; }
    ::-webkit-scrollbar-thumb { background: var(--red); border-radius: 4px; }
    ::-webkit-scrollbar-thumb:hover { background: var(--red-dark); }
}

/* ── Focus styles (accessibility) ────────────── */
:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 3px;
    border-radius: 4px;
}
