@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

:root {
  --forest-dark: #1B4332;
  --forest-main: #2D6A4F;
  --forest-light: #52B788;
  --timber-dark: #4E3B31;
  --timber-main: #8B4513;
  --timber-light: #D9C5B2;
  --off-white: #FBFBFA;
  --text-dark: #2D2D2D;
  --heading-font: 'Playfair Display', serif;
  --body-font: 'Montserrat', sans-serif;
  --cabin-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

body {
  font-family: var(--body-font);
  color: var(--text-dark);
  background-color: var(--off-white);
  line-height: 1.8;
  letter-spacing: 0.02em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: var(--forest-dark);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-text {
  font-family: var(--heading-font);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--forest-dark);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.btn-cabin {
  background-color: var(--forest-dark);
  color: white;
  padding: 1rem 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  border-radius: 0;
  border: none;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: inline-block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-cabin::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--timber-main);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: -1;
}

.btn-cabin:hover {
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.btn-cabin:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

section {
  padding: 8rem 0;
}

.section-title {
  position: relative;
  margin-bottom: 4rem;
  text-align: center;
}

.section-title h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 2.5rem;
  }
}

.section-title .accent {
  display: block;
  font-family: var(--body-font);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--timber-main);
  margin-bottom: 1rem;
  font-weight: 700;
}

/* Custom Gallery Grid */
.gallery-category-title {
  font-family: var(--heading-font);
  font-size: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--timber-light);
  display: inline-block;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
  cursor: pointer;
  background-color: #eee;
}

.gallery-item img {
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
  object-fit: cover;
  width: 100%;
  height: 300px;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(27, 67, 50, 0.4);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-item .overlay i {
  color: white;
  font-size: 2rem;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.gallery-item:hover .overlay i {
  transform: translateY(0);
}

/* Floating Content Card */
.content-card {
  background: white;
  padding: 4rem;
  box-shadow: var(--cabin-shadow);
  margin-top: -100px;
  position: relative;
  z-index: 10;
}

@media (max-width: 991px) {
  .content-card {
    margin-top: -50px;
    padding: 2.5rem;
  }
}

/* Navbar refinement */
.navbar {
  background-color: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 1.5rem 0;
}

.nav-link {
  font-size: 0.8rem;
  letter-spacing: 2px;
}

/* Footer refinement */
footer {
  background-color: var(--forest-dark);
  padding: 8rem 0 4rem;
}

footer .nav-link {
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* Texture overlay for that "rustic" feel */
.bg-texture {
  position: relative;
}

.bg-texture::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://www.transparenttextures.com/patterns/wood-pattern.png");
  opacity: 0.03;
  pointer-events: none;
}
