/*
Theme Name: Wild Severn Premium
Theme URI: https://wildsevern.co.uk
Author: Wild Severn
Description: Premium editorial WordPress theme for Wild Severn UK-built campervan interiors. Elementor compatible.
Version: 1.2.2
License: GNU General Public License v2 or later
Text Domain: wild-severn-premium
*/

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,300&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --arp-white:      #ffffff;
  --arp-black:      #000000;
  --arp-gray:       #f5f5f5;
  --arp-border:     #e5e5e5;
  --arp-muted:      #737373;
  --arp-font:       'Libre Franklin', Helvetica, Arial, sans-serif;
  --arp-nav-height: 72px;
  --arp-bar-height: 64px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--arp-font);
  background: var(--arp-white);
  color: var(--arp-black);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image: none !important;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--arp-font); }

/* ── Layout ── */
.arp-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ── Navigation ── */
#arp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--arp-nav-height);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

#arp-nav.scrolled {
  background: var(--arp-white);
  box-shadow: 0 1px 0 var(--arp-border);
}

#arp-nav .arp-nav-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#arp-nav .arp-logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--arp-white);
  transition: color 0.3s ease;
}

#arp-nav .arp-logo img {
  display: block;
  width: auto !important;
  height: 56px !important;
  max-width: 128px !important;
  max-height: 56px !important;
  object-fit: contain;
}

#arp-nav.scrolled .arp-logo { color: var(--arp-black); }

#arp-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 40px;
}

#arp-nav ul a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--arp-white);
  transition: opacity 0.2s;
}

#arp-nav.scrolled ul a { color: var(--arp-black); }
#arp-nav ul a:hover { opacity: 0.6; }

.arp-nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 4px;
  color: var(--arp-white);
  transition: color 0.3s ease;
}

#arp-nav.scrolled .arp-nav-toggle { color: var(--arp-black); }

.arp-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ── Contact Form 7 ── */
.arp-cf7-form {
  max-width: 760px;
  margin: 0 auto;
}

.arp-cf7-form p {
  margin: 0 0 20px;
}

.arp-cf7-form label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.arp-cf7-form input[type="text"],
.arp-cf7-form input[type="email"],
.arp-cf7-form input[type="tel"],
.arp-cf7-form select,
.arp-cf7-form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 13px 14px;
  border: 1px solid var(--arp-border);
  border-radius: 0;
  background: var(--arp-white);
  color: var(--arp-black);
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
}

.arp-cf7-form textarea {
  min-height: 150px;
  resize: vertical;
}

.arp-cf7-form input:focus,
.arp-cf7-form select:focus,
.arp-cf7-form textarea:focus {
  outline: 2px solid var(--arp-black);
  outline-offset: 2px;
}

.arp-cf7-form .wpcf7-acceptance {
  display: block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

.arp-cf7-form .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.arp-cf7-form .wpcf7-acceptance input {
  flex: 0 0 auto;
  margin-top: 3px;
}

.arp-cf7-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 1px solid var(--arp-black);
  border-radius: 0;
  background: var(--arp-black);
  color: var(--arp-white);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.arp-cf7-form input[type="submit"]:hover,
.arp-cf7-form input[type="submit"]:focus {
  background: var(--arp-white);
  color: var(--arp-black);
}

.arp-cf7-form .wpcf7-not-valid-tip,
.arp-cf7-form .wpcf7-response-output {
  color: #b42318;
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

.arp-cf7-form .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 12px 14px;
  border: 1px solid #b42318;
}

/* ── Sticky Action Bar ── */
#arp-action-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  height: var(--arp-bar-height);
  background: var(--arp-white);
  border-top: 1px solid var(--arp-border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.arp-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px;
  border-right: 1px solid var(--arp-border);
  transition: background 0.2s;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--arp-black);
}

.arp-bar-item:last-child { border-right: none; }
.arp-bar-item:hover { background: var(--arp-gray); }

