/*
Theme Name: Aquavap Group GP Child
Template: generatepress
Version: 1.0.0
Description: GeneratePress child theme generated by the Phasma migration rail from the source site's own stylesheets. Reproduces the global look; see the engagement's draft record for what was not carried.
*/

/* Design tokens — written by the Phasma migration rail from the signed design brief.
 *
 * PLATFORM-OWNED. Every value below was validated before it was written and none of it is
 * model output; the stylesheet under it refers to these by name. Polish the site here:
 * change a value once and every rule that uses it follows. Values the brief did not give
 * (or that it gave badly — see the draft record's `brief_unhonoured`) carry the neutral
 * default, so the site renders either way.
 */
:root {
	--phasma-color-primary: #4f6d8a;
	--phasma-color-secondary: #232b38;
	--phasma-color-background: #ffffff;
	--phasma-color-text: #1a192e;
	--phasma-color-muted: #5b6874;
	--phasma-color-accent: #4f6d8a;
	--phasma-font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--phasma-font-body: Arial;
	--phasma-size-body: 17px;
	--phasma-line-body: 1.6;
	--phasma-weight-body: 400;
	--phasma-size-h1: 40px;
	--phasma-line-h1: 1.15;
	--phasma-weight-h1: 700;
	--phasma-size-h2: 30px;
	--phasma-line-h2: 1.2;
	--phasma-weight-h2: 700;
	--phasma-size-h3: 24px;
	--phasma-line-h3: 1.25;
	--phasma-weight-h3: 600;
	--phasma-size-small: 14px;
	--phasma-line-small: 1.5;
	--phasma-weight-small: 400;
	--phasma-container-max: 1100px;
	--phasma-grid-columns: 12;
	--phasma-space-1: 4px;
	--phasma-space-2: 8px;
	--phasma-space-3: 16px;
	--phasma-space-4: 24px;
	--phasma-space-5: 32px;
	--phasma-space-6: 48px;
	--phasma-space-7: 64px;
}

@media (max-width: 782px) {
	:root {
		--phasma-size-body: 16px;
		--phasma-size-h1: 32px;
		--phasma-size-h2: 26px;
		--phasma-size-h3: 21px;
	}
}

/* =============================================================================
   AQUAVAP GROUP — GeneratePress Child Theme
   Design brief: body font = Arial, primary = #4f6d8a
   ============================================================================= */

/* -----------------------------------------------------------------------------
   1. BASE TYPOGRAPHY
   ----------------------------------------------------------------------------- */

body {
  font-family: var(--phasma-font-body);
  font-size: var(--phasma-size-body);
  line-height: var(--phasma-line-body);
  font-weight: var(--phasma-weight-body);
  color: var(--phasma-color-text);
  background-color: var(--phasma-color-background);
}

h1, .h1 {
  font-family: var(--phasma-font-heading);
  font-size: var(--phasma-size-h1);
  line-height: var(--phasma-line-h1);
  font-weight: var(--phasma-weight-h1);
  color: var(--phasma-color-text);
}

h2, .h2 {
  font-family: var(--phasma-font-heading);
  font-size: var(--phasma-size-h2);
  line-height: var(--phasma-line-h2);
  font-weight: var(--phasma-weight-h2);
  color: var(--phasma-color-text);
}

h3, .h3 {
  font-family: var(--phasma-font-heading);
  font-size: var(--phasma-size-h3);
  line-height: var(--phasma-line-h3);
  font-weight: var(--phasma-weight-h3);
  color: var(--phasma-color-text);
}

small, .small {
  font-size: var(--phasma-size-small);
  line-height: var(--phasma-line-small);
  font-weight: var(--phasma-weight-small);
}

/* -----------------------------------------------------------------------------
   2. COLOUR — links & interactive elements
   ----------------------------------------------------------------------------- */

a {
  color: var(--phasma-color-primary);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--phasma-color-secondary);
  text-decoration: underline;
}

/* -----------------------------------------------------------------------------
   3. LAYOUT — container & content wrapper
   ----------------------------------------------------------------------------- */

.inside-article,
.entry-content,
.widget-area .inside-widget-area,
.site-main > .inside-right-sidebar,
.inside-navigation,
.inside-header-widgets,
.inside-top-bar {
  max-width: var(--phasma-container-max);
  margin-left: auto;
  margin-right: auto;
}

/* Section backgrounds may bleed edge-to-edge;
   constrain inner content with this utility class. */
.aq-inner {
  max-width: var(--phasma-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--phasma-space-4);
  padding-right: var(--phasma-space-4);
}

