/*
Theme Name: CBS Custom Theme 
Author: C.B.Snow/ChatGPT/DeepSek
Description: Responsive Horizintal Navbar
Version: 1.0 4/26/2025
*/

/* Menu styling */
.menu {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.menu li {
    position: relative;
    white-space: nowrap;
}
.menu li a {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    text-decoration: none;
#    color: black;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}
.menu li ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    background: #eee;
    margin: 0;
    padding: 0;
    width: 170px;
}
.menu li ul.sub-menu li a {
    display: block;
    text-align: left;
    padding: 5px 10px;
    white-space: normal;
}
.menu li:hover > ul.sub-menu {
    display: block;
}

/* Dropdown triangle */
.dropdown-toggle {
    display: inline-block;
    width: 10px;
    height: 6px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath fill='currentColor' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    margin-left: 5px;
    transition: transform 0.3s ease;
}
.menu li:hover > a .dropdown-toggle {
    transform: rotate(180deg);
}

/* Hamburger button */
.menu-toggle {
    display: none;
    color: white;
    background: #111;
    border: none;
    font-size: 1.5em;
    padding: 10px 20px;
    cursor: pointer;
    margin-bottom: 10px;
    width: 170px;
    text-align: left;
}

/* Responsive menu for mobile */
@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 170px;
    }
    .menu.active {
        display: flex;
        width: 170px;
    }
    .menu-toggle {
        display: block;
    }
    .menu li ul.sub-menu {
        position: relative;
        top: 0;
        left: 0;
        display: none;
    }
    .menu li:hover > ul.sub-menu,
    .menu li:focus-within > ul.sub-menu {
        display: block;
    }
}

/* Site container */
.site-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
   background-color: #fff;
   background-color: #111;
    border: 3px solid black; /* <<< black border around the page */
}

/* Header styling */
.site-header {
    width: 100%;
    background: #fff;
#    padding: 10px 0;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0 auto;
#    padding: 0 20px;
}
.header-left,
.header-center,
.header-right {
    flex: 1;
}
.header-left {
    text-align: left;
}
.header-center {
    text-align: center;
}
.header-right {
    text-align: right;
}
.site-logo {
    max-width: 100%;
    height: 170px;
}

#body {
#    background-color: #ccc;
#} 

.rounded-corners15 img {     
     border-radius: 15px; 
}

.rounded-corners30 img {
     border-radius: 30px;
}

body {
  font-family: Arial, sans-serif;
  background-color: #ccc;
}

.site-header {
  background-color: #111;
#  padding: 16px 32px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
background-color: #111;
}

.site-logo img {
  height: 60px;
}

.main-nav .nav-menu {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav .nav-menu li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.header-button .black-button {
  background-color: black;
  color: #ff9900;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: bold;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  text-decoration: none;
}

.header-button .black-button:hover {
  background-color: #000;
  border-color: #ff9900;
  color: #ff9900;
}

body.home .site-content {
  position: relative;
  z-index: 0;
}

body.home .site-content::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, #eee);
  z-index: -1;
}

/* Base layout: desktop */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Let all header sections flex properly */
.header-left,
.header-center,
.header-right {
  flex: 1 1 auto;
}

/* Make header-right behave properly on narrow screens */
@media (max-width: 768px) {
  .header-right {
    flex: 1 1 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }

  .header-button {
    display: inline-block;
  }
}

/* Make columns use equal height layout */
.wp-block-columns {
  display: flex;
  align-items: stretch; /* ensures children (columns) grow to the same height */
}

/* Ensure each column fills full height */
.wp-block-column {
  display: flex;
  flex-direction: column;
}

/* Rounded panel fills its container */
.wp-block-group.is-style-rounded-panel.fill-column-height {
  flex-grow: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center; /* optional: center content vertically */
}

/* Ensure columns are equal-height containers */
.wp-block-columns {
  display: flex;
  align-items: stretch;
}

.wp-block-column {
  display: flex;
  flex-direction: column;
}

/* Rounded panels fill the column by default now */
.wp-block-group.is-style-rounded-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-heading {
  font-size: 50px;
  font-family: 'Noto Serif', serif;
  transform: scale(1.1, 1);
  line-height: 1.1;
  white-space: nowrap;
  overflow-wrap: normal;
  overflow: hidden;
  max-width: 100%;
  width: 100%;
  display: block;
  text-align: center;
}

.wp-block-image.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

