:root {
  --bg-main: #723B78;
  --bg-alt: #a26aa5;   
  --bg-card: #ffffff;  

  --text-main: #fffdf8;         
  --text-soft: rgba(255, 253, 248, 0.8);

  --accent-orange: #f7a04a;  
  --accent-purple: #723b78;  
  --accent-purple-soft: #a26aa5;
  --border-soft: rgba(0, 0, 0, 0.06);
  --radius-soft: 16px;
  --shadow-soft: 0 14px 35px rgba(36, 10, 70, 0.14);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Georgia", "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-main);
  background: var(--bg-main);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-purple);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  margin-top: 0;
  color: var(--text-main);
}

p {
  margin-top: 0;
  color: var(--text-soft);
}

/* Layout */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
}

.section-header p {
  margin-top: 0.5rem;
}

/* Grid */

.grid {
  display: grid;
  gap: 1.75rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 242, 251, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.brand-text {
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--text-main);
}

/* Nav */

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  font-size: 0.9rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

/* flat rainbow nav */
.nav-link:nth-child(1) { background: #f7a04a; }   /* purple */
.nav-link:nth-child(2) { background: #f9896f }   /* orange */
.nav-link:nth-child(3) { background: #f44f56; }   /* green */
.nav-link:nth-child(4) { background: #a26aa5; }   /* pink */
.nav-link:nth-child(5) { background: #723b78; }   /* teal */
.nav-link:nth-child(6) { background: #4c284f; }   /* yellow */

/* Hover: subtle lift + soft shadow */
.nav-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

/* Active: stronger lift + stronger halo */
.nav-link.active {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.22);
}

/* Instagram icon padding stays the same */
.nav-icon {
  padding: 0.3rem;
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #4c284f;
  margin: 3px 0;
}

/* Hero */

.hero {
  padding: 4rem 0 3.5rem 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--accent-purple-soft);
  margin-bottom: 0.5rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 0.75rem;
}

.hero-text {
  font-size: 1rem;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

/* HERO CONTAINER */
.hero-image {
  justify-self: center;
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 500px; 
}

/* BASE SLIDE STYLE */
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;

  object-fit: cover; 
  object-position: center;
  background: #fff;    /* fills empty space when aspect ratio doesn't match */

  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  border: 4px solid rgba(255, 255, 255, 0.9);

  opacity: 0;
  transition: opacity 0.8s ease;
}

/* ACTIVE SLIDE (FADE IN) */
.hero-slide-active {
  opacity: 1;
}

/* Base button */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.08s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease;
  color: #ffffff; /* all bright buttons use white text */
}

/* PRIMARY – flat bright orange */
.button.primary {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  box-shadow: 0 6px 16px rgba(255, 150, 50, 0.45);
}

/* SECONDARY – outline orange */
.button.secondary {
  background: transparent;
  color: var(--accent-orange);
  border-color: var(--accent-orange);
  box-shadow: none;
}

/* GHOST – soft, subtle orange */
.button.ghost {
  background: transparent;
  border-color: rgba(255, 150, 48, 0.4);
  color: var(--accent-orange);
}

/* Small variant */
.button.small {
  padding: 0.45rem 1.1rem;
  font-size: 0.86rem;
}

/* Hover state for all buttons */
.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(255, 150, 50, 0.45);
  text-decoration: none;
}

/* Cards */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-soft);
  border: 1px solid var(--border-soft);
  box-shadow: 0 12px 30px rgba(36, 10, 70, 0.12);
  padding: 1.1rem 1.25rem 1.25rem 1.25rem;
}

.artwork-card .card-image {
  border-radius: var(--radius-soft);
  margin-bottom: 0.9rem;
}

.card-body h3 {
  margin-bottom: 0.35rem;
}

.meta {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8c839e;
  margin-bottom: 0.4rem;
}

.price {
  font-weight: 600;
  margin-bottom: 0.55rem;
  color: var(--accent-purple);
}

/* Cards should use dark text */
.card,
.form-card,
.about-photo {
  --text-main: #4c284f;          /* near-black, clean and readable */
  --text-soft: #4a4654;          /* softer grey for paragraphs */
  color: var(--text-main);
}

