:root {
  --primary: #3A5154;
  --secondary: #9B8579;
  --accent: #DA8E3E;
  --background-light: #F6F4F0;
  --background-dark: #2A3B3F;
  --text-dark: #2A2A2A;
  --text-light: #F6F4F0;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}


h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
}

.font-serif {
  font-family: 'Playfair Display', serif;
}


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

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

.text-accent {
  color: var(--accent);
}

.bg-accent {
  background-color: var(--accent);
}

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

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


.btn-primary {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary:hover, .btn-primary:focus {
  background-color: #2D4144;
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  background-color: white;
  color: var(--primary);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 1px solid var(--primary);
  cursor: pointer;
  text-align: center;
}

.btn-secondary:hover, .btn-secondary:focus {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.btn-text {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.btn-text::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.btn-text:hover, .btn-text:focus {
  color: var(--accent);
}

.btn-text:hover::after, .btn-text:focus::after {
  width: 100%;
}


.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  background-color: white;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(218, 142, 62, 0.2);
}


.h-screen-80 {
  height: 80vh;
  min-height: 600px;
}

.parallax-bg {
  background-attachment: fixed;
  transform: translateZ(0);
  will-change: transform;
}


.gallery-item {
  transition: opacity 0.3s ease;
}

.gallery-item.hidden {
  display: none;
}


#sidebar-nav {
  max-width: 100%;
}

#sidebar-nav.active {
  transform: translateX(0);
}

#menu-overlay.active {
  opacity: 0.7;
  pointer-events: auto;
}


.nice-select {
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  height: auto;
  line-height: normal;
  padding: 0.75rem;
  width: 100%;
}

.nice-select:after {
  border-bottom: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
}

.nice-select .list {
  border-radius: 0.375rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nice-select .option.selected {
  background-color: var(--primary);
  color: white;
}

.nice-select .option.focus, .nice-select .option:hover {
  background-color: rgba(58, 81, 84, 0.1);
}


.prose a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.prose a:hover {
  text-decoration: underline;
}


.prose-sm {
  font-size: 0.875rem;
}

.prose-lg {
  font-size: 1.125rem;
}


.iti {
  width: 100%;
}

@media (max-width: 768px) {
  .parallax-bg {
    background-attachment: scroll;
  }
}