/*
Theme Name: AquaticRig Child
Theme URI: https://aquaticrig.com
Description: Divi child theme for AquaticRig. Section partials live in /includes and are auto-loaded on every page — no WPCode required. Edit a file in /includes and its [shortcode] goes live.
Author: Sage + Donnie
Template: Divi
Version: 1.0.12
*/
/* prevent 100vw full-bleed sections from creating a horizontal scrollbar */
html{overflow-x:hidden;}
/* Zero Divi's default section/row/column padding around our full-bleed page sections
   (Divi 5 doesn't recompile padding set via DB, so kill the white bands here). */
.et_pb_section:has(.ar-phero), .et_pb_section:has(.ar-pseo),
.et_pb_section:has(.ar-home-hero), .et_pb_section:has(.ar-home-amazon),
.et_pb_section:has(.ar-home-cats), .et_pb_section:has(.ar-home-feat),
.et_pb_section:has(.ar-home-blog), .et_pb_section:has(.ar-home-seo),
.et_pb_section:has(.ar-shero), .et_pb_section:has(.ar-shop),
.et_pb_section:has(.ar-sseo), .et_pb_section:has(.ar-rv), .et_pb_section:has(.ar-ft), .et_pb_section:has(.ar-bhub),
.et_pb_section:has([class^="ar-fresh-"]), .et_pb_section:has([class^="ar-salt-"]), .et_pb_section:has([class^="ar-pond-"]){
	padding-top:0!important;padding-bottom:0!important;
}
.et_pb_row:has(.ar-phero), .et_pb_row:has(.ar-pseo),
.et_pb_row:has(.ar-home-hero), .et_pb_row:has(.ar-home-amazon),
.et_pb_row:has(.ar-home-cats), .et_pb_row:has(.ar-home-feat),
.et_pb_row:has(.ar-home-blog), .et_pb_row:has(.ar-home-seo),
.et_pb_row:has(.ar-shero), .et_pb_row:has(.ar-shop),
.et_pb_row:has(.ar-sseo), .et_pb_row:has(.ar-rv), .et_pb_row:has(.ar-ft), .et_pb_row:has(.ar-bhub),
.et_pb_row:has([class^="ar-fresh-"]), .et_pb_row:has([class^="ar-salt-"]), .et_pb_row:has([class^="ar-pond-"]){
	padding:0!important;margin-top:0!important;margin-bottom:0!important;width:100%!important;max-width:100%!important;
}
.et_pb_column:has(.ar-phero), .et_pb_column:has(.ar-pseo),
.et_pb_column:has([class^="ar-home-"]), .et_pb_column:has(.ar-shero),
.et_pb_column:has(.ar-shop), .et_pb_column:has(.ar-sseo), .et_pb_column:has(.ar-rv), .et_pb_column:has(.ar-ft), .et_pb_column:has(.ar-bhub),
.et_pb_column:has([class^="ar-fresh-"]), .et_pb_column:has([class^="ar-salt-"]), .et_pb_column:has([class^="ar-pond-"]){
	padding:0!important;
}

/* ============================================================
   AquaticRig brand palette — single source of truth.
   Colors extracted from the logo. Change them here and the
   whole site re-tints. Reference in any section as var(--ar-*).
   ============================================================ */
:root {
	/* core blues */
	--ar-bg:        #000714;   /* page / hero / footer background */
	--ar-navy:      #001942;   /* nav bar, dark cards */
	--ar-primary:   #01489A;   /* primary buttons, key UI */
	--ar-steel:     #459CBC;   /* secondary buttons, icons */
	--ar-cyan:      #6EDCE7;   /* links, hovers, highlights ("Rig" color) */

	/* pop + neutrals */
	--ar-gold:      #FCDB33;   /* main CTA / prices / stars */
	--ar-cream:     #E9EEDE;   /* light section bg / light text on dark */
	--ar-slate:     #3E4D5E;   /* body text on light, borders, muted */

	/* optional nature accents — use sparingly */
	--ar-green:     #6FAD11;
	--ar-coral:     #E999F5;
	--ar-orange:    #E8842E;   /* reef-coral orange (warm CTA / accent) */
	--ar-peach:     #FBEEE4;   /* light peach cream — warm light-section background */

	/* fonts */
	--ar-font-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--ar-font-body: 'Inter',   system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

	/* layout — standard desktop content width (single source of truth) */
	--ar-maxw: 1400px;

	/* semantic roles */
	--ar-cta:        var(--ar-gold);
	--ar-cta-text:   #1a1402;        /* dark text on gold buttons */
	--ar-link:       var(--ar-cyan);
	--ar-text:       #0e1a26;         /* body text on light bg */
	--ar-text-light: var(--ar-cream); /* text on dark bg */
	--ar-white:      #ffffff;
}

