:root {
  --bg: #fffdfb;
  --text: #222;
  --primary: #a87d5a;
  --accent: #f2ebe3;
}

body {
  font-family: "Lato", sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
}

h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  overflow: visible;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 100%;
  padding: 0 1rem;
}

.logo {
  font-size: 1.5rem;
  height: 50px;
  color: var(--primary);
  align-items: center;
  position: relative;
  z-index: 1001;
  overflow: visible;
  width: auto;
}

.logo a {
  display: block;
  text-decoration: none;
}

.logo img {
  height: 190px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-top: -70px;
  transition: opacity 0.3s ease;
}

.logo img:hover {
  opacity: 0.8;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(135deg, rgba(168, 125, 90, 0.15) 0%, rgba(242, 235, 227, 0.15) 100%), 
              var(--accent);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  margin-top: 80px;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero-text {
  position: relative;
  color: var(--text);
  max-width: 800px;
  padding: 2rem;
  z-index: 1;
}

.hero-text h1 {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text);
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text);
  line-height: 1.8;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: white !important;
  padding: 0.8rem 1.6rem;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #916949;
}

.cta-center {
  text-align: center;
  margin-top: 4.5rem;
  padding-top: 2rem;
}

/* Extra spacing for services section CTA */
.services .cta-center {
  margin-top: 5rem;
}

/* About */
.about {
  padding: 6rem 0;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  font-family: "Playfair Display", serif;
  margin-bottom: 1rem;
}

