@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Open+Sans:wght@300;400;600;700&display=swap');

:root {
  --primary: #7a6230;
  --primary-dark: #5e4a22;
  --secondary: #2c2c2c;
  --accent: #e8d5b7;
  --dark: #1a1a1a;
  --light: #f8f5f0;
  --text: #333333;
  --text-light: #fefcf8;
  --bg-light: #ffffff;
  --bg-dark: #0d0d0d;
  --border: #d4c5a9;
  --shadow: rgba(0, 0, 0, 0.1);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Open Sans', sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
  background-color: var(--bg-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.5px;
}

p {
  margin-bottom: 1.2rem;
}

a {
  color: var(--primary);
  transition: color 0.3s ease;
}

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

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.text-muted {
  color: #5a636a !important;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
  padding: 12px 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(122,98,48,0.3);
}

.btn-outline-primary {
  color: #0b5ed7 !important;
  border-color: #0b5ed7 !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: #0b5ed7 !important;
  color: #fff !important;
}

.btn-outline-light {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-outline-light:hover {
  background-color: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
}

.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: #2a2a2a;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 4px 15px rgba(0,0,0,0.3);
  color: #fefcf8;
}

.hero p {
  font-size: 1.25rem;
  color: #fefcf8;
  opacity: 0.95;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  position: relative;
  margin-bottom: 2rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--primary);
  margin-top: 15px;
  position: absolute;
  left: 0;
}

.text-center .section-title::after, 
.section-title.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-subtitle {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.9rem;
  font-weight: 600;
}

.card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s ease;
  background: var(--light);
  box-shadow: 0 10px 30px var(--shadow);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-body {
  padding: 2rem;
}

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

.bg-dark-section h1,
.bg-dark-section h2,
.bg-dark-section h3,
.bg-dark-section h4,
.bg-dark-section h5,
.bg-dark-section h6 {
  color: var(--text-light);
}

.overlay-bg {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.quote-icon {
  font-size: 2rem;
  color: var(--primary);
  opacity: 0.3;
}

.price-card {
  background: var(--light);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s;
}

.price-card.featured {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.price-card.featured .btn-primary {
  background: var(--dark);
  border-color: var(--dark);
}

.price-card .price {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--primary);
}

.price-card.featured .price {
  color: #fff;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.gallery-item img {
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.85);
  padding: 2rem;
  color: #fff;
  opacity: 0;
  transition: opacity 0.4s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h5,
.gallery-overlay p {
  color: #fff;
}

.faq-accordion .accordion-item {
  border: none;
  margin-bottom: 0.5rem;
  background: transparent;
}

.faq-accordion .accordion-button {
  background: var(--light);
  color: var(--dark);
  font-weight: 600;
  border-radius: 8px !important;
  box-shadow: none;
  padding: 1.2rem 1.5rem;
  transition: all 0.3s;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--primary);
  color: #fff;
}

.faq-accordion .accordion-button::after {
  filter: brightness(0);
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.faq-accordion .accordion-body {
  background: var(--light);
  border-radius: 0 0 8px 8px;
  padding: 1.5rem;
}

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary);
}

.timeline-item {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 2.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -0.5rem;
  top: 0.25rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid #fff;
}

.team-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--light);
  text-align: center;
  transition: all 0.4s;
  box-shadow: 0 5px 20px var(--shadow);
}

.team-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.team-card .card-body {
  padding: 1.5rem;
}

.team-card .social-links i {
  font-size: 1.2rem;
  margin: 0 0.5rem;
  color: var(--primary);
  transition: color 0.3s;
}

.team-card .social-links i:hover {
  color: var(--primary-dark);
}

.map-container {
  height: 450px;
  width: 100%;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow);
}

/* Footer heading contrast fix */
footer.bg-dark h5 {
  color: #fefcf8;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: var(--text-light);
  padding: 1rem 2rem;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
}

.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
  flex: 1;
  margin-right: 1rem;
  color: var(--text-light);
}

.cookie-banner .btn {
  margin-left: 0.5rem;
  min-width: 100px;
}

/* Form Notification Toast */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  min-width: 300px;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  z-index: 10000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  color: #fff;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.5s ease;
}

.notification.show {
  opacity: 1;
  transform: translateY(0);
}

.notification.success {
  background: #28a745;
}

.notification.error {
  background: #dc3545;
}

/* Section with background image contrast - ensure all text is visible */
section[style*="linear-gradient"] {
  background-color: #2a2a2a;
}

section[style*="linear-gradient"] .lead,
section[style*="linear-gradient"] .section-title,
section[style*="linear-gradient"] p,
section[style*="linear-gradient"] h1,
section[style*="linear-gradient"] h2,
section[style*="linear-gradient"] h3,
section[style*="linear-gradient"] h4,
section[style*="linear-gradient"] h5,
section[style*="linear-gradient"] h6 {
  color: #fefcf8;
}

/* Dark section subtitle contrast fix - use a lighter color on dark backgrounds */
section[style*="linear-gradient"] .section-subtitle.text-primary,
.bg-dark .section-subtitle.text-primary {
  color: #8ab4f8 !important;
}

/* Fix contrast for text inside bg-white bg-opacity-* on dark backgrounds */
.bg-white.bg-opacity-10 h5,
.bg-white.bg-opacity-10 p {
  color: #fefcf8;
}

/* Responsive */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
    padding: 30px 0;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
  .cookie-banner .btn {
    margin: 0.5rem 0.25rem;
  }

  .btn-outline-light {
    margin-top: 0.5rem;
  }
}

@media (max-width: 576px) {
#page-root {
  padding-top: 66px;
}
}
