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

body {
  font-family: 'Chandler42', sans-serif;
  background-color: #eee4bb; /* Light beige background */
  color: #40491b; /* Dark green text */
  line-height: 1.6;
}

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

.wide-container {
  max-width: 1400px; /* or whatever width you want */
  margin: 0 auto;
  padding: 0 5px;
}


/* Header styles */
header {
  padding: 10px 0;
  text-align: center;
}

h1 {
  font-family: 'Chandler42', sans-serif;
  font-size: 2.5rem;
  color: #40491b; /* Dark green */
  font-weight: 100;
}

h2,
h3 {
  font-weight: 100;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  flex-wrap: wrap;
}

nav li {
  margin: 0 15px;
}

nav a {
  text-decoration: none;
  color: #40491b; /* Dark green */
  font-size: 1.3rem;
  font-weight: 400;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #ae582d; /* Rust/orange */
}

nav a.active {
  color: #ae582d; /* Rust/orange */
}

/* Main content styles */
main {
  padding: 10px 0;
}

.hero {
  text-align: center;
  margin-bottom: 5px;
}

.welcome-image {
  max-width: 100%;
  height: auto;
  border-radius: 1px;
}

.description {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
  padding: 0 10px;
}

.description p {
  margin-bottom: 15px;
  font-size: 1.45rem;
}

.description p.signature {
  font-size: 1.9rem;
  font-family: 'Chandler42', sans-serif;
  margin-top: 15px;
}

/* Order section styles */
.order-section {
  max-width: 850px;
  margin: 30px auto;
  text-align: center;
  padding: 0 5px;
}

.order-section .order-title {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 0px;
  font-weight: bold;
}

.order-section .contact-info {
  font-size: 1.72rem;
  margin-top: 0;
  margin-bottom: 0px;
}

.order-section .location-info {
  font-size: 1.72rem;
  margin-top: 20px; /* Add space between email and location */
  margin-bottom: 0px;
}

.order-section .delivery-info {
  font-size: 1.72rem;
  margin-top: 0px;
  margin-bottom: 0;
}

/* Space after the order section */
.order-section + .description {
  margin-top: 40px;
}

/* Footer styles */
footer {
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid rgba(64, 73, 27, 0.2);
  margin-top: 10px;
}

.contact {
  margin-bottom: 10px;
}

.contact a {
  color: #40491b; /* Dark green */
  text-decoration: underline;
  font-weight: 500;
}

.contact a:hover {
  color: #ae582d; /* Rust/orange */
}

.links {
  margin-bottom: 10px;
}

.links a {
  margin: 0 10px;
  color: #40491b; /* Dark green */
  text-decoration: none;
}

.links a:hover {
  text-decoration: underline;
  color: #ae582d; /* Rust/orange */
}

.copyright {
  font-size: 0.9rem;
  color: rgba(64, 73, 27, 0.7);
}

/* Menu toggle button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  position: absolute;
  top: 80px;
  right: 20px;
  z-index: 10;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #40491b;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hamburger menu animation */
.menu-toggle span.active:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

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

.menu-toggle span.active:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Bouquet types section */
.bouquet-types {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  gap: 20px;
}

.bouquet-column {
  flex: 1;
  text-align: center;
  padding: 15px;
  background-color: #eee4bb;
  border-radius: 5px;
  box-shadow: none;
}

.bouquet-column h3 {
  color: #40491b; /* Dark green */
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.bouquet-image, .bouquet-detail-image {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 15px;
}

.bouquet-column p {
  margin-bottom: 15px;
  font-size: 1.45rem;
}

/* Responsive styles */
@media (max-width: 768px) {
  .bouquet-types {
    flex-direction: column;
  }
  
  .bouquet-column {
    margin-bottom: 20px;
  }
  
  header {
    position: relative;
    padding-bottom: 20px;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  #main-nav {
    display: none;
    width: 100%;
    padding-top: 0;
    transition: all 0.5s ease;
  }
  
  #main-nav.active {
    display: block;
    padding-top: 10px;
  }
  
  nav ul {
    flex-direction: column;
    gap: 10px;
  }
  
  .signature {
    font-size: 1.3rem;
  }

  .hero .welcome-image {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
}

@font-face {
    font-family: 'Chandler42';
    src: url('fonts/Chandler42.woff2') format('woff2'),
        url('fonts/Chandler42.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Page transition effects */
main {
  opacity: 1;
  transition: opacity 0.3s ease;
}

main.fade-in {
  opacity: 1;
}

main.fade-out {
  opacity: 0;
}

/* Blog styles */
.page-title {
  text-align: center;
  font-size: 2.2rem;
  color: #40491b;
  margin: 20px 0;
}

.blog-description {
  max-width: 850px;
  margin: 0 auto 30px;
  text-align: center;
  padding: 0 10px;
}

.blog-description p {
  font-size: 1.5rem;
}

.blog-year-selector {
  text-align: center;
  margin: 20px 0;
}

.year-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.year-btn {
  background-color: #eee4bb;
  border: 0;
  color: #40491b;
  padding: 8px 20px;
  font-size: 1.1rem;
  cursor: pointer;
  border-radius: 5px;
  font-family: 'Chandler42', sans-serif;
  transition: all 0.3s ease;
}

.year-btn:hover {
  background-color: #eee4bb;
  color: #ae582d;
}

.year-btn.active {
  background-color: #eee4bb;
  color: #ae582d;
}

.blog-posts {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

.blog-post {
  margin-bottom: 10px;
  padding: 20px;
  background-color: #eee4bb;
  border-radius: 5px;
  box-shadow: none;
}

.blog-post:not(:last-child)::after {
  content: "";
  display: block;
  width: 80%;
  height: 130px;
  margin: 30px auto 0;
  background: url("images/divider.png") center / 80% auto no-repeat;
}

.blog-post-header {
  padding: 0;
  margin-bottom: 15px;
}

.blog-post-title {
  font-size: 2.6rem;
  color: #40491b;
  margin-bottom: 5px;
  font-weight: 100;
}

.blog-post-content {
  font-size: 1.54rem;
  line-height: 1.6;
}

.blog-post-content p {
  margin-bottom: 15px;
}

.inline-image {
  max-width: 300px;
  height: auto;
  margin: 10px;
  border-radius: 5px;
  float: right;
}

.loading {
  text-align: center;
  font-size: 1.2rem;
  padding: 30px;
  color: #40491b;
}

.no-posts {
  text-align: center;
  font-size: 1.2rem;
  padding: 30px;
  color: #40491b;
}

@media (max-width: 768px) {
  .year-buttons {
    flex-wrap: wrap;
  }
  
  .blog-post-title {
    font-size: 2.6rem;
  }
  
  .blog-post-content {
    font-size: 1.43rem;
  }
}

@media (max-width: 768px) {
  .blog-posts {
    padding: 0 5px;
  }

  .blog-post {
    padding: 8px 4px;
  }
}
