/* ===========================
   SCENKRAFT AKADEMI STYLE.CSS
   Tech Futuristic – Modern flex layouts, neon accents, gradients
   Brand: #264653, #E9C46A, #F4A261 ; Fonts: Montserrat, Roboto
   =========================== */

/* == Basic Reset & Box Sizing == */
html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #1b232a;
  color: #f6f7fa;
  min-height: 100vh;
  line-height: 1.6;
  word-break: break-word;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #F4A261;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E9C46A;
  text-decoration: underline;
}
ul, ol {
  margin: 0 0 16px 24px;
  padding: 0;
}
li {
  margin-bottom: 8px;
}

/* == Brand Typography == */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  margin-top: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #E9C46A;
  /* Neon glow */
  text-shadow: 0 0 14px rgba(244,162,97, 0.23), 0 0 2px #F4A261;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  color: #F4A261;
  text-shadow: 0 0 8px rgba(233,196,106,0.12), 0 0 1px #E9C46A;
  margin-bottom: 10px;
}
p,li,span, strong {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
strong {
  color: #E9C46A;
}

/* == Container & Page Layout == */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}

/* == Tech Futuristic Backgrounds ==*/
body {
  background: linear-gradient(135deg, #232e39 0%, #22313d 55%, #1b232a 100%);
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 24px;
  background: rgba(32, 44, 56, 0.86);
  box-shadow: 0 6px 32px 4px rgba(20,40,80,0.16), 0 2px 8px 1px #26314b1a;
  transition: box-shadow 0.3s;
}
section:hover {
  box-shadow: 0 8px 40px 6px rgba(36,147,218,0.19), 0 4px 10px 1px #F4A26144;
}

/* --- HERO SECTION: Neon Text edge --- */
section:first-of-type h1, .hero-headline {
  background: linear-gradient(90deg,#E9C46A 0%, #F4A261 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 20px #F4A26122,0 0 1px #E9C46A;
}
section:first-of-type {
  background: linear-gradient(112deg, #22313d 60%, #2d3547 100%);
  border: 2px solid #264653;
  box-shadow: 0 2px 24px 2px rgba(244,162,97,0.16);
}

/* == Buttons == */
.cta-primary,
.cta-secondary,
button, .mobile-menu-close,
.cookie-btn {
  appearance: none;
  border: none;
  outline: none;
  padding: 14px 28px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 50px;
  transition: background 0.21s, box-shadow 0.18s, color 0.18s, border 0.16s;
  cursor: pointer;
  margin-top: 14px;
  margin-bottom: 8px;
  letter-spacing: 0.015em;
}
.cta-primary, .cookie-btn.accept {
  background: linear-gradient(95deg,#F4A261 0%, #E9C46A 100%);
  color: #264653;
  box-shadow: 0 2px 18px 1px #F4A26165,
    0 2px 4px 0 #26365322;
  border: 2px solid #F4A261;
  text-shadow: none;
}
.cta-primary:hover, .cookie-btn.accept:hover {
  background: #E9C46A;
  color: #1b232a;
  box-shadow: 0 2px 32px 6px #F4A26177, 0 2px 4px #E9C46A12;
}
.cta-secondary, .cookie-btn.reject {
  background: #22313d;
  border: 2px solid #E9C46A;
  color: #E9C46A;
  box-shadow: 0 2px 12px 0 #E9C46A22;
}
.cta-secondary:hover, .cookie-btn.reject:hover {
  background: linear-gradient(91deg,#E9C46A 60%, #F4A261 100%);
  color: #264653;
}

button.mobile-menu-close {
  background: transparent;
  color: #E9C46A;
  font-size: 2rem;
  border: none;
  box-shadow: none;
  padding: 8px 16px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.16s;
}
button.mobile-menu-close:hover {
  color: #F4A261;
}

/* == FLEX LAYOUTS == */
/* --- for features, cards, testimonials etc. --- */
.feature-grid, .courses-grid, .post-grid, .team-grid, .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
  justify-content: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: #f7f8fc;
  color: #232e39;
  border-radius: 18px;
  margin-bottom: 20px;
  min-width: 0;
  box-shadow: 0 2px 12px 0 #22313d16;
  border: 1.5px solid #26465322;
  font-size: 1.04rem;
  max-width: 510px;
}
.testimonial-card strong {
  color: #264653;
  font-size: 1rem;
  font-weight: 700;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.category-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.category-tags span {
  display: inline-block;
  background: #22313d;
  color: #E9C46A;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px 0 #E9C46A33;
  cursor: default;
}

/* == CARD/CARD-LIKE ITEMS == */
.feature-grid > div, .courses-grid > div, .team-grid > div, .post-grid > div {
  background: #232e39;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 #22313d2b;
  padding: 28px 22px;
  min-width: 270px;
  flex: 1 1 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.29s, transform 0.24s, border 0.23s;
  margin-bottom: 20px;
  border: 1.5px solid #E9C46A44;
  position: relative;
}
.feature-grid > div:hover, .courses-grid > div:hover, .team-grid > div:hover, .post-grid > div:hover {
  box-shadow: 0 8px 44px 4px #F4A26122, 0 2px 10px 1px #E9C46A22;
  transform: translateY(-4px) scale(1.04);
  border: 1.5px solid #F4A261;
  z-index: 2;
}
.feature-grid img, .courses-grid img, .team-grid img,
.feature-grid svg, .courses-grid svg {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
}

.team-grid > div span {
  color: #F4A261;
  font-size: 0.93rem;
  margin-top: 6px;
  letter-spacing: 0.01em;
}

.post-grid > div a {
  margin-top: 12px;
  color: #F4A261;
  text-decoration: underline;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
}
.post-grid > div a:hover {
  color: #E9C46A;
}

.category-tags span:hover {
  background: #E9C46A;
  color: #232e39;
  box-shadow: 0 2px 8px 0 #F4A26144;
}

/* == Testimonials Slider == */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: 10px;
}

/* == Responsive == */
@media (max-width: 1080px) {
  .container {
    max-width: 100%;
  }
  .feature-grid > div, .courses-grid > div, .team-grid > div, .post-grid > div {
    min-width: 210px;
    flex: 1 1 220px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .courses-grid, .team-grid, .post-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .feature-grid > div, .courses-grid > div, .team-grid > div, .post-grid > div {
    width: 100%;
    min-width: 0;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  section {
    padding: 26px 6px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .testimonial-slider, .feature-grid, .courses-grid, .team-grid, .post-grid {
    gap: 14px;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 10px 14px;
    font-size: 0.97rem;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  nav {
    flex-direction: column;
    gap: 10px;
  }
}

/* == HEADER && MAIN NAVIGATION == */
header {
  background: #232e39;
  box-shadow: 0 2px 12px 0 #22313d1a;
  z-index: 80;
  position: relative;
  margin-bottom: 16px;
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  height: 76px;
  justify-content: space-between;
  gap: 16px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
header nav a {
  color: #e9eaf2;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 32px;
  transition: background 0.16s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: #26465344;
  text-decoration: none;
  color: #E9C46A;
}
header nav a.cta-primary {
  background: linear-gradient(89deg,#F4A261 65%, #E9C46A 100%);
  color: #264653;
  border: 2px solid #F4A261;
  box-shadow: 0 2px 10px 1px #F4A26177;
  padding: 9px 22px;
}
header nav a.cta-primary:hover {
  background: #E9C46A;
  color: #1b232a;
  box-shadow: 0 2px 22px 1px #F4A26177;
}
header img {
  height: 52px;
  max-width: 160px;
  margin-right: 20px;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #F4A261;
  font-size: 2.4rem;
  border: none;
  margin-left: 10px;
  margin-right: 2px;
  cursor: pointer;
  transition: color 0.12s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #E9C46A;
}

/* == MOBILE NAVIGATION == */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,44,56,0.97);
  z-index: 9999;
  box-shadow: 0 0 80px 2px #264653b5;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(-110vw);
  transition: transform 0.34s cubic-bezier(.77,.27,.34,1.06);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  color: #F4A261;
  background: transparent;
  cursor: pointer;
  font-size: 2.5rem;
  margin: 20px 24px 8px 0;
  border: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
  padding: 38px 30px 12px 36px;
}
.mobile-nav a {
  color: #E9C46A;
  background: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.23rem;
  font-weight: 600;
  padding: 10px 0;
  border-radius: 24px;
  transition: color 0.15s, background 0.18s;
  display: block;
  width: 100%;
}
.mobile-nav a:hover {
  color: #F4A261;
}
@media (max-width: 1020px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}


/* == FOOTER == */
footer {
  background: #22313d;
  color: #c1c6cc;
  padding: 38px 0 20px 0;
  margin-top: 30px;
  border-top: 2px solid #26465355;
  font-size: 1rem;
}
footer .container {
  flex-direction: column;
  gap: 14px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-bottom: 8px;
}
footer nav a {
  color: #E9C46A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  font-weight: 500;
  margin-bottom: 2px;
  transition: color 0.11s;
  padding: 4px 8px;
}
footer nav a:hover {
  color: #F4A261;
}
footer .contact-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: flex-start;
  font-size: 0.97rem;
  color: #c9d2db;
  padding-bottom: 8px;
}
footer .contact-footer p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0;
}
footer .contact-footer img {
  width: 18px;
  margin-right: 3px;
  filter: drop-shadow(0 1px 2px #E9C46A33);
}
footer p {
  color: #bfc4cc;
  font-size: 0.92rem;
  margin-top: 10px;
}
@media (max-width: 768px) {
  footer nav {
    flex-direction: column;
    gap: 10px;
  }
  .contact-footer {
    flex-direction: column;
    gap: 8px;
  }
}

/* == UTILITY CLASSES AND EFFECTS == */
.team-photo-placeholder, .map-placeholder {
  width: 100%;
  max-width: 360px;
  height: 180px;
  background: repeating-linear-gradient(135deg, #26465322 0 18px, #232e39 18px 36px);
  border-radius: 16px;
  border: 2px dashed #F4A26199;
  margin: 10px 0 20px 0;
}
.map-placeholder {
  min-height: 180px;
  background: repeating-linear-gradient(135deg, #22313d 0 24px, #232e39 24px 48px);
}

ul, ol {
  color: #ccd3de;
  font-size: 1rem;
  margin-bottom: 16px;
  margin-top: 0;
}
ul li strong, ol li strong { color: #F4A261; }

hr {
  border: none;
  border-top: 2px solid #26465344;
  margin: 34px 0 30px 0;
}

/* === Cookie Consent Banner === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 10010;
  background: #22313de6;
  color: #F4A261;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 10vw 14px 24px;
  box-shadow: 0 0 50px 4px #1b232a87;
  font-size: 1rem;
  animation: fadeInUp 0.65s cubic-bezier(.7,.01,.51,.93);
}
.cookie-banner p {
  color: #E9C46A;
  font-size: 1rem;
  margin: 0 0 4px 0;
  flex: 1 1 auto;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  padding: 11px 22px;
  font-size: 1rem;
  border-radius: 30px;
  margin: 0;
}
/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10012;
  background: rgba(32,44,56,0.80);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #232e39;
  color: #E9C46A;
  border-radius: 20px;
  padding: 38px 32px 26px 32px;
  max-width: 420px;
  width: 90vw;
  box-shadow: 0 4px 42px 6px #F4A26144;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal-content h2 {
  color: #F4A261;
  margin-top: 0;
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  margin-bottom: 12px;
  cursor: pointer;
}
.cookie-modal-content input[type=checkbox] {
  width: 20px;
  height: 20px;
  accent-color: #F4A261;
  border-radius: 4px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 22px;
  font-size: 1.7rem;
  background: none;
  border: none;
  color: #F4A261;
  cursor: pointer;
  transition: color 0.12s;
}
.cookie-modal-close:hover {
  color: #E9C46A;
}

@keyframes fadeInUp { from {opacity: 0; transform: translateY(64px);} to {opacity:1; transform: none;} }

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 8px 14px 8px;
    font-size: 0.98rem;
  }
  .cookie-modal-content {
    padding: 23px 7vw 18px 7vw;
  }
}

/* === Animations & Interactions === */
section, .card, .testimonial-card, .card-container > div {
  transition: box-shadow 0.34s, border 0.17s, transform 0.13s;
}
.cta-primary, .cta-secondary, .cookie-btn {
  transition: background 0.21s, color 0.18s, box-shadow 0.19s;
}
.cta-primary:active, .cta-secondary:active, .cookie-btn:active {
  transform: scale(0.96);
  box-shadow: 0 1px 8px 1px #F4A26155;
}

/* === Selection & Focus === */
::selection {
  background: #F4A26155;
  color: #232e39;
}
a:focus, button:focus, .cookie-btn:focus {
  outline: 2px solid #E9C46A;
  outline-offset: 1px;
  z-index: 5;
}

/* == Override for Testimonial Readability == */
.testimonial-card,
.testimonial-card p,
.testimonial-card strong {
  color: #232e39;
  background: #f7f8fc !important;
}


/* === Misc and Spacing Patterns === */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* == End == */