.arp-bar-item svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.arp-bar-label { display: none; }

/* ── Footer ── */
#arp-footer {
  background: var(--arp-black);
  color: var(--arp-white);
  padding: 96px 0 128px;
}

#arp-footer .arp-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 64px;
}

#arp-footer .arp-footer-brand { margin-bottom: 24px; }
#arp-footer .arp-footer-brand img { display: block; width: auto; height: 88px; max-width: 160px; object-fit: contain; }
#arp-footer .arp-footer-desc { font-size: 14px; color: var(--arp-muted); line-height: 1.7; }

#arp-footer h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--arp-muted);
  margin-bottom: 24px;
}

#arp-footer ul { list-style: none; }
#arp-footer ul li { margin-bottom: 12px; font-size: 14px; }
#arp-footer ul a { transition: color 0.2s; }
#arp-footer ul a:hover { color: var(--arp-muted); }

#arp-footer address { font-style: normal; font-size: 14px; color: var(--arp-muted); line-height: 2; }

#arp-footer .arp-footer-bottom {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--arp-muted);
}

/* ── Content area padding ── */
.arp-page-content {
  padding-top: var(--arp-nav-height);
  padding-bottom: var(--arp-bar-height);
}

/* ── Elementor Compatibility ── */
.elementor-section.elementor-section-full_width .elementor-container { max-width: none; }

.elementor-kit-1 body,
.e-con-inner,
.elementor-widget-container {
  font-family: var(--arp-font) !important;
}

/* Elementor default typography overrides */
.elementor-heading-title { font-family: var(--arp-font) !important; font-weight: 700; letter-spacing: -0.02em; }
body .elementor-button { border-radius: 0 !important; }

/* ── Typography helpers ── */
.arp-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--arp-muted);
}

.arp-btn {
  display: inline-block;
  background: var(--arp-black);
  color: var(--arp-white);
  padding: 20px 48px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 0;
  border: none;
  transition: opacity 0.2s;
}

.arp-btn:hover { opacity: 0.85; color: var(--arp-white); }

.arp-btn-outline {
  background: transparent;
  color: var(--arp-black);
  border: 2px solid var(--arp-black);
}

.arp-btn-outline:hover { background: var(--arp-black); color: var(--arp-white); }

/* ── Sections ── */
.arp-section { padding: 128px 0; }
.arp-section-sm { padding: 64px 0; }
.arp-section-gray { background: var(--arp-gray); }
.arp-section-black { background: var(--arp-black); color: var(--arp-white); }

/* ── WordPress Core ── */
.wp-caption { max-width: 100%; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

/* ── Responsive ── */
@media (min-width: 640px) {
  .arp-bar-label { display: block; }
}

@media (max-width: 768px) {
  #arp-nav ul { display: none; }
  .arp-nav-toggle { display: block; }
  #arp-nav.is-open { background: var(--arp-white); box-shadow: 0 1px 0 var(--arp-border); }
  #arp-nav.is-open .arp-logo,
  #arp-nav.is-open .arp-nav-toggle { color: var(--arp-black); }
  #arp-nav.is-open ul {
    display: flex;
    position: absolute;
    top: var(--arp-nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 20px;
    background: var(--arp-white);
    border-top: 1px solid var(--arp-border);
    border-bottom: 1px solid var(--arp-border);
  }
  #arp-nav.is-open ul a {
    display: block;
    padding: 14px 0;
    color: var(--arp-black);
  }
  #arp-nav.is-open .arp-nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  #arp-nav.is-open .arp-nav-toggle span:nth-child(2) { opacity: 0; }
  #arp-nav.is-open .arp-nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  #arp-footer .arp-footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  #arp-footer .arp-footer-bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 480px) {
  .arp-bar-item { font-size: 9px; gap: 2px; }
  .arp-bar-item svg { width: 18px; height: 18px; }
}
