/* ==========================================================================
   Burke Brands — static rebuild
   Brand colors and type pulled from the original WordPress theme's style.css
   ========================================================================== */

:root {
  --color-primary: #9b7154;
  --color-primary-hover: #825f47;
  --color-secondary: #280700;
  --color-secondary-hover: #150300;
  --text: #212529;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-light-2: #e9ecef;
  --border: #dee2e6;
  --font-body: 'Jost', 'Futura', 'Century Gothic', sans-serif;
  --font-heading: 'Poppins', 'Futura', sans-serif;
  --header-height: 90px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Keep fixed-nav from covering the top of a section when jumping to it via anchor link */
section[id] {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--text);
  margin-top: 0;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 2.1rem; margin-bottom: 1.25rem; }
h3 { font-size: 1.6rem; }

p { margin: 0 0 1rem; }

a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-hover); }

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

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

.container.narrow {
  max-width: 760px;
}

.center { text-align: center; }

.section {
  padding: 4.5rem 0;
  background-size: cover;
  background-position: center;
}

.section-primary   { background-color: #ffffff; }
.section-secondary { background-color: var(--bg-light-2); }
.section-tertiary  { background-color: var(--bg-light); }

/* Section background textures (match the original theme) */
#company-mission {
  background-image: url("../img/coffee-bg.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.mission-panel {
  background: rgba(255, 255, 255, 0.88);
  border-radius: 0.5rem;
  padding: 2rem 2.5rem;
}
#company-goals {
  background-image: url("../img/brown-texture-bg.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
#company-offerings {
  background-color: var(--color-primary);
  background-image: url("../img/coffee-plant-bg.png");
  background-repeat: no-repeat;
  background-position: center 50px;
  background-size: auto;
  color: #fff;
}
#company-offerings h2 { color: #fff; }
#company-goals h2 { color: #fff; }
#company-brands {
  background-image: url("../img/white-texture-bg.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
#company-videos, #company-photos {
  background-color: #ffffff;
  background-image: url("../img/coffee-plant-bg-2.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;
}
#company-contact {
  background-color: var(--color-primary);
  background-image: url("../img/coffe-plant-bg-3.png");
  background-repeat: no-repeat;
  background-position: center 50px;
  background-size: auto;
  color: #fff;
}
#company-contact h2 { color: #fff; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border-radius: 0.25rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.1rem;
  transition: background-color .15s ease-in-out;
}
.btn-lg { padding: 0.8rem 2rem; border-radius: 0.3rem; font-size: 1.2rem; }
.btn-primary { background: var(--color-primary); color: var(--text-light); }
.btn-primary:hover { background: var(--color-primary-hover); color: var(--text-light); }
.btn-secondary { background: var(--color-secondary); color: var(--text-light); }
.btn-secondary:hover { background: var(--color-secondary-hover); color: var(--text-light); }
.btn:disabled { opacity: .6; cursor: not-allowed; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header { position: relative; }

.main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(20,16,14,.55);
  transition: background-color .4s ease, box-shadow .4s ease;
}

.main-nav.scrolled {
  background: rgba(20,16,14,.92);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.nav-inner {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand .logo { height: 48px; width: auto; }

.nav-menu {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .02em;
  white-space: nowrap;
}
.nav-menu a:hover { color: var(--color-primary); }

.navbar-toggler {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.navbar-toggler span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}

/* Hero */
#home-hero {
  display: flex;
  min-height: 650px;
  background: rgb(28, 26, 28);
  margin-top: calc(-1 * var(--header-height));
}

#home-hero .header-col-left {
  flex-grow: 3;
  background: url("../img/header-img-left.jpg") center center / cover no-repeat;
}

#home-hero .header-col-right {
  display: flex;
  justify-content: center;
  flex-grow: 1;
  padding-top: calc(var(--header-height) + 100px);
  background: url("../img/header-img-right.jpg") right top / cover no-repeat;
}

#home-hero .header-caption {
  width: 300px;
  max-width: 100%;
  align-self: center;
  padding: 0 1.5rem;
}

#home-hero .header-caption h1 {
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 1rem;
}

#home-hero .header-caption p {
  color: #fff;
  font-size: 1.05rem;
}

/* Company photos strip */
#company-photos .company-photos-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.company-photo { overflow: hidden; }
.company-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ==========================================================================
   Mission
   ========================================================================== */
#company-mission p { font-size: 1.2rem; }

/* ==========================================================================
   Goals
   ========================================================================== */
.goals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.goal-item {
  text-align: center;
  padding: 1.5rem 1rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-repeat: no-repeat;
  background-position: center 10px;
  background-size: 170px 170px;
  min-height: 300px;
}

