* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 105%;
  font-family: Cambria, "Times New Roman", serif;
}

body {
  color: white;
  background-color: black;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  background: #000;
  border-bottom: 2px solid #e9bf1d;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  /*  position: sticky; */
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #e9bf1d;
}

/* Hamburger Button */
.menu-btn {
  background: none;
  border: none;
  color: #e9bf1d;
  font-size: 1.6rem;
  padding: 0 0.8rem; /* horizontal padding only */
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  display: none;
}

.menu-btn:hover {
  color: white;
}

/* Nav Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  transition: all 0.3s ease;
  font-size: 95%;
}

.nav-links li a {
  text-decoration: none;
  color: #e9bf1d;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: white;
}

/* Hero Section */
.hero {
  min-height: 500px;
  background-image: url("./assets/images/banner.jpg");
  /*   background-image: url("./banner.jpg"); */
  background-color: black;
  aspect-ratio: 2 / 1;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  text-align: center;
  position: relative;
}

.hero-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}

/* Paikallinen ja luotettava teksti, jätetty just in case
<span class="hero-tag">Paikallinen, luotettava</span>
.hero-tag {
  border: 2px solid #e9bf1d;
  padding: 8px 14px;
  margin-bottom: 1rem;
  font-style: italic;
  text-align: start;
  width: 300px;
  background-color: #0009;
} */

.hero h1 {
  font-size: 5rem;
  margin-bottom: 1.25rem;
}

.hero p {
  margin-bottom: 1.5rem;
}

.hero-order {
  position: absolute;
  bottom: -50px;
  height: 100px;
  max-width: 400px;
  align-self: center;
  /*  background-color: #0009; */
  background-color: black;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 20px;
  color: inherit;
  text-decoration: none;
  border-left: 10px solid #e9bf1d;
  border-right: 10px solid #e9bf1d;
}

.price-container {
  display: flex;
  flex-direction: column;
  color: #e9bf1d;
}

.btn {
  background: #e9bf1d;
  color: black;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background: #f1d74e;
}

/* Services */
.services {
  text-align: center;
  padding: 0rem 2rem;
  background: black;
}

h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #e9bf1d;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #111;
  padding: 2rem;
  border: 1px solid #e9bf1d33;
  box-shadow: 0 2px 8px rgba(233, 191, 29, 0.1);
  transition: 0.3s;

  p {
    font-size: 18px;
    margin: 0px;
  }
}

.card:hover {
  transform: translateY(-5px);
  border-color: #e9bf1d;
}

.card h4 {
  color: #e9bf1d;
  margin-bottom: 0.5rem;
}

.price span {
  font-size: 1rem;
}

/* About us */
.aboutus {
  display: flex;
  flex-direction: column;
  color: white;
  padding: 3rem 1rem;
  width: 100vw;
  min-height: 800px;
}

.aboutus-container {
  display: flex;
  width: 100%;
  max-width: 1900px;
  align-self: center;
}

.aboutus-image {
  display: flex;
  position: relative;
  background-image: url("./assets/images/aboutus-kuva.jpg");
  /* background-image: url("./aboutus-kuva.jpg"); */
  background-position: right;
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
  height: 100%;
  width: 50%;
  min-width: 50%;
  border-radius: 5px;
  /* min-height: 540px; */
  aspect-ratio: 5/4;
}

.aboutus-text {
  padding: 0px 24px;

  p {
    margin-bottom: 10px;
  }
}

/* Contact */
.contact {
  background: #111;
  color: white;
  text-align: center;
  padding: 3rem 1rem;
}