/* Page hero */
.page-hero {
  padding: 3.2rem 0 2.2rem 0;
}

.page-hero h1 {
  font-size: 2.2rem;
}

/* Outer pill container */
.tab-row {
  display: inline-flex;
  gap: 0.5rem;
  padding: 0.3rem;
  background: #ffffff;
  border-radius: 999px;
  border: 2px solid var(--accent-orange);
  margin-top: 1.4rem;

  position: relative;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* Individual tab buttons */
.tab-button {
  border: none;
  background: #ffffff;
  padding: 0.45rem 1.1rem;
  font-size: 0.9rem;
  color: #4c284f;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 500;

  transition:
    background 0.12s ease,
    color 0.12s ease,
    box-shadow 0.12s ease,
    transform 0.08s ease;
}

/* Hover matches nav hover feel */
.tab-button:hover {
  background: rgba(255, 150, 48, 0.15); /* soft orange tint */
  transform: translateY(-1px);
}

/* ACTIVE TAB — matches nav active + primary buttons */
.tab-button.tab-active {
  background: var(--accent-orange);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(255,150,50,0.45);
  transform: translateY(-1px);
}

/* Show / hide sections */
.tab-section {
  display: none;
}
.tab-section-active {
  display: block;
}

/* Forms */
.form-card {
  background: var(--bg-card);
  border-radius: var(--radius-soft);
  border: 1px solid var(--border-soft);
  padding: 1.6rem 1.5rem 1.8rem 1.5rem;
  box-shadow: 0 12px 30px rgba(36, 10, 70, 0.12);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
  margin-bottom: 1rem;
}

label {
  display: flex;
  flex-direction: column;
  font-size: 0.88rem;
  color: var(--text-main);
  gap: 0.35rem;
}

input,
select,
textarea {
  border-radius: 999px;
  border: 1px solid rgba(123, 78, 163, 0.3);
  padding: 0.6rem 0.9rem;
  font: inherit;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.9);
}

textarea {
  border-radius: 18px;
  resize: vertical;
  min-height: 120px;
}

/* Lists */
.list {
  padding-left: 1.1rem;
}

.list li {
  margin-bottom: 0.35rem;
}

.list.numbered {
  list-style: decimal;
}

/* About portrait */
.about-photo {
  /* Circle container */
  width: 300px;        
  aspect-ratio: 1 / 1;  
  border-radius: 50%;    
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 4px solid rgba(255, 255, 255, 0.9);
  background: var(--bg-card);
  margin: 0 auto;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Compact CV style lists */
.list-tight {
  padding-left: 1.1rem;
}

.list-tight li {
  margin-bottom: 0.2rem;
  font-size: 0.9rem;
}

/* Contact email link */
.highlight-email a {
  font-weight: 600;
  font-size: 1rem;
  color: #ffffff; 
}

/* Instagram link pill */
.insta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem 0.35rem 0.5rem;
  border-radius: 999px;
  background: rgba(247, 160, 74, 0.25);
  color: #ffffff; 
}

.insta-link .icon-instagram {
  border-color: var(--accent-orange); 
}

.insta-link .icon-instagram::before {
  border-color: var(--accent-orange);
}

.insta-link .icon-instagram::after {
  background: var(--accent-orange);
}


/* Section CTA */
.section-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-image {
    order: -1;
  }

  .hero {
    padding-top: 3rem;
  }

  /* Make ONLY the HOME HERO a square on mobile */
  .hero .hero-image {
    height: auto;          /* override the fixed 500px height */
    aspect-ratio: 1 / 1;   /* force perfect square */
    max-width: 320px;      /* tweak size as needed */
    margin: 0 auto;        /* center the square */
  }

  .site-nav {
    position: absolute;
    inset: 100% 0 auto 0;
    background: rgba(246, 242, 251, 0.98);
    flex-direction: column;
    padding: 0.8rem 1.5rem 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.16s ease, opacity 0.16s ease;
  }

  .site-nav.nav-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: block;
  }
}

