/*
Theme Name: ARW Pelosa
Theme URI: https://amandareedweddings.com
Author: Amanda Reed Weddings / ScoutXP
Author URI: https://scoutxp.com
Description: An elegant, editorial WordPress theme for Amanda Reed Weddings, modeled on the Pelosa design system (Playfair Display, Cormorant Garamond, Montserrat). Built for Elementor — pages are composed with Elementor sections while the theme supplies the fixed header, slide-out menu, footer, typography and global styles.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: arw-pelosa
Tags: elementor, wedding, editorial, one-column, custom-menu, custom-logo
*/

/* ==========================================================================
   1. Design tokens  (Pelosa reference: pelosa.daveyandkrista.site)
   ========================================================================== */
:root {
  --arw-ink: #312d2c;        /* headings / dark sections   */
  --arw-dark: #2b2825;       /* deepest section background */
  --arw-body: #585858;       /* body copy                  */
  --arw-cream: #f6f2e9;      /* signature cream            */
  --arw-beige: #dfdbcf;      /* soft beige panel           */
  --arw-taupe: #928477;      /* muted taupe                */
  --arw-gold: #c8b48b;       /* gold accent (buttons)      */
  --arw-white: #ffffff;

  --arw-serif: 'Playfair Display', Georgia, serif;
  --arw-body-font: 'Cormorant Garamond', Georgia, serif;
  --arw-sans: 'Montserrat', -apple-system, sans-serif;
  --arw-script: 'La Belle Aurore', cursive;

  --arw-header-h: 92px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--arw-body-font);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--arw-body);
  background: var(--arw-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--arw-serif);
  font-weight: 300;
  color: var(--arw-ink);
  line-height: 1.12;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

p { margin: 0 0 1.2em; }

a { color: inherit; text-decoration: none; transition: opacity .25s ease; }
a:hover { opacity: .72; }

img { max-width: 100%; height: auto; }

::selection { background: var(--arw-gold); color: var(--arw-white); }

/* Elementor headings inherit the serif automatically */
.elementor-widget-heading .elementor-heading-title {
  font-family: var(--arw-serif);
  font-weight: 300;
  color: var(--arw-ink);
  line-height: 1.12;
}

.elementor-widget-text-editor {
  font-family: var(--arw-body-font);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--arw-body);
}

/* ==========================================================================
   3. Utility classes used by the Elementor templates
   (add these under Advanced → CSS Classes on any widget)
   ========================================================================== */

/* Small spaced-caps label — Montserrat 11px */
.arw-label .elementor-heading-title,
.arw-label {
  font-family: var(--arw-sans) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  line-height: 1.7 !important;
}

/* Larger spaced-caps — Montserrat 14px (publication names, sub-heads) */
.arw-caps .elementor-heading-title,
.arw-caps {
  font-family: var(--arw-sans) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 2.5px !important;
  text-transform: uppercase !important;
  line-height: 2 !important;
}

/* Handwritten script accent */
.arw-script .elementor-heading-title,
.arw-script {
  font-family: var(--arw-script) !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  line-height: 1.15 !important;
}

/* Oversized editorial quote */
.arw-quote .elementor-heading-title {
  font-family: var(--arw-serif);
  font-weight: 300;
  line-height: 1.35;
}

/* White text helper for dark / photo sections */
.arw-on-dark .elementor-heading-title,
.arw-on-dark { color: var(--arw-white) !important; }

/* ==========================================================================
   4. Buttons
   ========================================================================== */

/* Default Elementor button → Pelosa outline button.
   Selectors repeat the class to outrank Elementor's kit defaults
   (.elementor-kit-N .elementor-button) without using !important,
   so per-widget style overrides in the editor still win. */
