/* Globalne varijable */
:root {
  --bg-dark: #0f0f0f;
  --bg-light: #e9e7e7;
  --text-light: #e9e7e7;
  --text-dark: #000;
  --accent: #838282;
  --font-main: 'Charis SIL', serif;
  --section-pad: 5rem 2rem;
  --radius: 10px;
  --header-height: 100px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.map-container {
  margin-top: 50px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.map-container iframe {
  display: block;
}


h2, h3 { text-transform: uppercase; }
h3 { padding-bottom: 1rem; }
p { padding-bottom: 3rem; }

/* Header */
header {
  background: var(--bg-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  max-width: 95%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  position: relative;
}

.nav-left .logo img { height: 70px; width: auto; }

.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 3rem;
  font-family: var(--font-main);
  text-transform: uppercase;
}

.nav-links li a {
  text-decoration: none;
  color: var(--text-light);
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--accent);
  text-decoration: underline;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.social-icon {
  color: var(--text-light);
  font-size: 2.5rem;
  transition: all 0.3s ease;
}

.social-icon:hover { color: var(--accent); }

.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-left: 1rem;
}

.burger div {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 4px;
}

/* Language Dropdown */
.language-dropdown { position: relative; }
.lang-btn { background: none; cursor: pointer; border: none; }
.lang-btn img { width: 40px; }

.lang-menu {
  display: none;
  position: absolute;
  background: var(--bg-dark);
  border: 1px solid #333;
  z-index: 10;
}

.lang-menu button {
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  padding: 0.3rem 0.5rem;
  display: flex;
  justify-content: center;
}

.lang-menu button img {
  width: 30px;
  border-radius: 10%;
}

.lang-menu button:hover { background: #222; }
.language-dropdown.open .lang-menu { display: block; }

/* Carousel */
.carousel {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s linear;
}

.carousel-slide.active { opacity: 1; }

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  color: #fff;
  border: none;
  font-size: 4rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 3;
  border-radius: 50%;
  user-select: none;
  transition: color 0.3s ease;
}

.carousel-arrow.prev { left: 20px; }
.carousel-arrow.next { right: 20px; }
.carousel-arrow:hover { color: #b8b7b7; }

.carousel-btn-t,
.carousel-btn-lj,
.carousel-btn-b {
  position: absolute;
  bottom: 20px; 
  left: 50%;     
  transform: translateX(-50%); 
  display: inline-block;
  padding: 0.8rem 2rem; 
  background: black;
  color: #fff;
  font-size: 1.6rem;
  border: 2px solid #fff;
  border-radius: var(--radius);
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease;
  font-family: var(--font-main);
  z-index: 5;
  width: 200px; 
  text-align: center; 
}

.carousel-btn-t:hover,
.carousel-btn-lj:hover,
.carousel-btn-b:hover {
  background: #fff;
  color: #000;
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}


/* Section & Footer */
section, footer { position: relative; z-index: 10; }

/* About Section */
.about-section {
  background: var(--bg-light);
  color: var(--text-dark);
  text-align: center;
  font-family: var(--font-main);
  min-height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: calc(100vh - var(--header-height));
  max-width: 100%;
}

.about-section h2 { font-size: 3rem; margin-bottom: 2rem; margin-top: 2rem;}
.about-section p {
  font-size: 1.6rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.about-image {
  max-width: 700px;
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}

/* Aftercare Section */
.aftercare-section {
  background: var(--bg-light);
  color: var(--text-dark);
  text-align: center;
  font-family: var(--font-main);
  min-height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 100%;
}

.aftercare-section h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.aftercare-list {
  max-width: 900px;
  margin: 2rem auto 0;
  padding: 0 1.5rem;
  list-style: none;
  font-family: var(--font-main);
}

.aftercare-list li {
  font-size: 1.4rem;
  line-height: 1.7;
  color: var(--text-dark);
  text-align: justify;
  margin-bottom: 1.8rem;
  position: relative;
  padding-left: 2.2rem;
}

.aftercare-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 17px;
  height: 17px;
  background-image: url("assets/icons/mallet.png");
  background-size: contain;
  background-repeat: no-repeat;
  transform: translateY(2px);
}

/* Artists Section */
.artists-section {
  width: 100%;
  background: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-main);
}

.artists-section h2 {
  font-size: 3rem;
  text-align: center;
  padding-top: 4rem;
}

.artist {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 2rem;
  gap: 3rem;
}

.artist.reverse { flex-direction: row-reverse; }

.artist-image, .artist-info { flex: 1; }

.artist-image img {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
  border-radius: 15px;
}

.artist-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.artist-info h3 { font-size: 3rem; }
.artist-info p { font-size: 1.6rem; line-height: 1.6; }

.portfolio-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: transparent;
  color: #fff;
  font-size: 1.6rem;
  border: 2px solid #fff;
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.portfolio-btn:hover { background: #fff; color: #000; }

/* Merch Section */
.merch-section {
  background: var(--bg-light);
  padding: var(--section-pad);
  text-align: center;
  font-family: var(--font-main);
}

.merch-section h2 {
  font-size: 3rem;
  margin-bottom: 3rem;
}

.merch-section p{
  font-size: 1.6rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.6;
  margin-top: 2rem;
}

.merch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.merch-item {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.merch-item:hover { transform: translateY(-5px); }
.merch-item img { 
  width: 100%;   
  height: 300px;       
  object-fit: cover; 
  display: block;
  object-position: top; }
.merch-item h3 { font-size: 1.8rem; margin-top: 1rem; color: #000; }
.merch-item p { font-size: 1.4rem; margin-bottom: 1rem; color: #555; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.lightbox.open { display: flex; }

.lightbox-image {
  max-width: 90%;
  max-height: 80%;
  margin-bottom: 1rem;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
}

.lightbox-controls {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.lightbox-controls button {
  background: none;
  color: #fff;
  border: none;
  font-size: 3rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.lightbox-controls button:hover { color: #ccc; }

/* Contact Section */
.contact-section {
  background: var(--bg-dark);
  font: #fff;
  padding: var(--section-pad);
  text-align: center;
  font-family: var(--font-main);
}

.contact-section h2 { font-size: 3rem; margin-bottom: 3rem; color: #e9e7e7; }

#contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

#contact-form input,
#contact-form textarea {
  color: #000;
  padding: 1rem;
  border: none;
  border-radius: var(--radius);
  font-size: 1.6rem;
  outline: none;
  transition: all 0.3s ease;
  width: 100%;
}

#contact-form input:focus,
#contact-form textarea:focus {
  box-shadow: 0 0 10px var(--accent);
  background: #1a1a1a;
  color: #fff;
}

#contact-form textarea { resize: vertical; min-height: 150px; }

#contact-form button {
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--radius);
  background: var(--bg-light);
  color: var(--bg-dark);
  font-size: 1.6rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

#contact-form button:hover {
  background: var(--accent);
  color: #fff;
}

#form-status { margin-top: 1rem; font-size: 1.4rem; }

/* Footer */
.footer {
  background: var(--bg-dark);
  color: #ddd;
  padding: 40px 20px 10px;
  text-align: center;
  font-family: var(--font-main);
}

.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 20px;
  padding-top: 10px;
  font-size: 0.9rem;
  color: #888;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 15px;
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1200px) {
  .navbar { padding: 0.5rem 1rem; }
  .nav-left .logo img { height: 50px; }

  .nav-center { top: 70px; width: 100%; }
  .nav-links {
    display: none;
    flex-direction: column;
    background: #111;
    width: 100%;
    padding: 1rem 0;
    gap: 1rem;
    text-align: center;
    border-top: 1px solid #222;
  }

  .nav-links.mobile-active { display: flex; position: absolute; z-index: 10; }
  .nav-right { gap: 1rem; }
  .nav-right .social-icon { display: none; }

  .burger { display: flex; margin-left: 0.5rem; }
  .burger div { width: 20px; height: 2.5px; margin: 3px; }

  .lang-btn img { width: 20px; }
  .lang-menu button img { width: 25px; }
}

@media (max-width: 900px) {
  :root { --header-height: 60px; }

  .carousel { height: calc(100vh - 60px); }
  .carousel-arrow { font-size: 4rem; padding: 0.3rem 0.6rem; }

  .about-section h2, .artists-section h2 { font-size: 2.2rem; }
  .about-section p, .artist-info p { font-size: 1.4rem; }
  .about-section .about-image { max-width: 100%; }

  .aftercare-section h2 { font-size: 2.2rem; }

  .artist { flex-direction: column; height: auto; padding: 1rem; }
  .artist.reverse { flex-direction: column; }
  .artist-image img { max-height: 300px; padding-top: 5rem; }
  .artist-info h3 { font-size: 2rem; }
  .portfolio-btn { font-size: 1.4rem; padding: 0.6rem 1.5rem; }

  .merch-grid { grid-template-columns: 1fr; }
}

/* Carousel offset for desktop */
@media (min-width: 901px) {
  .carousel-slide[data-desktop="assets/images-carusel/k2.jpg"],
  .carousel-slide[data-desktop="assets/images-carusel/k3.jpg"],
  .carousel-slide[data-desktop="assets/images-carusel/k4.jpg"] {
    background-position: center calc(50% + 100px);
  }
}

/* Carousel buttons mobile adjustments */
@media (max-width: 900px) {
  .carousel-btn-t,
  .carousel-btn-lj,
  .carousel-btn-b {
    bottom: 40px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    font-size: 1.2rem !important;
    padding: 0.6rem 1.4rem !important;
    border-width: 1.5px !important;
  }
}

/* Aftercare responsive adjustments */
@media (max-width: 900px) {
  .aftercare-list {
    padding: 0 1rem;
  }

  .aftercare-list li {
    font-size: 1.2rem;
  }

  .aftercare-list li::before {
    width: 13px;
    height: 13px;
    top: 0.5rem;
  }

  .about-section p,
  .artists-section p,
  .merch-section p{
    font-size: 1.2rem;
  }

}


@media (max-width: 900px) {

  /* CONTACT – MOBILE SIZE */
  #contact-form {
    max-width: 90%;
    gap: 1rem;
  }

  #contact-form input,
  #contact-form textarea {
    padding: 0.8rem;
    font-size: 1.3rem;
  }

  #contact-form textarea {
    min-height: 120px;
  }

  #contact-form button {
    padding: 0.8rem 1.5rem;
    font-size: 1.4rem;
  }

  .contact-section h2 {
    font-size: 2.2rem;
  }

}


@media (max-width: 1400px) and (min-width: 769px) {

  header {
    padding: 10px 0;
  }

  .navbar {
    height: 80px;
  }

  .logo img {
    height: 45px;
  }

  .nav-links li a {
    font-size: 25px;
  }

  .social-icon {
    font-size: 30px;
  }
}
