/* ---------------------------------- */
/* 1. VARIABLES & GLOBAL STYLES
/* ---------------------------------- */

:root {
  --light-beige: #e9e2d8;
  --terracotta: #9a5d40;
  --dark-brown: #4e513e;
  --rose-pink: #c8b4b0;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Montserrat', sans-serif;
}

body {
  background-color: var(--rose-pink);
  font-family: var(--font-sans);
  color: var(--terracotta);
  line-height: 1.8;
}

.font-serif {
  font-family: var(--font-serif);
}

.bg-primary-dark {
  background-color: var(--terracotta);
}
.bg-dark-brown {
    background-color: var(--dark-brown);
}

.bg-about-me {
    background-color: var(--light-beige);
    color: var(--terracotta)
}

.text-primary-dark {
  color: var(--terracotta);
}

.patterned-bg {
  /* Replace 'leaf-pattern.png' with your actual background image file */
  background-image: url('../images/bg2.webp');
  background-repeat:no-repeat;
  background-position: center;
  background-size: cover;
}

.patterned-bg2 {
  /* Replace 'leaf-pattern.png' with your actual background image file */
  background-image: url('../images/bg3.webp');
  background-repeat:no-repeat;
  background-position: center;
  background-size: cover;
}


/* ---------------------------------- */
/* 2. BOOTSTRAP COMPONENT OVERRIDES
/* ---------------------------------- */

.btn-primary {
  background-color: var(--rose-pink);
  border-color: var(--rose-pink);
  color: var(--terracotta);
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  padding: 0.75rem 2rem;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #c99382; /* A slightly darker shade for hover */
  border-color: #c99382;
  color: var(--terracotta);
}

.btn-outline-primary {
    border-color: var(--terracotta);
    color: var(--terracotta);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-outline-primary:hover {
    background-color: var(--terracotta);
    color: var(--light-beige);
}

.form-control {
    background-color: transparent;
    border-color: var(--terracotta);
}
.form-control:focus {
    background-color: transparent;
    border-color: var(--terracotta);
    box-shadow: 0 0 0 0.25rem rgba(140, 83, 56, 0.25);
}
.form-control::placeholder {
    color: #ae9386;
}

/* ---------------------------------- */
/* 3. NAVBAR & HEADER
/* ---------------------------------- */

.site-header .navbar {
    /*padding: 1.5rem 0;*/
    padding:0;
    background-color: var(--rose-pink);
}

.navbar-brand {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--terracotta) !important;
    text-align: center;
    line-height: 1.2;
}

.navbar-brand img {
    max-width: 240px;
}

.brand-subtitle {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-link {
    color: var(--terracotta);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 1rem;
}
.nav-link:hover {
    color: #6d412b;
}

/* Mobile nav adjustments */
#mobileNav {
    background-color: var(--light-beige);
    border-top: 1px solid #e5e0da;
}
#mobileNav .nav-link {
    padding: 1rem;
}

/* ---------------------------------- */
/* 4. CUSTOM SECTIONS
/* ---------------------------------- */

.cta-wellness-section {
    /* Replace 'cta-background.jpg' with your actual background image */
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://via.placeholder.com/1920x800/4A3F35');
    background-size: cover;
    background-position: center;
    min-height: 70vh;
}

.services-section .service-title {
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--rose-pink);
}

.newsletter-box {
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
}

.newsletter-box-dark {
    background-color: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(5px);
}

.individual-box {
    background: #4F2D2C;
    background: linear-gradient(161deg, rgba(79, 45, 44, 1) 0%, rgba(154, 93, 64, 1) 50%);
}

.img-title {
    max-width: 180px;
    height: auto;
}

.about-box {
    background: #E9E2D8;
    background: linear-gradient(161deg, rgba(233, 226, 216, 1) 0%, rgba(200, 180, 176, 1) 50%);
}

/* ---------------------------------- */
/* 5. FOOTER
/* ---------------------------------- */

.site-footer {
    line-height: 1.8;
}

.site-footer a {
    color: var(--rose-pink);
    text-decoration: none;
}
.site-footer a:hover {
    color: white;
    text-decoration: underline;
}

.footer-brand {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: white !important;
    text-align: center;
    line-height: 1.2;
    text-decoration: none;
}

.footer-brand img {
    max-width:200px;
}

/*
 * Custom Gold Button Style
 */
.btn-custom-gold {
  background-color: var(--rose-pink) !important;
  border-color: var(--rose-pink) !important;
  color: var(--dark-brown) !important; 
}

/* Style for when you hover over the button */
.btn-custom-gold:hover {
  background-color: var(--light-beige) !important;
  border-color: var(--light-beige) !important;
  color: var(--dark-brown) !important;
  text-decoration: none !important;
}

/* Style for when the button is focused (e.g., using Tab key) */
/*.btn-custom-gold:focus,
.btn-custom-gold.focus {
  background-color: var(--light-beige);
  border-color: var(--light-beige);
  color: var(--dark-brown) !important;
  text-decoration: none !important;
}*/

/* Style for when the button is actively being clicked */
/*.btn-custom-gold:active,
.btn-custom-gold.active {
  background-color: var(--light-beige);
  border-color: var(--light-beige);
  color: var(--dark-brown) !important;
  text-decoration: none !important;
}*/

/* This is the container that holds the image and title. */
/* By setting it to relative, it becomes the positioning "anchor" for its children. */
.image-title-wrapper {
  position: relative;
  /* This makes the wrapper only as wide as its content (the image), */
  /* which makes positioning the title much easier. */
  display: inline-block; 
}

.image-title-wrapper img {
    max-width: 180px;
}

/* This is the title we want to move. */
.overlapping-title {
  position: absolute; /* Takes the element out of the normal document flow. */
  z-index: 10;        /* Ensures the title appears ON TOP of the image. */

  /* Position it relative to the wrapper */
  top: -1rem;     /* Move it slightly UP from the top edge of the image. */
  left: 80%;      /* Start the title just past the halfway point of the image. */
  
  /* Optional: Add a subtle text shadow for better readability over the image */
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);

  /* Optional: Prevent the title from wrapping if it's long */
  white-space: nowrap; 
}

/* Media query for tablets and phones */
@media (max-width: 768px) {
  .overlapping-title {
    font-size: 2.5rem; /* Make the font smaller than "display-4" */
    left: 10%;         /* Move it closer to the left edge */
    top: -0.5rem;      /* Reduce the upward overlap */
  }
}

.input-group-text {
  background-color: var(--terracotta);
  color: var(--light-beige);
  border: 1px solid var(--terracotta);
}

form {
  max-width: 26rem;
}