/* Print size selector in artwork cards */
.artwork-card label.meta {
  display: block;
  gap: 0;
  margin-bottom: 0.25rem;
}

/* Dropdown styling to match pill buttons but stay compact */

.artwork-card .print-size-select {
  width: 100%;
  font-size: 0.86rem;
  padding: 0.45rem 0.9rem;
  margin-bottom: 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(123, 78, 163, 0.3);
  background: rgba(255, 255, 255, 0.9);
}

.artwork-card .price {
  margin-top: 0.15rem;
}

.button-disabled,
.button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Header text defaults to black, except nav pills */
.site-header,
.site-header a,
.site-header .brand-text {
  color: #4c284f;
}

/* Keep nav pills white text */
.site-header .nav-link {
  color: #ffffff;
}

/* Do NOT override buttons in the header */
.site-header .button,
.site-header .button.primary,
.site-header .button.secondary,
.site-header .button.ghost {
  color: #ffffff; /* preserve button white text */
}

/* Footer text defaults to black */
.site-footer,
.site-footer a,
.site-footer .footer-brand,
.site-footer .footer-links {
  color: #4c284f;
}

/* Buttons in footer stay white text */
.site-footer .button,
.site-footer .button.primary,
.site-footer .button.secondary,
.site-footer .button.ghost {
  color: #ffffff;
}

.hero-logo {
  width: 500px;     
  max-width: 90%;   
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  padding: 0.9rem 0 1.4rem 0;
  background: rgba(246, 242, 251, 0.98);
}

/* Global footer text colour — matches the Walking in the Wild header text */
.site-footer,
.site-footer a,
.site-footer .footer-brand,
.site-footer .footer-links {
  color: #4c284f;
}

/* Buttons in footer stay white text */
.site-footer .button,
.site-footer .button.primary,
.site-footer .button.secondary,
.site-footer .button.ghost {
  color: #ffffff;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  position: relative; /* anchor pop up */
}

.footer-inner > * {
  min-width: 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.85rem;
  color: #4c284f; /* ensure match */
}

.footer-logo {
  width: 32px;
  height: 32px;
  border-radius: 999px;
}

/* Desktop links */
.footer-links {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  column-gap: 0.9rem;
  row-gap: 0.35rem;
  font-size: 0.85rem;
  color: #4c284f; /* explicit */
}

.footer-links a {
  color: #4c284f; 
}

.footer-instagram .icon-instagram {
  width: 18px;
  height: 18px;
}

/* Toggle button (mobile only) */
.footer-menu-toggle {
  display: none;
  background: var(--accent-orange);
  color: #ffffff;
  border: none;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
}

/* Mobile: button on right, pop up panel above */
@media (max-width: 600px) {
  .footer-inner {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .footer-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .footer-links {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-left: 0;

    flex-direction: column;
    align-items: flex-start;

    padding: 0.75rem 1rem;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);

    /* ensure pop up text stays dark purple */
    color: #4c284f;
  }

  .footer-links a {
    color: #4c284f; /* FIX applied inside pop up */
  }

  .footer-links {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 10;
  }

  .footer-links.footer-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* Commissions gallery tweaks */

.commission-gallery {
  align-items: stretch;
}

.commission-gallery .card {
  padding: 0.5rem;
}

.commission-gallery .card-image {
  width: 100%;
  display: block;
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-soft);
  border: 4px solid rgba(255, 255, 255, 0.9);

  /* Force perfect square */
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
/* Commissions hero layout */

.page-hero-grid {
  align-items: center;
}

/* Tighten text column a little */
.page-hero-text p {
  margin-top: 0.75rem;
}

/* Size the commissions hero frame */
.hero-image-commissions {
  max-width: 320px;
  height: 320px;
  margin: 0 auto;
}

/* Give it a bit more presence on wider screens */
@media (min-width: 768px) {
  .hero-image-commissions {
    max-width: 380px;
    height: 380px;
    margin: 0;
    justify-self: center;
  }
    .page-hero-media {
    display: flex;
    justify-content: center;
  }
}


