:root {
    --primary-color: #374749;
    --secondary-color: #1e8e99;
    --accent-color-1: #56a0a6;
    --accent-color-2: #b1c4c4;
    --accent-color-3: #d9e3e3;
    --neutral-color-1: #555555;
    --neutral-color-2: #888888;
    --neutral-color-3: #b2b2b2;
    --text-primary: #212121;
    --text-secondary: #000000;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --error-color: #f44336;
    --background-light: #FAFAFA;
    --background-dark: #2c3e3f;
    
    /* Contrast-safe text colors for different backgrounds */
    --text-on-light: #212121;
    --text-on-dark: #ffffff;
    --text-on-primary: #ffffff;
    --text-on-secondary: #ffffff;
}

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

/* Contrast-safe utility classes */
.text-safe-light {
    color: var(--text-on-light) !important;
}

.text-safe-dark {
    color: var(--text-on-dark) !important;
}

.text-safe-primary {
    color: var(--text-on-primary) !important;
}

.text-safe-secondary {
    color: var(--text-on-secondary) !important;
}

/* Ensure no white-on-white scenarios */
.bg-light, .bg-white {
    background-color: var(--background-light);
    color: var(--text-primary);
}

.bg-dark {
    background-color: var(--background-dark);
    color: var(--text-on-dark);
}

.bg-primary {
    background-color: var(--primary-color);
    color: var(--text-on-primary);
}

.bg-secondary {
    background-color: var(--secondary-color);
    color: var(--text-on-secondary);
}

/* Typography and Colors */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--background-light);
    /* Ensure body never has white text on white background */
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 20px 0;
}

header {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3)), url('images/FB Cover.png') no-repeat center center/cover;
    color: var(--text-on-dark);
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    position: relative;
    /* Ensure header text is always visible */
    min-height: 400px;
}

header .container {
    margin: 0 auto;
    text-align: center;
    width: 100%;
    max-width: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.header-content {
    text-align: center;
    position: relative;
}

.header-content h1 {
    font-size: 4em;
    margin-bottom: 40px;
    color: var(--text-on-dark);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: 700;
}

header h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--text-on-dark);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: 700;
}

header p {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: var(--text-on-dark);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    line-height: 1.5;
}

.cta-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-on-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    /* Ensure button text is always readable */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

section {
    padding: 60px 0;
}

h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
    color: var(--primary-color);
}

/* Vision section styling */
.vision-section {
    background: var(--background-light);
    width: 100%;
}

.about-section {
    text-align: center;
    padding: 50px;
    background: white;
    border-radius: 8px;
    margin: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-top: 4px solid var(--primary-color);
}

.about-section h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 2.2em;
}

.about-section p {
    font-size: 1.2em;
    margin-top: 20px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.contact-form label {
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-primary);
    font-size: 1em;
}

.contact-form input, 
.contact-form textarea {
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid var(--neutral-color-2);
    border-radius: 6px;
    font-size: 1em;
    background: white;
    color: var(--text-primary);
    transition: border-color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--text-on-primary);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    background: var(--secondary-color);
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.business-address {
    margin-top: 20px;
    padding: 15px 0;
    border-top: 1px solid #555; /* Subtle divider */
}

.business-address h3 {
    color: var(--primary-color);
    font-size: 1.4em;
    margin-bottom: 10px;
}

.business-address p {
    color: #ccc;
    font-size: 1.1em;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5em;
    }

    header p {
        font-size: 1.1em;
    }

    header .container {
        width: 85%;
        max-width: 85%;
        margin-left: 7.5%;
    }

    .business-address {
        padding: 10px 0;
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    header p {
        font-size: 1em;
    }

    .business-address {
        padding: 15px;
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    header p {
        font-size: 1em;
    }
}

.seo-form {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-left: 4px solid var(--accent-color-1);
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}
.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}
.form-group textarea {
    min-height: 100px;
    resize: vertical;
}
.form-group .help-text {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.25rem;
}
.save-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.save-button:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.social-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0;
}

