/* =========================================================
   Beler Pro Klasik - Vintage Retro Style CSS
   Brand: Elegan, nostalgia, eksklusif (vintage/retro)
   Flexbox only, NO grid/columns!
   Responsive, readable, tactile, unmistakable vintage character
   ========================================================= */

/* -------------------------
   1. CSS Reset & Normalize
---------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #FAF3E3;
  color: #143642;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  border: 0;
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}

/* ----------------------
   2. Font Imports
------------------------*/
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');

:root {
  --primary: #143642;
  --secondary: #F5F5F5;
  --accent: #F47A3E;
  --vintage-bg: #FAF3E3;
  --card-bg: #FFF5E0;
  --retro-blue: #355C7D;
  --retro-green: #77A6B6;
  --retro-yellow: #FFDA7B;
  --retro-brown: #B4835B;
  --dark: #143642;
  --white: #fff;
  --display-font: 'Playfair Display', serif;
  --body-font: 'Roboto', Arial, sans-serif;
}

/* -------------
   3. Layout
---------------*/
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
}
main {
  flex: 1 0 auto;
}

/* Section Spacing */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: var(--vintage-bg);
}
.content-wrapper, .text-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Flexbox patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(20, 54, 66, 0.10);
  padding: 32px 24px;
  min-width: 270px;
  max-width: 340px;
  transition: box-shadow .25s, transform .2s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(244,122,62,.18);
  transform: translateY(-4px) scale(1.03);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border-radius: 16px;
  background: var(--white);
  border: 2px solid var(--retro-yellow);
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(180,131,91,0.07);
  max-width: 580px;
  transition: box-shadow .22s, border-color .18s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 18px rgba(180,131,91,0.16);
  border-color: var(--accent);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

/* Spacing for ul-li */
ul li {
  margin-bottom: 18px;
  padding-left: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
ul li img {
  width: 26px; height: 26px; display: inline-block;
  margin-right: 10px;
}

/*-------------------
   4. Typography
-------------------*/
body, html {
  font-family: var(--body-font);
  color: var(--dark);
  font-size: 16px;
  background: var(--vintage-bg);
}
h1, .hero h1 {
  font-family: var(--display-font);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.19;
  letter-spacing: -.5px;
  color: var(--primary);
  text-shadow: 1px 1px 0 var(--retro-yellow), 2px 2px 0 var(--retro-brown), 0 2px 8px rgba(20,54,66,.11);
}
h2 {
  font-family: var(--display-font);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--accent);
  text-shadow: 1px 1px 0 var(--retro-yellow);
}
h3 {
  font-family: var(--display-font);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--retro-brown);
  margin-bottom: 6px;
}
h4, h5, h6 {
  font-family: var(--display-font);
}
p, li, ul, ol, span, small {
  font-size: 1rem;
  color: var(--dark);
  letter-spacing: 0.02em;
}
p {
  margin-bottom: 8px;
}
strong {
  font-weight: bold;
  color: var(--primary);
  letter-spacing: 0.03em;
}
small, .footer-copyright {
  font-size: 0.85rem;
  color: var(--retro-brown);
}

/* Retro deco lines on h2 -- using ::after */
h2::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin: 13px 0 0 0;
  background: var(--accent);
  border-radius: 2px;
}

/* Retro underline for h3 */
h3 {
  position: relative;
}
h3::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: var(--retro-brown);
  margin-top: 5px;
  border-radius: 2px;
}

/* ----------------------
   5. Hero Section
------------------------*/
.hero {
  min-height: 45vh;
  width: 100%;
  background: var(--retro-yellow);
  background-image: repeating-linear-gradient(135deg, rgba(255,218,123,.13) 0 30px, rgba(244,122,62,.07) 30px 60px);
  border-bottom: 6px solid var(--accent);
  display: flex;
  align-items: center;
  margin-bottom: 46px;
}
.hero .container {
  display: flex;
  align-items: center;
  min-height: 240px;
}
.hero .content-wrapper {
  padding: 28px 0 28px 0;
}
.hero p {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 18px;
}

