/* Kapitein Goesting — Main Stylesheet — Theatrical Warmth */

:root {
  --clr-dark: #1c1e2d;
  --clr-dark-soft: #2a2d3e;
  --clr-cream: #faf6f1;
  --clr-cream-dark: #f0ebe3;
  --clr-white: #ffffff;
  --clr-green: #5fb832;
  --clr-green-dark: #4a9327;
  --clr-green-light: #e8f5de;
  --clr-gold: #e8a43a;
  --clr-coral: #e85d4a;
  --clr-text: #3d3d4e;
  --clr-text-light: #6b6b7b;
  --clr-border: #e4e0db;
  --ff-display: 'Young Serif', Georgia, serif;
  --ff-body: 'Outfit', 'Poppins', system-ui, sans-serif;
  --fs-hero: clamp(2.8rem, 5.5vw, 4.5rem);
  --fs-h1: clamp(2.2rem, 4vw, 3.2rem);
  --fs-h2: clamp(1.8rem, 3vw, 2.4rem);
  --fs-h3: clamp(1.4rem, 2.2vw, 1.8rem);
  --fs-h4: 1.25rem;
  --fs-body: 1.05rem;
  --fs-small: 0.9rem;
  --section-py: clamp(60px, 8vw, 120px);
  --container-px: clamp(20px, 4vw, 40px);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(28, 30, 45, 0.06);
  --shadow-md: 0 8px 30px rgba(28, 30, 45, 0.08);
  --shadow-lg: 0 20px 60px rgba(28, 30, 45, 0.12);
  --shadow-card: 0 4px 20px rgba(28, 30, 45, 0.07);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--clr-text);
  background: var(--clr-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--clr-green); text-decoration: none; transition: color var(--transition-fast); }
a:hover, a:focus { color: var(--clr-green-dark); outline: none; text-decoration: none; }

ul, ol { list-style: none; margin: 0; padding: 0; }

::selection { background-color: var(--clr-green); color: #fff; }

/* Typography */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--ff-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--clr-dark);
  margin-bottom: 0;
  margin-top: 0;
}

h1, .h1 { font-size: var(--fs-h1); }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); }
h4, .h4 { font-size: var(--fs-h4); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 600; color: var(--clr-dark); }

h1 span, h2 span { color: var(--clr-green); }
h1 .sp-1 { color: var(--clr-coral); font-style: italic; }
h1 .sp-2 { color: var(--clr-green); position: relative; }
h1 .sp-2::after {
  content: ''; position: absolute; bottom: 2px; left: 0;
  width: 100%; height: 3px; background: var(--clr-green);
  border-radius: 2px; opacity: 0.5;
}

/* Layout */
.oz-body-wrap { margin: 0; box-shadow: none; position: relative; overflow: hidden; }

/* Buttons */
.genric-btn, .primary-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; font-family: var(--ff-body); font-size: 0.95rem;
  font-weight: 500; letter-spacing: 0.02em; border-radius: 50px;
  border: 2px solid transparent; cursor: pointer;
  transition: all var(--transition); text-decoration: none; line-height: 1.4;
}

.genric-btn.primary, .genric-btn.primary-border {
  background: var(--clr-green); color: var(--clr-white); border-color: var(--clr-green);
}
.genric-btn.primary:hover, .genric-btn.primary-border:hover {
  background: var(--clr-green-dark); border-color: var(--clr-green-dark);
  transform: translateY(-2px); box-shadow: 0 8px 25px rgba(95, 184, 50, 0.3); color: var(--clr-white);
}
.genric-btn.circle { border-radius: 50px; }
.genric-btn.arrow { display: inline-flex; align-items: center; }
.genric-btn.arrow span { margin-left: 10px; }

.primary-btn {
  background: var(--clr-green); color: var(--clr-white);
  border-color: var(--clr-green); text-transform: uppercase; position: relative;
}
.primary-btn span { color: var(--clr-white); transition: all var(--transition); position: relative; z-index: 2; }
.primary-btn:hover {
  background: var(--clr-green-dark); border-color: var(--clr-green-dark);
  transform: translateY(-2px); box-shadow: 0 8px 25px rgba(95, 184, 50, 0.3); color: var(--clr-white);
}
.primary-btn:hover .mr-10 { margin-right: 20px; }
.primary-btn.white-bg { background: var(--clr-white); color: var(--clr-green); border-color: var(--clr-border); }
.primary-btn.white-bg span { color: var(--clr-green); }
.primary-btn.white-bg:hover {
  background: var(--clr-green); border-color: var(--clr-green);
  color: var(--clr-white); transform: translateY(-2px); box-shadow: var(--shadow-lg);
}
.primary-btn.white-bg:hover span { color: var(--clr-white); }

