/* Index */
nav {
  background-color: #0d0d0d;
  color: white;
  padding: 10px;
  font-family: Georgia, serif;
  position: sticky;
  top: 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

.container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-grow: 1;
}

nav ul li {
  display: inline;
}

nav ul li a {
  color: #f4ede0;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #c8a45a;
  transition: width 0.3s;
}

nav ul li a:hover {
  color: #c8a45a;
}

nav ul li a:hover::after {
  width: 100%;
}
body {
    background-image: 
        linear-gradient(rgba(13, 13, 13, 0.85), rgba(13, 13, 13, 0.85)),
        url("wallstreet.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap:20px;
}
section {
  background-color: #1a1a1a;
  color: #e8e2d8;
  width: 90%;
  font-family: Georgia, serif;
  padding: 30px;
  border: 1px solid #2a2a2a;
  border-left: 3px solid #c8a45a;
}


footer {
  background-color: #0d0d0d;
  color: #7a7060;
  font-family: Georgia, serif;
  text-align: center;
  padding: 40px 20px;
  width: 100%;
  border-top: 1px solid #2a2a2a;
}

footer span {
  color: #c8a45a;
}

footer a {
  color: #c8a45a;
}
a {
  color: #c8a45a;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}


table {
    display: grid;
}
hr {
  width: 30%;
  margin-left: 0;
}
/* tjänster */
aside {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background-color: #1a1a1a;
  color: #e8e2d8;
  width: 90%;
  font-family: Georgia, serif;
  padding: 30px;
  border: 1px solid #2a2a2a;
  border-left: 3px solid #c8a45a;
}
article {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 40px;
  margin-bottom: 32px;
  transition: border-color 0.3s;
}
article:hover {
border-color: #c8a45a;
}
@media (max-width: 768px) {
  aside {
    grid-template-columns: 1fr;
  }
}
/* beställningssida */
.order-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  width: 90%;
}

.product-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
  padding: 12px;
  border-bottom: 1px solid #2a2a2a;
}

input, select, textarea {
  width: 100%;
  padding: 12px;
  background: #0d0d0d;
  border: 1px solid #2a2a2a;
  color: #e8e2d8;
  font-family: Georgia, serif;
  margin-bottom: 16px;
}

label {
  color: #7a7060;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 6px;
}

@media (max-width: 768px) {
  .order-grid {
    grid-template-columns: 1fr;
  }
}
/* jamforelse */
.checkbox-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding: 12px 0;
}

.fund-checkbox {
  color: #e8e2d8;
  font-family: Georgia, serif;
  cursor: pointer;
}

.fund-checkbox input {
  accent-color: #c8a45a;
  cursor: pointer;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #2a2a2a;
  font-family: Georgia, serif;
  color: #e8e2d8;
}

th {
  color: #c8a45a;
  font-size: 0.95rem;
}

td:first-child {
  color: #7a7060;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
}
/* faq */
.faq-answer {
  display: none;
  padding: 12px;
  color: #e8e2d8;
  font-family: Georgia, serif;
  width: 80%;
  margin: left 60%;
}
section button {
  margin-bottom: 20px;
}
button {
 width: 50%;
 border: none;
 color: #c8a45a;
 background-color: #0d0d0d;
 cursor: pointer;
 align-self: center;
 margin-left: 10%;
}
/* RWD */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }
  .container {
  flex-direction: column;
  gap:12px;
  width:100%
  }
  nav ul li {
  display: block;
  text-align:center;
  }
  nav ul li a {
  display:block;
  }
  table {
    font-size: 0.75rem;
  }

  section table {
    display: block;
    overflow-x: auto;
  }
  section {
    width: 95%;
    padding: 15px;
  }

  aside {
    grid-template-columns: 1fr;
    width: 95%;
  }

  .order-grid {
    grid-template-columns: 1fr;
    width: 95%;
  }

  article {
    padding: 20px;
  }

  button {
    width: 90%;
    margin-left: 0;
  }

  .faq-answer {
    width: 95%;
    margin-left: 0;
  }

  footer {
    padding: 20px 10px;
  }
}