/*
Theme Name: VillaWilla
Theme URI: https://villawilla.be
Author: Lara (Custom Build)
Description: Custom ACF Block theme voor VillaWilla.
Version: 1.6.3
Text Domain: villawilla
*/
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/fraunces-regular-400.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/fraunces-semibold-600.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/fraunces-italic-500.woff2") format("woff2");
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/worksans-regular-400.woff2") format("woff2");
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/worksans-semibold-600.woff2") format("woff2");
}
body {
  margin: 0;
  padding: 0;
  font-family: "Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: #f3efe6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  color: #333333;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Georgia", serif;
  font-weight: 600;
  color: #607a59;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 9vw, 3rem);
}

h2 {
  font-size: clamp(1.75rem, 7.5vw, 2.5rem);
}

h3 {
  font-size: 1.5rem;
}

.vw-accent {
  font-family: "Fraunces", "Georgia", serif;
  font-style: italic;
  font-weight: 500;
  color: #607a59;
}

a {
  color: #7c9c74;
  text-decoration: none;
  transition: all 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.alignfull {
  width: 100vw;
  max-width: 1000%;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.content-clip {
  overflow-x: hidden;
}

#main-content {
  min-height: 70vh;
  padding-bottom: 0;
}

/* Header & Navigatie */
body {
  padding-top: calc(120px + 2 * 1.75rem);
}

.site-header {
  background-color: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  padding: 1.75rem 0;
}
body.admin-bar .site-header {
  top: 32px;
}
@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}
.site-header {
  transition: padding 0.35s ease;
}
.site-header.is-scrolled {
  padding: 0.5rem 0;
}
.site-header .header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative; /* Voor mobiel menu positionering */
}
.site-header .logo {
  display: flex;
  align-items: center;
}
.site-header .logo-link {
  position: relative;
  display: block;
  height: 120px;
  transition: height 0.35s ease;
}
.site-header.is-scrolled .logo-link {
  height: 40px;
}
.site-header .logo-full, .site-header .logo-icon {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  transition: opacity 0.35s ease;
}
.site-header .logo-icon {
  opacity: 0;
}
.site-header.is-scrolled .logo-link.has-icon-logo .logo-full {
  opacity: 0;
}
.site-header.is-scrolled .logo-link.has-icon-logo .logo-icon {
  opacity: 1;
}
.site-header .logo-text {
  font-family: "Fraunces", "Georgia", serif;
  font-weight: 600;
  font-size: 2rem;
  color: #607a59;
}
.site-header .main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.site-header .main-nav a:not(.wp-block-button__link) {
  position: relative;
  color: #4a5568;
  font-size: 1.1rem;
  padding-bottom: 0.3rem;
}
.site-header .main-nav a:not(.wp-block-button__link)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #7c9c74;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.site-header .main-nav a:not(.wp-block-button__link):hover {
  color: #7c9c74;
}
.site-header .main-nav a:not(.wp-block-button__link):hover::after, .site-header .main-nav a:not(.wp-block-button__link).is-active::after {
  transform: scaleX(1);
}

/* Mobile Menu Toggle (Hamburger) */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 100;
}
.mobile-menu-toggle .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: #607a59;
  transition: all 0.3s ease-in-out;
}

/* Footer */
.site-footer {
  background-color: #607a59;
  color: #ffffff;
  padding: 4rem 0 2rem;
  margin-top: 0;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}
.site-footer h3 {
  color: #ffffff;
  margin-bottom: 1.5rem;
}
.site-footer p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
}
.site-footer a {
  color: #ffffff;
}
.site-footer a:hover {
  color: rgba(255, 255, 255, 0.7);
}
.site-footer .footer-social-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.site-footer .footer-social-row .wp-block-buttons {
  justify-content: flex-start;
}
.site-footer .footer-social-row .footer-instagram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  color: #ffffff;
  transition: color 0.3s ease;
}
.site-footer .footer-social-row .footer-instagram svg {
  width: 100%;
  height: 100%;
}
.site-footer .footer-social-row .footer-instagram:hover {
  color: rgba(255, 255, 255, 0.7);
}
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Gutenberg Core Blocks Reset & Styling */
.wp-block-image {
  margin: 2.5rem 0;
}

.wp-block-image img {
  border-radius: 1rem;
  max-width: 100%;
  height: auto;
}

.wp-block-heading {
  margin-top: 3rem;
  margin-bottom: 1.25rem;
}

#main-content > .wp-block-heading:first-child {
  margin-top: 0;
}

.has-text-align-center {
  text-align: center;
}

.wp-block-columns {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  gap: 2rem;
}

.wp-block-group:not(.alignfull) {
  margin: 2.5rem 0;
}

p {
  margin-bottom: 1.25rem;
}

