/*
Theme Name: Equichain
Description: Main theme styles for Equichain Wealth Advisors
Version: 1.0
*/

/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #000000;
  background-color: #ffffff;
}

/* Header Styles */
#site-header {
  background: #ffffff;
  border-bottom: 1px solid #e6e9ec;
  position: relative;
  z-index: 1000;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 30px;
}

.header-titles-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.header-titles {
  flex: 1;
  text-align: center;
}

.site-logo img {
  max-width: 250px;
  height: auto;
}

/* Navigation Styles */
.header-navigation-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.primary-menu-wrapper {
  flex: 1;
}

.primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.primary-menu > li {
  position: relative;
  margin: 0 15px;
}

.primary-menu > li > a {
  color: #000000;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 10px 5px;
  display: block;
  transition: color 0.3s ease;
}

.primary-menu > li > a:hover {
  color: #cd2653;
}

.primary-menu > li.lastmenu > a {
  background-color: #cd2653;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 4px;
}

.primary-menu > li.lastmenu > a:hover {
  background-color: #a01e42;
}

/* Submenu Styles */
.primary-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  list-style: none;
  margin: 0;
  padding: 10px 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.primary-menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
}

.primary-menu .sub-menu li {
  margin: 0;
}

.primary-menu .sub-menu a {
  color: #000000;
  text-decoration: none;
  padding: 10px 20px;
  display: block;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.primary-menu .sub-menu a:hover {
  background-color: #f5f5f5;
  color: #cd2653;
}

.primary-menu .icon {
  display: none;
}

/* Mobile Toggle Buttons */
.toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  display: none;
}

.toggle-icon svg {
  width: 24px;
  height: 24px;
  fill: #000000;
}

.toggle-text {
  margin-left: 5px;
  font-size: 14px;
}

/* Search Toggle */
.search-toggle {
  display: flex;
  align-items: center;
}

.header-toggles {
  display: flex;
  align-items: center;
}

/* Footer Styles */
#site-footer {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 60px 0 30px;
  margin-top: 80px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-widgets {
  color: #cccccc;
}

.footer-widgets h2,
.footer-widgets h3 {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-widgets a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-widgets a:hover {
  color: #cd2653;
}

.footer-widgets ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-widgets ul li {
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid #333333;
  padding-top: 30px;
  text-align: center;
}

.footer-credits {
  color: #999999;
  font-size: 14px;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-menu li {
  margin: 0 15px;
}

.footer-menu a {
  color: #999999;
  text-decoration: none;
  font-size: 14px;
}

.footer-menu a:hover {
  color: #cd2653;
}

/* Back to Top Button */
.to-the-top {
  display: inline-block;
  padding: 10px 20px;
  background-color: #cd2653;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.to-the-top:hover {
  background-color: #a01e42;
}

/* Utility Classes */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #cd2653;
  color: #ffffff;
  padding: 10px 15px;
  text-decoration: none;
  z-index: 100000;
}

.skip-link:focus {
  top: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .header-navigation-wrapper {
    display: none;
  }

  .toggle {
    display: flex;
    align-items: center;
  }

  .site-logo img {
    max-width: 180px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* Main Content Area */
#site-content {
  min-height: 60vh;
}

.entry-header {
  text-align: center;
  padding: 40px 0;
  background-color: #f5f5f5;
}

.entry-title {
  font-size: 36px;
  font-weight: 700;
  margin: 0;
  color: #000000;
}

.entry-content {
  padding: 40px 0;
}

/* Links */
a {
  color: #cd2653;
  transition: color 0.3s ease;
}

a:hover {
  color: #a01e42;
}

/* Buttons */
button,
.button,
input[type="submit"],
input[type="button"] {
  background-color: #cd2653;
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover,
.button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  background-color: #a01e42;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Reset List Styles */
.reset-list-style {
  list-style: none;
  margin: 0;
  padding: 0;
}