/*----------------------
   6. Header & Nav
------------------------*/
header {
  background: var(--secondary);
  box-shadow: 0 4px 24px rgba(20,54,66,.04);
  position: sticky;
  top: 0;
  z-index: 111;
}
header .container {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
nav {
  display: flex;
  gap: 22px;
}
nav a {
  font-family: var(--body-font);
  font-size: 1rem;
  padding: 9px 0;
  color: var(--primary);
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: color .18s, border-color .2s, background .17s;
  position: relative;
}
nav a:hover, nav a:focus {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  background: rgba(244,122,62,0.08);
  border-radius: 3px;
}
header img {
  height: 46px;
  margin-right: 12px;
}

/* Header CTA */
.cta.primary {
  background: var(--accent);
  color: var(--white);
  font-family: var(--display-font);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .05em;
  border-radius: 25px;
  padding: 11px 32px;
  margin-left: 18px;
  box-shadow: 0 3px 12px rgba(244,122,62,0.11);
  transition: background .19s, color .16s, transform .12s;
  border: 2px solid transparent;
  position: relative;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--retro-brown);
  color: var(--retro-yellow);
  border: 2px solid var(--accent);
  transform: scale(1.04);
}
.cta.secondary {
  background: var(--retro-green);
  color: var(--dark);
  font-family: var(--display-font);
  font-size: 1.03rem;
  font-weight: 600;
  letter-spacing: .06em;
  border-radius: 21px;
  padding: 9px 24px;
  border: 2px solid var(--retro-green);
  box-shadow: 0 3px 9px rgba(119,166,182,0.09);
  margin-top: 17px;
  transition: background .18s, color .12s, box-shadow .17s;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
  box-shadow: 0 7px 18px rgba(244,122,62,0.11);
}
.cta {
  display: inline-block;
  cursor: pointer;
  min-width: 160px;
  text-align: center;
  transition: background .18s, color .12s, border-color .13s;
}

/* ----------------------
   7. Footer
------------------------*/
footer {
  margin-top: 48px;
  background: var(--retro-blue);
  color: var(--white);
  box-shadow: 0 -2px 18px rgba(20,54,66,0.08);
  border-top: 8px dotted var(--accent);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 38px 16px 22px 16px;
  gap: 18px;
}
.footer-navbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin-bottom: 20px;
}
.footer-navbar a {
  color: var(--retro-yellow);
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .03em;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .16s, color .16s;
}
.footer-navbar a:hover, .footer-navbar a:focus {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}
.footer-brand {
  margin-bottom: 18px;
}
.footer-brand img {
  height: 50px;
}
.footer-contact p {
  color: var(--retro-yellow);
  font-size: 1rem;
  margin-bottom: 3px;
  text-align: center;
}
.footer-copyright {
  text-align: center;
  margin-top: 12px;
}

/*-------------------
   8. Cards & Features
----------------------*/
.card, .feature-item {
  background: var(--card-bg);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(20,54,66,0.07);
  padding: 23px 18px;
}
.card strong {
  font-family: var(--display-font);
  color: var(--accent);
}

/* ----------------------
   9. Testimonial Styling
------------------------*/
#testimonials {
  background: var(--vintage-bg);
}
.testimonial-card {
  background: var(--white);
  color: var(--dark);
  border: 2px solid var(--retro-yellow);
  min-width: 240px;
  margin-bottom: 22px;
  box-shadow: 0 2px 10px rgba(119,166,182,0.07);
  position: relative;
}
.testimonial-card p {
  color: var(--dark);
  font-size: 1.1rem;
  font-family: var(--body-font);
}
.testimonial-card span, .testimonial-card strong {
  font-family: var(--display-font);
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
}
.star-rating {
  color: var(--accent);
  font-size: 1.5rem;
  font-family: var(--display-font);
  letter-spacing: .1em;
}

/* ----------------------
   10. Responsive Layouts
------------------------*/
@media (max-width: 991px) {
  .container {
    max-width: 100%;
    padding: 0 10px;
  }
  .footer-navbar {
    gap: 12px;
    font-size: .95rem;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
    padding: 5px 7px;
  }
  nav {
    display: none;
  }
  .footer-navbar {
    flex-direction: column;
    gap: 6px;
  }
  .section, .content-wrapper, .text-section {
    padding-left: 0;
    padding-right: 0;
  }
  .hero {
    min-height: 30vh;
    margin-bottom: 26px;
  }
  .hero .container, .hero .content-wrapper {
    min-height: 120px;
    padding: 14px 0;
  }
  .text-image-section,
  .content-grid {
    flex-direction: column !important;
    gap: 21px !important;
  }
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 13px;
  }
}

@media (max-width: 520px) {
  h1, .hero h1 { font-size: 1.6rem; }
  h2 { font-size: 1.15rem; }
  .cta, .cta.primary, .cta.secondary {
    font-size: .98rem;
    padding: 8px 16px;
    min-width: 90px;
  }
  .footer-brand img { height: 36px; }
}

/* ----------------------
   11. Mobile Burger Menu
------------------------*/
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--accent);
  color: var(--white);
  font-size: 2rem;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  z-index: 401;
  margin-left: 14px;
  box-shadow: 0 3px 12px rgba(244,122,62,.15);
  transition: background .16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--retro-brown);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 100vh;
  width: 100vw;
  background: var(--retro-blue);
  color: var(--white);
  z-index: 9999;
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 28px 20px;
  box-shadow: 0 6px 32px rgba(20,54,66,0.18);
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.68,-0.55,.27,1.55), opacity .18s;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.45rem;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10001;
  transition: background .16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--retro-brown);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  padding-top: 60px;
}
.mobile-nav a {
  color: var(--retro-yellow);
  font-size: 1.18rem;
  font-family: var(--display-font);
  letter-spacing: .05em;
  border-bottom: 2px solid transparent;
  padding: 7px 0;
  transition: color .16s, border-color .16s, background .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
  background: rgba(255,218,123,0.13);
  border-bottom: 2px solid var(--accent);
  border-radius: 8px;
}