.vw-calendly-inline {
  margin: 2.5rem 0;
}
.vw-calendly-inline__titel {
  text-align: center;
  margin-bottom: 1.5rem;
}
.vw-calendly-inline__placeholder {
  border: 2px dashed rgba(96, 122, 89, 0.3);
  border-radius: 1.25rem;
  padding: 3rem 2rem;
  text-align: center;
  background-color: rgba(124, 156, 116, 0.06);
}
.vw-calendly-inline__placeholder p {
  margin-bottom: 0;
  color: #607a59;
}
.vw-calendly-inline__editor-preview {
  border: 2px dashed rgba(96, 122, 89, 0.3);
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  text-align: center;
  background-color: rgba(124, 156, 116, 0.06);
}
.vw-calendly-inline__editor-preview-label {
  font-weight: 600;
  color: #607a59;
  margin-bottom: 0.5rem;
}
.vw-calendly-inline__editor-preview-url {
  font-family: monospace;
  font-size: 0.9rem;
  color: #333333;
  margin-bottom: 0.75rem;
  word-break: break-all;
}
.vw-calendly-inline__editor-preview-note {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0;
}

.wp-block-separator {
  border: none;
  border-top: 1px solid rgba(96, 122, 89, 0.25);
  margin: 3rem auto;
}

.is-style-accent.wp-block-quote {
  margin: 2.5rem 0;
  padding-left: 1.75rem;
  border-left: 4px solid #7c9c74;
}
.is-style-accent.wp-block-quote p {
  font-family: "Fraunces", "Georgia", serif;
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.5;
  color: #607a59;
  margin-bottom: 0.75rem;
}
.is-style-accent.wp-block-quote cite {
  display: block;
  font-family: "Work Sans", sans-serif;
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333333;
}

/* Buttons (standaard wp:button-markup, overal gebruikt: header, hero, kaarten, footer, content) */
.wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.25rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  background-color: #7c9c74;
  color: #ffffff;
}
.wp-block-button__link:hover {
  opacity: 0.9;
  text-decoration: none;
  color: #ffffff;
}

.is-style-light .wp-block-button__link {
  background-color: rgba(255, 255, 255, 0.9);
  color: #333333;
}
.is-style-light .wp-block-button__link:hover {
  background-color: #ffffff;
  opacity: 1;
  color: #333333;
}

.is-style-outline .wp-block-button__link {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  padding: calc(0.75rem - 2px) calc(1.5rem - 2px);
}
.is-style-outline .wp-block-button__link:hover {
  background-color: #ffffff;
  color: #607a59;
  opacity: 1;
}

/* Custom Block Styles voor Reviews (Gutenberg compatibel) */
.vw-reviews-section {
  position: relative;
  background-color: #7c9c74 !important;
  padding: 5rem 2rem;
  margin-top: 4rem;
}
.vw-reviews-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 48px;
  transform: translateY(-99%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0,32 C240,64 480,0 720,16 C960,32 1200,64 1440,32 L1440,60 L0,60 Z' fill='%23f3efe6'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  pointer-events: none;
}
.vw-reviews-section h2 {
  color: #ffffff !important;
  margin-bottom: 3rem;
}
.vw-reviews-section .wp-block-columns {
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.vw-review-card {
  background-color: rgba(255, 255, 255, 0.15) !important;
  padding: 2.5rem !important;
  border-radius: 1rem !important;
  display: flex;
  flex-direction: column;
}
.vw-review-card p {
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.vw-review-card p strong {
  color: #ffffff !important;
  font-weight: 600;
}
.vw-review-card p:last-child {
  margin-bottom: 0;
  margin-top: auto;
}
.vw-review-card .vw-stars {
  color: #fbbf24 !important;
  font-size: 1.5rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.vw-review-card .vw-stars::after {
  content: "Google";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23EA4335' d='M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z'/%3E%3Cpath fill='%234285F4' d='M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z'/%3E%3Cpath fill='%23FBBC05' d='M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z'/%3E%3Cpath fill='%2334A853' d='M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 16px 16px;
  padding-left: 22px;
  font-family: "Work Sans", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}

/* Hamburgermenu t/m 1024px */
@media (max-width: 1024px) {
  .mobile-menu-toggle {
    display: block;
  }
  .site-header .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    padding: 2rem 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }
  .site-header .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .site-header .main-nav a {
    margin: 0.5rem 0;
  }
  /* Hamburger Animatie */
  .mobile-menu-toggle.is-open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .mobile-menu-toggle.is-open .bar:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-toggle.is-open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}
/* Media Queries voor Mobiel */
@media (max-width: 768px) {
  /* Fixes voor andere secties */
  .footer-grid {
    text-align: center;
  }
  .vw-reviews-section {
    padding: 3rem 1rem;
  }
  .vw-review-card {
    padding: 1.5rem !important;
  }
}