/* Header */
.default-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 18px 0; transition: all var(--transition); background: transparent;
}
.default-header.header-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(28, 30, 45, 0.08); padding: 10px 0;
}

.header-wrap { width: 100%; }
.header-top { display: flex; justify-content: space-between; align-items: center; }
.logo a { display: inline-block; }
.logo img { height: 42px; width: auto; transition: var(--transition); }
.header-scrolled .logo img { height: 36px; }

.main-menubar { display: flex; align-items: center; position: relative; }

nav {
  display: flex; gap: 6px; align-items: center; margin-right: 0;
  transition: all 0.3s ease; transform-origin: 100% 50%;
}
nav a {
  padding: 8px 18px; font-size: 0.9rem; font-weight: 500;
  color: var(--clr-dark); border-radius: 50px;
  transition: all var(--transition-fast); display: inline-block; margin: 0;
}
nav a:hover { color: var(--clr-green); background: var(--clr-green-light); }
nav.hide { display: flex; }

.menu-bar { display: none; cursor: pointer; padding: 8px; z-index: 1001; }
.menu-bar span { font-size: 24px; color: var(--clr-dark); }

@media (max-width: 991px) {
  .menu-bar { display: block; }
  nav {
    display: none; position: fixed; top: 0; left: 0; width: 100%;
    height: 100vh; height: 100dvh; background: var(--clr-dark);
    flex-direction: column; justify-content: center; align-items: center;
    gap: 8px; z-index: 999; margin-right: 0;
  }
  nav.hide { display: none; }
  nav:not(.hide) { display: flex; }
  nav a { color: var(--clr-white); font-size: 1.3rem; padding: 12px 30px; margin: 0; }
  nav a:hover { color: var(--clr-green); background: rgba(95, 184, 50, 0.1); }
}

/* Banner / Hero */
.banner-area {
  position: relative; padding-top: 100px; overflow: hidden;
  background: linear-gradient(135deg, var(--clr-cream) 0%, var(--clr-white) 50%, var(--clr-green-light) 100%);
}
.banner-area::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 80px;
  background: var(--clr-white); clip-path: ellipse(55% 100% at 50% 100%);
}
.banner-area .fullscreen { min-height: 85vh; min-height: 85dvh; height: auto !important; }

.banner-left { position: relative; }
.banner-left img {
  border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
  transform: rotate(-2deg); transition: transform var(--transition);
}
.banner-left img:hover { transform: rotate(0deg) scale(1.02); }
.banner-left::before {
  content: ''; position: absolute; top: -20px; left: -20px;
  width: 100px; height: 100px; border-radius: 50%;
  background: var(--clr-gold); opacity: 0.15; z-index: 0;
}
.banner-left::after {
  content: ''; position: absolute; bottom: -15px; right: -15px;
  width: 150px; height: 150px; border-radius: 50%;
  background: var(--clr-green); opacity: 0.1; z-index: 0;
}

.story-content h6 {
  font-family: var(--ff-body); font-size: var(--fs-small); font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--clr-green); margin-bottom: 16px;
}
.story-content h1 {
  font-size: var(--fs-hero); line-height: 1.15; margin-bottom: 30px;
  margin-top: 20px; color: var(--clr-dark); font-weight: 400;
}
.story-content h2 { margin-bottom: 8px; }
.story-content p { font-size: var(--fs-body); color: var(--clr-text-light); max-width: 520px; margin-bottom: 40px; }
.story-content .sp-1 { font-weight: 400; }
.story-content .sp-2 { color: var(--clr-green); font-weight: 400; }

/* Features */
.feature-area {
  position: relative; background-size: cover; background-position: center;
  background-attachment: fixed; z-index: 1;
}
.feature-area .overlay, .feature-area .overlay-bg { display: none; }

.single-feature {
  background: var(--clr-white); border-radius: var(--radius-lg);
  padding: 40px 30px; margin-bottom: 30px; box-shadow: var(--shadow-card);
  transition: all var(--transition); height: 100%;
  border: 1px solid var(--clr-border); position: relative; overflow: hidden;
}
.single-feature::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--clr-green), var(--clr-gold));
  transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.single-feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.single-feature:hover::before { transform: scaleX(1); }

