/* =============================================================
   Smooth Burst Golfakademie — ELEGANT_CLASSIC STYLE CSS
   Brand Colors: #285244 (Primary), #F6F6F2 (Light BG), #B8A164/#86712E (Accent/Gold)
   Fonts: 'Montserrat' (Headings/Display), 'Roboto' (Body), Fallbacks included
   Flexbox-based, Responsive, Elegant Classic, No Grid/Columns
   ============================================================= */

/* ===================== 1. RESET & BASIC NORMALIZE ======================= */

html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F6F6F2;
  color: #353535;
  font-family: 'Roboto', 'Georgia', serif;
  line-height: 1.7;
  font-size: 1rem;
  min-height: 100vh;
  transition: background 0.3s;
  letter-spacing: 0.02em;
}
img {
  max-width: 100%;
  display: block;
}
main {
  flex: 1 1 0%;
}
ul, ol {
  padding-left: 1.6em;
  margin-bottom: 1em;
}
a {
  color: #285244;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #86712E;
  outline: none;
}

/* ================= 2. TYPOGRAPHY & HEADINGS ===================== */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 700;
  color: #285244;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.4rem;
  color: #3a3a3a;
}
h4, h5, h6 {
  font-size: 1.1rem;
  color: #4a4a4a;
}
p {
  font-size: 1.13rem;
  color: #383838;
  margin-bottom: 1em;
  font-family: 'Roboto', 'Georgia', serif;
}
strong, b {
  color: #285244;
  font-weight: 700;
}
.text-section h3 {
  font-size: 1.2rem;
  margin-top: 18px;
  margin-bottom: 7px;
  color: #86712E;
  font-family: 'Montserrat', 'Georgia', serif;
}

/* ================== 3. CORE LAYOUT STRUCTURE =================== */

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}


/* Section base — universal to all .hero-section, .about-section, etc */
.section, .hero-section, .features-section, .about-section, .services-section, .contact-section, .testimonials-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(40,82,68, 0.04), 0 1.5px 4px #28524410;
}

/* Remove bg from hero for direct hero styling */
.hero-section {
  background: linear-gradient(90deg, #F6F6F2 0%, #fff 100%);
  box-shadow: none;
  border-radius: 0 0 32px 32px;
  padding-top: 56px;
  padding-bottom: 44px;
  margin-bottom: 36px;
}

/* About + Services may use alternative muted backgrounds for contrast */
.about-section, .services-section {
  background: #faf8f4;
}
.features-section {
  background: #fff;
}
.testimonials-section {
  background: #F6F6F2;
  padding-bottom: 20px;
}
.contact-section {
  background: linear-gradient(90deg, #fff 70%, #f6f6f237 100%);
  box-shadow: 0 4px 18px 0 #b8a16422;
}

/* GAP/ALIGN PATTERNS (MANDATORY) */
.card-container, .feature-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 20px 0 #946a1e09;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(134,113,46,0.13);
  transform: translateY(-2px) scale(1.012);
}
.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: 13px;
  padding: 20px 24px;
  background: #fff;
  border-radius: 17px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px 0 #2852440a;
  border: 1px solid #edece2;
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.feature {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 10px 0 #28524409;
  padding: 24px 20px 20px 20px;
  flex: 1 1 232px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, transform 0.16s;
}
.feature img {
  margin-bottom: 15px;
  width: 48px;
  height: 48px;
}
.feature h3 {
  margin-bottom: 10px;
}
.feature:hover {
  box-shadow: 0 6px 34px 0 #b8a1641e;
  transform: scale(1.018);
}

/* =================== 4. HEADER & NAVIGATION ==================== */
header {
  background: #fff;
  border-bottom: 1px solid #ebebeb;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 0;
}
header a img {
  height: 44px;
  max-width: 180px;
}
.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1.11rem;
  color: #285244;
  text-decoration: none;
  font-weight: 600;
  padding: 7px 6px;
  border-radius: 4px;
  transition: background 0.16s, color 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F6F6F2;
  color: #86712E;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  background: #285244;
  color: #fff;
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1rem;
  font-weight: bold;
  padding: 12px 26px;
  border-radius: 27px;
  text-decoration: none;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 16px 0 #2852441a;
  transition: background 0.2s, color 0.17s, box-shadow 0.21s, transform 0.13s;
  margin-left: 26px;
  border: none;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: #86712E;
  color: #fff;
  box-shadow: 0 6px 32px #b8a16427;
  transform: scale(1.027);
}