.elementor-button.elementor-button.elementor-button,
a.elementor-button.elementor-button,
.arw-btn {
  font-family: var(--arw-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: transparent;
  background-color: transparent;
  color: var(--arw-ink);
  border: 1px solid currentColor;
  border-radius: 0;
  padding: 16px 34px;
  transition: background .3s ease, color .3s ease;
}
.elementor-button.elementor-button.elementor-button:hover {
  background: var(--arw-ink);
  background-color: var(--arw-ink);
  color: var(--arw-white);
}
.arw-on-dark .elementor-button.elementor-button { color: var(--arw-white); }
.arw-on-dark .elementor-button.elementor-button:hover { background-color: var(--arw-white); color: var(--arw-ink); }

/* Underline-only text button — add class arw-link-btn to a Button widget */
.arw-link-btn .elementor-button {
  border: none;
  padding: 0 0 6px;
  border-bottom: 1px solid currentColor;
  background: transparent !important;
}
.arw-link-btn .elementor-button:hover { color: var(--arw-taupe); }

/* Solid gold button — add class arw-gold-btn */
.arw-gold-btn .elementor-button {
  background: var(--arw-gold);
  border-color: var(--arw-gold);
  color: var(--arw-white);
}
.arw-gold-btn .elementor-button:hover { background: var(--arw-taupe); border-color: var(--arw-taupe); }

/* ==========================================================================
   5. Fixed header + slide-out menu
   ========================================================================== */
.arw-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 999;
  padding: 0 34px;
  background: linear-gradient(to bottom, rgba(25, 22, 20, .38), rgba(25, 22, 20, 0));
  transition: background .35s ease, box-shadow .35s ease;
}
.arw-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--arw-header-h);
  max-width: 1680px;
  margin: 0 auto;
}
.admin-bar .arw-header { top: 32px; }

.arw-header,
.arw-header a { color: var(--arw-white); }

.arw-header.is-solid,
.arw-header.is-scrolled {
  background: rgba(246, 242, 233, .96);
  box-shadow: 0 1px 0 rgba(49, 45, 44, .08);
}
.arw-header.is-solid, .arw-header.is-solid a,
.arw-header.is-scrolled, .arw-header.is-scrolled a { color: var(--arw-ink); }

/* burger */
.arw-menu-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  padding: 0;
  font-family: var(--arw-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.arw-burger {
  display: inline-block;
  width: 26px;
  height: 12px;
  position: relative;
}
.arw-burger::before,
.arw-burger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform .3s ease, top .3s ease;
}
.arw-burger::before { top: 0; }
.arw-burger::after { top: 10px; }
body.arw-menu-open .arw-burger::before { top: 5px; transform: rotate(45deg); }
body.arw-menu-open .arw-burger::after { top: 5px; transform: rotate(-45deg); }