.contact h3 {
  color: #e9bf1d;
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

.contact p {
  margin: 0.3rem 0;
}

/* Footer */
.footer {
  background: #000;
  text-align: center;
  padding: 1rem;
  color: #e9bf1d;
  font-weight: bold;
  border-top: 2px solid #e9bf1d;
}

.taxina-logo {
  display: flex;
  align-items: center;
  font-weight: 900;
  font-size: 2.5rem;
  background: black; /* yellow background */
  color: white;
  padding: 0.5rem 1rem;
  letter-spacing: 2px;
}

.logo-nav {
  display: none;
}

.letter-x {
  color: #e9bf1d;
  font-size: 100%;
}

.letter-x-small {
  color: #e9bf1d;
  font-size: 100%;
}

.bold-text {
  font-size: 18px;
  font-weight: bold;
  margin-top: 14px;
}
.header-text {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}
.info-text {
  font-size: 16px;
  margin: 10px 0;
}

.prices {
  display: flex;
  flex-direction: column;
  align-items: center;

  .container {
    background: #e9bf1d;
    color: black;
    padding: 2rem;

    margin-bottom: 3rem;
    line-height: 1.5;
  }

  .section-title {
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
  }

  .price {
    font-size: 18px;
    font-weight: bold;
  }

  .divider {
    border: none;
    border-top-style: dotted;
    color: black;
  }
}

.price-header {
  display: flex;
  align-items: center;
  margin-top: 9rem;
}

.close-btn {
  display: none;
}

.space-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

/* Tablet / low pc Styles */
@media (max-width: 1400px) {
  .hero-content {
    margin-right: -450px;
    margin-top: 0px;
  }
}

/* Mobile Styles */
@media (max-width: 992px) {
  /* Hero Section */
  .hero {
    height: auto;
    min-height: initial;
    background-image: url("./assets/images/banner-mobile.jpg");
    /* background-image: url("./banner-mobile.jpg"); */
    background-position: left;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    text-align: center;
    position: relative;
    justify-content: center;
    padding: 0px;
    aspect-ratio: 9 / 8;
  }
  .hero-content {
    padding: 0px;
    width: 100%;
    height: 100%;
    margin: 0px 15px;
  }
  .price-header {
    margin-top: 7rem;
  }
  .hero-tag {
    display: none;
  }

  .taxina-logo-desktop {
    display: none;
  }

  .menu-btn {
    display: block;
    margin-right: -0.8rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: right 0.4s ease;
    z-index: 100;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li a {
    font-size: 1.5rem;
  }

  .logo-nav {
    display: flex;
    position: absolute;
    top: 1.25rem;
    left: 1rem;
    margin-right: 1rem; /* Added vertical margin */
  }

  /* Close button visible only on mobile */
  .close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1rem;
    margin-right: 1rem; /* Added vertical margin */
    background: none;
    border: none;
    font-size: 2rem;
    color: #e9bf1d;
    cursor: pointer;
    transition: transform 0.2s, color 0.3s;
    display: block;
  }

  .close-btn:hover {
    transform: scale(1.1);
    color: white;
  }

  .hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
  }

  .number {
    font-size: 95%;
  }

  .aboutus-text {
    padding: 0px;
  }
  .aboutus-container {
    flex-direction: column;
  }

  .aboutus-image {
    min-height: 480px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    min-width: 100%;
    height: 100%;
    width: 100%;
    margin-bottom: 26px;
  }
  /*   .aboutus-text {
    margin-left: 0;
    margin-top: 26px;
  } */
}

.hero-order-container {
  display: flex;
  flex-direction: column;
  align-items: start;
}

/* Mobile Styles */
@media (max-width: 450px) {
  .hero h1 {
    font-size: 3rem;
  }
}

/* Mobile Styles */
@media (max-width: 400px) {
  .hero-order {
    background-color: #0009;
    border-left: none;
    border-right: none;
    width: 80%;
  }
  .navbar {
    padding: 1rem;
  }
  .aboutus {
    padding-bottom: 0px;
  }
  .aboutus-image {
    min-height: 280px;
  }

  .hero-tag {
    font-size: 14px;
    width: 100%;
  }

  .hero h1 {
    font-size: 2.7rem;
  }

  .hero-order {
    bottom: -65px;
    h3 {
      font-size: 22px !important;
      margin: 0px !important;
    }
  }

  .dash {
    display: none;
  }

  .contact h3 {
    font-size: 1.5rem;
  }
}

/* Mobile Styles */
@media (max-width: 360px) {
  .hero h1 {
    font-size: 2.3rem;
  }
}
