:root {
  --primary-green: #7E9A8A;
  --secondary-sage: #DDE6DF;
  --warm-clay: #CFAF9E;
  --accent-sunflower: #E8C872;
  --cloud-white: #FAFAF8;
  --text-dark: #2C3E2D;
  --text-medium: #5A6B5C;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  color: var(--text-dark);
  background-color: var(--cloud-white);
  line-height: 1.8;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-dark);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 1.2rem;
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.2rem;
  color: var(--text-medium);
  font-size: clamp(1rem, 2vw, 1.1rem);
}

a {
  color: var(--primary-green);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--warm-clay);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

header {
  background: var(--cloud-white);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Georgia', serif;
  font-size: 1.5rem;
  color: var(--primary-green);
  font-weight: 400;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--text-medium);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-green);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.burger span {
  width: 25px;
  height: 2px;
  background: var(--primary-green);
  transition: all 0.3s ease;
}

.hero {
  padding: 6rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, var(--secondary-sage) 0%, var(--cloud-white) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: var(--accent-sunflower);
  border-radius: 50%;
  opacity: 0.1;
}

.hero h1 {
  position: relative;
  z-index: 1;
  color: var(--text-dark);
}

.hero p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  position: relative;
  z-index: 1;
}

.section {
  padding: 5rem 2rem;
  position: relative;
}

.section-curved {
  padding: 5rem 2rem;
  position: relative;
}

.section-curved::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: var(--cloud-white);
  border-radius: 0 0 50% 50% / 0 0 30px 30px;
  z-index: -1;
}

.card {
  background: var(--cloud-white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 2rem;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--secondary-sage);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.horizontal-scroll {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding: 2rem 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.horizontal-scroll .card {
  min-width: 300px;
  scroll-snap-align: start;
}

.timeline {
  position: relative;
  padding: 3rem 0;
}

.timeline-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 3rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 15px;
  height: 15px;
  background: var(--primary-green);
  border-radius: 50%;
  border: 3px solid var(--cloud-white);
  box-shadow: 0 0 0 3px var(--secondary-sage);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 15px;
  width: 2px;
  height: calc(100% + 1rem);
  background: var(--secondary-sage);
}

.timeline-item:last-child::after {
  display: none;
}

form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--cloud-white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-group {
  margin-bottom: 1.5rem;
}

form label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 500;
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid var(--secondary-sage);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: var(--cloud-white);
}

form input:focus,
form textarea:focus,
form select:focus {
  outline: none;
  border-color: var(--primary-green);
}

form textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1rem;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.3rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--primary-green);
  color: var(--cloud-white);
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  font-family: inherit;
}

.btn:hover {
  background: var(--warm-clay);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

footer {
  background: var(--text-dark);
  color: var(--cloud-white);
  padding: 4rem 2rem 2rem;
  margin-top: 5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--secondary-sage);
  margin-bottom: 1rem;
}

.footer-section a {
  color: var(--cloud-white);
  opacity: 0.8;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  opacity: 0.7;
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary-green);
  color: var(--cloud-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top:hover {
  background: var(--warm-clay);
  transform: translateY(-3px);
}

.back-to-top.visible {
  display: flex;
}

.thankyou-page {
  text-align: center;
  padding: 6rem 2rem;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.thankyou-page h1 {
  color: var(--primary-green);
  margin-bottom: 1.5rem;
}

.thankyou-page p {
  max-width: 600px;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background: var(--cloud-white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
    z-index: 999;
  }

  .nav-links.active {
    left: 0;
  }

  .burger {
    display: flex;
  }

  .burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .burger.active span:nth-child(2) {
    opacity: 0;
  }

  .burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3rem 1rem;
  }

  .hero {
    padding: 4rem 1rem;
  }
}

@media (max-width: 320px) {
  .container {
    padding: 0 0.75rem;
  }

  .card {
    padding: 1.25rem;
  }

  form {
    padding: 1.5rem 1rem;
  }

  .hero {
    padding: 3rem 0.75rem;
  }

  .section {
    padding: 2.5rem 0.75rem;
  }

  .section-curved {
    padding: 2.5rem 0.75rem;
  }

  .gallery {
    gap: 1rem;
  }

  .card-grid {
    gap: 1.5rem;
  }

  .btn {
    padding: 0.875rem 2rem;
    font-size: 0.9rem;
  }

  .logo {
    font-size: 1.25rem;
  }

  .nav-links {
    gap: 1rem;
    padding: 1.5rem;
  }

  .nav-links a {
    font-size: 0.875rem;
  }

  footer {
    padding: 3rem 0.75rem 1.5rem;
  }

  .footer-content {
    gap: 2rem;
  }

  .timeline-item {
    padding-left: 2rem;
  }

  .horizontal-scroll .card {
    min-width: 260px;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  p {
    font-size: 0.95rem;
  }
}

