:root {
    --brand-brown: #6a4a3a;
    --brand-cream: #f4f1ea;
    --text-dark: #3d2c21;
    --border-color: #ddd;
    --widget-yellow: #e9b758;
}
body, html {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    background-color: var(--brand-cream);
}

/* FIX: Add a more specific style for all anchor tags */
body a {
    color: var(--brand-brown);
    text-decoration: underline;
    transition: color 0.3s ease;
}
body a:hover {
    color: var(--text-dark);
}
.page-wrapper {
    background-image: url("../images/Background.png"); /* Note: Path is relative to the CSS file */
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    width: 100%;
    background-attachment: scroll;
}
@media (min-width: 992px) {
    .page-wrapper {
        background-attachment: fixed;
    }
}
.header-nav {
    padding: 1.5rem 0;
}
.navbar-brand img {
    max-height: 40px;
}
.nav-link {
    color: var(--brand-brown) !important;
    font-weight: 700;
    /* FIX: Added !important to ensure this overrides Bootstrap's default */
    text-transform: none !important; 
    border: 2px solid transparent;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(255,255,255,0.4);
    text-decoration: none; /* Remove underline from nav links */
}
.nav-link:hover {
    border-color: var(--brand-brown);
    text-decoration: none;
}
.hero-content {
    padding-top: 4rem;
    padding-bottom: 3rem;
    text-align: center;
    color: var(--text-dark);
}
.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(255,255,255,0.3);
}
.hero-content p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 1rem auto 0;
}

.booking-container {
    max-width: 700px;
    background: #fff;
    padding: 2rem 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.booking-header h2 {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.25rem;
}

.form-step { display: none; }
.form-step.active { display: block; }
.form-label { font-weight: 700; color: var(--text-dark); }
.form-control { border-radius: 8px; border: 1px solid var(--border-color); padding: 0.75rem 1rem; }
.form-control:focus { border-color: var(--brand-brown); box-shadow: 0 0 0 0.25rem rgba(106, 74, 58, 0.25); }
.btn-primary { background-color: var(--brand-brown); border-color: var(--brand-brown); padding: 0.75rem 2rem; border-radius: 50px; font-weight: 700; transition: all 0.3s ease; }
.btn-primary:hover { background-color: #52382a; border-color: #52382a; }
.btn-secondary { background-color: transparent; border-color: var(--brand-brown); color: var(--brand-brown); }
.btn-secondary:hover { background-color: var(--brand-brown); color: #fff; }

.service-option {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%; display: flex; flex-direction: column; justify-content: center;
}
.service-option:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
.service-option.selected { border-color: var(--brand-brown); background-color: #fcfaf6; }
.service-option i { font-size: 2.5rem; color: var(--brand-brown); margin-bottom: 1rem; }

.pet-type-option { border: 2px solid var(--border-color); border-radius: 12px; padding: 1.5rem 1rem; text-align: center; cursor: pointer; transition: all 0.3s ease; }
.pet-type-option:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
.pet-type-option.selected { border-color: var(--brand-brown); background-color: #fcfaf6; }

.spinner-border { width: 1.5rem; height: 1.5rem; }
#stripe-card-element { border: 1px solid var(--border-color); padding: 1rem; border-radius: 8px; }

/* FIX: Mobile padding and hamburger menu styles */
@media (max-width: 991px) {
    .hero-content, main.container, .header-nav .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .booking-container {
        padding: 1.5rem;
    }
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.9);
        border-radius: 10px;
        padding: 1rem;
        margin-top: 1rem;
    }
    .navbar-toggler {
        border-color: var(--brand-brown);
    }
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(106, 74, 58, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
}

/* Text Widget Styles */
.text-widget-container {
    /* This is now just a simple wrapper */
}
.text-widget-bubble,
.text-widget-form {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    transform-origin: bottom right;
}
.text-widget-bubble {
    background-color: var(--widget-yellow);
    color: var(--text-dark);
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
.text-widget-bubble:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.text-widget-bubble.hidden {
    transform: scale(0);
    opacity: 0;
}
.text-widget-form {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    width: 320px;
    max-width: calc(100vw - 40px);
    transform: scale(0.8) translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}
.text-widget-form.active {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.text-widget-form .widget-header {
    background-color: var(--widget-yellow);
    color: var(--text-dark);
    padding: 1rem;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.text-widget-form .widget-header h5 {
    margin-bottom: 0;
    font-weight: 700;
}
.text-widget-form .widget-body {
    padding: 1rem;
}
.text-widget-form .form-check-label {
    font-size: 0.75rem;
    line-height: 1.3;
}

/* Custom Accordion Styles */
.accordion-button:not(.collapsed) {
    color: var(--text-dark);
    background-color: #e9b758;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233d2c21'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:focus {
    border-color: #e9b758;
    box-shadow: 0 0 0 0.25rem rgba(233, 183, 88, 0.5);
}