@media (min-width: 769px) {
  .mobile-menu-toggle { display: none !important; }
  .mobile-menu { display: none !important; }
}


/* ---------------------------
   12. Cookie Consent Banner
-----------------------------*/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  background: var(--retro-yellow);
  border-top: 4px solid var(--accent);
  box-shadow: 0 -2px 16px rgba(244,122,62, .09);
  color: var(--dark);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 18px 16px;
  z-index: 9007;
  font-family: var(--body-font);
  font-size: 1rem;
  animation: cookie-in .4s cubic-bezier(.47,1.64,.41,.8);
}
@keyframes cookie-in {
  from { opacity:0; transform:translateY(60px); }
  to { opacity:1; transform:translateY(0); }
}
.cookie-banner p {
  flex: 2 1 180px;
  margin-bottom: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.cookie-banner button {
  font-family: var(--display-font);
  font-size: 1rem;
  cursor: pointer;
  border-radius: 16px;
  padding: 9px 22px;
  font-weight: 700;
  border: 2px solid var(--accent);
  margin-right: 7px;
  margin-bottom: 3px;
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 1px 6px rgba(244,122,62,.10);
  transition: background .16s, color .12s, border-color .11s, box-shadow .17s;
}
.cookie-banner button.cookie-settings {
  background: var(--white);
  color: var(--accent);
  border-color: var(--retro-brown);
}
.cookie-banner button.cookie-reject {
  background: var(--white);
  color: var(--retro-brown);
  border-color: var(--retro-brown);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--retro-brown);
  color: var(--retro-yellow);
  border-color: var(--accent);
  box-shadow: 0 3px 16px rgba(244,122,62,0.18);
}

/* Cookie modal overlay */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,54,66,0.48);
  z-index: 999999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: cookie-modal-in .33s cubic-bezier(.47,1.64,.41,.8);
}
@keyframes cookie-modal-in {
  from { opacity:0; }
  to { opacity:1; }
}
.cookie-modal {
  background: var(--card-bg);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -8px 32px rgba(20,54,66,0.18);
  padding: 38px 24px 32px 24px;
  width: 100%;
  max-width: 410px;
  margin-bottom: 0;
  animation: modal-slideup .28s;
  font-family: var(--body-font);
  color: var(--dark);
}
@keyframes modal-slideup {
  from { transform: translateY(90px); }
  to { transform: translateY(0); }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: var(--primary);
}
.cookie-modal ul {
  margin-bottom: 25px;
}
.cookie-modal li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-modal label {
  flex: 1;
  font-size: 1rem;
  color: var(--accent);
}
.cookie-modal input[type=checkbox] {
  accent-color: var(--accent);
  width: 18px; height: 18px;
  margin-right: 8px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--accent);
  color: var(--white);
  border-radius: 51%;
  width: 35px; height: 35px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}
.cookie-modal .cookie-close:hover {
  background: var(--retro-brown);
}

@media (max-width: 520px) {
  .cookie-modal {
    max-width: 100vw;
    border-radius: 16px 16px 0 0;
    padding: 20px 8px 14px 8px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 13px 4px;
    font-size: .97rem;
  }
  .cookie-modal h2 {
    font-size: 1rem;
  }
}

/* ----------------------
   13. Animations & Micro-interactions
------------------------*/
a, button, .cta, .card, .testimonial-card {
  transition: box-shadow .18s, background .18s, color .14s, border-color .13s, transform .13s;
}
a:focus, button:focus, .cta:focus {
  outline: 2px dashed var(--accent);
  outline-offset: 2px;
}
.card:active, .testimonial-card:active { transform: scale(0.991); }

/* ----------------------
   14. Misc/Utility
------------------------*/
::-webkit-scrollbar {
  width: 10px;
  background: var(--vintage-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--retro-yellow);
  border-radius: 7px;
}
hr {
  border: none;
  border-top: 1.5px dashed var(--accent);
  margin: 24px 0 18px 0;
}

/* Patterned retro background (can be used on hero/section) */
.pattern-bg {
  background: repeating-linear-gradient(135deg, #FAF3E3 0 32px, #FFDA7B 33px 66px);
}

/* Decorative lines for retro effects */
.retro-line {
  width: 80px;
  height: 4px;
  background: var(--accent);
  margin: 22px auto 16px auto;
  border-radius: 2px;
}

/* SHADOWS for cards/buttons */
.card, .testimonial-card, .feature-item {
  box-shadow: 0 2px 8px rgba(20,54,66,0.08);
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 6px 22px rgba(244,122,62,0.14);
}

/* ------------
   Print style
--------------*/
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  .container { max-width: 100% !important; padding: 0 !important; }
}