.social-links li {
    margin: 0;
}

.social-links a {
    display: block;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.1);
}

.social-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Navigation Bar */
.navbar {
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--neutral-color-2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.nav-left,
.nav-right {
    display: flex;
    gap: 70px;
}

.nav-left {
    margin-right: 20px;
}

.nav-right {
    margin-left: 20px;
}

.navbar a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 2rem;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: var(--accent-color-1);
}

.nav-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo .logo {
    height: 50px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    border-radius: 8px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

@media (max-width: 768px) {
.nav-toggle {
        display: block !important;
        position: fixed !important;
        left: 20px !important;
        top: 20px !important;
        z-index: 1001 !important;
        background: #fff !important;
        border: 2px solid #333 !important;
        padding: 0 !important;
        border-radius: 8px !important;
        box-shadow: 0 4px 8px rgba(0,0,0,0.3) !important;
        cursor: pointer !important;
        font-weight: bold !important;
        width: 60px !important;
        height: 60px !important;
        visibility: visible !important;
        opacity: 1 !important;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
    }
    
    .nav-toggle::before {
        content: '';
        display: block;
        width: 25px;
        height: 3px;
        background: #333;
        border-radius: 2px;
    }
    
    .nav-toggle::after {
        content: '';
        display: block;
        width: 25px;
        height: 3px;
        background: #333;
        border-radius: 2px;
    }
    
    .nav-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: #333;
        border-radius: 2px;
    }
    
    .nav-toggle:hover {
        background: #f0f0f0 !important;
    }
    
    .navbar {
        display: none;
    }
    
    .navbar.open {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        padding: 80px 20px 20px 20px;
        background-color: #fff;
        width: 100%;
        height: 100vh;
        z-index: 1000;
    }
    
    .nav-logo {
        height: 6rem;
        margin: 1rem 0;
        display: none;
    }
    
    .nav-left,
    .nav-right {
        display: flex;
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 0;
    }
    
    .navbar a {
        font-size: 1.5rem;
        padding: 1.5rem;
        display: block;
        border-bottom: 1px solid #eee;
        color: #333;
    }
}

.book-contact {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    flex-wrap: nowrap;
    justify-content: center;
    padding: 60px 20px;
}

.booking-info {
    flex: 1;
    max-width: 700px;
    min-width: 500px;
    min-height: 400px;
    padding-top: 150px;
    display: flex;
    flex-direction: column;
}

.contact-wrap {
    flex: 1;
    max-width: 800px;
    min-width: 600px;
    min-height: 600px;
    display: flex;
    flex-direction: column;
}

.contact-container {
    color: var(--text-primary);
    padding: 30px;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.contact-container h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8em;
    text-align: center;
    font-weight: 700;
}

.contact-info {
    margin: 0 0 30px 0;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    background: #f9f9f9;
}

.contact-detail {
    margin-bottom: 15px;
    padding: 8px 0;
}

.contact-detail:last-child {
    margin-bottom: 0;
}

.contact-detail h3 {
    color: var(--primary-color);
    font-size: 1em;
    margin-bottom: 4px;
    font-weight: 600;
}

.contact-detail p {
    margin: 0;
    color: var(--text-primary);
    font-size: 0.95em;
    font-weight: 400;
    line-height: 1.4;
}

.contact-detail a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    font-size: 0.95em;
}

.contact-detail a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.book-now-button {
    display: inline-block;
    padding: 15px 35px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    margin: 20px 0;
}

.book-now-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    background: var(--secondary-color);
    color: white;
}

.booking-box {
    background: white;
    color: var(--text-primary);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 2px solid var(--secondary-color);
}

.booking-box h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.8em;
    font-weight: 700;
}

.booking-box p {
    color: var(--text-primary);
    margin-bottom: 25px;
    font-size: 1.0em;
    font-weight: 500;
    line-height: 1.6;
}

.book-now-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    background: var(--secondary-color);
    color: white;
}

