/* Base Styles & Variables */
:root {
  --primary: #D9853B;
  --secondary: #2A6478;
  --neutral: #F2E8DC;
  --accent1: #A63A50;
  --accent2: #456A76;
  --background: #FAF7F2;
  --text: #333333;
  --highlight: #E8B87D;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-strong: rgba(0, 0, 0, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lexend', sans-serif;
  color: var(--text);
  background-color: var(--background);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--secondary);
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.875rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 40%;
  height: 4px;
  background-color: var(--primary);
  transform: skewX(-20deg);
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1.2rem;
  font-weight: 300;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.text-highlight {
  color: var(--accent1);
  font-weight: 500;
}

/* Layout & Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1rem;
}

.col {
  flex: 1;
  padding: 0 1rem;
  min-width: 300px;
}

.section {
  padding: 3rem 0;
  position: relative;
}

.section-angled {
  position: relative;
  transform: skewY(-3deg);
  margin: 4rem 0;
  padding: 4rem 0;
  z-index: 1;
}

.section-angled > * {
  transform: skewY(3deg);
}

.section-angled::before {
  content: '';
  position: absolute;
  top: -2rem;
  left: -5%;
  width: 110%;
  height: calc(100% + 4rem);
  background-color: var(--neutral);
  z-index: -1;
}

.section-diagonal {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.section-diagonal::before {
  content: '';
  position: absolute;
  top: 0;
  left: -10%;
  width: 120%;
  height: 100%;
  background-color: var(--neutral);
  transform: skewY(-5deg);
  z-index: -1;
}

.section-vintage {
  background-color: var(--neutral);
  border-top: 2px solid var(--highlight);
  border-bottom: 2px solid var(--highlight);
  padding: 4rem 0;
  position: relative;
}

.section-vintage::before, .section-vintage::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  border-radius: 50%;
}

.section-vintage::before {
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}

.section-vintage::after {
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
}

/* Header & Navigation */
.header {
  background-color: var(--background);
  box-shadow: 0 2px 10px var(--shadow);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 50px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--secondary);
  cursor: pointer;
}

.main-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  margin-left: 2rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  height: 85vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  background-color: var(--neutral);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(42, 100, 120, 0.8) 0%, rgba(217, 133, 59, 0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 1.5rem;
  transform: skewX(-5deg);
}

.hero p {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-form-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 400px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: rotate(-2deg);
}

.hero-form-container form {
  transform: rotate(2deg);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.btn-primary:hover {
  background-color: #c07733;
  color: white;
}

.btn-secondary {
  background-color: var(--secondary);
  color: white;
}

.btn-secondary:hover {
  background-color: #225465;
  color: white;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
}

/* Feature Boxes */
.feature-box {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px var(--shadow);
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: var(--primary);
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow-strong);
}

.feature-box h3 {
  margin-top: 0.5rem;
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Card Styles */
.card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
}

.card:hover {
  transform: translateY(-5px);
}

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

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

/* Mid-Century Elements */
.vintage-divider {
  display: flex;
  align-items: center;
  margin: 2rem 0;
}

.vintage-divider::before, .vintage-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--primary);
}

.vintage-divider-icon {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0 1rem;
}

.vintage-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(45deg, var(--shadow) 25%, transparent 25%, transparent 75%, var(--shadow) 75%, var(--shadow)),
    linear-gradient(45deg, var(--shadow) 25%, transparent 25%, transparent 75%, var(--shadow) 75%, var(--shadow));
  background-size: 60px 60px;
  background-position: 0 0, 30px 30px;
  opacity: 0.05;
  pointer-events: none;
}

.vintage-border {
  border: 2px solid var(--primary);
  border-radius: 8px;
  padding: 2rem;
  position: relative;
}

.vintage-border::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px solid var(--highlight);
  pointer-events: none;
  z-index: -1;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(217, 133, 59, 0.2);
}

.form-check {
  display: flex;
  align-items: center;
}

.form-check-input {
  margin-right: 0.5rem;
}

.iti {
  width: 100%;
}

/* Timeline */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background-color: var(--primary);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  width: calc(50% - 2rem);
}

.timeline-item:nth-child(odd) {
  margin-left: auto;
  padding-left: 2rem;
}

.timeline-item:nth-child(even) {
  padding-right: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 15px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary);
}

