/* SEO優化相關樣式 */

/* 改善可訪問性 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 改善焦點可見性 */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* 改善文字對比度 */
body {
  color: #333;
  line-height: 1.6;
}

/* 改善標題層級 */
h1, h2, h3, h4, h5, h6 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

/* 改善連結樣式 */
a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* 改善圖片載入 */
img {
  max-width: 100%;
  height: auto;
}

/* 改善表單可訪問性 */
label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

input, textarea, select {
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

/* 改善按鈕可訪問性 */
button, .btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

/* 改善導航可訪問性 */
.navbar-nav > li > a {
  padding: 15px 10px;
  color: #333;
  font-weight: 500;
}

.navbar-nav > li > a:hover {
  background-color: #f8f9fa;
}

/* 改善內容結構 */
section {
  padding: 3rem 0;
}

section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  font-weight: 600;
}

/* 改善服務項目列表 */
.service-list {
  list-style: none;
  padding: 0;
}

.service-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.service-list li:before {
  content: "✓";
  color: #28a745;
  font-weight: bold;
  margin-right: 0.5rem;
}

/* 改善聯絡資訊 */
.contact-info {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.contact-info h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

/* 改善響應式設計 */
@media (max-width: 768px) {
  section h2 {
    font-size: 2rem;
  }
  
  .contact-info {
    padding: 1rem;
  }
}

/* 改善載入性能 */
.lazy-load {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lazy-load.loaded {
  opacity: 1;
}

/* 改善列印樣式 */
@media print {
  .navbar,
  .floating-contact-icons,
  .social-network {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
  
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }
} 