.goal-num {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 0;
  margin-top: 37px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.goal-item p { margin: 70px 0 0; font-size: .95rem; color: #fff; }

/* ==========================================================================
   Offerings
   ========================================================================== */
.offerings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.offerings-grid ul { margin: 0; padding-left: 1.2rem; }
.offerings-grid li { margin-bottom: .6rem; color: #fff; }

/* ==========================================================================
   Brands
   ========================================================================== */
.brands-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 3rem;
  align-items: center;
}
.brands-text { text-align: center; }
.brands-text .lead { font-size: 1.15rem; }

@media (max-width: 767px) {
  .brands-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Don Pablo Studios
   ========================================================================== */
.studios-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.studio-card {
  flex: 1 1 240px;
  max-width: 260px;
  text-align: center;
}

.studio-photo {
  overflow: hidden;
  border-radius: 0.3rem;
  margin-bottom: 1rem;
}

.studio-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.studio-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.studio-card p { font-size: 0.95rem; }

.studios-note {
  margin-top: 2.5rem;
  font-style: italic;
  color: var(--text);
}
.studios-note a { color: var(--color-primary); font-style: normal; font-weight: 600; }
.studios-note a:hover { color: var(--color-primary-hover); }

.studios-more { margin-top: 1.5rem; }

/* ==========================================================================
   Videos
   ========================================================================== */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 2rem;
}

.videos-more { margin-top: 2.5rem; }

.video-thumb {
  position: relative;
  height: 220px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.video-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
}
.video-thumb p {
  position: relative;
  z-index: 1;
  color: #fff;
  font-weight: 600;
  padding: 0 1rem;
  margin-bottom: .75rem;
}
.play-btn {
  position: relative;
  z-index: 1;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 60px;
}
.play-btn img { width: 100%; }

@media (max-width: 991px) {
  .videos-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Footer contact info
   ========================================================================== */
.footer-employee-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.employee h6 { margin-bottom: .2rem; font-size: 1.05rem; color: #fff; }
.employee .title { color: rgba(255,255,255,.65); margin-bottom: .3rem; font-size: .95rem; }

@media (max-width: 767px) {
  .footer-employee-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Contact form
   ========================================================================== */
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.contact-form .form-row.center { display: block; text-align: center; }
.form-group.full { grid-column: 1 / -1; }
.hidden-field { display: none !important; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: .65rem .2rem;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,.7);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  background: transparent;
  color: #fff;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,.75); }
.contact-form textarea { grid-column: 1 / -1; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #fff;
}

.form-note {
  text-align: center;
  border-radius: .25rem;
  padding: .75rem 1rem;
  margin-top: 1.25rem;
  font-size: .95rem;
}
.form-note.success {
  color: #2f5d3a;
  background: #e8f5ea;
  border: 1px solid #b9ddc1;
}
.form-note.error {
  color: #8a6d3b;
  background: #fcf3e3;
  border: 1px solid #f0d9a6;
}

@media (max-width: 767px) {
  .contact-form .form-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--color-secondary);
  color: #fff;
  padding: 3rem 0 0;
  font-size: .95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.footer-heading {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-col p { color: rgba(255,255,255,.85); }
.footer-col a { color: var(--color-primary); }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
}

.footer-bottom a {
  color: var(--color-primary);
}
.footer-bottom a:hover { color: #fff; }
.footer-bottom-sep { margin: 0 0.5rem; opacity: 0.6; }

/* ==========================================================================
   Legal pages (Privacy Policy, etc.)
   ========================================================================== */
.legal-page {
  padding-top: calc(var(--header-height) + 3rem);
}
.legal-page h1 { margin-bottom: 0.25rem; }
.legal-page .legal-updated {
  color: #6c757d;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}
.legal-page h2 {
  font-size: 1.3rem;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
}
.legal-page p { margin-bottom: 1rem; line-height: 1.7; }
.legal-page a { color: var(--color-primary); }
.legal-page a:hover { color: var(--color-primary-hover); }

@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ==========================================================================
   Video modal
   ========================================================================== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}
.video-modal.open { display: flex; }
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.8);
}
.video-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(900px, 92vw);
  background: #000;
}
.video-modal-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.video-modal-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-modal-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

/* ==========================================================================
   Mobile nav
   ========================================================================== */
@media (max-width: 991px) {
  .navbar-toggler { display: flex; }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    right: 0;
    flex-direction: column;
    background: var(--color-secondary);
    width: 260px;
    padding: 1.5rem;
    gap: 1.1rem;
    transform: translateX(100%);
    transition: transform .25s ease;
    height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }
  .nav-menu.open { transform: translateX(0); }

  #home-hero { flex-direction: column; min-height: 0; }
  #home-hero .header-col-left { height: 280px; }
  #home-hero .header-col-right { padding: 2rem 0; }
  #home-hero .header-caption { text-align: center; margin: 0 auto; }

  #company-photos .company-photos-row { grid-template-columns: repeat(2, 1fr); }

  .goals-grid { grid-template-columns: repeat(2, 1fr); }
  .offerings-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }
}