/* -----------------------------------------------------------------------------
   4. HEADER
   ----------------------------------------------------------------------------- */

.site-header {
  background-color: var(--phasma-color-background);
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.site-title a {
  color: var(--phasma-color-primary);
  font-weight: var(--phasma-weight-h2);
}

.site-title a:hover {
  color: var(--phasma-color-secondary);
  text-decoration: none;
}

/* -----------------------------------------------------------------------------
   5. NAVIGATION
   ----------------------------------------------------------------------------- */

.main-navigation a {
  color: var(--phasma-color-text);
  font-family: var(--phasma-font-body);
  font-size: var(--phasma-size-small);
  font-weight: 600;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a {
  color: var(--phasma-color-primary);
  text-decoration: none;
}

.main-navigation .sub-menu {
  background-color: var(--phasma-color-background);
  border: 1px solid rgba(0,0,0,0.1);
}

.main-navigation .sub-menu a:hover {
  background-color: var(--phasma-color-primary);
  color: var(--phasma-color-background);
}

/* -----------------------------------------------------------------------------
   6. BUTTONS
   ----------------------------------------------------------------------------- */

.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.wp-block-button__link {
  background-color: var(--phasma-color-primary);
  color: var(--phasma-color-background);
  border: none;
  border-radius: 2px;
  padding: var(--phasma-space-2) var(--phasma-space-4);
  font-family: var(--phasma-font-body);
  font-size: var(--phasma-size-small);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.button:hover,
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
  background-color: var(--phasma-color-secondary);
  color: var(--phasma-color-background);
  text-decoration: none;
}

/* -----------------------------------------------------------------------------
   7. FOOTER
   ----------------------------------------------------------------------------- */

.site-footer {
  background-color: var(--phasma-color-secondary);
  color: var(--phasma-color-background);
  padding-top: var(--phasma-space-6);
  padding-bottom: var(--phasma-space-6);
  font-size: var(--phasma-size-small);
}

.site-footer a {
  color: rgba(255,255,255,0.8);
}

.site-footer a:hover {
  color: var(--phasma-color-background);
}

/* -----------------------------------------------------------------------------
   8. CONTENT ELEMENTS
   ----------------------------------------------------------------------------- */

/* Horizontal rules */
hr {
  border: none;
  border-top: 1px solid rgba(0,0,0,0.1);
  margin: var(--phasma-space-5) 0;
}

/* Blockquotes */
blockquote {
  border-left: 4px solid var(--phasma-color-primary);
  padding-left: var(--phasma-space-4);
  color: var(--phasma-color-muted);
  margin: var(--phasma-space-4) 0;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: var(--phasma-space-2) var(--phasma-space-3);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  text-align: left;
}

th {
  font-weight: 600;
  color: var(--phasma-color-text);
  background-color: rgba(0,0,0,0.04);
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
textarea,
select {
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 2px;
  padding: var(--phasma-space-2) var(--phasma-space-3);
  font-family: var(--phasma-font-body);
  font-size: var(--phasma-size-body);
  color: var(--phasma-color-text);
  background-color: var(--phasma-color-background);
  width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--phasma-color-primary);
  box-shadow: 0 0 0 2px rgba(79,109,138,0.15);
}

/* Muted text helper */
.text-muted {
  color: var(--phasma-color-muted);
}

/* -----------------------------------------------------------------------------
   9. SIDEBAR WIDGETS
   ----------------------------------------------------------------------------- */

.widget-title {
  font-size: var(--phasma-size-h3);
  font-weight: var(--phasma-weight-h3);
  color: var(--phasma-color-text);
  margin-bottom: var(--phasma-space-3);
  border-bottom: 2px solid var(--phasma-color-primary);
  padding-bottom: var(--phasma-space-2);
}

/* -----------------------------------------------------------------------------
   10. SPACING UTILITIES
   ----------------------------------------------------------------------------- */

.mt-1 { margin-top: var(--phasma-space-1); }
.mt-2 { margin-top: var(--phasma-space-2); }
.mt-3 { margin-top: var(--phasma-space-3); }
.mt-4 { margin-top: var(--phasma-space-4); }
.mt-5 { margin-top: var(--phasma-space-5); }

.mb-1 { margin-bottom: var(--phasma-space-1); }
.mb-2 { margin-bottom: var(--phasma-space-2); }
.mb-3 { margin-bottom: var(--phasma-space-3); }
.mb-4 { margin-bottom: var(--phasma-space-4); }
.mb-5 { margin-bottom: var(--phasma-space-5); }
