:root {
  --modal-duration: 1s;
  --primary-color: #80564f;
  --secondary-color: #ffffff;
}

* {
  box-sizing: border-box;
}

html a,
html a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

body {
  background-color: var(--primary-color);
  background-image: url(https://res.cloudinary.com/dacuj8n3i/image/upload/f_auto,q_auto/v1749838820/seamless2_bypkmr.png);
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
  margin: 0;
}

@media only screen and (max-width: 1028px) {
  body {
    background-image: url(https://res.cloudinary.com/dacuj8n3i/image/upload/f_auto,q_auto,w_800/v1749838820/seamless2_bypkmr.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }
}

p,
li {
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Arima Madurai", cursive;
}

ul {
  font-family: "Montserrat", sans-serif;
}

#nav {
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 30px 0 30px;
  position: fixed;
  top: 0;
  left: 0;
  width: 80vw;
  max-width: 320px;
  height: 100vh;
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  z-index: 100;
}

#nav.active {
  transform: translateX(0);
}

#nav ul {
  padding: 0;
  list-style-type: none;
}

#nav ul li {
  margin: 14px 0;
  text-align: center;
}

#nav span {
  color: #111;
  font-size: 20px;
  text-decoration: none;
  /* text-transform: uppercase; */
  font-family: "Arima Madurai", cursive;
}

#nav span:hover {
  color: #d35400;
  cursor: pointer;
  text-decoration: none;
}

#nav .nav-logo {
  padding: 60px 0 20px;
  text-align: center;
  width: 100%;
}

#nav .nav-logo img {
  height: 75px;
  width: 75px;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
}

#nav .nav-social {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 0;
  font-size: 2rem;
  width: 100%;
}

.toggle {
  color: #000000;
  background-color: rgba(255, 255, 255, 0.3);
  border: none;
  border-radius: 0 0 6px 0;
  cursor: pointer;
  font-size: 20px;
  padding: 10px 15px;
  position: absolute;
  top: 0;
  right: 1px;
  transform: translateX(100%);
}

.toggle:focus {
  outline: none;
}

.toggle .fa-bars {
  display: block;
}

.toggle .fa-times {
  display: none;
}

#nav.active .toggle .fa-bars {
  display: none;
}

#nav.active .toggle .fa-times {
  display: block;
  transform: translateX(-300%);
  color: var(--primary-color);
}

#nav.active .toggle {
  background-color: transparent;
}

/* MODAL */

.modal-container-tc {
  background-color: rgba(0, 0, 0, 0.651);
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
}

.modal-container-tc.show-modal {
  display: block;
}

.modal-tc {
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.301);
  position: absolute;
  overflow: hidden;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  width: 320px;
  animation-name: modalopen;
  animation-duration: var(--modal-duration);
}

@media (min-width: 1028px) {
  .modal-tc {
    width: 400px;
  }
}

.modal-header-tc {
  background-color: var(--primary-color);
  color: #fff;
  padding: 15px;
}

.modal-header-tc h3 {
  margin: 0;
}

.modal-content-tc {
  padding: 30px 20px 40px 20px;
}

.modal-content-tc p {
  color: #000;
}

.modal-form-tc div {
  margin: 15px 0;
}

.modal-form-tc label {
  display: block;
  margin-bottom: 5px;
}

.modal-form-tc .form-input {
  padding: 8px;
  width: 100%;
}

.close-btn {
  background-color: transparent;
  color: #fff;
  border: 0;
  font-size: 25px;
  position: absolute;
  top: 12px;
  right: 0;
  outline: none;
}

@media (min-width: 1028px) {
  .close-btn {
    right: 10px;
  }
}

.close-btn:focus {
  outline: none;
}

.open-modal {
  display: block;
  width: 150px;
  border: 0;
  color: #000000;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 5px;
  background-color: #ffffff44;
  padding: 2px 10px;
}

.open-modal:hover {
  background-color: #ffffff88;
}

.open-modal:focus {
  outline: none;
}

header {
  height: 100vh;
}

.mona-image {
  width: 200px;
  margin: 0 0 0px 0;
}

#imagedescription {
margin-top: 5px;
}


.logoarr {
  text-align: center;
  transform: translateY(-10%);
}

.logoarr i {
  color: #ffffff33;
  cursor: pointer;
}

.logoarr i:hover {
  color: rgba(255, 255, 255, 0.53);
}

.main-logo {
  display: block;
  padding: 20px;
  width: 15em;
  background-color: #ffffff36;
  border-radius: 15px;
}

@media (min-width: 1028px) {
  .main-logo {
    width: 20em;
  }
}

@keyframes modalopen {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

#ateljen {
  min-height: 100vh;
  margin: 0;
  background-image: url(https://res.cloudinary.com/dacuj8n3i/image/upload/f_auto,q_auto/v1775504255/ateljen-background_dtxvvl.jpg);
  background-size: cover;
  background-repeat: no-repeat;
}

.section-content {
  background-color: #ffffffea;
  border-radius: 10px;
}

.section-content p {
  margin: 0;
  padding: 0;
}

.section-content ul {
  padding-left: 1rem;
}

.section-content ul:last-child {
  margin-bottom: 0;
}

.service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
  margin-bottom: 1.8rem;
}

