/* style.css - The Master Controls */

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  /* 1. Put your logo filename here! */
  background-image: url('/images/keeley_home_care_cut_out.png'); 
  
  /* 2. Adjust size: 50% is huge, 80% is massive */
  background-size: 75%; 
  background-repeat: no-repeat;
  background-position: center;
  
  /* 3. The "Ghost" transparency (0.1 is very faint) */
  opacity: 0.1; 
  
  /* 4. Keeps it behind your text */
  z-index: -1; 
}

body {
  margin: 0;
  padding: 0;
  /* Optional: Set your brand cream color as the base */
  background-color: #FBECAC; 
}
<br>/* This works for ALL pages using this class */
.story-header {
    text-align: left; /* Or center, depending on your vibe */
    padding: 20px 0;
}

.story-header h1 {
    font-family: 'Pacifico', cursive;
    font-size: 48px;
    color: #2D4059; /* Navy */
    margin: 0;
    border-bottom: 3px solid #89A688; /* Sage Green Leaf color */
    display: inline-block;
    padding-bottom: 5px;
}

<br>/* The "Keeley Brand" Text Style */
.brand-font {
    font-family: 'Pacifico', cursive;
    color: #2D4059; /* Keeps it that consistent Navy */
    font-weight: normal;
    vertical-align: middle;
}

/* Service Page Specifics */
.service-block { 
    margin-bottom: 50px; 
    border-left: 5px solid #FBECAC; 
    padding-left: 25px; 
}

/* Contact/CTA Box */
.contact-box { 
    background-color: #FBECAC; 
    padding: 40px; 
    border-radius: 15px; 
    text-align: center; 
    margin: 60px 0; 
    border: 1px solid #89A688;
}

.btn { 
    background-color: #2D4059; 
    color: #FFFFFF; 
    padding: 15px 30px; 
    text-decoration: none; 
    border-radius: 30px; 
    font-weight: bold; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    transition: background-color 0.3s ease;
}


text-decoration: none; 
    border-radius: 30px; 
    font-weight: bold; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    transition: background-color 0.3s ease;
}
/* 2. THE NEW ONE (Dark Sage) - Use for "Call Now" */
.btn-green { 
    background-color: #566955; /* The Accessible Dark Green */
    color: #FFFFFF; 
    padding: 15px 30px; 
    text-decoration: none; 
    border-radius: 30px; 
    font-weight: bold; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    transition: background-color 0.3s ease;
}


.btn:hover { background-color: #3e5a7d; }

/* --- ACCESSIBILITY COLORS --- */
:root {
    --brand-navy: #2D4059;
    --brand-cream: #FBECAC;
    --leaf-sage-decorative: #89A688; /* Fine for lines/icons */
    --leaf-sage-accessible: #566955; /* Use this for TEXT and BUTTONS */
}

/* Updated Brand Font with Accessible Green */
.brand-font {
    font-family: 'Pacifico', cursive;
    color: var(--brand-navy); /* Navy is always safe */
    font-weight: normal;
}

/* The Green Line (Decorative) - #89A688 is fine here! */
.story-header h1 {
    border-bottom: 4px solid var(--leaf-sage-decorative);
    display: inline-block;
    padding-bottom: 10px;
}

/* The Call Now Button - Switched to darker green for text contrast */
.btn-green {
    background-color: var(--leaf-sage-accessible);
    color: #FFFFFF; /* White on Dark Green passes! */
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    transition: 0.3s;
}

.btn-green:hover {
    background-color: #3e4d3e;
}





/* --- MOBILE RESPONSIVE OVERRIDES --- */
@media screen and (max-width: 768px) {
    
    /* 1. Fix the Header Background and Logo Area */
    header {
        position: relative !important; /* Optional: stops it from taking up screen space on scroll */
    }

    header div[style*="display: flex"] {
        display: block !important; /* Stacks the Logo and Buttons on top of each other */
        text-align: center;
    }

    /* 2. Shrink the Logo for small screens */
    header img {
        height: 80px !important; /* Makes logo smaller so it fits */
        margin: 0 auto;
    }

    /* 3. Stack the Navigation Menu */
    nav ul {
        display: block !important; /* Stacks Home, About, Contact vertically */
    }

    nav li {
        border-bottom: 1px solid #FBECAC;
    }

    /* 4. Fix the Call Button and Consultation Button */
    header .display-flex-gap-15 { /* You might need to add a class, or target via div */
        justify-content: center;
        margin-top: 10px;
    }
}

.story-header {
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center;     /* Centers vertically */
    text-align: center;      /* Ensures text wraps and stays centered */
    width: 100%;             /* Ensures it spans the full container width */
    margin-bottom: 20px;     /* Adds a little breathing room */
}

.story-header {
    clear: both;
    text-align: center;
}