.single-feature .icon {
  width: 64px; height: 64px; border-radius: 16px; background: var(--clr-green-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; transition: all var(--transition); font-size: 28px; padding: 0;
}
.single-feature .icon span, .single-feature .icon .lnr { font-size: 28px; color: var(--clr-green); transition: color var(--transition); }
.single-feature:hover .icon { background: var(--clr-green); }
.single-feature:hover .icon span, .single-feature:hover .icon .lnr { color: var(--clr-white); }

.single-feature .desc { margin-top: 0; }
.single-feature .desc h2 {
  font-size: var(--fs-h4); margin-bottom: 12px; font-family: var(--ff-body);
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em;
}
.single-feature .desc p { color: var(--clr-text-light); font-size: 0.95rem; line-height: 1.7; }

/* About */
.about-area { padding: var(--section-py) 0; background: var(--clr-white); position: relative; }
.about-area .story-content { padding-right: 40px; }
.about-area .story-content h2 { font-size: var(--fs-h2); line-height: 1.25; margin-bottom: 8px; font-weight: 400; }
.about-area .story-content h2 span { font-weight: 400; color: var(--clr-green); }
.about-area .story-content p { line-height: 1.75; font-size: var(--fs-body); font-weight: 400; margin-top: 20px; }
.about-area img { border-radius: var(--radius-xl); box-shadow: var(--shadow-md); }

/* Video */
.video-area { position: relative; background-size: cover; background-position: center; padding: 80px 0; z-index: 1; }
.video-area .overlay, .video-area .overlay-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(28, 30, 45, 0.85), rgba(28, 30, 45, 0.7)); z-index: -1;
}
.video-content { display: flex; align-items: center; gap: 30px; text-align: left; position: relative; z-index: 2; }
.video-content a { display: flex; align-items: center; justify-content: center; }
.video-content .play-btn {
  display: flex; align-items: center; justify-content: center;
  width: 80px; height: 80px; flex-shrink: 0; border-radius: 50%;
  background: var(--clr-green); transition: all var(--transition); position: relative;
}
.video-content .play-btn::before {
  content: ''; position: absolute; inset: -8px; border-radius: 50%;
  border: 2px solid rgba(95, 184, 50, 0.4); animation: pulse-ring 2s ease-out infinite;
}
@keyframes pulse-ring { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
.video-content .play-btn img { width: 24px; height: 24px; filter: brightness(10); }
.video-content .play-btn:hover { background: var(--clr-green-dark); transform: scale(1.1); }
.video-desc { margin-top: 0; }
.video-desc h3, .video-desc h4 { color: var(--clr-white); }
.video-desc h3 { font-size: var(--fs-h3); margin-bottom: 8px; font-weight: 400; }
.video-desc h4 { font-family: var(--ff-body); font-weight: 300; opacity: 0.8; font-size: 1rem; }

/* Contact */
.contact-area {
  position: relative; padding: var(--section-py) 0;
  background: var(--clr-dark) !important; background-image: none !important;
  z-index: 1; color: #fff;
}
.contact-area .overlay, .contact-area .overlay-bg { display: none; }
.contact-area::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(ellipse at 20% 50%, rgba(95, 184, 50, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(232, 164, 58, 0.06) 0%, transparent 50%);
  pointer-events: none;
}
.contact-area h2 { font-size: var(--fs-h2); color: var(--clr-white); margin-bottom: 12px; font-weight: 400; }
.contact-area h2 span { font-weight: 400; }
.contact-area .single-contact p, .contact-area p { color: rgba(255, 255, 255, 0.7); font-weight: 400; font-size: var(--fs-body); }

.contact-form { position: relative; z-index: 2; }
.contact-form .common-input, .contact-form .common-textarea {
  width: 100%; padding: 16px 24px; font-family: var(--ff-body); font-size: 0.95rem;
  color: var(--clr-white); background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius); transition: all var(--transition-fast); outline: none;
  display: block; line-height: 1.5;
}
.contact-form .common-input:focus, .contact-form .common-textarea:focus {
  border-color: var(--clr-green); background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 4px rgba(95, 184, 50, 0.12);
}
.contact-form .common-textarea { min-height: 160px; resize: vertical; height: auto; }
.contact-form ::placeholder { color: rgba(255, 255, 255, 0.45); font-weight: 400; }
.contact-form .alert-msg { color: var(--clr-white) !important; margin-top: 30px; }

/* Gallery */
.gallery-item {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px; margin-top: 20px;
}
.gallery-item .col-md-4 { flex: none; max-width: none; padding: 0; }

.single-gallery-image {
  height: 120px; border-radius: var(--radius); background-color: var(--clr-cream);
  background-repeat: no-repeat !important; background-position: center center !important;
  background-size: contain !important; padding: 24px; transition: all var(--transition);
  border: 1px solid var(--clr-border); margin-top: 0;
}
.single-gallery-image:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--clr-green-light); }

.section-top-border { padding: 30px 0; border-top: none; }
.section-top-border h3 {
  font-size: var(--fs-h3); color: var(--clr-dark); margin-bottom: 8px;
  position: relative; display: inline-block;
}
.section-top-border h3::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 40px; height: 3px;
  background: var(--clr-green); border-radius: 2px;
}

