/* ===== PERKY PEN – Brand System ===== */


/* === TAN Ashford === */
@font-face {
  font-family: "TAN Ashford";
  src: url("/fonts/ashford-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TAN Ashford";
  src: url("/fonts/ashford-bold-italic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* === Canva Sans === */
@font-face {
  font-family: "Canva Sans";
  src: url("/fonts/CanvaSans-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Canva Sans";
  src: url("/fonts/CanvaSans-RegularItalic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Canva Sans";
  src: url("/fonts/CanvaSans-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Canva Sans";
  src: url("/fonts/CanvaSans-MediumItalic.otf") format("opentype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Canva Sans";
  src: url("/fonts/CanvaSans-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Canva Sans";
  src: url("/fonts/CanvaSans-BoldItalic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
:root{
  /* Colors */
  --pp-cream:#FFF6EF;
  --pp-brown:#694029;
  --pp-orange:#EB9C54;
  --pp-orange-dark:#DD7A20;
  --pp-ink:#211D1A;
  --pp-tan:#EADFD6; /* soft neutral for borders */

  /* Fonts (with sensible fallbacks) */
  --font-display:'TAN Ashford','Playfair Display','Cormorant Garamond',serif;
  --font-accent:'Schoolbell','School Bell',cursive;
  --font-body:'Canva Sans','Inter','Helvetica Neue',Arial,sans-serif;

  /* Radii / effects */
  --radius:10px;
  --shadow:0 6px 18px rgba(33,29,26,.08);
}

/* Global reset */
*{ margin:0; padding:0; box-sizing:border-box; }

body{
  font-family:var(--font-body);
  background-color:var(--pp-cream);
  color:var(--pp-ink);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* ===== Navigation ===== */
.nav{
  position:fixed; inset:0 0 auto 0;
  padding:18px 40px;
  display:flex; justify-content:space-between; align-items:center;
  z-index:1000;
  background:rgba(255,246,239,.92); /* brand cream with translucency */
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--pp-tan);
}

.logo{
  font-family:var(--font-display);
  font-size:22px; letter-spacing:2px;
  text-decoration:none; color:var(--pp-brown);
}

.nav-menu{ display:flex; gap:36px; list-style:none; }

.nav-menu a{
  color:var(--pp-ink);
  text-decoration:none;
  font-size:14px; font-weight:500; letter-spacing:1px; text-transform:uppercase;
  transition:color .2s ease, opacity .2s ease;
}
.nav-menu a:hover{ color:var(--pp-orange-dark); }

.contact-btn{
  color:var(--pp-brown);
  text-decoration:underline;
  font-size:14px; letter-spacing:1px; text-transform:uppercase;
}

.hamburger{ display:none; flex-direction:column; gap:4px; cursor:pointer; }
.hamburger span{ width:24px; height:2px; background:var(--pp-ink); transition:.3s; }

/* ===== Header (hero) ===== */
.contact-header{
  background:var(--pp-cream);
  padding:120px 20px 60px;
  text-align:center;
  border-bottom:1px solid var(--pp-tan);
}
.contact-header-title{
  font-family:var(--font-display);
  font-size:48px; font-weight:700;
  color:var(--pp-brown);
  text-transform:uppercase; letter-spacing:4px;
}

/* ===== Content ===== */
.contact-content{
  background:#fff; padding:80px 20px;
}

.contact-container{ max-width:800px; margin:0 auto; text-align:center; }

.contact-title{
  font-family:var(--font-display);
  font-size:36px; font-weight:700;
  color:var(--pp-brown);
  margin-bottom:24px; text-transform:uppercase; letter-spacing:2px;
}

.contact-description{
  font-size:18px; color:rgba(33,29,26,.8);
  margin:0 auto 40px; line-height:1.7; max-width:640px;
}

/* ===== Alerts (success/error) ===== */
.contact-alert{
  padding:14px 16px; border-radius:8px; margin-bottom:22px;
  text-align:center; box-shadow:var(--shadow);
  font-weight:600;
}
.contact-success{ background:rgba(235,156,84,.12); color:var(--pp-brown); border:1px solid var(--pp-orange); }
.contact-error{ background:rgba(221,122,32,.12); color:var(--pp-ink); border:1px solid var(--pp-orange-dark); }

/* ===== Social icons ===== */
.social-icons{
  display:flex; justify-content:center; gap:16px; margin-bottom:56px;
}
.social-icon{
  width:52px; height:52px; border-radius:12px;
  background:var(--pp-cream);
  border:2px solid var(--pp-orange);
  display:flex; align-items:center; justify-content:center;
  text-decoration:none; transition:transform .2s ease, background .2s ease, border-color .2s ease;
  box-shadow:var(--shadow);
}
.social-icon svg{ width:24px; height:24px; fill:var(--pp-brown); }
.social-icon:hover{
  background:var(--pp-orange);
  border-color:var(--pp-orange-dark);
  transform:translateY(-2px);
}
.social-icon:hover svg{ fill:var(--pp-cream); }

/* ===== Form ===== */
.contact-form{
  background:var(--pp-cream);
  border:1.5px solid var(--pp-tan);
  border-radius:var(--radius);
  padding:40px; max-width:640px; margin:0 auto;
  box-shadow:var(--shadow);
}

.form-group{ margin-bottom:24px; text-align:left; }

.form-label{
  display:block; font-size:15px; font-weight:600; color:var(--pp-brown); margin-bottom:8px;
}

.form-input{
  width:100%; padding:14px 14px;
  border:2px solid var(--pp-tan);
  border-radius:8px; font-size:16px; background:#fff; color:var(--pp-ink);
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-input:focus{
  outline:none; border-color:var(--pp-orange-dark);
  box-shadow:0 0 0 3px rgba(221,122,32,.18);
  background:#fff;
}
.form-textarea{ min-height:150px; resize:vertical; }

/* Required indicator */
.required{ color:var(--pp-orange-dark); }

/* Submit button */
.submit-btn{
  background:var(--pp-brown);
  color:#fff; border:none;
  padding:16px 40px; border-radius:10px;
  font-size:16px; font-weight:800; text-transform:uppercase; letter-spacing:1px;
  cursor:pointer; transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
  width:100%;
}
.submit-btn:hover{
  background:var(--pp-orange-dark);
  transform:translateY(-2px);
  box-shadow:0 8px 22px rgba(221,122,32,.28);
}

/* Small accent in labels or microcopy: use handwritten vibe */
.emphasis-hand{ font-family:var(--font-accent); color:var(--pp-orange-dark); }

/* ===== Mobile ===== */
@media (max-width:768px){
  .nav{ padding:14px 20px; }
  .nav-menu,.contact-btn{ display:none; }
  .hamburger{ display:flex; }

  .contact-header{ padding:100px 15px 40px; }
  .contact-header-title{ font-size:34px; letter-spacing:3px; }

  .contact-content{ padding:60px 15px; }
  .contact-title{ font-size:28px; margin-bottom:18px; }

  .contact-description{ font-size:16px; margin-bottom:28px; }

  .social-icons{ gap:12px; margin-bottom:38px; }
  .social-icon{ width:46px; height:46px; }
  .social-icon svg{ width:20px; height:20px; }

  .contact-form{ padding:28px 18px; }
  .form-group{ margin-bottom:20px; }
  .form-label{ font-size:14px; }
  .form-input{ padding:12px; font-size:14px; }
  .form-textarea{ min-height:120px; }
  .submit-btn{ padding:14px 30px; font-size:14px; }
}
/* Perky Pen cart (uses brand vars if present, with fallbacks) */
.pp-cart{
  --pp-brown: var(--pp-brown, #694029);
  --pp-orange: var(--pp-orange, #EB9C54);
  --pp-orange-dark: var(--pp-orange-dark, #DD7A20);
  --pp-ink: var(--pp-ink, #211D1A);

  position:relative; display:inline-flex; align-items:center; gap:10px;
  padding:8px 12px; border:2px solid var(--pp-orange);
  border-radius:999px; text-decoration:none; color:var(--pp-brown);
  font-weight:800; text-transform:uppercase; letter-spacing:.5px;
  transition:transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.pp-cart:hover{ background:var(--pp-orange); color:#fff; border-color:var(--pp-orange-dark); transform:translateY(-1px); }
.pp-cart-icon{ display:block; }
.pp-cart-label{ font-size:12px; line-height:1; }

.pp-cart-count{
  position:absolute; top:-6px; right:-6px; min-width:20px; height:20px;
  padding:0 6px; border-radius:999px; background:var(--pp-orange-dark);
  color:#fff; font-size:12px; font-weight:900; display:inline-flex; align-items:center; justify-content:center;
  box-shadow:0 4px 10px rgba(33,29,26,.2);
}

/* If it's inside a <li> */
.pp-cart-li{ list-style:none; }

/* Small screens: keep it tight */
@media (max-width:768px){
  .pp-cart{ padding:8px 10px; }
  .pp-cart-label{ display:none; }
}


.contact-social {
  margin-top: 2rem;
  text-align: center;
}

.contact-social .footer-title {
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #694029;
  margin-bottom: 0.75rem;
}

.contact-social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 10px;
}

.contact-social-links .social-link {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #FFF6EF;
  border: 1px solid #EB9C54;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}

.contact-social-links .social-link svg {
  width: 22px;
  height: 22px;
}

.contact-social-links .social-link:hover,
.contact-social-links .social-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.contact-social-links .social-link:focus-visible {
  outline: 2px solid #DD7A20;
  outline-offset: 3px;
}

/* Screen-reader text helper (if not already in your theme) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
