/*
Theme Name: Jelfra de Toren
Theme URI: https://jelfradetoren.nl
Author: ChatGPT
Description: Luxe one-page WordPress thema voor Jelfra de Toren TopSlijter in Alphen aan den Rijn.
Version: 1.0.0
License: GPLv2 or later
Text Domain: jelfra-de-toren
*/

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-pale: #F5E6C0;
  --deep: #0D0A07;
  --wine: #3B0A12;
  --charcoal: #1A1410;
  --cream: #F7F0E6;
  --text-muted: #9A8A7A;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--deep);
  color: var(--cream);
  overflow-x: hidden;
  cursor: none;
}

#cursor {
  position: fixed; width: 12px; height: 12px;
  border: 1.5px solid var(--gold); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, background 0.2s;
}
#cursor-follower {
  position: fixed; width: 36px; height: 36px;
  border: 1px solid rgba(201,168,76,0.3); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: left 0.12s ease, top 0.12s ease;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--deep); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 24px 60px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.4s, padding 0.4s;
}
nav.scrolled {
  background: rgba(13,10,7,0.96);
  backdrop-filter: blur(12px);
  padding: 16px 60px;
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo img { height: 48px; width: auto; filter: brightness(1.1); }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: 2.5px;
  color: var(--gold-pale); text-decoration: none; text-transform: uppercase;
  position: relative; padding-bottom: 4px; transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--gold); transition: width 0.35s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-family: 'Cinzel', serif; font-size: 10px; letter-spacing: 2.5px;
  color: var(--deep); background: var(--gold); padding: 11px 26px; text-decoration: none;
  text-transform: uppercase; transition: background 0.3s, transform 0.2s;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://jelfradetoren.nl/wp-content/uploads/2026/04/jelfra-aang.jpg');
  background-size: cover; background-position: center; filter: brightness(0.35);
  transform: scale(1.05); animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1.12); } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(13,10,7,0.2) 0%, rgba(59,10,18,0.15) 40%, rgba(13,10,7,0.85) 100%); }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 860px; padding: 0 32px; }
