/* =========================================================
   Grand Auction House — Custom Stylesheet
   Brand: Marylebone, London | AuctionForge-powered
   ========================================================= */

:root {
  --color-primary:     #1a1a1a;
  --color-primary-soft:#2c2c2c;
  --color-accent:      #c9a84c;
  --color-accent-dark: #a8893a;
  --color-bg:          #f5f0eb;
  --color-bg-white:    #ffffff;
  --color-text:        #2c2c2c;
  --color-text-muted:  #666666;
  --color-border:      #e0d8ce;
  --color-footer-bg:   #1a1a1a;
  --color-footer-text: #cccccc;
  --color-footer-bottom:#111111;
}

/* ----- Base typography ---------------------------------- */
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.widget-title {
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

h1 { font-size: 2.4rem; line-height: 1.2; }
h2 { font-size: 1.85rem; line-height: 1.25; }
h3 { font-size: 1.4rem; line-height: 1.3; }

a { color: var(--color-accent-dark); text-decoration: none; }
a:hover, a:focus { color: var(--color-accent); }

/* ----- Buttons ------------------------------------------ */
.gah-btn,
.wp-block-button .wp-block-button__link {
  display: inline-block;
  padding: 0.85em 1.6em;
  background: var(--color-accent);
  color: var(--color-primary) !important;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  border: 2px solid var(--color-accent);
  border-radius: 0;
  transition: all 0.25s ease;
}
.gah-btn:hover,
.gah-btn:focus,
.wp-block-button .wp-block-button__link:hover {
  background: var(--color-primary);
  color: var(--color-accent) !important;
  border-color: var(--color-primary);
}
.gah-btn--outline {
  background: transparent;
  color: var(--color-primary) !important;
  border-color: var(--color-primary);
}
.gah-btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-accent) !important;
}

/* ----- Top bar ------------------------------------------ */
.gah-topbar {
  background: var(--color-primary);
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.gah-topbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.45rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.gah-topbar a {
  color: #ffffff;
  text-decoration: none;
}
.gah-topbar a:hover { color: var(--color-accent); }
.gah-topbar__phone svg { vertical-align: -3px; margin-right: 0.4em; }
.gah-topbar__links { display: flex; gap: 0.6rem; align-items: center; }
.gah-topbar__sep { color: #555; }

/* ----- Header / Nav ------------------------------------- */
.site-header {
  background: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border);
}
.main-navigation {
  background: transparent;
}
.main-navigation .main-nav ul li a {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary) !important;
  padding: 1.4rem 1.1rem;
}
.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li.current-menu-item > a {
  color: var(--color-accent-dark) !important;
  box-shadow: inset 0 -3px 0 var(--color-accent);
}
.main-navigation .main-nav ul ul {
  background: #ffffff;
  border-top: 2px solid var(--color-accent);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.main-navigation .main-nav ul ul li a {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 14px;
  padding: 0.75rem 1.1rem;
}
.main-navigation .main-nav ul ul li:hover > a {
  border-left: 3px solid var(--color-accent);
}

/* ----- Hero --------------------------------------------- */
.gah-hero {
  position: relative;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
}
.gah-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.55));
}
.gah-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 4rem 1.5rem;
}
.gah-hero h1 {
  color: #ffffff;
  font-size: 3rem;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}
.gah-hero p { font-size: 1.15rem; margin-bottom: 1.75rem; color: #f5f0eb; }

/* ----- Sections ----------------------------------------- */
.gah-section {
  padding: 4rem 1.25rem;
}
.gah-section__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.gah-section__heading {
  text-align: center;
  margin-bottom: 2.5rem;
}
.gah-section__heading h2 {
  display: inline-block;
  position: relative;
  padding-bottom: 0.6rem;
}
.gah-section__heading h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: var(--color-accent);
  margin: 0.6rem auto 0;
}

/* ----- Services grid ------------------------------------ */
.gah-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .gah-services { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .gah-services { grid-template-columns: 1fr; }
}
.gah-service-card {
  position: relative;
  display: block;
  overflow: hidden;
  height: 280px;
  border: 1px solid var(--color-border);
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.gah-service-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gah-service-card__label {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(26, 26, 26, 0.78);
  color: #ffffff;
  padding: 0.85rem 1rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.95rem;
  font-weight: 600;
}
.gah-service-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}
.gah-service-card:hover img { transform: scale(1.06); }
.gah-service-card:hover .gah-service-card__label {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* ----- About row ---------------------------------------- */
.gah-about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 800px) {
  .gah-about-row { grid-template-columns: 1fr; gap: 2rem; }
}
.gah-about-row img {
  width: 100%; height: auto; display: block;
}