/* Services oval layout */
.services-ovals {
    display: flex;
    justify-content: center;
    gap: 250px;
    flex-wrap: wrap;
}

.service-oval {
    background: white;
    width: 260px;
    height: 750px;
    border-radius: 130px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid var(--neutral-color-2);
}

.service-oval img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 160px 160px 0 0;
}

.service-oval:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: var(--accent-color-1);
}

.service-oval h3 {
    margin: 20px 0 15px;
    color: var(--text-primary);
    font-size: 1.3em;
}

.service-oval p {
    padding: 0 20px 25px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Google Reviews section */
.reviews-section {
    background: var(--background-light);
}

.reviews {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 45px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.google-review {
    display: flex;
    align-items: center;
    background: var(--accent-color-3);
    color: white;
    padding: 25px;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.review-name {
    font-weight: bold;
    color: white;
}

.review-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.review-content {
    flex: 1;
}

.review-name {
    font-weight: bold;
}

.review-stars {
    color: #FFC107;
    margin: 5px 0;
}

.review-content p {
    margin: 0;
}

@media (max-width: 768px) {
    .reviews {
        flex-direction: column;
        align-items: center;
    }
    
    .book-contact {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 40px 20px;
        width: 100%;
    }
    
    .booking-info,
    .contact-wrap {
        flex: none;
        width: 95%;
        max-width: 600px;
        min-width: auto;
        height: auto;
        min-height: 300px;
    }
    
    .services-ovals {
        gap: 100px;
    }
    
    .service-oval {
        width: 200px;
        height: 600px;
        border-radius: 100px;
    }
    
    .service-oval img {
        height: 200px;
        border-radius: 100px 100px 0 0;
    }
    
    .about-section {
        margin: 20px;
        padding: 30px;
    }
    
    .booking-box,
    .contact-container {
        padding: 30px;
    }
}

/* Critical contrast safeguards - These rules ensure no white-on-white scenarios */
/* Override any potential white text on light backgrounds */
[style*="background: white"], 
[style*="background-color: white"], 
[style*="background: #fff"], 
[style*="background-color: #fff"],
[style*="background: #FFF"], 
[style*="background-color: #FFF"],
[style*="background: #ffffff"], 
[style*="background-color: #ffffff"],
[style*="background: #FFFFFF"], 
[style*="background-color: #FFFFFF"] {
    color: var(--text-primary) !important;
}

/* Override any potential dark text on dark backgrounds */
[style*="background: black"], 
[style*="background-color: black"], 
[style*="background: #000"], 
[style*="background-color: #000"],
[style*="background: #000000"], 
[style*="background-color: #000000"] {
    color: var(--text-on-dark) !important;
}

/* Ensure all text elements have sufficient contrast */
p, span, div, h1, h2, h3, h4, h5, h6, a, button, input, textarea, label {
    /* Minimum contrast backup - if no specific color is set, use safe defaults */
    color: inherit;
}

/* Final safeguard: if somehow text becomes white/transparent, force it to be visible */
*:not(img):not(svg):not(canvas) {
    /* Prevent completely transparent or invisible text */
    opacity: 1;
}

*[style*="color: white"]:not(.text-safe-dark):not(.bg-dark):not(.bg-primary):not(.bg-secondary),
*[style*="color: #fff"]:not(.text-safe-dark):not(.bg-dark):not(.bg-primary):not(.bg-secondary),
*[style*="color: #FFF"]:not(.text-safe-dark):not(.bg-dark):not(.bg-primary):not(.bg-secondary),
*[style*="color: #ffffff"]:not(.text-safe-dark):not(.bg-dark):not(.bg-primary):not(.bg-secondary),
*[style*="color: #FFFFFF"]:not(.text-safe-dark):not(.bg-dark):not(.bg-primary):not(.bg-secondary) {
    /* Force visible text if white text appears on light background */
    color: var(--text-primary) !important;
    text-shadow: none !important;
}