.hero-eyebrow { font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: 5px; color: var(--gold); text-transform: uppercase; margin-bottom: 28px; opacity: 0; transform: translateY(20px); animation: fadeUp 0.9s ease 0.3s forwards; }
.hero-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(56px, 9vw, 110px); font-weight: 300; line-height: 0.95; color: var(--cream); letter-spacing: -1px; opacity: 0; transform: translateY(30px); animation: fadeUp 1s ease 0.6s forwards; }
.hero-title em { font-style: italic; color: var(--gold); display: block; }
.hero-subtitle { font-family: 'Cormorant Garamond', serif; font-size: clamp(16px, 2.2vw, 22px); font-weight: 300; font-style: italic; color: rgba(247,240,230,0.7); margin-top: 28px; line-height: 1.7; opacity: 0; transform: translateY(20px); animation: fadeUp 0.9s ease 0.9s forwards; }
.hero-buttons { margin-top: 52px; display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; opacity: 0; transform: translateY(20px); animation: fadeUp 0.9s ease 1.2s forwards; }
.btn-primary, .btn-secondary { font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; padding: 18px 44px; text-decoration: none; cursor: pointer; transition: all 0.25s; }
.btn-primary { color: var(--deep); background: var(--gold); border: none; box-shadow: 0 8px 32px rgba(201,168,76,0.25); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201,168,76,0.4); }
.btn-secondary { color: var(--gold); background: transparent; border: 1px solid rgba(201,168,76,0.5); }
.btn-secondary:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-2px); }
.hero-scroll { position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%); z-index: 2; opacity: 0; animation: fadeIn 1s ease 2s forwards; }
.hero-scroll span { display: block; font-family: 'Cinzel', serif; font-size: 9px; letter-spacing: 3px; color: var(--gold); text-transform: uppercase; text-align: center; margin-bottom: 12px; }
.scroll-line { width: 1px; height: 60px; background: linear-gradient(to bottom, var(--gold), transparent); margin: 0 auto; animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100% { opacity: 0.4; transform: scaleY(1); } 50% { opacity: 1; transform: scaleY(1.1); } }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }
section { padding: 120px 60px; }
.section-eyebrow { font-family: 'Cinzel', serif; font-size: 10px; letter-spacing: 5px; color: var(--gold); text-transform: uppercase; margin-bottom: 20px; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(38px, 5vw, 64px); font-weight: 300; line-height: 1.1; color: var(--cream); }
.section-title em { font-style: italic; color: var(--gold); }
.about { background: var(--charcoal); display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 120px 80px; }
.about-image { position: relative; overflow: hidden; }
.about-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; transition: transform 0.8s ease; }
.about-image:hover img { transform: scale(1.04); }
.about-image::before { content: ''; position: absolute; top: -20px; left: -20px; right: 20px; bottom: 20px; border: 1px solid rgba(201,168,76,0.25); z-index: 1; pointer-events: none; }
.about-text .section-title { margin-bottom: 28px; }
.about-text p { font-size: 16px; line-height: 1.9; color: rgba(247,240,230,0.7); margin-bottom: 20px; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; border-top: 1px solid rgba(201,168,76,0.2); padding-top: 40px; }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 48px; font-weight: 300; color: var(--gold); line-height: 1; }
.stat-label { font-family: 'Cinzel', serif; font-size: 9px; letter-spacing: 2.5px; color: var(--text-muted); text-transform: uppercase; margin-top: 8px; }
.categories { background: var(--deep); text-align: center; }
.categories-header { margin-bottom: 72px; }
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.cat-card { position: relative; overflow: hidden; aspect-ratio: 2/3; cursor: pointer; }
.cat-card-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.7s ease; filter: brightness(0.45) saturate(0.7); }
.cat-card:hover .cat-card-bg { transform: scale(1.08); filter: brightness(0.35) saturate(0.5); }
.cat-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,10,7,0.95) 0%, transparent 60%); }
.cat-card-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 40px 28px; transform: translateY(8px); transition: transform 0.4s ease; }
.cat-card:hover .cat-card-content { transform: translateY(0); }
.cat-icon { font-size: 28px; margin-bottom: 16px; display: block; }
.cat-name { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 300; color: var(--cream); display: block; margin-bottom: 8px; }
.cat-sub { font-family: 'Cinzel', serif; font-size: 9px; letter-spacing: 2.5px; color: var(--gold); text-transform: uppercase; display: block; opacity: 0; transform: translateY(8px); transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s; }
.cat-card:hover .cat-sub { opacity: 1; transform: translateY(0); }
.featured { background: var(--wine); position: relative; overflow: hidden; padding: 140px 80px; }
.featured::before { content: 'JELFRA'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-family: 'Cinzel', serif; font-size: 220px; font-weight: 700; color: rgba(255,255,255,0.025); white-space: nowrap; pointer-events: none; letter-spacing: 20px; }
.featured-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.featured-label { display: inline-block; font-family: 'Cinzel', serif; font-size: 9px; letter-spacing: 4px; color: var(--deep); background: var(--gold); padding: 8px 20px; text-transform: uppercase; margin-bottom: 32px; }
.featured-product-name { font-family: 'Cormorant Garamond', serif; font-size: clamp(48px, 5vw, 72px); font-weight: 300; color: var(--cream); line-height: 1; margin-bottom: 12px; }
.featured-product-name em { font-style: italic; color: var(--gold-pale); display: block; }
.featured-desc { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 20px; color: rgba(247,240,230,0.6); line-height: 1.8; margin: 28px 0 40px; border-left: 2px solid var(--gold); padding-left: 24px; }
.tasting-notes { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-top: 40px; }
.note { text-align: center; padding: 20px 12px; border: 1px solid rgba(201,168,76,0.2); transition: border-color 0.3s, background 0.3s; }
.note:hover { border-color: var(--gold); background: rgba(201,168,76,0.05); }
.note-icon { font-size: 22px; display: block; margin-bottom: 8px; }
.note-label { font-family: 'Cinzel', serif; font-size: 8px; letter-spacing: 2px; color: var(--gold); text-transform: uppercase; }
.note-text { font-family: 'Cormorant Garamond', serif; font-size: 15px; color: rgba(247,240,230,0.7); margin-top: 4px; }
.featured-image-side { display: flex; align-items: center; justify-content: center; position: relative; }
.bottle-glow { position: absolute; width: 200px; height: 400px; background: radial-gradient(ellipse, rgba(201,168,76,0.15) 0%, transparent 70%); border-radius: 50%; animation: glowPulse 3s ease-in-out infinite; }
@keyframes glowPulse { 0%,100% { opacity: 0.5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.1); } }
.bottle-placeholder { position: relative; z-index: 2; font-family: 'Cormorant Garamond', serif; font-size: 160px; text-align: center; filter: drop-shadow(0 0 40px rgba(201,168,76,0.3)); }
.reviews { background: var(--charcoal); text-align: center; }
.reviews-header { margin-bottom: 64px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; }
.review-card { padding: 40px 32px; border: 1px solid rgba(201,168,76,0.12); background: rgba(255,255,255,0.015); position: relative; overflow: hidden; transition: border-color 0.35s, transform 0.35s; }
.review-card::before { content: '\201C'; position: absolute; top: 12px; right: 24px; font-family: 'Cormorant Garamond', serif; font-size: 100px; line-height: 1; color: rgba(201,168,76,0.08); pointer-events: none; }
.review-card:hover { border-color: rgba(201,168,76,0.35); transform: translateY(-4px); }
.stars { color: var(--gold); font-size: 13px; letter-spacing: 2px; margin-bottom: 16px; }
.review-text { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-style: italic; line-height: 1.75; color: rgba(247,240,230,0.8); margin-bottom: 24px; }
.reviewer { font-family: 'Cinzel', serif; font-size: 10px; letter-spacing: 2px; color: var(--gold); text-transform: uppercase; }
.review-time { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.rating-summary { margin: 72px auto 0; display: flex; align-items: center; justify-content: center; gap: 40px; padding: 48px; border: 1px solid rgba(201,168,76,0.2); max-width: 600px; }
.big-rating { font-family: 'Cormorant Garamond', serif; font-size: 80px; font-weight: 300; color: var(--gold); line-height: 1; }
.rating-info { text-align: left; }
.rating-stars { font-size: 22px; color: var(--gold); letter-spacing: 4px; }
.rating-count { font-size: 13px; color: var(--text-muted); margin-top: 6px; }
.info-section { background: var(--deep); display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.info-block { padding: 100px 80px; border-right: 1px solid rgba(201,168,76,0.12); }
.info-block:last-child { border-right: none; }
.hours-table { width: 100%; margin-top: 40px; }
.hours-table tr { border-bottom: 1px solid rgba(201,168,76,0.08); transition: background 0.2s; }
.hours-table tr:hover { background: rgba(201,168,76,0.04); }
.hours-table td { padding: 14px 0; font-size: 15px; color: rgba(247,240,230,0.75); }
.hours-table td:last-child { text-align: right; color: var(--gold-pale); }
.hours-table tr.today td { color: var(--cream); }
.hours-table tr.today td:last-child { color: var(--gold); font-weight: 400; }
.contact-items { margin-top: 40px; }
.contact-item { display: flex; align-items: flex-start; gap: 20px; padding: 24px 0; border-bottom: 1px solid rgba(201,168,76,0.08); transition: background 0.2s; }
.contact-item:hover { background: rgba(201,168,76,0.03); }
.contact-icon { width: 44px; height: 44px; flex-shrink: 0; border: 1px solid rgba(201,168,76,0.3); display: flex; align-items: center; justify-content: center; font-size: 18px; transition: background 0.3s, border-color 0.3s; }
.contact-item:hover .contact-icon { background: rgba(201,168,76,0.1); border-color: var(--gold); }
.contact-label { font-family: 'Cinzel', serif; font-size: 9px; letter-spacing: 2px; color: var(--gold); text-transform: uppercase; margin-bottom: 4px; }
.contact-value { font-size: 15px; color: rgba(247,240,230,0.75); }
.contact-value a { color: inherit; text-decoration: none; }
.contact-value a:hover { color: var(--gold); }
.map-banner { background: var(--wine); padding: 80px; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.map-banner-text .section-title { font-size: clamp(32px, 4vw, 52px); }
.map-banner-text p { font-size: 15px; color: rgba(247,240,230,0.65); margin-top: 12px; line-height: 1.7; }
footer { background: var(--deep); border-top: 1px solid rgba(201,168,76,0.12); padding: 60px 80px 40px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 48px; }
.footer-logo img { height: 52px; margin-bottom: 20px; }
.footer-tagline { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 17px; color: rgba(247,240,230,0.5); line-height: 1.6; }
.footer-heading { font-family: 'Cinzel', serif; font-size: 10px; letter-spacing: 3px; color: var(--gold); text-transform: uppercase; margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: rgba(247,240,230,0.55); text-decoration: none; transition: color 0.25s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(201,168,76,0.1); padding-top: 32px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; color: var(--text-muted); }
.footer-bottom a { color: var(--gold); text-decoration: none; }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
@media (max-width: 1024px) {
  section { padding: 80px 32px; }
  .about, .info-section { grid-template-columns: 1fr; }
  .about { padding: 80px 32px; gap: 48px; }
  .info-block { padding: 60px 32px; border-right: none; border-bottom: 1px solid rgba(201,168,76,0.12); }
  .featured-inner { grid-template-columns: 1fr; gap: 48px; }
  .featured { padding: 80px 32px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  nav { padding: 20px 28px; }
  nav.scrolled { padding: 14px 28px; }
  .nav-links { display: none; }
  .map-banner { padding: 60px 32px; }
  footer { padding: 60px 32px 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) { body { cursor: default; } #cursor, #cursor-follower { display: none; } }
@media (max-width: 480px) {
  .hero-title { font-size: 48px; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .tasting-notes { grid-template-columns: 1fr; }
  .rating-summary { flex-direction: column; gap: 20px; }
}
