/*
Theme Name: Musik Tema
Author: Mathilde
Description: Specialbygget tema til Karina & Jakob Musik duo
Version: 1.0
*/

/* -------------------- Root & Fonts -------------------- */
:root {
  --color-dark: #101010;
  --color-gold: #e0bc5f;
  --color-light-gold: #f0e1b8;
  --color-white: #ffffff;
  --text-color: #333333;
  --bg: #fefefe;
}

body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  overflow-x: hidden;
}

#app {
  margin: 0 auto;
  font-weight: normal;
  min-height: 100vh;
}

#wpadminbar {
  z-index: 99999 !important;
}

/* -------------------- General Text Styles -------------------- */

a {
  color: var(--color-gold);
  font-family: 'Lato', sans-serif;
  font-weight: 650;
  text-decoration: none;
    font-size: 18px;
    letter-spacing: 1px;
}

body, h1, h2, h3, h4, h5, h6, a, span{
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  color: var(--text-color);
  line-height: 1.5;
}

p, li, span {
  letter-spacing: 0.2px;
    color: var(--text-color);
  font-size: 20px;
  font-weight: 480;
  line-height: 1.7;
     font-family: 'Lato', sans-serif;
}

h1 { font-size: 2.8rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 2.4rem; font-weight: 700; }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.4rem; font-weight: 500; }

/* -------------------- Hero Section -------------------- */
.hero {
  height: 90vh;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.367);
  z-index: 0;
}

.hero .container {
  text-align: center;
  z-index: 1;
}

.hero h1, .hero p {
  color: var(--color-white);
  text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
  margin: 0 auto;
  max-width: 700px;
}

.hero p { font-size: 24px; }

.hero .btn-2 {
  text-decoration: none;
  font-weight: bold;
  padding: 1rem 2rem;
  border-radius: 2px;
  background-color: var(--text-color);
  color: var(--color-white);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 3px 3px 1px rgba(0,0,0,0.15);
  transition: all 0.25s ease-in-out;
}

.hero .btn-2:hover {
  background-color: var(--color-gold);
  color: var(--color-dark);
  box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
  transform: translateY(-3px);
}

/* -------------------- Animations -------------------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-up { animation: fadeInUp 0.8s ease-out forwards; opacity: 0; }
.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }

/* -------------------- CTA Section -------------------- */
.cta-section {
  position: relative;
  padding: 5rem 2rem;
  text-align: center;
  color: var(--color-dark);
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('keyboard.png') center/cover no-repeat;
  z-index: 0;
}

.cta-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-light-gold) 0%, var(--color-gold) 100%);
  opacity: 0.85;
  z-index: 1;
}

.cta-section .container { position: relative; z-index: 2; }

.cta-section h2, .cta-section p {
  text-align: center;
}

.cta-section p {
  font-size: 20px;
  color: var(--text-color);
  text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
  margin: 0 auto 1rem auto;
  max-width: 700px;
  font-weight: 550;
}

/* -------------------- Cards -------------------- */
.card {
  position: relative;
  overflow: hidden;
  height: 400px;
  display: flex;
  flex-direction: column;
  box-shadow: rgba(50,50,93,0.25) 0px 13px 27px -5px,
              rgba(0,0,0,0.3) 0px 8px 16px -8px;
  border: none;
}

.card-img-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 1;
}

.card:hover .card-img-top {
  transform: scale(1.05);
  opacity: 1;
}

.card-body {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--bg);
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,1), transparent);
}

.card-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.card-text { font-size: 1rem; font-weight: 400; }

/* -------------------- Zigzag Section -------------------- */
.zigzag-section, .zag-section { margin: auto; display: flex; }
.zigzag-section img { max-width: 600px; width: 100%; height: auto; }

/* -------------------- Buttons -------------------- */
.btn-1, .btn-2 {
  text-decoration: none;
  letter-spacing: 1px;
  padding: 1rem 2rem;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease-in-out;
}

.btn-1 {
  background-color: var(--color-light-gold);
  color: var(--color-dark);
  box-shadow: 0px 2px 2px rgba(0,0,0,0.15);
}
.btn-1:hover {
  background-color: var(--color-gold);
  color: var(--color-white);
  box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
  transform: translateY(-3px);
}