/* ----- Auction highlights fallback grid ----------------- */
.gah-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.gah-lot-card {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.gah-lot-card img {
  width: 100%; height: 220px; object-fit: cover; margin-bottom: 0.75rem;
}
.gah-lot-card__title {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1rem;
  margin: 0 0 0.5rem;
  color: var(--color-primary);
  min-height: 3em;
}
.gah-lot-card__price {
  color: var(--color-accent-dark);
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: auto;
}

/* ----- Page header banner ------------------------------- */
.gah-page-header {
  background-size: cover;
  background-position: center;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #ffffff;
  text-align: center;
  margin-bottom: 2.5rem;
}
.gah-page-header::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.5);
}
.gah-page-header h1 {
  position: relative;
  color: #ffffff;
  font-size: 2.6rem;
  letter-spacing: 0.05em;
}

/* ----- Key Facts panel ---------------------------------- */
.gah-key-facts {
  border: 2px solid var(--color-accent);
  background: #fff;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  max-width: 600px;
}
.gah-key-facts h3 {
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1rem;
  color: var(--color-accent-dark);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.5rem;
}
.gah-key-facts dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.4rem 1rem;
  margin: 0;
}
.gah-key-facts dt { font-weight: 600; color: var(--color-primary); }
.gah-key-facts dd { margin: 0; color: var(--color-text-muted); }

/* ----- Two-column content ------------------------------- */
.gah-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 800px) {
  .gah-two-col { grid-template-columns: 1fr; }
}

/* ----- Footer ------------------------------------------- */
.site-footer .footer-widgets {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 3rem 1.25rem 2rem;
}
.site-footer .footer-widgets a {
  color: var(--color-footer-text);
  text-decoration: none;
}
.site-footer .footer-widgets a:hover { color: var(--color-accent); }
.site-footer .footer-widgets .widget-title,
.site-footer .footer-widgets h3 {
  color: #ffffff;
  font-family: 'EB Garamond', Georgia, serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #333;
}

.site-footer .site-info,
.gah-footer-bottom {
  background: var(--color-footer-bottom);
  color: var(--color-footer-text);
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
}
.gah-footer-bottom__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.gah-footer-bottom a {
  color: var(--color-footer-text);
  margin: 0 0.4em;
  text-decoration: none;
}
.gah-footer-bottom a:hover { color: var(--color-accent); }

/* ----- Footer columns table layout ---------------------- */
/* Targets both our .gah-footer-* wrappers AND GP's default
   widget_nav_menu / widget_custom_html structure so styling
   works regardless of which classes register_sidebar applied. */
.gah-footer-quicklinks ul,
.site-footer .footer-widgets .widget_nav_menu ul {
  list-style: none;
  margin: 0; padding: 0;
  columns: 2;
  gap: 1rem;
}
.gah-footer-quicklinks li,
.site-footer .footer-widgets .widget_nav_menu li { margin-bottom: 0.5rem; }

.gah-footer-hours dl,
.site-footer .footer-widgets .widget_custom_html dl {
  margin: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.3rem 1rem;
}
.gah-footer-hours dt,
.site-footer .footer-widgets .widget_custom_html dt { font-weight: 600; color: #ffffff; }
.gah-footer-hours dd,
.site-footer .footer-widgets .widget_custom_html dd { margin: 0; }

.gah-footer-contact p,
.site-footer .footer-widgets .widget_custom_html p { margin: 0 0 0.5rem; }
.gah-footer-contact strong,
.site-footer .footer-widgets .widget_custom_html strong { color: #ffffff; }

/* GeneratePress footer widget container layout fix — make
   sure the 3 columns render side-by-side on desktop. */
.site-footer .footer-widgets .footer-widgets-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 800px) {
  .site-footer .footer-widgets .footer-widgets-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ----- Legal page template ------------------------------ */
.gah-legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}
.gah-legal h2 { margin-top: 2.2rem; border-bottom: 1px solid var(--color-border); padding-bottom: 0.4rem; }
.gah-legal h3 { margin-top: 1.6rem; color: var(--color-accent-dark); }
.gah-legal ol li, .gah-legal ul li { margin-bottom: 0.4rem; }
.gah-legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}
.gah-legal th, .gah-legal td {
  border: 1px solid var(--color-border);
  padding: 0.5rem 0.75rem;
  text-align: left;
}

/* ----- Contact page ------------------------------------- */
.gah-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
}
@media (max-width: 800px) {
  .gah-contact-grid { grid-template-columns: 1fr; }
}
.gah-contact-info {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 1.5rem;
}
.gah-contact-info p { margin: 0 0 0.5rem; }

/* ----- Contact Form 7 styling --------------------------- */
.wpcf7 form p { margin-bottom: 1rem; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--color-border);
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
}
.wpcf7 input[type="submit"] {
  background: var(--color-accent);
  color: var(--color-primary);
  border: 2px solid var(--color-accent);
  padding: 0.85em 1.6em;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}
.wpcf7 input[type="submit"]:hover {
  background: var(--color-primary);
  color: var(--color-accent);
  border-color: var(--color-primary);
}

/* ----- Utility ------------------------------------------ */
.screen-reader-text { position: absolute; left: -9999px; }
.gah-text-center { text-align: center; }
.gah-mt-3 { margin-top: 1.5rem; }
.gah-mb-3 { margin-bottom: 1.5rem; }
