/* --------------------
   Global properties
-------------------- */

:root {
  --moss-green: #4a5f4b;
}

/* --------------------
   Base styles
-------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html, body {
  height: 100%;
  scroll-behavior: smooth;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.section-fullscreen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 30px;
  position: relative;
}

a {
  color: white;           
  text-decoration: underline; 
  transition: color 0.3s; /* smooth transition to green */
}

a:hover {
  color: var(--moss-green);  
}

.green-link {
  color: var(--moss-green);
}

.white-link {
  color: white;
}

/* --------------------
   Bouncing arrow
-------------------- */

.scroll-arrow {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;

  color: white;
  font-size: 3rem;

  text-shadow: 0 2px 6px rgba(0,0,0,0.8);

  animation: bounce 1.5s infinite;
  z-index: 10;
}

.landing {
  position: relative;
}

/* bounce animation */
@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

.scroll-arrow.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* --------------------
   Topright menu
-------------------- */

/* 3 lines / X itself */
.menu-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1100;
  /* Semi-transparent circle */
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--moss-green);
  transition: 0.3s;
  transform-origin: center;
}

.menu-toggle.open .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-toggle {
  transition: transform 0.2s ease;
}

.menu-toggle:hover {
  transform: scale(1.1);
}

.nav-overlay {
  position: fixed;
  top: 0;
  /* Hidden outside screen by default and slides into view */
  right: -100%; 
  width: 350px;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  transition: 0.4s ease-in-out;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-overlay.active {
  right: 0;
}

.nav-dots {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
}

.nav-dots a {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-family: sans-serif;
  transition: color 0.3s;
}

.nav-dots a:hover {
  color: #ffcc00;
}


/* Submenu items */
.submenu-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Services button */
.submenu-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  font-family: sans-serif;
  transition: color 0.3s;
}

.submenu-toggle:hover {
  color: #ffcc00;
}

.submenu {
  display: flex;
  flex-direction: column;
  gap: 15px;

  max-height: 0;
  overflow: hidden;

  transition: max-height 0.3s ease;
}

.submenu.active {
  max-height: 300px;
  margin-top: 15px;
}

.submenu a {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* --------------------
Language button
-------------------- */

body {
  margin: 0;
}

.language-button {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;

  width: 44px; 
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;
  /*background-color: rgba(255, 255, 255, 0.5);*/

  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  transition: transform 0.15s ease, background-color 0.2s;
}

.language-button img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  pointer-events: none;
}

/* Hover (desktop) */
.language-button:hover {
  transform: scale(1.1);
  background-color: rgba(220, 220, 220, 1);
}

.language-button:active {
  /* Tap/click */
  transform: scale(0.95);
}

@media (min-width: 768px) {
  /* Slightly larger for bigger screens */
  .language-button {
    width: 50px;
    height: 50px;
  }
}


/* --------------------
   Section styles
-------------------- */

/* 
Instruments: https://unsplash.com/photos/several-guitars-beside-of-side-table-MEL-jJnm7RQ -- licence free.
*/
.landing {
  height: 100dvh; 
  background: url("imgs/instruments.jpg")
              center / cover no-repeat;
  color: white;
  text-align: center;
}

.landing h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: 4px;
  color: white;

  /* Black outline effect */
  text-shadow: 
    2px 0 0 #000, 
    0 -2px 0 #000, 
    0 2px 0 #000, 
    -2px 0 0 #000,
    2px 2px 0 #000, 
    2px -2px 0 #000, 
    -2px 2px 0 #000, 
    -2px -2px 0 #000;

}

.landing h2 {
  color: white;
  font-size: clamp(1rem, 4vw, 2rem);
  letter-spacing: 4px;
  /* Black outline effect */
  text-shadow:
     0px 1px 0 #000,  
     0px -1px 0 #000,  
     1px  0px 0 #000,
    -1px  0px 0 #000,
    -1px -1px 0 #000,  
     1px -1px 0 #000,  
    -1px  1px 0 #000,  
     1px  1px 0 #000;  
}