.about-img {
  width: 350px;
  height: auto;
  max-width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.about-img:hover {
  transform: scale(1.02);
}

/* Services */
.services {
  background: var(--accent);
  padding: 6rem 0;
  text-align: center;
}

.services h2 {
  font-family: "Playfair Display", serif;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 0;
}

.card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.card h3 {
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.card p {
  margin: 0;
  color: var(--text);
}

/* Card CTA — centered "Learn more" button inside each service card */
.card-cta {
  text-align: center;
  margin-top: 1rem;
}

/* Slightly smaller/compact variant of .btn for cards (inherits colours) */
.card-cta .btn {
  padding: 0.55rem 1.1rem;
  border-radius: 22px;
  font-size: 0.95rem;
  display: inline-block;
}

/* Testimonials */
.testimonials {
  text-align: center;
  padding: 6rem 0;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  max-width: 600px;
  margin: 2rem auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Contact */
.contact {
  background: var(--accent);
  text-align: center;
  padding: 6rem 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
  text-align: left;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

input,
textarea {
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: white;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(168, 125, 90, 0.1);
}

textarea {
  resize: vertical;
  min-height: 150px;
  font-family: inherit;
}

button,
button[type="submit"] {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  align-self: center;
  margin-top: 0.5rem;
}

button:hover,
button[type="submit"]:hover {
  background: #916949;
  transform: translateY(-2px);
}

button:active,
button[type="submit"]:active {
  transform: translateY(0);
}

/* Contact Sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-card h3 {
  font-family: "Playfair Display", serif;
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info p {
  margin: 0;
  line-height: 1.6;
}

.contact-info strong {
  color: var(--text);
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
}

.contact-info a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #916949;
  text-decoration: underline;
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 12px;
  display: block;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 0;
  background: white;
  border-top: 1px solid #eee;
}

.socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.socials a {
  color: var(--primary);
  font-size: 1.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.socials a:hover {
  color: #916949;
  transform: scale(1.1);
}

footer p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

/* ===== Sub Hero Section ===== */
.sub-hero {
  background-color: var(--accent);
  text-align: center;
  padding: 4rem 1rem;
  margin-top: 80px;
  height: auto;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sub-hero h1 {
  font-family: "Playfair Display", serif;
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.sub-hero p {
  color: var(--text);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Service Detail Layout ===== */
.service-detail {
  padding: 4rem 0;
}

.service-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}

.service-info {
  flex: 2;
  min-width: 280px;
}

.service-cta {
  flex: 1;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
}

/* Ready to Begin card - left-align paragraph text */
.service-cta p {
  text-align: left;
}

.service-cta .btn {
  margin-bottom: 1rem;
}

/* ===== Cookie Banner ===== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 1rem 1.5rem;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 90%;
  max-width: 450px;
  z-index: 1000;
  font-size: 0.95rem;
  flex-wrap: wrap;
}

.cookie-banner p {
  margin: 0;
  color: #333;
  flex: 1 1 auto;
  min-width: 200px;
}

.cookie-banner a {
  color: var(--primary);
  text-decoration: underline;
  margin-left: 6px; /* ✅ slight spacing between sentence and link */
}

.cookie-banner .btn.small {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background-color: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  white-space: nowrap; /* ✅ prevents button text wrapping */
}

.cookie-banner .btn.small:hover {
  background-color: #916949;
}

/* ===== Privacy Policy Page ===== */
.content-section {
  padding: 6rem 0 4rem;
  background-color: #fafafa;
  margin-top: 5rem;
}

.content-section .container {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 2rem 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.content-section h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.content-section h2 {
  margin-top: 2rem;
  color: #333;
}

.content-section p,
.content-section ul {
  line-height: 1.7;
  color: #555;
}

.content-section ul {
  padding-left: 1.2rem;
}

.content-section a {
  color: var(--primary);
  text-decoration: underline;
}

/* Fix for About Me page */
.about-me .content-section {
  background: none;
  box-shadow: none;
  margin-top: 0;
  padding-top: 3rem;
}

.about-me .content-section .container {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

/* About Me Page - Two Column Layout */
.about-content-wrapper {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.about-text-column {
  flex: 2;
  min-width: 300px;
}

.about-image-column {
  flex: 1;
  min-width: 250px;
}

.about-page-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.about-me .cta-center .btn {
  text-decoration: none;
  background: var(--primary);
  color: #fff !important;
  padding: 0.8rem 1.6rem;
  border-radius: 30px;
  display: inline-block;
  transition: background 0.3s ease;
}

.about-me .cta-center .btn:hover {
  background: #916949;
  color: #fff !important;
}

/* Form success/error messages */
.form-message {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  text-align: center;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* prevent padding from causing overflow */
*, *::before, *::after {
  box-sizing: border-box;
}

/* ensure images/iframes scale down on small screens */
img, picture, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

/* mobile / small-screen fixes */
@media (max-width: 800px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* make the services grid wrap and add spacing on small screens */
  .services .grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }

  /* make each card full-width and prevent overflow */
  .services .grid .card {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 1rem;
    margin: 0;
    box-sizing: border-box;
  }
}

/* safety: remove tiny horizontal scroll from edge cases */
html, body {
  overflow-x: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    height: 70px;
  }

  .logo img {
    height: 120px;
    margin-top: -50px;
  }

  .nav-links {
    gap: 0.75rem;
    font-size: 0.85rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav-links li {
    margin: 0;
  }

  .nav-links a {
    padding: 0.25rem 0.5rem;
    white-space: nowrap;
  }

  .hero {
    margin-top: 70px;
    height: calc(100vh - 70px);
    min-height: 500px;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    font-size: 1.1rem;
  }

  .about {
    padding: 4rem 0;
  }

  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-img {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .services {
    padding: 3rem 0;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .card {
    padding: 1.5rem;
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
  }

  .service-content {
    flex-direction: column;
  }

  .about-content-wrapper {
    flex-direction: column;
  }

  .about-image-column {
    order: -1;
  }

  .about-page-img {
    margin: 0 auto 2rem;
    display: block;
  }

  .sub-hero {
    margin-top: 70px;
    padding: 3rem 1rem;
    min-height: 200px;
  }

  .sub-hero h1 {
    font-size: 2rem;
  }

  .cookie-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: auto;
    max-width: none;
  }

  .cta-center {
    margin-top: 2rem;
  }

  .contact {
    padding: 4rem 0;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .map-container {
    order: -1;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .logo img {
    height: 150px;
    margin-top: -55px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .navbar .container {
    padding: 0 0.75rem;
  }

  .nav-links {
    gap: 0.5rem;
    font-size: 0.8rem;
  }

  .nav-links a {
    padding: 0.2rem 0.4rem;
  }

  .services {
    padding: 2.5rem 0;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .card {
    padding: 1.25rem;
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
  }

  .contact {
    padding: 3rem 0;
  }
}

/* Hide social icons on privacy page */
.privacy-page footer .socials {
  display: none;
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.7rem 1.4rem;
    font-size: 0.95rem;
  }
}
