* {
    margin: auto;
    padding: 0;
    box-sizing: content-box;
}
body {
    font-family: Arial, sans-serif;
    line-height: 2;
    background: linear-gradient(rgba(126, 112, 15, 0.5), rgba(83, 127, 11, 0.917));
    background-attachment: fixed;
    background-size: cover;
}
header {
    background: #526e94;
    color:white;
    display: table;
    justify-content: space-between;
    align-items: start;
    padding: 10px 20px;
    font-size: 1.2em;
}
header .logo img {
    height: 120px;
    margin-right: 2037px;
}
header nav a {
    color: white;
    margin-left: 10px;
    text-decoration: none;
}
header nav a:hover {
    text-decoration: underline;
}
.hero {
    background: linear-gradient(rgba(126, 112, 15, 0.5), rgba(83, 127, 11, 0.917)), url(hero.jpg) center/cover;
    color: white;
    text-align: start;
    padding: 40px 30px 20px;
}
.hero h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}
.hero p {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.about {
    padding: 220px;
    background: #959176;
}
.map iframe {
    width: 100%;
    height: 500px;
    border: 0;
}
footer {
    background:  #526e94;
    color: white;
    text-align: center;
    padding: 10px;
}
.brands,
.nippion {
    margin-bottom: 1.5em;
    background: linear-gradient(rgba(126, 112, 15, 0.5), rgba(83, 127, 11, 0.917));
}
ul {
    line-height: 1.8em;
}

main {
  max-width: 1200px;  
  margin: 0 auto;      
  padding: 1px;       
  line-height: 2;    
}
.logo-thumb {
  max-height: 80px;
  margin-left: 10px;
  display: flex;
  margin-right: 20px;

}
.contact-info p,
.contact-info ul {
    margin-left: 25px;
    line-height: 200%; 
   
}
.contact-info li {
    margin-left: 25px;
    line-height: 200%;
}
.product-toggle {
  max-width: 800px;
  margin: 20px auto;
  text-align: center;
}

.toggle-btn {
  width: 100%;
  background: linear-gradient(rgba(126, 112, 15, 0.8), rgba(83, 127, 11, 0.95));
  color: #fff;
  font-size: 1.2em;
  padding: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 10px;

  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s;
}
.toggle-btn:hover {
  background: linear-gradient(rgba(126, 112, 15, 1), rgba(83, 127, 11, 1));
}
.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}
.card {
    background: hwb(150 46% 53%);
    padding: 20px;
    border-radius: 10px;
    flex: 1 1 250px;
    text-align: center;
}
.card a {
    color: #f2f6f4;
    text-decoration: none;
}

.toggle-content {
  display: none;  /* 預設隱藏 */
  margin-top: 20px;
}

.toggle-content img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}

.toggle-content iframe {
  width: 100%;
  height: 315px;
  border: none;
  display: block;
  margin: 0 auto;
}

.poster {
  display: block;
  max-width: 100%;
}

.service-gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.service-item {
  text-align: center;
  max-width: 430px;
}

.service-item img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}

.service-item img:hover {
  transform: scale(1.05);
}

.service-item h3 {
  margin-top: 10px;
  color: #333;
  font-size: 1.3em;
}
.map-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 8px;
}

footer {
    width: 100%;
    text-align: center; 
    margin-top: 10px;
}


           




