/* =========================================
   NAVIGATION CTA
========================================= */

.nav-cta {
  flex-shrink: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  min-width: 210px;

  padding: 15px 24px;

  color: var(--color-gold);
  background: rgba(0, 0, 0, 0.16);

  border: 1px solid var(--color-gold);
  border-radius: 8px;

  text-decoration: none;
  text-transform: uppercase;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.7px;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.nav-cta:hover {
  background: var(--color-gold);
  color: #111;
  transform: translateY(-2px);
}


/* =========================================
   MENU BUTTON
========================================= */

.menu-toggle {
  display: none;

  width: 52px;
  height: 52px;

  align-items: center;
  justify-content: center;

  padding: 0;

  border: none;
  border-radius: 50%;

  background: #171717;
  color: white;

  font-size: 30px;
  line-height: 1;

  cursor: pointer;
}


/* =========================================
   DISCOVER HORIZONTAL SUBNAV
========================================= */

.nav-item {
  position: static;
}

.nav-discover {
  display: flex;
  align-items: center;
}


/* Discover huvudlänk */

.discover-nav-link {
  display: flex !important;
  align-items: center;
  gap: 7px;
}


/* lilla pilen */

.discover-arrow {
  font-size: 0.58rem;
  opacity: 0.65;

  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.nav-discover:hover .discover-arrow {
  transform: rotate(180deg);
  opacity: 1;
}


/* =========================================
   DEN HORISONTELLA RADEN
========================================= */

.discover-dropdown {
  position: absolute;

  top: 100%;
  left: 0;

  width: 100%;

  display: flex;
  justify-content: center;
  align-items: stretch;

  gap: 0;

  padding: 0;

  background: rgba(105, 8, 8, 0.88);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-top:
    1px solid rgba(255, 255, 255, 0.05);

  border-bottom:
    1px solid rgba(255, 255, 255, 0.06);

  box-shadow:
    0 12px 25px rgba(0, 0, 0, 0.20);

  opacity: 0;
  visibility: hidden;

  pointer-events: none;

  transform: translateY(-7px);

  z-index: 9999;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease;
}


/* visa raden */

.nav-discover.is-open .discover-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}


/* =========================================
   SUBNAV-KNAPPAR
========================================= */

.discover-dropdown a {

  display: flex !important;
  align-items: center;
  justify-content: center;

  min-height: 54px;

  padding: 0 24px !important;

  font-family: "Inter", sans-serif;

  font-size: 0.75rem !important;

  font-weight: 400;

  letter-spacing: 1.2px !important;

  text-transform: uppercase !important;

  white-space: nowrap;

  color:
    rgba(255, 255, 255, 0.82) !important;

  background:
    rgba(0, 0, 0, 0.07) !important;

  border: 0 !important;

  border-right:
    1px solid rgba(255, 255, 255, 0.07) !important;

  transition:
    background 0.25s ease,
    color 0.25s ease;
}


/* första knappen */

.discover-dropdown a:first-child {
  border-left:
    1px solid rgba(255, 255, 255, 0.07) !important;
}


/* ta bort underline från vanliga nav */

.discover-dropdown a::after {
  display: none !important;
}


/* siffrorna behövs inte visuellt här */

.discover-dropdown a span {
  display: none;
}


/* hover */

.discover-dropdown a:hover {

  background:
    rgba(0, 0, 0, 0.19) !important;

  color: #d6aa18 !important;
}
/* =========================================
   LANGUAGE SWITCHER
========================================= */

.hero-header .language-switcher {
  position: absolute;
  top: 18px;
  right: 24px;
  z-index: 20;

  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-header .language-btn {
  width: 34px;
  height: 34px;
  padding: 0;
  margin: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;

  cursor: pointer;
  opacity: 0.7;

  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.hero-header .language-btn:hover {
  background: rgba(0, 0, 0, 0.55);
  opacity: 1;
  transform: scale(1.08);
}

.hero-header .language-btn.active {
  background: rgba(0, 0, 0, 0.55);
  border-color: #d6aa18;
  opacity: 1;
  box-shadow: 0 0 0 2px rgba(214, 170, 24, 0.25);
}

.hero-header .language-btn img {
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}


/* =========================================
   YOUTUBE BUTTON
========================================= */

.youtube-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    cursor: pointer;
    margin-top: 15px;
    animation: pulse 1.5s infinite;
}

.youtube-button i {
    background: #db0202;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* =========================================
   SOCIAL ICONS
========================================= */

.social-icons {
    margin-top: 10px;      /* avstånd från texten */
}

.social-icons a {
    color: white;
    font-size: 28px;
    margin-left: 15px;     /* mellan ikonerna */
    text-decoration: none;
    transition: 
        color 0.3s ease,
        transform 0.2s ease;
}

.social-icons a:hover {
    color: #ff0000;        /* hover-färg */
    transform: scale(1.2);
}


/* =========================================
   MODALS
========================================= */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal-content {
  position: relative;
  background: white;
  padding: 40px;
  border-radius: 20px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  text-align: center;
}

.modal-content iframe {
  width: 100%;
  border: none;
}

.modal-content h3 {
  margin-bottom: 25px;
}

.modal-content input,
.modal-content select {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
}

.modal-content button {
  width: 100%;
  padding: 14px;
  background: black;
  color: white;
  border: none;
  cursor: pointer;
}

.small-text {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-bottom: 20px;
}

.close {
  position: absolute;
  right: 25px;
  top: 20px;
  font-size: 24px;
  cursor: pointer;
}

.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.video-modal-content {
    width: 90%;
    max-width: 900px;
}

.video-modal-content iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
}

.close-video {
    color: white;
    font-size: 40px;
    cursor: pointer;
    float: right;
}



/* =========================================
   BUTTONS
========================================= */


.term-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;

  width: 100%;
  padding: 13px 13px 13px 22px;

  background: linear-gradient(135deg, #db0202, #890000);
  border-radius: 7px;

  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.term-button i {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;

  border: 2px solid #d6aa18;
  border-radius: 50%;
  color: #d6aa18;

  transition: transform 0.25s ease;
}

.term-button:hover {
  background: linear-gradient(135deg, #f20a0a, #a40000);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(219, 2, 2, 0.28);
}

.term-button:hover i {
  transform: translateX(3px);
}


.autumn-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #d6aa18, #f3d166);
  color: #050505;
  text-decoration: none;
  font-weight: 900;
  padding: 16px 30px;
  border-radius: 50px;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.autumn-button:hover {
  transform: translateY(-3px);
}

.open-house-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #d6aa18, #f3d166);
  color: #050505;
  border: none;
  padding: 18px 45px;
  border-radius: 50px;
  font-size: 21px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(214,170,24,0.35);
  transition: all 0.3s ease;
}

.open-house-button:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, #f3d166, #d6aa18);
}

.leave-review-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  padding: 11px 21px;

  border: 1px solid #d4a91e;
  border-radius: 25px;

  background: #d4a91e;
  color: #171515;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  text-decoration: none;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.leave-review-button:hover {
  transform: translateY(-2px);
  background: #171515;
  color: #ffffff;
}


/* =========================================
   MOBILE MENU BUTTON
========================================= */

.menu-toggle {
  display: none;
  font-size: 35px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

/* =========================================
   ANIMATIONS
========================================= */

@keyframes slideIn {
    from {
        transform: translateX(-1000px);
        opacity: 0;
    }
    to {
        transform: translateX(100px);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {transform: scale(1);}
    50% {transform: scale(1.08);}
    100% {transform: scale(1);}
}

/* Animationer */
@keyframes fadeInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}