/* =============== 5. MOBILE NAV & BURGER ================ */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: none;
  font-size: 2rem;
  padding: 12px;
  margin-left: 16px;
  color: #285244;
  border-radius: 8px;
  cursor: pointer;
  z-index: 120;
  transition: background 0.14s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #efeadc;
}
.mobile-menu {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(246,246,242, 0.97);
  z-index: 200;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(0.83,0,0.17,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 42px;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #285244;
  font-size: 2.27rem;
  align-self: flex-end;
  margin: 18px 28px 12px 0;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 22px;
  padding: 12px 38px;
}
.mobile-nav a {
  font-size: 1.28rem;
  font-family: 'Montserrat', 'Georgia', serif;
  color: #285244;
  text-decoration: none;
  padding: 12px 7px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.16s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #edece2;
  color: #86712E;
}
@media (max-width: 1024px) {
  .main-nav, .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (max-width: 1024px) {
  header .container {
    height: 66px;
    padding: 0 16px;
  }
  header a img {
    max-width: 135px;
    height: 33px;
  }
}

/* =============== 6. HERO & SPECIAL SECTIONS ================ */
.hero-section h1 {
  color: #285244;
  font-size: 2.8rem;
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 700;
  margin-bottom: 18px;
}
.hero-section p {
  font-size: 1.23rem;
  color: #52524a;
  margin-bottom: 20px;
}
.hero-section .cta-btn {
  font-size: 1.13rem;
  margin-top: 8px;
}

/* ============ 7. TESTIMONIALS (HIGH CONTRAST) =========== */
.testimonials-section {
  background: #F6F6F2;
}
.testimonial-card {
  background: #fff;
  color: #222;
  font-size: 1.09rem;
  font-style: italic;
  border-left: 4px solid #285244;
  margin-bottom: 22px;
  box-shadow: 0 2.5px 8px 0 #28524409;
  min-width: 220px;
}
.testimonial-card p {
  margin-bottom: 8px;
  color: #353535;    
}
.testimonial-card span {
  display: block;
  color: #86712E;
  font-size: 0.99rem;
  font-style: normal;
  font-weight: 600;
}

/* =========== 8. PRICING TABLE ============= */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 #b8a1640a;
  margin-bottom: 30px;
  margin-top: 8px;
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  padding: 15px 12px;
  text-align: left;
  border-bottom: 1px solid #ece8d7;
}
.pricing-table th {
  background: #F6F6F2;
  color: #285244;
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 700;
  font-size: 1.08rem;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}
.pricing-table td {
  font-size: 1.07rem;
  color: #383838;
}

/* =========== 9. INLINE ICON ============= */
.inline-icon {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 6px 0;
}
.inline-icon img {
  width: 30px;
  height: 30px;
}

/* =========== 10. FOOTER ============= */
footer {
  background: #fff;
  color: #4d4d4d;
  border-top: 1px solid #ece8d7;
  margin-top: 60px;
  padding: 34px 0 10px 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 38px;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 24px;
}
.footer-logo img {
  height: 38px;
  width: auto;
  margin-bottom: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-nav a {
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1.08rem;
  color: #285244;
  text-decoration: none;
  padding: 3px 0;
  transition: color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #86712E;
}
.footer-contact {
  font-size: 0.98rem;
  color: #404040;
  margin-top: 8px;
  max-width: 270px;
}
.footer-contact a {
  color: #86712E;
  text-decoration: none;
  transition: color 0.12s;
}
.footer-contact a:hover {
  color: #285244;
}

/* =========== 11. COOKIE CONSENT BANNER & MODAL ============= */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #fff;
  color: #285244;
  border-top: 1px solid #edece2;
  box-shadow: 0 -2.5px 10px #946a1e18;
  font-size: 1.02rem;
  z-index: 5000;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 38px;
  padding: 22px 12px;
  animation: fadeInBanner 0.4s;
}
@keyframes fadeInBanner {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: none; }
}
.cookie-banner p {
  max-width: 425px;
  color: #3d3d3d;
  margin: 0 0 0 0;
  line-height: 1.6;
  font-size: 1.05rem;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-button {
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 21px;
  border: none;
  padding: 10px 23px;
  cursor: pointer;
  transition: background 0.14s, color 0.13s, box-shadow 0.13s, border 0.15s;
  margin: 0 auto;
}
.cookie-button.accept {
  background: #285244;
  color: #fff;
  box-shadow: 0 2px 6px #28524413;
}
.cookie-button.accept:hover, .cookie-button.accept:focus {
  background: #86712E;
  color: #fff;
}
.cookie-button.reject {
  background: #fff;
  color: #285244;
  border: 1.5px solid #285244;
}
.cookie-button.reject:hover, .cookie-button.reject:focus {
  background: #F6F6F2;
  color: #86712E;
  border: 1.5px solid #86712E;
}
.cookie-button.settings {
  background: #fff;
  color: #86712E;
  border: 1.5px solid #86712E;
}
.cookie-button.settings:hover, .cookie-button.settings:focus {
  background: #f8f6ec;
  border: 1.5px solid #285244;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 95vw;
  max-width: 420px;
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 4px 24px #0003, 0 2.5px 8px #b8a1642a;
  z-index: 6000;
  padding: 36px 28px 28px 28px;
  transform: translate(-50%, -50%) scale(0.98);
  animation: fadeInModal 0.3s;
}
@keyframes fadeInModal {
  from { opacity: 0; transform: translate(-50%, -40%) scale(0.95); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.cookie-modal h3 {
  font-size: 1.3rem;
  margin-bottom: 13px;
  color: #285244;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category label {
  font-weight: bold;
  font-size: 1.03rem;
  color: #86712E;
  min-width: 150px;
}
.cookie-modal .toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #edece2;
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-modal .toggle:checked {
  background: #285244;
}
.cookie-modal .toggle:before {
  content: '';
  display: block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 2px; top: 2px;
  transition: left 0.2s;
  box-shadow: 0 2px 6px #28524417;
}
.cookie-modal .toggle:checked:before {
  left: 18px;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal .cookie-note {
  font-size: 0.99rem;
  color: #777;
  margin-bottom: 13px;
}
.cookie-modal .close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: #285244;
  position: absolute;
  right: 18px;
  top: 13px;
  cursor: pointer;
  z-index: 1;
}

@media (max-width: 720px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 16px 6px;
    font-size: 0.97rem;
  }
}

/* =========== 12. RESPONSIVE BREAKPOINTS =============== */
@media (max-width: 1024px) {
  .container {
    max-width: 99vw;
    padding: 0 14px;
  }
  .footer-contact {
    max-width: 96vw;
  }
  footer .container {
    gap: 16px;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 22px;
  }
}
@media (max-width: 760px) {
  .section, .hero-section, .about-section, .features-section, .testimonials-section, .services-section, .contact-section {
    padding: 30px 7px;
    margin-bottom: 40px;
    border-radius: 14px;
  }
  .footer-logo img {
    margin-bottom: 11px;
    height: 30px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 2.03rem; }
  h2 { font-size: 1.37rem; }
  h3 { font-size: 1.12rem; }
  .hero-section {
    padding-top: 20px;
    padding-bottom: 16px;
    border-radius: 0 0 16px 16px;
  }
  .container {
    padding: 0 6px;
  }
  .footer-contact {
    font-size: 0.93rem;
  }
  .pricing-table th, .pricing-table td {
    padding: 8px 3.5vw;
    font-size: 0.93rem;
  }
}

/* FLEX LAYOUTS ON MOBILE */
@media (max-width: 768px) {
  .content-grid, .feature-grid, .card-container, .testimonial-card, .footer-nav {
    flex-direction: column;
    gap: 19px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* ============= 13. BUTTONS, LINKS, MICRO-INTERACTIONS ============= */
button, .cta-btn, .cookie-button {
  outline: none;
  border: none;
}
button:focus-visible, .cta-btn:focus-visible, a:focus-visible {
  box-shadow: 0 0 0 2px #86712E44;
}

/* Soft transitions */
.cta-btn, .feature, .card, .mobile-nav a, .main-nav a, .cookie-button {
  transition: color 0.19s, background 0.21s, box-shadow 0.21s, transform 0.15s, border 0.15s;
}

/* ============= 14. FORM & INPUT STYLES (for Contact, etc) ============== */
input, textarea, select {
  font-family: 'Roboto', 'Georgia', serif;
  font-size: 1rem;
  border: 1px solid #b8a16456;
  border-radius: 6px;
  padding: 12px 10px;
  margin-bottom: 14px;
  background: #faf8f4;
  color: #223;
  outline: none;
  transition: border 0.18s, box-shadow 0.16s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #285244;
  box-shadow: 0 2px 12px #28524417;
}

/* ======== 15. UTILITY & ADDITIONAL CLASSES ========== */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0!important; }
.mb-0 { margin-bottom: 0!important; }
.mb-2 { margin-bottom: 12px!important; }
.mt-2 { margin-top: 12px!important; }

/* ============ 16. HIDE/SHOW ON BREAKPOINTS ============= */
.hide-mobile { display: block; }
@media (max-width: 900px) {
 .hide-mobile { display: none!important; }
}

/* ============= 17. ACCESSIBILITY SUPPORTS ============= */
:focus-visible {
  outline: 3px solid #86712E60;
  outline-offset: 3px;
}

/* ============= 18. CARD & SECTION SPACING GUARDRAILS ============= */
.card, .feature, .testimonial-card, .section, .about-section, .contact-section, .services-section, .features-section, .testimonials-section {
  margin-bottom: 20px;
}
.card:last-child, .feature:last-child, .testimonial-card:last-child, .section:last-child {
  margin-bottom: 0;
}

/* No overlap, uniform vertical rhythm */
.card-container, .feature-grid, .testimonial-card, .content-grid, .section {
  gap: 20px;
}

/* ============= 19. PRINT STYLES (optional for PDF download) ============= */
@media print {
  header, footer, .cookie-banner, .mobile-menu {
    display: none!important;
  }
  main {
    padding: 0 !important;
  }
  section {
    background: none;
    box-shadow: none;
    margin-bottom: 28px;
    padding: 0 !important;
  }
}

/* ============= 20. OVERRIDES FOR SPECIFIC PAGES (if needed) ============= */
.contact-info {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

/**** END OF STYLE.CSS — SMOOTH BURST GOLFAKADEMIE ****/
