/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  scroll-padding-top: 80px;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  /*font-family: 'Segoe UI', sans-serif;*/
  background: #f3ece1;

  /*background-image: url("/img/gradient.jpg");*/
  /*background-repeat: no-repeat;*/
  /*background-size: cover;*/
  /*background-attachment: fixed;*/

  color: #333;
}
header {
  background-image: url("/img/49682043_9281972.jpg");
/*radial-gradient(transparent 1px, rgba(0, 0, 0, 0.5)),url("/img/49682043_9281972.jpg");*/
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: rgba(0, 0, 0, 0.4);
  height: 35vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #333;
  text-align: center;
  padding: 2rem;
  position: relative;
  font-family: Garamond, serif;
}

header h1 {
  z-index: 1;
  font-size: 3rem;
  margin: 0;
  font-stretch: normal;
}
header p {
  z-index: 1;
  font-size: 1.2rem;
  max-width: 700px;
}
header a {
  z-index: 1;
  margin-top: 1.5rem;
  padding: 0.8rem 1.5rem;
  background: #fff;
  color: #333;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}
.menu {
  position: sticky;
  top: 0;
  background: #4a5c40;
  padding: 1rem 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  width: 100%;
}

.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.menu a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
section {
  display: flex;
  justify-content: space-between;
  margin: 3%;
  flex-wrap: wrap;
  border-radius: 15px;
  background: #ffffff;
  padding: 1rem;
}
article {
  horiz-align: center;
  /*margin: 1rem;*/
  max-width: 25%;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

#me{
  /*overflow: clip;*/
  display: grid;
  grid-column-gap: 2rem;
  grid-template-columns: 3fr 1fr;
  grid-template-rows: auto;
  grid-template-areas: "article img";
}
@media screen and (max-width: 800px) {
  #me {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "article"
      "img";
  }

  #me img {
    width: 100%;
    height: 100%;
    /*min-width: 350px;*/
    border-radius: 5px;
    object-fit: cover;
  }
  header h1{
    font-size: 2.5rem;
    font-stretch: extra-condensed;
  }
}

#me article{

  vertical-align: center;
  min-width: 100%;
  /*min-width: 350px;*/
  padding-left: 1rem;
  margin-bottom: 0;
}

#me p, #me li{
  width: 90%;
}

#me img {
  horiz-align: right;
  /*min-width: 350px;*/
  min-width: 100%;
  height: 100%;
  border-radius: 5px;

  object-fit: cover;
}

h2{
  font-size: 2rem;
}

h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}

.BookBtn{
  background-color: #4a5c40;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
}

.grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  width: 100%;
}

.button-card {
  position: relative;
  /*aspect-ratio: 2 / 1;*/
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
  /*transition: transform 0.3s ease, box-shadow 0.3s ease;*/
  flex: 1 1 180px;
  transition: all 0.4s ease;
  height:150px;
  overflow: hidden;
  padding: 1rem;
}

.button-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.button-card.active {
  flex: 2 1 180px; /* Grows wider */
  outline: 3px solid #444;
}

.button-card .arrow {
  display: inline-block;
  vertical-align: bottom;
  /*margin-top: 5px;*/
  font-size: 2rem;
  transition: transform 0.3s ease;
}

.button-card.active .arrow{
  transform: rotate(180deg); /* ▲ */
}

.overlay {
  background: rgba(0, 0, 0, 0.25);
  position: absolute;
  inset: 0;
  z-index: 1;
}

.content {
  z-index: 2;
}

.title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 0.3rem;
}

.subtitle {
  font-size: 1rem;
  opacity: 0.85;
}

/* Earthy backgrounds */
.clay { background-color: #b36a5e; color: white;}
.sand { background-color: #d6b894; color: #2d2d2d; }
.sage { background-color: #8e9a85; color: white;}
.stone { background-color: #7c7877; color: white;}
.terracotta { background-color: #c87f65; color: white;}
.moss { background-color: #a1b198; color: #2d2d2d; }
.ashbrown { background-color: #6d564d; color: white;}

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

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

.info-box {
  /*padding-left: 2rem;*/
  border-radius: 10px;
  align-items: stretch;
  flex-wrap: nowrap;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  display: none;
  animation: fadeIn 0.4s ease forwards;
  overflow: hidden;
  width: 100%;
}

.info-box.active {
  display: flex;
}

.info-box div{
  margin: 2rem;
}
.info-box img{
  border-radius: 0;
  margin-left: 2rem;
}

.price {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #fff4f0;
  font-weight: 500;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

table#appointment{
  width: 100%;
  border-collapse: collapse;
  font-family: sans-serif;
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.locatie{
  padding-left: 1rem;
}

@media (max-width: 768px) {
  table#appointment thead {
    display: none;
  }

  table#appointment tbody,
  table#appointment tr,
  table#appointment td {
    display: block;
    /*width: 100%;*/
  }
  .locatie{
    padding-left: 0;
  }
  table#appointment tr {
    margin-bottom: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1rem;
    background: #fdfdfd;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  }

  table#appointment td {
    text-align: left !important;
    max-width: 80%;
    padding: 0.4rem 0;
  }
  table#appointment td:before {
    content: attr(data-label);
    font-weight: bold;
    color: #555;
    display: block;
    margin-bottom: 0.2rem;
  }


  table#appointment{

    /*border-collapse: collapse;*/
    /*font-family: sans-serif;*/
    background-color: white;
    border-radius: 10px;
    /*overflow: hidden;*/
    box-shadow: none;
  }
}

.tag {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.15rem 0.5rem;
  background-color: #d9cfc2;
  color: #4a3c2f;
  font-size: 0.75rem;
  border-radius: 4px;
}

footer{
  display:grid;
  gap: 1rem;
  justify-content: center;
  background: #4a5c40;
  color: white;
  margin: 0;
  padding: 1rem;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-template-areas:
    "links contact"
    "p p";
}

footer a{
  color: white;
  align-content: center;
  width: fit-content;
  margin-right: 5px;
  text-decoration: none;
}

footer div{
  text-align: center;
  min-width: 100%;
  margin-bottom: 1rem;
}
footer p{
  margin: 0;
  min-width: 100%;
  grid-area: p;
}

footer a:hover {
  transition: color 0.3s;
  color: #7c7877; /* terracotta hover */
}

@media screen and (max-width: 800px) {
  footer{
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-areas:
    "links"
    "contact"
    "p";
  }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

