@import url("base.css");
@import url("typography.css");
@import url("utilities.css");
@import url("nav.css");
@import url("landing.css");
@import url("about.css");
@import url("experience.css");
@import url("projects.css");
@import url("contact.css");
@import url("footer.css");
@import url("dark.css");

* {
  font-family: "Sailec-Regular", sans-serif;
}

html,
body {
  max-width: 100% !important;
  overflow-x: hidden;
}

:root {
  --site-max-width: 1080px;
  --purple-color: hsla(280, 84%, 41%, 1);
}

.container {
  max-width: var(--site-max-width);
}

.fa-white {
  color: white !important;
}

.button-style,
.menu-button,
.contact-button {
  transition: all 0.3s ease;
  /* Removed transform: translateY(0); from here to avoid conflict */
  box-shadow: none;
}

.button-style,
.button-style-secondary {
  padding: 10px 24px; /* same exact padding */
  border-radius: 6px;
  font-size: 0.9em;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  box-sizing: border-box;
}

.button-style {
  background: linear-gradient(
    140deg,
    hsla(280, 84%, 41%, 1) 0%,
    hsla(218, 97%, 56%, 1) 100%
  );
  color: white;
  background-size: 200%;
  background-position: left;
  border: none !important;
  transition: transform 0.3s ease, background-position 0.5s ease,
    box-shadow 0.3s ease;
  transform: translateY(0); /* Explicitly set base transform here */
}

.button-style:hover {
  transform: translateY(-4px);
  background-position: right;
  cursor: pointer;
}

.button-style-secondary {
  background: transparent;
  color: hsla(280, 84%, 41%, 1);
  border: 2px solid hsla(280, 84%, 41%, 1) !important;
  background-size: 200%;
  background-position: left;
  transition: transform 0.3s ease, background-position 0.5s ease,
    background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.button-style-secondary:hover {
  transform: translateY(-4px);
  background: hsla(280, 84%, 41%, 1);
  color: white;
  box-shadow: 0 4px 12px rgba(135, 17, 193, 0.3);
  cursor: pointer;
}

.button-style-secondary:hover .purple-text-color {
  color: white;
}

.purple-text-color {
  color: hsla(280, 84%, 41%, 1);
}
