/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global links (everything except nav) */
a {
  color: #796019;
  text-decoration: none;
}

/* Nav links override */
nav a,
.nav-links li a {
  color: #4D4D4D;
}
address {
  font-style: normal;
}



/* Base Layout */
html, body {
  height: 100%;
  font-family: 'proxima-nova', sans-serif;
  display: flex;
  flex-direction: column;
  background-color: #F9F9F9;
}

/* Typography */
h1 { font-size: 38px; margin-bottom: 10px; }
h2 { font-size: 28px; }
h3 { font-size: 22px; margin: 20px 0 5px; }
h4 { font-size: 14px; }
h5 { font-size: 15px; margin-bottom: 2px; }
p  { font-size: 18px; margin-bottom: 10px; }
p2 { font-size: 15px; }
p3 { font-size: 24px; }

/* Lists */
.bullets {
  gap: 10px;
  font-size: 18px;
  margin: 0 0 20px 20px;
}
ul.special-list li {
  list-style-type: disc;
  margin-bottom: 5px;
}
ul.special-list li::marker {
  color: #796019;
  font-size: 15px;
}

/* Page Wrapper */
.page-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 22px 30px 16px;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(249, 249, 249, 0.85); /* #F9F9F9 at 85% */
  backdrop-filter: blur(2px);          /* adjust blur strength */
  -webkit-backdrop-filter: blur(2px);  /* Safari support */
   will-change: backdrop-filter;          /* hint to browser for smoother rendering */
}
.nav-left img { height: 28px; }
.nav-right {
  display: flex;
  align-items: flex-end;
  gap: 20px;
}
.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  align-items: flex-end;
  flex-wrap: wrap;
}
.nav-links li a {
  font-size: 18px;
  position: relative;
  text-decoration: none;
  color: inherit;
  display: inline-block;
  white-space: nowrap; /* prevent internal breaks */
  flex: 0 0 auto;     /* won’t shrink below its content */
}
.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #796019;
  transition: width 0.3s ease;
}
.nav-links li a:hover::after { width: 100%; }

/* Banner & Columns */
.banner {
  flex: 1;
  display: flex;
  height: auto;
  margin: 0 30px;
  gap: 20px;
}
.column {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 10px;
}
.left  { background-image: url('links/bg-left.jpg'); }
.right { background-image: url('links/bg-right.jpg'); }

/* Content Box */
.content-box {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  padding: 18px 30px 30px;
  text-align: center;
  max-width: 80%;
  border-radius: 10px;
}
.content-box h1 { margin-bottom: 5px; }
.content-box p  { margin-bottom: 20px; }

/* Buttons */
.buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;   /* allow whole buttons to wrap in narrow containers */
}
.buttons--left   { justify-content: flex-start; margin-top: 30px; }
.buttons--center { justify-content: center; }
.buttons a {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap; /* keep text on one line */
  border-radius: 7px;
}
.buttons .outlined {
  background: transparent;
  color: black;
  border: 2px solid black;
  cursor: pointer;
}
.buttons .outlined2 {
  background: transparent;
  color: white;
  border: 2px solid #796019;
  cursor: pointer;
}
.buttons .filled {
  background: #796019;
  color: white;
  border: none;
  cursor: pointer;
}

/* Footer */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px 10px;
  position: sticky;
  bottom: 0;
  z-index: 999;
  background-color: #F9F9F9;
}
.footer-left    { text-align: left; }
.footer-right img { height: 67px; }

/* Main Section (Desktop) */
.main-section {
  display: flex;
  flex: 1 0 auto;
  height: calc(100vh - 214px); /* nav + footer each 107px */
  margin: 0 30px;
  min-height: 0;
  gap: 20px;
}
.left-pane2 {
  flex: 1;
  background-color: white;
  padding: 40px 40px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: url('links/scissors.jpg') center center/cover no-repeat;
  color: white;
}
.left-pane3 {
  flex: 1;
  background-color: white;
  padding: 40px 40px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: url('links/bg-event.jpg') center center/cover no-repeat;
  color: white;
}
.left-content2 { max-width: 400px; }
.right-pane2 {
  flex: 2;
 background-color: white;
  min-height: 290px;
  border-radius: 0px 10px 10px 0px;
}
.right-pane3 {
  flex: 2;
  background: url('links/groomroom.jpg') top right/cover no-repeat;
  min-height: 290px;
}
.right-pane4 {
  flex: 2;
  background: url('links/richard.jpg') top right/cover no-repeat;
  min-height: 400px;
}
.groom-room { /*max-width: 276px;*/ width: 100%; margin-bottom: 20px; }
.haircuts    { /*max-width: 360px;*/ width: 100%; margin-bottom: 20px; }
.portrait    { float: left; max-width: 400px; }

