/* CSS Variables */
:root {
  --primary-green: #b7d333;
  --secondary-green: #8bc53f;
  --accent-green: #a0cc3a;
  --warm-brown: #8b6f47;
  --text-dark: #000000;
  --text-light: #ffffff;
  --text-gray: #6b5d47;
  --bg-light: #f5f2ed;
  --bg-white: #faf8f5;
  --font-primary: "Parkinsans", sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-white);
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: var(--primary-green);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 2px solid var(--primary-green);
  transition: var(--transition-smooth);
  cursor: pointer;
  min-width: 120px;
  width: auto;
  height: 48px;
  text-align: center;
  line-height: 1;
  box-sizing: border-box;
  margin: 0;
  font-family: inherit;
}

/* Ensure button and anchor buttons have identical styling */
button.btn,
a.btn {
  box-sizing: border-box;
  margin: 0;
  vertical-align: middle;
  height: 48px;
}

.btn:hover {
  background: transparent;
  color: var(--primary-green);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(183, 211, 51, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--text-dark);
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.btn-secondary:hover {
  background: var(--text-dark);
  color: var(--bg-white);
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Main Content */
.main {
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.slide {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-white);
}

.slide-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Layout - Image, Text, Image */
.hero-layout {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 0;
  height: 100%;
  transition: grid-template-columns 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-left {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 3rem;
  padding-bottom: 6rem; /* Space for absolutely positioned elements */
  background: linear-gradient(
      rgba(250, 248, 245, 0.7),
      rgba(245, 242, 237, 0.7)
    ),
    url("../images/bg2.jpg");
  background-size: 120%;
  background-position: top right;
  background-repeat: no-repeat;
  height: 100vh;
  box-shadow: 10px 0 20px rgba(0, 0, 0, 0.1), -10px 0 20px rgba(0, 0, 0, 0.1);
}

/* Add padding-top to middle column on desktop to make room for centered nav */
@media (min-width: 769px) {
  .hero-left {
    padding-top: 7rem;
  }
}

.hero-left::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
      90deg,
      transparent 0%,
      transparent 70%,
      rgba(250, 248, 245, 0.2) 85%,
      rgba(250, 248, 245, 0.4) 100%
    ),
    linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.05) 0%,
      rgba(0, 0, 0, 0.02) 50%,
      rgba(0, 0, 0, 0.05) 100%
    );
  z-index: 1;
  pointer-events: none;
}

.hero-left::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(250, 248, 245, 0.6) 0%,
    rgba(250, 248, 245, 0.3) 15%,
    transparent 30%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Header Section */
.header-section {
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.main-logo {
  width: 120px;
  height: auto;
  margin-bottom: 1.5rem;
  opacity: 0.9;
  transition: var(--transition-smooth);
}

.main-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

.main-subtitle {
  font-size: 1.8rem;
  color: var(--warm-brown);
  font-weight: 400;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-dark);
  max-width: 100%;
  text-align: center;
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 1;
  margin-bottom: 1.5rem;
}

.hero-description p {
  margin-bottom: 1.25rem;
}

.hero-description p:last-child {
  margin-bottom: 0;
}

/* Contact Info */
.contact-info {
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    visibility 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    height 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    margin-bottom 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 1;
  visibility: visible;
  position: relative;
  z-index: 2;
  height: auto;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: var(--text-dark);
  justify-content: center;
}

.info-item a {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
}

.info-item a:hover {
  color: inherit;
  text-decoration: none;
}

.mobile-break {
  display: none;
}

.mobile-hide-separator {
  display: inline;
}

.info-icon {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
  color: var(--warm-brown);
}

/* Fixed Bottom Section */
.fixed-bottom-section {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0 0.5rem 0;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.bottom-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.social-link {
  font-size: 1.8rem;
  color: var(--warm-brown);
  transition: var(--transition-smooth);
}

.social-link:hover {
  color: var(--primary-green);
  transform: scale(1.1);
}

.copyright {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(139, 111, 71, 0.2);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 1;
  width: auto;
}

.copyright p {
  font-size: 0.85rem;
  color: var(--text-dark);
  margin: 0;
}

.hero-right {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.hero-right::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-photo {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  transition: opacity 2s ease-in-out, z-index 0s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: -3px 0 10px rgba(0, 0, 0, 0.08);
}

.hero-photo-1 {
  z-index: 2;
  opacity: 1;
}

.hero-photo-2 {
  z-index: 1;
  opacity: 0;
}

.hero-photo:hover {
  transform: scale(1.02);
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.12);
}

/* Second Image Column */
.hero-right-2 {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.hero-right-2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-photo-2 {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  transition: opacity 2s ease-in-out, z-index 0s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: 3px 0 10px rgba(0, 0, 0, 0.08);
}

.hero-photo-2-1 {
  z-index: 2;
  opacity: 1;
}

.hero-photo-2-2 {
  z-index: 1;
  opacity: 0;
}

.hero-photo-2:hover {
  transform: scale(1.02);
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.12);
}

/* Responsive Design */
@media (max-width: 768px) {
  .main {
    height: auto;
    overflow: visible;
  }

  .slide {
    height: auto;
    min-height: 100vh;
  }

  .slide-content {
    height: auto;
    min-height: 100vh;
  }

  .hero-layout {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto;
    gap: 0;
    height: auto;
    min-height: 100vh;
  }

  .hero-left {
    order: 2;
    height: auto;
    min-height: 50vh;
    padding: 2rem 1rem;
    background-size: cover;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: min-height 0.6s ease-in-out;
  }

  .hero-right {
    order: 1;
    height: 20vh;
    width: 100%;
  }

  .hero-right-2 {
    order: 3;
    height: 20vh;
    width: 100%;
  }

  .hero-photo-1-1 {
    object-position: 10% 70%;
  }

  .hero-photo-1-2 {
    object-position: 60% 35%;
  }

  .hero-photo-2-2 {
    object-position: 60% 40%;
  }

  .hero-photo,
  .hero-photo-2 {
    height: 20vh;
    width: 100%;
    transition: opacity 0.4s ease-in-out;
  }

  .fixed-bottom-section {
    position: relative;
    transform: none;
    padding: 1rem 0;
    background: transparent;
    border-top: 1px solid rgba(139, 111, 71, 0.1);
    margin-top: auto;
    width: 100%;
    left: 0;
    max-width: 100%;
  }

  /* Mobile text transitions */
  .hero-description {
    transition: opacity 0.4s ease-in-out;
    font-size: 1rem;
    line-height: 1.7;
    padding: 0 0.5rem;
  }

  .hero-description p {
    margin-bottom: 1.25rem;
  }

  .hero-description p:last-child {
    margin-bottom: 0;
  }

  .contact-info {
    transition: opacity 0.4s ease-in-out;
  }

  .mobile-break {
    display: inline;
  }

  .mobile-hide-separator {
    display: none;
  }

  .info-item {
    justify-content: center;
    text-align: center;
  }

  /* Ensure about page content is properly spaced on mobile */
  .hero-left .header-section {
    margin-bottom: 2rem;
  }

  .hero-left .main-logo {
    width: 100px;
    margin-bottom: 1.25rem;
  }
}