.timeline-item:nth-child(odd)::before {
  left: -10px;
}

.timeline-item:nth-child(even)::before {
  right: -10px;
}

.timeline-content {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px var(--shadow);
  position: relative;
}

.timeline-content::after {
  content: '';
  position: absolute;
  top: 15px;
  border: 10px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::after {
  left: -20px;
  border-right-color: white;
}

.timeline-item:nth-child(even) .timeline-content::after {
  right: -20px;
  border-left-color: white;
}

/* Accordion */
.accordion {
  margin-bottom: 2rem;
}

.accordion-item {
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.accordion-header {
  background-color: var(--neutral);
  padding: 1rem;
  cursor: pointer;
  position: relative;
}

.accordion-header::after {
  content: '+';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header::after {
  transform: translateY(-50%) rotate(45deg);
}

.accordion-content {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
  padding: 1rem;
  max-height: 500px;
}

/* Footer */
.footer {
  background-color: var(--secondary);
  color: white;
  padding: 3rem 0 1.5rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent1), var(--primary));
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 0.5rem;
}

.footer-nav a {
  color: #ddd;
  text-decoration: none;
}

.footer-nav a:hover {
  color: white;
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.875rem;
}

/* Contact Info */
.contact-info {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact-icon {
  color: var(--primary);
  font-size: 1.25rem;
  margin-right: 0.75rem;
  margin-top: 0.2rem;
}

/* Cookie Consent */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--neutral);
  padding: 1rem;
  box-shadow: 0 -2px 10px var(--shadow);
  z-index: 9999;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  min-width: 300px;
  margin-right: 1rem;
}

.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  display: none;
}

.cookie-settings-modal.show {
  display: flex;
}

.cookie-settings-content {
  background-color: white;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 8px;
  padding: 2rem;
}

.cookie-category {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 1rem;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: white;
  width: 90%;
  max-width: 500px;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal.show .modal-content {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
}

/* Utilities */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mt-5 {
  margin-top: 3rem;
}

/* Diagonal Sections */
.diagonal-section {
  position: relative;
  padding: 5rem 0;
  margin: 4rem 0;
  z-index: 1;
}

.diagonal-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -5%;
  width: 110%;
  height: 100%;
  background-color: var(--neutral);
  transform: skewY(-5deg);
  transform-origin: top left;
  z-index: -1;
}

.diagonal-section.alt::before {
  background-color: var(--secondary);
  transform: skewY(5deg);
}

.diagonal-section.alt {
  color: white;
}

.diagonal-section.alt h2,
.diagonal-section.alt h3 {
  color: white;
}

.diagonal-section.alt h2::after {
  background-color: var(--highlight);
}

/* Thank you page styles */
.thank-you-container {
  text-align: center;
  padding: 5rem 0;
}

.thank-you-icon {
  font-size: 5rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

.thank-you-heading {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.back-link {
  display: inline-block;
  margin-top: 2rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slideInLeft {
  from { transform: translateX(-50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.fade-in {
  animation: fadeIn 1s ease forwards;
}

.slide-up {
  animation: slideUp 1s ease forwards;
}

.slide-left {
  animation: slideInLeft 1s ease forwards;
}

.slide-right {
  animation: slideInRight 1s ease forwards;
}

/* Responsive */
@media (max-width: 992px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero {
    height: auto;
    padding: 4rem 0;
  }
  
  .hero h1 {
    font-size: 2.25rem;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 60px !important;
    padding-right: 0 !important;
  }
  
  .timeline-item::before {
    left: 20px !important;
    right: auto !important;
  }
  
  .timeline-content::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    box-shadow: -5px 0 15px var(--shadow);
    transition: right 0.3s ease;
    z-index: 999;
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .main-nav li {
    margin: 0 0 1.5rem;
  }
  
  .hero-content, .hero-form-container {
    max-width: 100%;
  }
  
  .hero-form-container {
    margin-top: 2rem;
  }
  
  .diagonal-section {
    padding: 3rem 0;
  }
  
  .row {
    margin: 0;
  }
  
  .col {
    padding: 0;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .container {
    width: 95%;
  }
  
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .feature-box {
    padding: 1.5rem;
  }
  
  .vintage-pattern {
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
  }
}