/*
Theme Name: Harvest Fest V3
Author: MJ
Description: Fixed version with smooth transparent-to-black sticky header, white text, and logo animation.
Version: 1.3.1
*/

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: #fff;
  background: #000;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background: transparent;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

.main-header.scrolled {
  background: rgba(0, 0, 0, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  padding: 10px 30px;
}

.site-branding img {
  max-height: 50px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
  transform: scale(1);
  opacity: 1;
}

.main-header.scrolled .site-branding img {
  transform: scale(0.85);
  opacity: 0.9;
}

.main-navigation { display: flex; gap: 20px; }
.main-navigation a { color: #fff; font-weight: 500; transition: opacity 0.3s ease; }
.main-navigation a:hover { opacity: 0.8; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
}

@media (max-width: 768px) {
  .main-navigation {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
  }
  .main-navigation.active { max-height: 400px; opacity: 1; }
  .menu-toggle { display: block; }
  body { padding-top: 70px; }
}

@media (min-width: 769px) {
  body { padding-top: 90px; }
}