/* centered brand */
.arw-branding {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
.arw-site-title {
  font-family: var(--arw-serif);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}
.arw-site-tagline {
  display: block;
  font-family: var(--arw-sans);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  margin-top: 2px;
}
.arw-branding .custom-logo { max-height: 58px; width: auto; }

.arw-contact-link {
  font-family: var(--arw-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
}

/* overlay menu */
.arw-overlay {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: var(--arw-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s ease, visibility .45s ease;
}
body.arw-menu-open .arw-overlay { opacity: 1; visibility: visible; }
body.arw-menu-open { overflow: hidden; }
body.arw-menu-open .arw-header { background: transparent; box-shadow: none; }
body.arw-menu-open .arw-header, body.arw-menu-open .arw-header a { color: var(--arw-white); }

.arw-overlay ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}
.arw-overlay li { margin: 14px 0; }
.arw-overlay a {
  font-family: var(--arw-serif);
  font-weight: 300;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  color: var(--arw-cream);
  line-height: 1.3;
}
.arw-overlay a:hover { color: var(--arw-gold); opacity: 1; }

/* ==========================================================================
   6. Footer
   ========================================================================== */
.arw-footer {
  background: var(--arw-cream);
  color: var(--arw-ink);
  padding: 110px 40px 40px;
}
.arw-footer-inner { max-width: 1240px; margin: 0 auto; }

.arw-footer-brand {
  font-family: var(--arw-serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  letter-spacing: .5px;
  border-bottom: 1px solid rgba(49, 45, 44, .35);
  padding-bottom: 30px;
  margin-bottom: 55px;
}

.arw-footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: space-between;
  padding-bottom: 60px;
}
.arw-footer-nav { display: flex; gap: 70px; }

.arw-footer-script {
  font-family: var(--arw-script);
  font-size: 27px;
  color: var(--arw-ink);
  margin-bottom: 18px;
}

.arw-footer ul { list-style: none; margin: 0; padding: 0; }
.arw-footer-nav a,
.arw-social-nav a {
  font-family: var(--arw-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  line-height: 2.9;
}

.arw-footer-loc {
  text-align: center;
  border-left: 1px solid rgba(49, 45, 44, .25);
  padding-left: 60px;
}
.arw-footer-loc .script { font-family: var(--arw-script); font-size: 24px; }
.arw-footer-loc .big {
  font-family: var(--arw-serif);
  font-weight: 400;
  font-size: 27px;
  letter-spacing: 1px;
  margin: 4px 0 18px;
}
.arw-footer-loc hr {
  width: 34px;
  border: none;
  border-top: 1px solid rgba(49, 45, 44, .4);
  margin: 0 auto 18px;
}

.arw-footer-elsewhere {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  border-top: 1px solid rgba(49, 45, 44, .2);
  padding: 26px 0;
}
.arw-social-nav ul { display: flex; flex-wrap: wrap; gap: 34px; }

.arw-footer-copy {
  border-top: 1px solid rgba(49, 45, 44, .2);
  padding-top: 24px;
  text-align: right;
  font-family: var(--arw-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--arw-taupe);
}

@media (max-width: 880px) {
  .arw-footer-loc { border-left: none; padding-left: 0; text-align: left; }
  .arw-footer-loc hr { margin: 0 0 18px; }
  .arw-site-title { font-size: 19px; }
  .arw-menu-toggle .arw-menu-label { display: none; }
  .arw-header { padding: 0 20px; }
}

/* ==========================================================================
   7. Content fallbacks (non-Elementor pages) + forms
   ========================================================================== */
.arw-page-plain {
  max-width: 820px;
  margin: 0 auto;
  padding: calc(var(--arw-header-h) + 70px) 24px 90px;
}

/* Contact Form 7 / WPForms styled to match the design */
.wpcf7 label, .wpforms-field-label {
  font-family: var(--arw-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--arw-ink);
}
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"],
.wpcf7 input[type="date"], .wpcf7 textarea, .wpcf7 select,
.wpforms-field input, .wpforms-field textarea, .wpforms-field select {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(49, 45, 44, .4);
  border-radius: 0;
  background: transparent;
  font-family: var(--arw-body-font);
  font-size: 19px;
  color: var(--arw-ink);
  padding: 10px 2px;
  outline: none;
  transition: border-color .3s ease;
}
.wpcf7 textarea { min-height: 120px; }
.wpcf7 input:focus, .wpcf7 textarea:focus { border-bottom-color: var(--arw-gold); }
.wpcf7 input[type="submit"], .wpforms-submit {
  font-family: var(--arw-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: var(--arw-ink);
  color: var(--arw-white);
  border: 1px solid var(--arw-ink);
  padding: 16px 40px;
  cursor: pointer;
  transition: background .3s ease;
  width: auto;
}
.wpcf7 input[type="submit"]:hover { background: var(--arw-gold); border-color: var(--arw-gold); }
.wpcf7 form .wpcf7-response-output {
  border: 1px solid var(--arw-gold);
  font-family: var(--arw-body-font);
  font-size: 19px;
  padding: 18px 24px;
  margin: 28px 0 0;
}

/* Elementor image-carousel arrows / dots in brand colors */
.elementor-image-carousel-wrapper .elementor-swiper-button { color: var(--arw-ink); }
.elementor-image-carousel-wrapper .swiper-pagination-bullet-active { background: var(--arw-ink); }

/* keep hero sections flush under the fixed transparent header */
.elementor { margin-top: 0; }
