/* Font Faces */
@font-face {
  font-family: montserrat;
  src: url('fonts/Montserrat-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: montserrat;
  src: url('fonts/Montserrat-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: montserrat;
  src: url('fonts/Montserrat-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Base Styles */
html {
  font-size: 10px;
}

body {
  font-family: montserrat, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header Scroll State */
body.body-scroll .header {
  box-shadow: 0 0 4rem rgba(0,0,0,0.2);
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

/* Button Component */
.button {
  border: 1px solid #000;
  color: #000;
  display: inline-block;
  font-size: 1.4rem;
  letter-spacing: 0.13em;
  line-height: 1.8rem;
  min-width: 19.6rem;
  padding: 1.4rem 5.5rem 1.4rem 2.5rem;
  position: relative;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s linear;
  background-color: transparent;
}

.button:hover {
  background-color: #000;
  color: #fff;
}

.button::after {
  background-image: url('icons/arrow-right-black.svg');
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: contain;
  content: "";
  display: block;
  height: 1.2rem;
  margin-top: -0.6rem;
  position: absolute;
  top: 50%;
  right: 2.2rem;
  width: 1.2rem;
  transition: all 0.2s linear;
}

.button:hover::after {
  background-image: url('icons/arrow-right-white.svg');
}

/* Button White Variant */
.button-white {
  border-color: #fff;
  color: #fff;
}

.button-white:hover {
  background-color: #fff;
  color: #000;
}

.button-white::after {
  background-image: url('icons/arrow-right-white.svg');
}

.button-white:hover::after {
  background-image: url('icons/arrow-right-black.svg');
}

/* Swiper Customizations */
.swiper-button-prev,
.swiper-button-next {
  background: rgba(0,0,0,0.3);
  color: #fff;
  height: 44px;
  width: 44px;
  transition: all 0.2s linear;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: rgba(0,0,0,0.6);
}

.swiper-button-prev {
  left: 3%;
}

.swiper-button-next {
  right: 3%;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 20px;
}

/* Slider Pagination */
.slider-pagination {
  display: flex;
  flex-wrap: wrap;
  line-height: 1;
  justify-content: center;
  text-align: center;
  z-index: 5;
}

.slider-pagination .swiper-pagination-bullet {
  background: #e6e6e6;
  height: 12px;
  margin: 0.5rem 1rem !important;
  opacity: 1;
  width: 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s linear;
}

.slider-pagination .swiper-pagination-bullet-active {
  background: #b3b3b3;
}

/* White variant for dark backgrounds */
.slider-pagination-white .swiper-pagination-bullet {
  background: #666;
}

.slider-pagination-white .swiper-pagination-bullet-active {
  background: #fff;
}

/* Mobile Menu Toggle */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-bar {
  display: block;
  width: 3rem;
  height: 2px;
  background-color: #000;
  margin: 6px 0;
  transition: all 0.2s linear;
}

.menu-visible .menu-bar:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-visible .menu-bar:nth-child(2) {
  opacity: 0;
}

.menu-visible .menu-bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Visible State */
.menu-visible .navigation {
  transform: translateX(0) !important;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Focus states for accessibility */
a:focus,
button:focus {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.button:focus {
  outline-color: currentColor;
}

/* Remove focus outline on logo links */
.header-logo:focus,
.footer-logo:focus {
  outline: none;
}

/* Form Styles */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  font-family: montserrat, sans-serif;
  transition: border-color 0.2s linear;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #000;
}

.file-upload {
  transition: border-color 0.2s linear, background-color 0.2s linear;
}

.file-upload:hover {
  border-color: #999;
  background-color: #fafafa;
}

/* Language Switcher Dropdown */
.language-switcher {
  position: relative;
  bottom: -0.6rem;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.language-switcher .lang-current {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #000;
  text-decoration: none;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

.language-switcher .lang-current:hover {
  color: #666;
}

.language-switcher .lang-arrow {
  font-size: 0.8em;
  transition: transform 0.2s ease;
}

.language-switcher .lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 12rem;
  background: #fff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.5rem);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 200;
}

.language-switcher:hover .lang-dropdown,
.language-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-switcher:hover .lang-arrow,
.language-switcher.open .lang-arrow {
  transform: rotate(180deg);
}

.language-switcher .lang-dropdown li {
  margin: 0;
}

.language-switcher .lang-dropdown a {
  display: block;
  padding: 0.8rem 1.5rem;
  color: #666;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.language-switcher .lang-dropdown a:hover {
  background-color: #f5f5f5;
  color: #000;
}

.language-switcher .lang-dropdown a[aria-current="page"] {
  color: #000;
  font-weight: 600;
}

@media only screen and (max-width: 1200px) {
  .language-switcher {
    position: absolute;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    right: 6rem;
    z-index: 102;
  }

  .language-switcher .lang-dropdown {
    right: 0;
  }
}

/* File List Styles */
.file-list {
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 1rem;
  background: #fafafa;
}

.file-list-header {
  font-size: 1.2rem;
  font-weight: 600;
  color: #666;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e5e5;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem;
  margin-bottom: 0.5rem;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 3px;
  font-size: 1.3rem;
  transition: background-color 0.15s ease;
}

.file-item:hover {
  background: #f5f5f5;
}

.file-item:last-child {
  margin-bottom: 0;
}

.file-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.file-name {
  font-weight: 500;
  color: #000;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-size {
  color: #999;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.file-remove {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  padding: 0.4rem 0.8rem;
  font-size: 1.8rem;
  line-height: 1;
  transition: color 0.15s ease;
  flex-shrink: 0;
}

.file-remove:hover {
  color: #e74c3c;
}

.file-remove:focus {
  outline: 2px solid #000;
  outline-offset: 2px;
}

/* Responsive adjustments */
@media only screen and (max-width: 1349px) {
  .home-info-section h2 {
    font-size: 12rem;
  }
}

@media only screen and (max-width: 1200px) {
  body {
    padding-top: 8rem;
  }

  .home-info-section h2 {
    font-size: 8rem;
  }
}

@media only screen and (max-width: 767px) {
  body {
    padding-top: 7rem;
  }

  .home-info-section h2 {
    font-size: 5rem;
  }
}
