@import url('./theme.css');
/* Use of margins is not allowed */


body {  
  background-color: var(--bg-color);
  color: var(--text-main);
}

/* --- LAYOUT UTILITIES --- */

.btn {
  display: inline-block;
  background-color: var(--text-main);
  color: white;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid var(--text-main);
}

.btn:hover {
  background-color: transparent;
  color: var(--text-main);
}

.fa-solid {
  color: var(--icon-color);
}

.fa-solid:hover {
  color: var(--icon-color-accent);
  transform: scale(1.04);
}

/* --- HEADER --- */
header {
  background-color: var(--bg-color);
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* --- HERO SECTION --- */
.hero {
  padding: 6rem 0;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.button {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  color: var(--btn-text);
  background-color: var(--btn-bg);
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.nav-item:hover .dropdown-content {
  display: block;
}


.feature-desc,
.subtitle,
.card p {
  text-align: justify;
}


/* --- SERVICES GRID --- */
.services {
  padding: 4rem 0;
  background-color: var(--surface);
}

.section-header {
  margin-bottom: 3rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card p a,
.card button {
  color: #2a91f7;
}

.card button {
  background-color: transparent;
  border: none;
  font-size: 0.95rem;
  cursor: pointer;
}

/* --- WHY ARCTIC FOCUSED? --- */
.features {
  padding: 6rem 0;
}

.feature-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  border-top: 1px solid #eee;
  padding-top: 1.5rem;
  margin-bottom: 2rem;
}

.feature-title {
  flex: 1;
  font-weight: 600;
  font-size: 1.1rem;
}

.feature-desc {
  flex: 2;
  color: var(--text-muted);
}

/* --- FOOTER --- */
footer {
  padding: 1rem 0 1rem;
  border-top: 1px solid #eee;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.copyright-container {
  text-align: center;
  bottom: 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-item {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
}

/* Return to Top Button */
.return-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background-color: var(--btn-bg);
  color: var(--btn-text);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 99;
}

.return-to-top:hover {
  background-color: var(--btn-text);
  color: var(--btn-bg);
  border: 2px solid var(--btn-bg);
  border-radius: 50%;
  transform: translateY(-3px);
}

.return-to-top:active {
  transform: translateY(-1px);
}

/* Show the button when it has the visible class */
.return-to-top.visible {
  display: flex;
  animation: slideUp 0.3s ease;
}


 
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
} 

/* --- MOBILE RESPONSIVENESS --- */
@media screen and (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .hero {
    padding: 4rem 0;
  }

  .feature-row {
    flex-direction: column;
    gap: 0.5rem;
  }


}