/*
Theme Name: Sweet Choco (TT4 Child)
Theme URI: https://example.com/
Description: Child theme for Twenty Twenty-Four with custom styles for Sweet Choco chocolate shop.
Author: ChatGPT
Template: twentytwentyfour
Version: 1.0
Text Domain: sweet-choco-tt4
*/

/* Forest green background for entire site */
body {
  background-color: #228B22 !important; /* Forest Green outer background */
}

/* Content wrapper */
.site-content, .wp-site-blocks {
  background: #ffffff; /* white content area */
  border-radius: 12px;
  margin: 20px auto;
  padding: 20px;
  max-width: 1200px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* Header layout: logo left, menu right */
.header-inner, .wp-block-site-logo, .wp-block-navigation {
  display: flex;
  align-items: center;
}

/* Ensure logo stays left and menu right */
.wp-block-site-logo {
  order: 1;
  margin-right: auto;
}

.wp-block-navigation {
  order: 2;
  margin-left: auto;
}

/* Limit logo size */
.wp-block-site-logo img, .custom-logo {
  max-height: 80px;
  width: auto;
  height: auto;
  display: block;
}

/* Navigation styles */
.wp-block-navigation .wp-block-navigation-item a {
  font-weight: 600;
  color: #228B22;
  text-decoration: none;
  padding: 8px 12px;
}
.wp-block-navigation .wp-block-navigation-item a:hover {
  color: #2b2b2b;
}

/* Make header background white for contrast */
.header-inner {
  background: #ffffff;
  padding: 12px 20px;
  border-bottom: 3px solid #228B22;
  border-radius: 10px;
}

/* Small screens tweaks */
@media(max-width:768px){
  .site-content, .wp-site-blocks { margin: 10px; padding: 12px; }
  .wp-block-site-logo img { max-height: 60px; }
}