/* Booking Frame */
.booking-frame {
  flex: 1;
  border: none;
  width: 100%;
  height: 100%;
}

/* Intro Section */
main.intro {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f9f9f9;
  padding: 30px;
}
.intro-content {
  display: flex;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
}
.intro-image img {
  max-width: 500px;
  min-width: 320px;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}
.intro-text {
  display: flex;
  flex-direction: column;
  max-width: 600px;
}
.richard { max-width: 318px; margin-bottom: 20px; }
.contact { max-width: 336px; margin-bottom: 20px; }





/* override iOS/Android default phone-link color */
footer a[href^="tel:"] {
  color: #796019 !important;
  text-decoration: none; /* if you also want to remove the underline */
}



/* make the image‐columns container only as wide as its contents */
.image-columns {
  display: flex;
  flex: 0 0 auto;    /* don’t grow or shrink—hug content width */
  height: 100%;      /* match the .main-section height */
  padding: 0px;
}

/* each image column also hugs its own content */
.image-columns .image-col {
  flex: 0 0 auto;    /* don’t grow or shrink */
  height: 100%;      /* fill the container’s height */
  margin-left: 1rem; /* gutter between the two image-cols */
  border-radius: 10px;
}

/* remove left‐margin on the very first image-col */
.image-columns .image-col:first-child {
  margin-left: 0;
}

/* force each img to fill column height and scale proportionally */
.image-columns .image-col img {
  display: block;       /* remove inline whitespace */
  height: 100%;         /* fill its column’s height */
  width: auto;          /* scale width to maintain aspect */
  object-fit: contain;  /* letterbox if aspect ratios differ */
  border-radius: 10px;
}


@media (max-width: 1500px) {
  /* hide the right-hand image column */
  .image-columns .image-col:nth-child(2) {
    display: none;
  }
}




/* Medium screens & up to tablet */
@media (max-width: 1024px) {
  nav {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  .nav-right {
    flex-direction: column;
    align-items: center;
  }
  .banner {
    flex-direction: column;
  }
  .column {
    height: auto;
    padding: 40px 0;
    margin-bottom: 4px;
  }
  footer {
    position: static;
  }
  .main-section {
    flex-direction: column;
    height: auto;
    gap: 20px;
    padding: 20px;
    margin: 0;
  }
  .left-pane2, .right-pane2 {
    flex: none;
    width: 100%;
    min-height: 290px;
    padding: 40px;
  }
  /* Intro stacks vertically */
  .intro-content {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }
  .intro-image img {
    max-width: 100%;
    min-width: auto;
  }

  .intro-text {
    max-width: 100%;
  }
  @media (max-width: 1024px) {
  /* stop forcing full‐height on the container too (optional) */
  .image-columns {
    height: auto;
  }

  /* let each column grow only to its content */
  .image-columns .image-col {
    height: auto;
  }

  /* ensure images size themselves naturally */
  .image-columns .image-col img {
    height: auto;
  }
}

  /* stack the images vertically */
  .image-columns {
    flex-direction: column;
    align-items: flex-start; /* or center, as you prefer */
  }

  /* make each column full-width */
  .image-columns .image-col {
    width: 100%;
    margin: 0 0 1rem 0;       /* optional bottom gutter */
  }

  /* force images to shrink to their container */
  .image-columns .image-col img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

/* Small phones (<514px) */
@media (max-width: 514px) {
  .banner,
  .main-section {
    margin: 0;
    padding: 4px;
    gap: 5px;
  }
  .buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .buttons a {
    width: 100%;
    text-align: center;
  }
  nav {
    padding: 22px 20px 16px;
  }
  footer{
    padding: 4px;
  }

}