.service-link {
  display: inline-block;
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--primary-color);
  border-radius: 20px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  color: var(--primary-color) !important;
  background-color: transparent;
  transition: background-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.service-link:hover {
  background-color: var(--primary-color);
  color: #ffffff !important;
}

#leverantorer {
  height: 100vh;
  background-image: url(https://res.cloudinary.com/dacuj8n3i/image/upload/f_auto,q_auto/v1775504611/leverantorer-new_rljkvx.jpg);
  background-size: cover;
  background-repeat: no-repeat;
}

#leverantorer > div > p:nth-child(3) {
  margin-bottom: 15px;
}

#kontaktbokatid {
  height: 100%;
  margin-top: 4vh;
  background-image: url(https://res.cloudinary.com/dacuj8n3i/image/upload/f_auto,q_auto/v1775504615/kontaktbokatid-new_f79la4.jpg);
  background-size: cover;
  background-repeat: no-repeat;
}

#footer {
  color: #fff;
  background-color: #000000;
}

@media (max-width: 400px) {
  #footer {
    font-size: 0.7rem;
  }
}

#footer a {
  /* height: 100vh; */
  color: var(--primary-color);
}


@media (max-width: 576px){
  #map {
    margin: 20px 0 0 0;
    padding: 0;
    height: 300px;
    width: 100%;
  }
  }

  @media (min-width: 768px){
    #map {
      margin: 20px 0 0 0;
      padding: 0;
      height: 300px;
      width: 100%;
    }
  }

  @media (min-width: 992px){
    #map {
      margin: 20px 0 0 0;
      padding: 0;
      height: 300px;
      width: 100%;
    }
  }

  @media (min-width: 1200px) {
    #map {
      margin: 20px 0 0 0;
      padding: 0;
      height: 300px;
      width: 300px;
    }
  }

/* ===== Desktop navbar — separat element, rör ej mobilmenyn ===== */

#desktop-nav {
  display: none;
}

@media (min-width: 768px) {
  #desktop-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    z-index: 200;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(6px);
    padding: 0 2rem;
  }

  #desktop-nav img {
    height: 36px;
    width: auto;
    display: block;
  }

  #desktop-nav .dnav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  #desktop-nav .dnav-links a {
    color: #000000;
    font-size: 0.95rem;
    text-decoration: none;
  }

  #desktop-nav .dnav-links a:hover {
    color: rgba(255, 255, 255, 0.53) !important;
  }

  #desktop-nav .dnav-social {
    display: flex;
    gap: 1rem;
    align-items: center;
  }

  #desktop-nav .dnav-social a {
    color: #000000;
    font-size: 1.2rem;
    text-decoration: none;
  }

  #desktop-nav .dnav-social a:hover {
    color: rgba(255, 255, 255, 0.53) !important;
  }

  /* Dölj mobilmenyn på desktop */
  #nav {
    display: none !important;
  }

  .toggle-fixed-btn {
    display: none !important;
  }
}


/* ===== Landing Pages ===== */

.landing-page {
  min-height: 100vh;
  padding-top: 120px !important;
  padding-bottom: 3rem;
}

.landing-page h1 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.landing-page h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.landing-page .section-content p {
  margin-bottom: 0.75rem;
}

.landing-page .section-content ul {
  margin-bottom: 1rem;
}

.landing-intro {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.landing-cta-text {
  font-style: italic;
}

.landing-back-link {
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
}

/* Landing internal links section on homepage */
.landing-links {
  min-height: auto;
  background-image: url(https://res.cloudinary.com/dacuj8n3i/image/upload/f_auto,q_auto/v1775504615/kontaktbokatid-new_f79la4.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.landing-links h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.landing-links ul {
  list-style: none;
  padding-left: 0;
}

.landing-links ul li {
  margin: 8px 0;
}

.landing-links ul li::before {
  content: "→ ";
  color: var(--primary-color);
}

/* Mobile: smaller Cloudinary images */
@media only screen and (max-width: 1028px) {
  #ateljen {
    background-image: url(https://res.cloudinary.com/dacuj8n3i/image/upload/f_auto,q_auto,w_800/v1775504255/ateljen-background_dtxvvl.jpg);
  }
  #leverantorer {
    background-image: url(https://res.cloudinary.com/dacuj8n3i/image/upload/f_auto,q_auto,w_800/v1775504611/leverantorer-new_rljkvx.jpg);
  }
  #kontaktbokatid {
    background-image: url(https://res.cloudinary.com/dacuj8n3i/image/upload/f_auto,q_auto,w_800/v1775504615/kontaktbokatid-new_f79la4.jpg);
  }
  .landing-links {
    background-image: url(https://res.cloudinary.com/dacuj8n3i/image/upload/f_auto,q_auto,w_800/v1775504615/kontaktbokatid-new_f79la4.jpg);
  }
}