.landing-text {
  display: flex;
  flex-direction: column;
  /* space between h1 and h2 */
  gap: 16px; 
}

.cv {
  min-height: 30vh;
  background: var(--moss-green);
  color: white;
  text-align: center;
}

.contact {
  min-height: 30vh;
  /* off-black */
  background: #222;        
  color: white;
  text-align: center;
}

.contact p {
  margin: 10px 0;
  font-size: 1rem;
}

.page-wrapper {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
}

.credits {
  min-height: 10vh;          
  /* slightly lighter off-black */
  background: #111;          
  color: white;
  text-align: center;
  font-size: 0.9rem;         
  padding: 10px 20px;
  margin-top: auto;
}


/* --------------------
  About 
-------------------- */

.about {
  background: var(--moss-green);
  color: white;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 40px;              
  padding: 60px 20px;
}

.about-top {
  display: flex;
  align-items: center;
  gap: 30px;
}

.about-container {
  max-width: 1000px; 
  margin: 0 auto;
  padding: 60px 20px;
  display: flex;
  /* top + icons stacked */
  flex-direction: column; 
  /* space between top and icons */
  gap: 40px;  
}

.profile-pic img {
  width: min(200px, 50vw);
  height: auto;
  border-radius: 50%; /* optional circular */
  object-fit: cover;
}

.about-content {
  flex: 1; 
  display: flex;
  /* stack text and icons vertically */
  flex-direction: column; 
  gap: 30px;
}

.about-text {
  flex: 1;
}

.about p {
  max-width: 600px;
  font-size: 1.3rem;
  line-height: 1.6;
}

.about-alt {
  display: flex;
  /* stack text and icons vertically */
  flex-direction: column; 
  background: #f4f4f4;
  color: var(--moss-green);
}

.about-text {
  max-width: 600px;
  text-align: center;
}

.about-icons {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.icon-item img {
  width: 100px;  /* adjust size */
  height: 100px;
  margin-bottom: 10px;
}

.icon-item p {
  font-weight: bold;
  color: white; 
  font-size: 1.5rem;
  white-space: pre-line;
}

.icon-item-alt p {
  color: var(--moss-green); 
}

/* --------------------
   Quote slider
-------------------- */

.quote-section {
  min-height: 60vh;
  background: var(--moss-green);
  color: white;
  overflow: hidden;
}

.quote-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
  max-width: 1500px;
}

.quote-container {
  position: relative;
  width: 1000px;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote {
  position: absolute;
  text-align: center;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.quote.active {
  opacity: 1;
  transform: translateX(0);
}

.text {
  font-size: clamp(18px, 3vw, 2.3rem);
  line-height: 1.4;
  margin-bottom: 15px;
}

.author {
  font-size: clamp(14px, 2vw, 1rem);
  opacity: 0.7;
  letter-spacing: 1px;
}

.arrow {
  background: transparent;
  border: none;
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.arrow:hover {
  opacity: 0.6;
}

blockquote {padding-left:20px;
            font-style:normal;
            margin-left:40px;
            border-left:6px solid rgb(255,255,255);
            box-shadow: 0 4px 8px rgb(0,0,0,0.2), 0 6px 20px rgb(0,0,0,0.2);
            padding-top:20px;
            padding-bottom: 30px;
            padding-right: 50px;
            border-top-right-radius: 5px;
            border-bottom-right-radius: 5px;}
blockquote.green{border-left-color: var(--moss-green);}
blockquote.black{border-left-color: black;}
blockquote.orange{border-left-color: #d49213;}


/* --------------------
   Mobile tweaks
-------------------- */

@media (max-width: 768px) {
  .nav-dots {
    right: 10px;
  }

  .about-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .icon-item img {
    width: clamp(50px, 20vw, 80px); 
    height: clamp(50px, 20vw, 80px);
  }

  .icon-item p {
    font-size: 1.2rem;
  }
}
}