/* Generic Content */
.about-generic-area { padding: var(--section-py) 0; background: var(--clr-white); }
.border-top-generic { padding: 0 15px; border: none; }

.about-title {
  font-size: var(--fs-h2); margin-bottom: 40px; position: relative; display: inline-block;
}
.about-title:not(:empty)::after {
  content: ''; position: absolute; bottom: -8px; left: 0; width: 50px; height: 3px;
  background: linear-gradient(90deg, var(--clr-green), var(--clr-gold)); border-radius: 2px;
}

.img-text {
  line-height: 1.8; margin-bottom: 40px; padding: 30px;
  background: var(--clr-cream); border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border); transition: all var(--transition);
  overflow: hidden;
}
.img-text:hover { box-shadow: var(--shadow-md); border-color: var(--clr-green-light); }
.img-text img {
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  margin-bottom: 20px; margin-right: 30px;
}
.about-generic-area p { margin-bottom: 20px; }

/* FAQs */
.faq-area { padding: var(--section-py) 0; background: var(--clr-cream); }
.counter-left { text-align: center; }
.single-facts { margin-bottom: 30px; }
.single-facts h2 { font-size: 3rem; color: var(--clr-green); line-height: 1; font-weight: 400; }
.single-facts p { font-size: var(--fs-small); color: var(--clr-text-light); text-transform: uppercase; letter-spacing: 0.05em; }
.faq-content { padding-left: 5%; padding-right: 5%; }
.single-faq { padding: 24px 0; border-bottom: 1px solid var(--clr-border); margin-bottom: 0; }
.single-faq:last-child { border-bottom: none; }
.single-faq h2 { font-size: var(--fs-h4); font-family: var(--ff-body); font-weight: 600; margin-bottom: 8px; letter-spacing: 0.02em; text-transform: uppercase; margin-top: 0; }
.single-faq p { color: var(--clr-text-light); font-size: var(--fs-body); font-weight: 400; line-height: 1.7; }

/* Generic Banner */
.generic-banner { padding: 140px 0 60px; background: var(--clr-cream); text-align: center; }
.generic-banner .height { height: auto; min-height: auto; }
.generic-banner h2 { font-size: var(--fs-h1); }
.generic-banner p { color: var(--clr-text-light); margin-top: 12px; }

/* Footer */
footer { background: var(--clr-dark); color: rgba(255, 255, 255, 0.7); padding: 0 0 30px; }
footer .row { padding-top: 60px; }
.section-gap { padding: 0; }
.single-footer-widget { margin-bottom: 30px; }
.single-footer-widget h6 {
  font-family: var(--ff-body); font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.12em; color: var(--clr-white); margin-bottom: 20px;
}
.footer-nav li { margin-top: 8px; }
.footer-nav a { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; transition: all var(--transition-fast); }
.footer-nav a:hover { color: var(--clr-green); padding-left: 4px; }
footer p { color: rgba(255, 255, 255, 0.5); font-size: 0.85rem; line-height: 1.8; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer-text { font-size: 0.8rem; color: rgba(255, 255, 255, 0.35); }
.footer-text a { color: rgba(255, 255, 255, 0.5); }
.footer-text a:hover { color: var(--clr-green); }
.footer-text i { color: var(--clr-coral); }

/* Scroll Reveal */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.revealed { 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; }

/* Utilities */
.text-white { color: var(--clr-white) !important; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.overlay { position: absolute; left: 0; right: 0; top: 0; bottom: 0; }
.overlay-bg { position: absolute; inset: 0; z-index: -1; }
.hp { display: none !important; }

/* Responsive */
@media (max-width: 991px) {
  .banner-area .fullscreen { min-height: auto; padding: 40px 0; }
  .banner-left { margin-bottom: 40px; text-align: center; }
  .banner-left img { transform: none; max-width: 400px; margin: 0 auto; }
  .banner-area .row { flex-direction: column-reverse; }
  .about-area .story-content { padding-right: 0; margin-bottom: 40px; }
  .video-content { flex-direction: column; text-align: center; }
  .faq-area .counter-left { margin-bottom: 40px; }
  .faq-content { padding-left: 0; padding-right: 0; }
  .gallery-item { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
}

@media (max-width: 767px) {
  .banner-area::after { height: 40px; }
  .story-content h1 { font-size: 2rem; }
  .story-content { text-align: center; }
  .story-content p { margin-left: auto; margin-right: auto; }
  .img-text img { float: none !important; margin-right: 0 !important; width: 100%; max-width: 400px; }
  .counter-left { text-align: center; }
}