.btn-2 {
  background-color: var(--text-color);
  color: var(--color-white);
  box-shadow: 3px 3px 1px rgba(0,0,0,0.15);
}
.btn-2:hover {
  background-color: var(--color-gold);
  color: var(--color-dark);
  box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
  transform: translateY(-3px);
}

/* -------------------- Testimonials -------------------- */
.testimonials-section {
  display: flex;
  margin: auto;
  color: var(--color-dark);
  background: linear-gradient(var(--bg) 0%, var(--color-light-gold) 50%, var(--bg) 100%);
}

.section-title { font-size: 1.5rem; font-weight: 600; border-bottom: 2px solid var(--color-dark); display: inline-block; padding-bottom: 0.5rem; }

.testimonial-text { font-style: italic; margin-bottom: 1rem; }
.testimonial-name { font-weight: bold; color: #555; }

.testimonial-card {
  background-color: var(--color-white);
  min-height: 250px;
  border-left: 4px solid var(--color-dark);
  font-size: 1.1rem;
  line-height: 1.6;
  transition: transform 0.3s ease;
  box-shadow: rgba(50,50,93,0.25) 0px 13px 2px -5px, rgba(0,0,0,0.3) 0px 8px 2px -8px;
}
.testimonial-card:hover { transform: translateY(-4px); }

/* -------------------- Footer -------------------- */
.site-footer {
  position: relative;
  background-color: var(--color-dark);
  color: #fff;
  padding: 5rem 1rem 2rem 1rem;
}

.footer-container { margin: 0 auto; position: relative; }

.newsletter-overlap {
  position: absolute;
  top: -70%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-light-gold);
  padding: 1.5rem 2rem;
  width: 100%;
  max-width: 1000px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  box-sizing: border-box;
  z-index: 10;
}

.newsletter-overlap h3 { color: var(--color-dark); }
.newsletter-overlap h4 { opacity: 0.7; color: var(--color-dark); }

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: space-between;
  margin-top: 4.5rem;
  margin-bottom: 2rem;
}

.footer-col {
  flex: 1 1 200px;
  min-width: 180px;
}

.footer-col h4 {
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  border-bottom: 2px solid var(--color-white);
  padding-bottom: 0.3rem;
  color: var(--bg);
}

.footer-col p, .footer-col ul li a { font-size: 1.1rem; color: #ccc; font-weight: 500; }

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul li a { transition: color 0.3s ease; }
.footer-col ul li a:hover { color: #fff; }

.social-icons {
  display: flex;
  flex-direction: column; /* stack vertically */
  gap: 0.5rem; /* space between icons */
  margin-top: 1rem;
}

.social-icons a {
  display: flex;          /* keep icon + text aligned */
  align-items: center;
  font-weight: 500;
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--color-gold);
}

.social-icons i {
  font-size: 1.2rem;
  margin-right: 2rem; /* space between icon and text */
  margin-bottom: 0;     /* remove previous bottom margin */
}

.footer-bottom { border-top: 1px solid #333; text-align: center; padding-top: 1rem; font-size: 0.9rem; color: #666; }

/* -------------------- Responsive -------------------- */
@media (max-width: 768px) {
  p, h1, h2, h3, h4, h5, h6 { text-align: start; padding: 0 0.3rem; }
  .btn-1, .btn-2{
    font-size: 16px;
  }

h1 { font-size: 2.2rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 2rem; font-weight: 700; }
h4 { font-size: 1.2rem; font-weight: 600; }
h5 { font-size: 1.2rem; font-weight: 500; }

  .cta-section { padding: 2rem 0; }

  .newsletter-overlap {
    position: static;
    transform: none;
    max-width: 100%;
    margin-bottom: 2rem;
    padding: 5%;
    text-align: left;
    box-shadow: none;
  }

  .newsletter-overlap h4 { color: var(--color-dark); }
  .newsletter-form { justify-content: flex-start; }

  .card { height: 200px; }
  .hero { height: 100vh; }
  .testimonials-section { width: 100%; display: flex; margin: auto; }
}




  .newsletter-overlap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap; /* allows items to wrap on smaller screens */
}


/* On small screens, stack vertically */
@media (max-width: 768px) {
  .newsletter-text,
  .newsletter-form-wrapper {
    flex: 1 1 100%;   /* full width */
    text-align: center; /* center content if you want */
  }
  
  .newsletter-overlap {
    flex-direction: column;
    align-items: center;
  }
}