:root {
  --pine: #1a3a2e;
  --forest: #2d5a4a;
  --sage: #7a9e8a;
  --cream: #f4efe7;
  --sand: #e8dfd0;
  --mocha: #8b6f47;
  --bark: #6b5233;
  --charcoal: #2c2c2c;
  --white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--charcoal);
  background: linear-gradient(135deg, var(--cream) 0%, var(--sand) 100%);
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Forest Canvas Background */
#forest-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.08;
  pointer-events: none;
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, rgba(26, 58, 46, 0.95), rgba(45, 90, 74, 0.95));
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--cream);
  font-size: 1.5rem;
  font-weight: 700;
  transition: transform 0.3s;
}

.brand:hover {
  transform: scale(1.05);
}

.moose-logo {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
  transition: transform 0.3s;
}

.brand:hover .moose-logo {
  transform: scale(1.1);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--cream);
  border-radius: 3px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-menu a {
  color: var(--cream);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--mocha);
  transition: width 0.3s, left 0.3s;
}

.nav-menu a:hover {
  color: var(--sage);
}

.nav-menu a:hover::after {
  width: 100%;
  left: 0;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--pine);
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.8);
  font-weight: 700;
  line-height: 1.2;
}

.hero-content p {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--forest);
  margin-bottom: 2.5rem;
  font-style: italic;
}

.cta-button {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: linear-gradient(135deg, var(--mocha), var(--bark));
  color: var(--cream);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 8px 30px rgba(139, 111, 71, 0.4);
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(139, 111, 71, 0.6);
}

/* Section Headings */
h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--pine);
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 80px;
  margin: 0.75rem auto 0;
  background-image: url('images/moose-logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

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

.about-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.8;
}

.about-content p {
  margin-bottom: 1.5rem;
}

.about-expanded {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.about-expanded.open {
  max-height: 2000px;
}

.read-more {
  display: block;
  margin: 2rem auto 0;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, var(--sage), var(--forest));
  color: var(--white);
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.read-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Services Section */
.services {
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(122, 158, 138, 0.08), rgba(45, 90, 74, 0.08));
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 3px solid var(--sage);
  transition: all 0.3s;
}

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

.service-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.6rem;
  color: var(--pine);
  margin-bottom: 1rem;
}

.service-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
}

.service-content.open {
  max-height: 1500px;
  margin-bottom: 1rem;
}

.service-content p {
  margin-bottom: 1rem;
}

.service-toggle {
  width: 100%;
  padding: 0.7rem;
  background: linear-gradient(135deg, var(--mocha), var(--bark));
  color: var(--cream);
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.service-toggle:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(139, 111, 71, 0.4);
}

/* Deals Section */
.deals {
  padding: 6rem 0;
}

.carousel-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 2rem 0;
  -webkit-overflow-scrolling: touch;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.deal-card {
  flex: 0 0 280px;
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border: 3px solid var(--sage);
  scroll-snap-align: start;
  transition: all 0.3s;
  cursor: pointer;
}

.deal-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.deal-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--sage), var(--forest));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.deal-info {
  padding: 1.5rem;
  text-align: center;
}

.deal-info h4 {
  font-size: 1.1rem;
  color: var(--pine);
  margin-bottom: 0.5rem;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mocha), var(--bark));
  color: var(--cream);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
  z-index: 10;
}

.carousel-btn:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.carousel-btn.prev {
  left: -25px;
}

.carousel-btn.next {
  right: -25px;
}

/* Reviews Section */
.reviews {
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(122, 158, 138, 0.08), rgba(45, 90, 74, 0.08));
}

.review-card {
  flex: 0 0 350px;
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border: 3px solid var(--sage);
  scroll-snap-align: start;
  font-style: italic;
  line-height: 1.7;
}

.review-card .quote {
  color: var(--charcoal);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.review-card .reviewer {
  font-style: normal;
  font-weight: 700;
  color: var(--pine);
  text-align: right;
  margin-top: 1rem;
}

/* Contact Section */
.contact {
  padding: 6rem 0;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 3px solid var(--sage);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--pine);
  font-weight: 600;
  font-size: 1.1rem;
}

.form-group input {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--sage);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--cream);
  transition: border-color 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(122, 158, 138, 0.2);
}

/* Footer */
footer {
  background: var(--pine);
  color: var(--cream);
  padding: 3rem 2rem;
  text-align: center;
}

footer p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
}

footer a {
  color: var(--sage);
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: var(--cream);
}

.social-links {
  margin-top: 1.5rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  font-size: 1.8rem;
}

.social-links a {
  transition: transform 0.3s;
  display: inline-block;
}

.social-links a:hover {
  transform: scale(1.3);
}

.social-links img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s;
}

.social-links img:hover {
  transform: scale(1.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: calc(100vh - 70px);
    background: linear-gradient(135deg, rgba(26, 58, 46, 0.98), rgba(45, 90, 74, 0.98));
    flex-direction: column;
    gap: 0;
    padding: 2rem 0;
    transition: right 0.3s;
    backdrop-filter: blur(10px);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    display: block;
    padding: 1.2rem 2rem;
    font-size: 1.3rem;
  }

  .carousel-btn.prev {
    left: 10px;
  }

  .carousel-btn.next {
    right: 10px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .deal-card {
    flex: 0 0 250px;
  }

  .review-card {
    flex: 0 0 280px;
  }
}