/* ============================================================
   Base typography — site-wide defaults (Poppins headings / Inter body).
   Child style.css loads after Divi, so these win over Divi's defaults
   without !important. Override per-section as needed.
   ============================================================ */
body,
.et_pb_text, p, li, td, th,
input, textarea, select, button,
/* Theme Builder header/footer + nav menu (Divi styles these specifically) */
.et-l--header, .et-l--footer,
.et_pb_menu a, .et-menu a, .et_pb_fullwidth_menu a, .et_mobile_menu a,
#main-footer, .et_pb_widget, .et_pb_widget * {
	font-family: var(--ar-font-body);
}
h1, h2, h3, h4, h5, h6,
.et_pb_module_header,
.et_pb_slide_title,
.et_pb_promo_title,
.et-l--header h1, .et-l--header h2, .et-l--footer h1, .et-l--footer h2,
.et-l--footer h3, .et-l--footer h4, .et_pb_widget h1, .et_pb_widget h2,
.et_pb_widget h3, .et_pb_widget h4 {
	font-family: var(--ar-font-head);
}
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* Kill Divi's default disc bullet on our custom-styled lists (they draw their own marker).
   Divi's `.et_pb_text ul` out-specifies a plain class, so override with !important. */
.ar-sseo-list, .ar-seo-list, .ar-rv-bullets, .ar-rv-pc-list,
.ar-hh-trust ul, .ar-sh-trust ul {
	list-style: none !important;
	padding-left: 0 !important;
}
.ar-sseo-list li, .ar-seo-list li, .ar-rv-bullets li, .ar-rv-pc-list li {
	list-style: none !important;
}

/* ---- reusable helpers any section can use ---- */
.ar-btn {
	display:inline-block;
	font-weight:700;
	line-height:1;
	padding:14px 28px;
	border-radius:8px;
	text-decoration:none;
	transition:transform .12s ease, filter .12s ease;
}
.ar-btn:hover { transform:translateY(-1px); filter:brightness(1.05); }
.ar-btn-gold    { background:var(--ar-cta);     color:var(--ar-cta-text)!important; }
.ar-btn-primary { background:var(--ar-primary);  color:var(--ar-white)!important; }
.ar-btn-outline { background:transparent; border:2px solid var(--ar-cyan); color:var(--ar-cyan)!important; }

/* ---- Divi native contact form → AquaticRig brand (used on /contact/) ---- */
.et_pb_contact_form_label{font-family:var(--ar-font-head)!important;color:var(--ar-navy)!important;font-weight:600!important;}
.et_pb_contact_form input.input,
.et_pb_contact_form textarea.et_pb_contact_message,
.et_pb_contact_form input.et_pb_contact_captcha{
	background:#fff!important;border:1px solid #d4dde6!important;border-radius:8px!important;
	padding:13px 15px!important;font-family:var(--ar-font-body)!important;font-size:15px!important;color:#1a2632!important;
}
.et_pb_contact_form input.input:focus,
.et_pb_contact_form textarea.et_pb_contact_message:focus{
	border-color:var(--ar-primary)!important;box-shadow:0 0 0 3px rgba(1,72,154,.12)!important;outline:none!important;
}
.et_pb_button.et_pb_contact_submit{
	background:var(--ar-gold)!important;color:var(--ar-cta-text)!important;
	font-family:var(--ar-font-head)!important;font-weight:700!important;letter-spacing:0!important;
	border:none!important;border-radius:8px!important;padding:14px 30px!important;
	transition:transform .12s ease,filter .12s ease!important;
}
.et_pb_button.et_pb_contact_submit:hover{transform:translateY(-1px);filter:brightness(1.05);padding:14px 30px!important;}
.et_pb_button.et_pb_contact_submit:after{display:none!important;}

/* section-specific CSS stays inline in each /includes partial so sections are self-contained. */
