/*
Theme Name: Right Pair of Scrubbers
Description: Child theme for Kadence - Right Pair of Scrubbers cleaning services
Author: Right Pair of Scrubbers
Template: kadence
Version: 1.0
*/

:root {
    --rpos-gold: #96815f;
    --rpos-gold-light: #b89d75;
    --rpos-gold-dark: #7a6850;
    --rpos-dark: #2d2d2d;
    --rpos-light: #f8f6f3;
    --rpos-white: #ffffff;
}

body {
    font-family: 'Share', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Squada One', sans-serif;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.site-header .main-navigation a {
    font-family: 'Share', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wp-block-button__link,
.kt-btn,
button,
.button,
input[type="submit"] {
    background-color: var(--rpos-gold) !important;
    color: var(--rpos-white) !important;
    font-family: 'Share', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.wp-block-button__link:hover,
.kt-btn:hover,
button:hover,
.button:hover,
input[type="submit"]:hover {
    background-color: var(--rpos-gold-dark) !important;
}

.site-footer {
    border-top: 3px solid var(--rpos-gold);
    background-color: var(--rpos-dark);
    color: var(--rpos-light);
}

.site-footer a {
    color: var(--rpos-gold-light);
}

/* Service tier card */
.kt-card {
    border: 2px solid var(--rpos-gold);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--rpos-white);
}

.kt-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, var(--rpos-gold), var(--rpos-gold-dark));
    color: var(--rpos-white);
    padding: 120px 0;
    text-align: center;
}

/* CTA section */
.cta-section {
    background-color: var(--rpos-dark);
    color: var(--rpos-white);
    padding: 80px 0;
    text-align: center;
}

/* Light background section */
.light-section {
    background-color: var(--rpos-light);
    padding: 60px 0;
}

.has-rpos-gold-color { color: var(--rpos-gold); }
.has-rpos-gold-background { background-color: var(--rpos-gold); }
.has-rpos-dark-color { color: var(--rpos-dark); }
.has-rpos-dark-background { background-color: var(--rpos-dark); }
.has-rpos-light-color { color: var(--rpos-light); }
.has-rpos-light-background { background-color: var(--rpos-light); }


/* Fix: Remove white boxed background so sections flow full-width */
.content-style-boxed .content-bg:not(.loop-entry) {
    background: transparent;
}
.entry-content-wrap {
    background: transparent;
}


/* Make images smaller and responsive */
.wp-block-image img,
.wp-block-cover img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.wp-block-image.size-large img,
.wp-block-image.size-full img {
    max-width: 100%;
    height: auto;
}
figure.wp-block-image {
    margin: 0 auto;
}

/* Limit featured/about images */
.wp-block-column .wp-block-image {
    max-width: 100%;
}
.wp-block-column .wp-block-image img {
    max-height: 400px;
    width: auto;
    object-fit: contain;
}

/* Ensure cover blocks fill properly */
.wp-block-cover.alignfull {
    width: auto;
    margin-left: 0;
    margin-right: 0;
}

/* Kadence card fix for service tiers */
.kt-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.kt-card .wp-block-buttons {
    margin-top: auto;
}


/* Centre all content with edge padding */
.content-style-boxed .wp-site-blocks .entry-content .alignfull,
.content-style-boxed .wp-site-blocks .entry-content .alignwide {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
}
.alignfull,
.alignwide,
.entry-content .alignwide,
.entry-content .alignfull {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
}
.wp-block-cover.alignfull {
    border-radius: 12px;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}
.wp-block-group.alignfull {
    border-radius: 12px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.wp-block-group.alignfull:first-child {
    margin-top: 0;
}
.wp-block-group.alignfull:last-child {
    margin-bottom: 0;
}
body.content-style-boxed .content-bg:not(.loop-entry) {
    background: transparent;
    margin-left: 0;
    margin-right: 0;
}
.entry-content-wrap {
    background: transparent;
}
