/*
Theme Name: Veluwe B&B Comfort
Theme URI: https://example.com/
Author: Music Roaster
Description: Rustig, verzorgd WordPress-thema voor een Bed & Breakfast op de Veluwe in Apeldoorn. Met aanpasbare teksten, foto's, slider, kalendercode-vak en instelbaar logoformaat.
Version: 1.1
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: veluwe-bnb-comfort
*/

:root{
  --bnb-green:#50634b;
  --bnb-green-dark:#384636;
  --bnb-sand:#f3eee5;
  --bnb-card:#ffffff;
  --bnb-text:#2f332f;
  --bnb-muted:#687066;
  --bnb-gold:#b59a6b;
  --bnb-radius:18px;
  --logo-desktop-width:220px;
  --logo-mobile-width:160px;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family: Georgia, "Times New Roman", serif;
  background:var(--bnb-sand);
  color:var(--bnb-text);
  font-size:18px;
  line-height:1.65;
}

a{color:var(--bnb-green-dark)}

.bnb-header{
  background:#fffdf8;
  border-bottom:1px solid rgba(80,99,75,.18);
  position:sticky;
  top:0;
  z-index:1000;
}

.admin-bar .bnb-header{top:32px}

.bnb-header-inner{
  max-width:1180px;
  margin:0 auto;
  padding:18px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.bnb-logo-wrap{
  display:flex;
  align-items:center;
  gap:16px;
  min-height:70px;
}

.bnb-logo-wrap .custom-logo{
  width:var(--logo-desktop-width);
  max-width:100%;
  height:auto;
  display:block;
}

.bnb-site-title{
  font-size:24px;
  font-weight:700;
  color:var(--bnb-green-dark);
  letter-spacing:.02em;
}

.bnb-nav{
  display:flex;
  gap:22px;
  flex-wrap:wrap;
  justify-content:flex-end;
  font-family:Arial, sans-serif;
  font-size:16px;
}

.bnb-nav a{
  text-decoration:none;
  color:var(--bnb-green-dark);
  font-weight:600;
}

.bnb-hero{
  position:relative;
  min-height:620px;
  overflow:hidden;
  background:#d8d1c2;
}

.bnb-slide{
  position:absolute;
  inset:0;
  opacity:0;
  background-size:cover;
  background-position:center;
  animation:bnbFade 18s infinite;
}

.bnb-slide:nth-child(1){animation-delay:0s}
.bnb-slide:nth-child(2){animation-delay:6s}
.bnb-slide:nth-child(3){animation-delay:12s}

@keyframes bnbFade{
  0%,30%{opacity:1}
  35%,100%{opacity:0}
}

.bnb-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(30,38,28,.68),rgba(30,38,28,.32),rgba(30,38,28,.1));
}

.bnb-hero-content{
  position:relative;
  z-index:2;
  max-width:1180px;
  margin:0 auto;
  padding:130px 24px;
  color:white;
}

.bnb-hero-box{
  max-width:650px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.32);
  backdrop-filter: blur(3px);
  padding:38px;
  border-radius:var(--bnb-radius);
}

.bnb-hero h1{
  margin:0 0 16px;
  font-size:clamp(38px,5vw,64px);
  line-height:1.08;
}

.bnb-hero p{
  font-size:22px;
  margin:0 0 28px;
}

.bnb-button{
  display:inline-block;
  background:var(--bnb-green);
  color:white;
  padding:14px 24px;
  border-radius:999px;
  text-decoration:none;
  font-family:Arial,sans-serif;
  font-weight:700;
  font-size:17px;
}

.bnb-button:hover{background:var(--bnb-green-dark);color:white}

.bnb-section{
  max-width:1180px;
  margin:0 auto;
  padding:72px 24px;
}

.bnb-section h2{
  font-size:38px;
  line-height:1.2;
  margin:0 0 18px;
  color:var(--bnb-green-dark);
}

.bnb-lead{
  max-width:820px;
  color:var(--bnb-muted);
  font-size:21px;
}

.bnb-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
  margin-top:34px;
}

.bnb-card{
  background:var(--bnb-card);
  border-radius:var(--bnb-radius);
  overflow:hidden;
  box-shadow:0 12px 32px rgba(56,70,54,.10);
  border:1px solid rgba(80,99,75,.12);
}

.bnb-card img{
  width:100%;
  height:230px;
  object-fit:cover;
  display:block;
}

.bnb-card-content{padding:26px}

.bnb-card h3{
  margin:0 0 10px;
  color:var(--bnb-green-dark);
  font-size:25px;
}

.bnb-two{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:34px;
  align-items:center;
}

.bnb-photo{
  border-radius:var(--bnb-radius);
  overflow:hidden;
  box-shadow:0 12px 32px rgba(56,70,54,.12);
}

.bnb-photo img{
  width:100%;
  display:block;
}

.bnb-calendar-box{
  background:#fffdf8;
  border:2px dashed rgba(80,99,75,.38);
  border-radius:var(--bnb-radius);
  padding:34px;
  min-height:260px;
  box-shadow:0 12px 32px rgba(56,70,54,.08);
}

.bnb-calendar-placeholder{
  padding:34px;
  border-radius:14px;
  background:#f8f4ec;
  color:#697066;
  font-family:Arial,sans-serif;
  text-align:center;
}

.bnb-footer{
  background:var(--bnb-green-dark);
  color:white;
  text-align:center;
  padding:46px 24px;
}

.bnb-footer a{color:white}

@media(max-width:800px){
  body{font-size:17px}
  .admin-bar .bnb-header{top:0}
  .bnb-header-inner{display:block;text-align:center}
  .bnb-logo-wrap{justify-content:center;min-height:55px}
  .bnb-logo-wrap .custom-logo{width:var(--logo-mobile-width)}
  .bnb-nav{justify-content:center;margin-top:14px}
  .bnb-hero{min-height:520px}
  .bnb-hero-content{padding:80px 18px}
  .bnb-hero-box{padding:26px}
  .bnb-grid,.bnb-two{grid-template-columns:1fr}
  .bnb-section{padding:50px 18px}
}
