
/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #323b3b; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #045253; /* Darker variant of brand color for headings */
  --accent-color: #2c7a7b; /* Main brand/accent color */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #323b3b;  /* The default color of the main navmenu links */
  --nav-hover-color: #54a2a3; /* Lighter variant of brand color when hovered/active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #323b3b; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #2c7a7b; /* Brand color applied to dropdown links when hovered */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #eaf9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #081b12;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #1f3028;
  --contrast-color: #ffffff;
}

.accent-background {
  --background-color: #077f46;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: #ffffff;
  --surface-color: #2a8f5f;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}
