/* Genel */
:root {
  --primary-color: #ff7f00;
  --primary-hover: #e67000;
  --text-color: #333;
  --bg-color: #f4f4f4;
  --white: #fff;
  --border-color: #eee;
  --shadow-color: rgba(0,0,0,0.1);
  --shadow-dark: rgba(0,0,0,0.3);
  --transition: all 0.3s ease;
}

/* Content Visibility ile sayfa performansını iyileştirme */
.content-section,
.steps,
.model-buttons,
.contact-section,
footer {
  content-visibility: auto;
  contain-intrinsic-size: 500px;
}

/* Main container for flexible ordering */
main {
  display: flex;
  flex-direction: column;
}

body {
  margin: 0;
  font-family: 'Roboto', Arial, sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* Header */
header {
  background: var(--white);
  color: var(--text-color);
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
  will-change: transform;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.logo img {
  display: block;
  max-height: 50px;
  width: auto;
}

nav {
  display: flex;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

nav ul li a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 0;
  display: inline-block;
  transition: var(--transition);
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary-color);
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-color);
  user-select: none;
  margin-left: 20px;
}

@media (max-width: 768px) {
  .header-flex {
    flex-direction: row;
    justify-content: space-between;
  }

  nav {
    flex-direction: column;
    align-items: flex-end;
    position: relative;
  }

  nav ul {
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    flex-direction: column;
    display: none;
    background: var(--white);
    padding: 10px 0;
    border: 1px solid #ddd;
    box-shadow: 0 4px 6px var(--shadow-color);
    z-index: 99;
  }

  nav ul.active {
    display: flex;
    animation: slideDown 0.3s ease-in-out;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  nav ul li {
    text-align: left;
    padding: 0;
  }
  
  nav ul li a {
    display: block;
    padding: 12px 20px;
    border-left: 3px solid transparent;
    transition: var(--transition);
  }
  
  nav ul li a:hover {
    background-color: #fff7f0;
    border-left: 3px solid var(--primary-color);
  }

  .menu-toggle {
    display: block;
    background-color: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
  }
  
  .menu-toggle i,
  .menu-toggle .backup-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .menu-toggle:hover {
    background-color: var(--primary-hover);
  }
}

/* Slider */
.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  max-height: 600px;
  height: auto;
  margin-bottom: 20px;
  aspect-ratio: 16/7.5; /* 1920:900 oranına sabitler */
  background: #f0f0f0; /* Görsel yüklenene kadar placeholder renk */
  order: -1; /* Make slider appear before intro-text visually */
}

.slider img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  display: none;
  will-change: opacity;
}

.slider img.active {
  display: block;
  animation: fade 0.8s ease-in-out;
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.slider-text {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 20px;
  font-weight: bold;
  text-shadow: 1px 1px 4px var(--shadow-dark);
  z-index: 2;
  text-align: center;
  padding: 5px 15px;
  background-color: rgba(0,0,0,0.5);
  border-radius: 5px;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  will-change: transform;
}

.slider-dots .dot.active {
  background-color: #fff;
  transform: scale(1.2);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: white;
  font-size: 26px;
  cursor: pointer;
  z-index: 3;
  border-radius: 50%;
  appearance: none;
  -webkit-border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  line-height: 1;
  padding: 0;
  touch-action: manipulation;
}

.slider-btn:hover {
  background-color: rgba(255, 255, 255, 0.4);
  border-color: white;
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.slider-btn.prev {
  left: 20px;
}

.slider-btn.next {
  right: 20px;
}

@media (max-width: 768px) {
  .slider {
    max-height: 400px;
    aspect-ratio: 4/3; /* Mobilde daha kısa oran */
  }
  
  .slider img {
    max-height: 400px;
  }
  
  .slider-text {
    font-size: 16px;
    bottom: 60px;
  }
  
  .slider-dots {
    gap: 10px;
  }
  
  .slider-dots .dot {
    width: 10px;
    height: 10px;
  }
}

/* Tanıtım Paragrafı */
.intro-text {
  padding: 12px 20px;
  background: #fff;
  text-align: center;
  min-height: 120px;
  font-size: 1.2rem;
  visibility: visible;
  opacity: 1;
}

.intro-text p,
.intro-text h1 {
  font-size: 18px;
  max-width: 800px;
  margin: 10px auto;
}

/* Bize Ulaşın Bölümü */
.contact-section {
  text-align: center;
  padding: 5px 20px;
  background: #fff;
}

.contact-section h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.contact-section p {
  font-size: 18px;
  margin: 10px 0;
}

.contact-section .phone a {
  color: #ff7f00;
  text-decoration: none;
  font-weight: bold;
}

.contact-section .whatsapp a {
  color: #25D366;
  text-decoration: none;
  font-weight: bold;
}

.contact-section .instagram a {
  color: #E4405F;
  text-decoration: none;
  font-weight: bold;
}

/* Ürün Galerisi */
.product-gallery {
  padding: 40px 20px;
  background: #fff;
  text-align: center;
}

.product-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.product-item img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
}

.product-item h3 {
  margin-top: 10px;
  font-size: 20px;
}

.product-item p {
  font-size: 18px;
  color: #555;
}
/* ========================
   Ürün Fotoğrafı Modalı
======================== */
.modal {
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: fixed;
  top: 20px;
  right: 25px;
  font-size: 36px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}

@media (max-width: 768px) {
  .modal-content {
    max-width: 95%;
    max-height: 80%;
  }
}

/* =========================
   Yukarı Kaydırma Butonu
========================= */
#scrollTopBtn {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 9999;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: none;
  transition: all 0.3s ease;
  text-align: center;
  line-height: 1;
  padding: 0;
  appearance: none;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}

#scrollTopBtn i {
  margin: 0;
  padding: 0;
  line-height: 1;
}

#scrollTopBtn:hover {
  transform: scale(1.1);
  background-color: var(--primary-hover);
}

@media (max-width: 768px) {
  #scrollTopBtn {
    width: 44px;
    height: 44px;
    font-size: 18px;
    bottom: 90px;
  }
  
  .site-footer {
    margin-bottom: 70px;
    padding-bottom: 30px;
  }
  
  .footer-service-area {
    font-size: 13px;
  }
}

/* =========================
   Footer
========================= */
.site-footer {
  background: #fff;
  border-top: 1px solid #eee;
  padding: 25px 20px;
  font-size: 14px;
  color: #444;
  text-align: center;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.03);
}

.footer-service-area {
  margin-bottom: 20px;
  color: #555;
  line-height: 1.6;
  background-color: #fff7f0;
  padding: 15px;
  border-radius: 8px;
}

.footer-service-area p {
  margin: 0;
}

.footer-service-area strong {
  font-weight: 600;
  color: #000;
}

.footer-legal {
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.footer-legal p {
  margin: 6px 0;
  color: #888;
  font-size: 14px;
}

.footer-legal strong {
  color: #ff7f00;
}

@media (max-width: 768px) {
  .site-footer {
    margin-bottom: 70px;
    padding-bottom: 30px;
  }
  
  .footer-service-area {
    font-size: 13px;
  }
}

/* =============================
   Ölçü & Model Belirtin Steps
============================= */
.steps {
  background: #fff;
  padding: 40px 0;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.step-box {
  width: 300px;
  max-width: 100%;
  padding: 20px;
  background: #fff7f0;
  border: 1px solid #ffe1cc;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.step-box .icon-wrapper {
  display: inline-block;
  margin-bottom: 10px;
}

.step-box h3 {
  font-size: 20px;
  color: #ff7f00;
  margin-bottom: 10px;
}

.step-box p {
  font-size: 15px;
  color: #555;
  margin: 0;
}

/* =============================
   Tüm Tezgah Modelleri Butonları
============================= */
.model-buttons {
  text-align: center;
  padding: 40px 20px;
  background: #fff7f0;
}

.model-buttons h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.model-button-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.model-button {
  padding: 12px 25px;
  background: #ff7f00;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.model-button:hover {
  background-color: #e67000;
}
/* ===== MOBİL ALT BUTONLAR ===== */
.bottom-bar {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #ff7f00;
  display: flex;
  justify-content: space-around;
  border-top: 1px solid #ddd;
  z-index: 9999;
}

.bottom-link {
  text-align: center;
  flex: 1;
  padding: 10px 0;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bottom-link i {
  font-size: 22px;
  margin-bottom: 4px;
}

/* ===== MASAÜSTÜ SABİT MENÜ SAĞDA ===== */
.desktop-fixed-menu {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background-color: #ff7f00;
  border-radius: 20px 0 0 20px;
  padding: 15px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  z-index: 9999;
  box-shadow: 0 0 15px rgba(0,0,0,0.15);
}

.desktop-fixed-menu .fixed-item {
  color: #000;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.desktop-fixed-menu .fixed-item i {
  font-size: 20px;
  margin-bottom: 4px;
}

.desktop-fixed-menu .fixed-item:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .desktop-fixed-menu {
    display: none;
  }
}

@media (min-width: 769px) {
  .bottom-bar {
    display: none;
  }
}

.content-section {
  padding: 40px 20px;
  background: #fff;
  text-align: center;
}

.content-section .container {
  max-width: 1100px;
  margin: auto;
  color: #333;
  font-size: 16px;
  line-height: 1.7;
}

.content-section h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #ff7f00;
  text-align: center;
}

.content-section p {
  margin-bottom: 15px;
  text-align: center;
}

.internal-links {
  padding: 40px 20px;
  background: #fff;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.internal-links .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.internal-links h2 {
  font-size: 24px;
  margin: 0 auto 30px;
  color: #ff7f00;
  text-align: center;
  width: 100%;
}

.internal-links ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  width: 100%;
}

.internal-links ul li {
  margin: 0;
  padding: 0;
}

.internal-links ul li a {
  display: inline-block;
  padding: 12px 25px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 5px;
  transition: all 0.3s ease;
  text-align: center;
}

.internal-links ul li a:hover {
  color: #ff7f00;
  border-color: #ff7f00;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(255, 127, 0, 0.1);
}

@media (max-width: 768px) {
  .internal-links {
    padding: 30px 15px;
  }

  .internal-links .container {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .internal-links h2 {
    font-size: 22px;
    margin-bottom: 25px;
    padding: 0;
  }
  
  .internal-links ul {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    padding: 0;
    width: 100%;
  }
  
  .internal-links ul li {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }
  
  .internal-links ul li a {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    display: block;
  }
}

.faq-section {
  padding: 40px 20px;
  background-color: #fff;
  border-top: 1px solid #eee;
  text-align: center;
}

.faq-section .container {
  max-width: 1100px;
  margin: auto;
}

.faq-section h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #ff7f00;
  text-align: center;
}

.faq-item {
  margin-bottom: 20px;
  text-align: left;
}

.faq-item h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ff7f00;
  text-align: left;
}

.faq-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 15px;
  text-align: left;
}

.backup-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  vertical-align: middle;
}

.bars-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23fff' d='M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z'%3E%3C/path%3E%3C/svg%3E");
}

.chevron-up-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23fff' d='M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z'%3E%3C/path%3E%3C/svg%3E");
}

.phone-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M497.39 361.8l-112-48a24 24 0 0 0-28 6.9l-49.6 60.6A370.66 370.66 0 0 1 130.6 204.11l60.6-49.6a23.94 23.94 0 0 0 6.9-28l-48-112A24.16 24.16 0 0 0 122.6.61l-104 24A24 24 0 0 0 0 48c0 256.5 207.9 464 464 464a24 24 0 0 0 23.4-18.6l24-104a24.29 24.29 0 0 0-14.01-27.6z'%3E%3C/path%3E%3C/svg%3E");
}

.instagram-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='currentColor' d='M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z'%3E%3C/path%3E%3C/svg%3E");
}

.whatsapp-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='currentColor' d='M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z'%3E%3C/path%3E%3C/svg%3E");
}

.times-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 352 512'%3E%3Cpath fill='%23fff' d='M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z'%3E%3C/path%3E%3C/svg%3E");
}

.ruler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='%23ff7f00' d='M22.5 2h-21C.7 2 0 2.7 0 3.5v17c0 .8.7 1.5 1.5 1.5h21c.8 0 1.5-.7 1.5-1.5v-17c0-.8-.7-1.5-1.5-1.5zM21 19H3V5h18v14zM5 7h2v8H5V7zm4 0h2v8H9V7zm4 0h2v8h-2V7zm4 0h2v8h-2V7z'/%3E%3C/svg%3E");
  opacity: 1;
  transform: scale(1.2);
}

.tools-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='%23ff7f00' d='M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z'/%3E%3C/svg%3E");
  opacity: 1;
  transform: scale(1.2);
}

.file-invoice-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='%23ff7f00' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm.31-8.86c-1.77-.45-2.34-.94-2.34-1.67 0-.84.79-1.43 2.1-1.43 1.38 0 1.9.66 1.94 1.64h1.71c-.05-1.34-.87-2.57-2.49-2.97V5H10.9v1.69c-1.51.32-2.72 1.3-2.72 2.81 0 1.79 1.49 2.69 3.66 3.21 1.95.46 2.34 1.15 2.34 1.87 0 .53-.39 1.39-2.1 1.39-1.6 0-2.23-.72-2.32-1.64H8.04c.1 1.7 1.36 2.66 2.86 2.97V19h2.34v-1.67c1.52-.29 2.72-1.16 2.73-2.77-.01-2.2-1.9-2.96-3.66-3.42z'/%3E%3C/svg%3E");
  opacity: 1;
  transform: scale(1.2);
}

/* Blog Styles */
.blog-wrapper {
  padding: 2rem 1rem;
  background-color: #fff;
}

.blog-wrapper .blog-title {
  text-align: center;
  font-size: 2rem;
  color: #ff7f00;
  margin-bottom: 1.5rem;
}

.blog-wrapper .blog-article {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
  font-size: 1.05rem;
  color: #333;
  text-align: left;
  padding: 1rem;
}

.blog-wrapper .blog-article p {
  margin-bottom: 1.5rem;
}

.blog-wrapper .blog-article h2 {
  color: #ff7f00;
  margin: 2rem 0 1rem;
  font-size: 1.5rem;
}

.blog-wrapper .blog-article ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

.blog-wrapper .blog-article li {
  margin-bottom: 0.5rem;
}

.blog-wrapper .blog-article a {
  color: #ff7f00;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-wrapper .blog-article a:hover {
  color: #e67300;
  text-decoration: underline;
}

.blog-grid {
  padding: 40px 0;
}

.blog-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.blog-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 4px var(--shadow-color);
  transition: var(--transition);
  overflow: hidden;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px var(--shadow-color);
}

.blog-card-content {
  padding: 20px;
}

.blog-card h2 {
  font-size: 1.4rem;
  margin: 0 0 15px 0;
  color: var(--text-color);
  line-height: 1.4;
}

.blog-card p {
  color: #666;
  margin: 0 0 20px 0;
  line-height: 1.6;
}

.blog-card .read-more {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

.blog-card .read-more::after {
  content: '→';
  margin-left: 5px;
  transition: var(--transition);
}

.blog-card .read-more:hover {
  color: var(--primary-hover);
}

.blog-card .read-more:hover::after {
  transform: translateX(5px);
}

.blog-thumbnail-link {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.blog-thumbnail-link:hover {
  transform: scale(1.02);
}

.blog-thumbnail {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card-content h2 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  line-height: 1.3;
}

.blog-card-content h2 a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card-content h2 a:hover {
  color: var(--primary-color);
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.read-more-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 127, 0, 0.2);
}

.read-more-btn i {
  transition: transform 0.3s ease;
}

.read-more-btn:hover i {
  transform: translateX(4px);
}

.blog-post {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.blog-post-content {
  padding: 20px;
}

.blog-post h2 {
  font-size: 1.5rem;
  margin: 0 0 15px 0;
  color: var(--text-color);
}

.blog-post p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-post .read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  transition: var(--transition);
}

.blog-post .read-more:hover {
  color: var(--primary-hover);
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .blog-listing h1 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .blog-post {
    margin-bottom: 20px;
  }
}

.blog-featured-image {
  display: block;
  margin: 0 auto 1.5rem auto;
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.blog-thumbnail {
  display: block;
  margin: 0 auto 1rem auto;
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0 1.5rem;
  color: #666;
  font-size: 0.9rem;
}

.blog-meta i {
  color: #999;
  font-size: 0.95rem;
}

.blog-meta time {
  color: #666;
}

/* Blog post specific meta styling */
.blog-wrapper .blog-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.5rem auto 1.5rem;
  max-width: 300px;
  color: #666;
  font-size: 0.85rem;
}

.blog-wrapper .blog-meta i {
  color: #999;
  font-size: 0.9rem;
}

.blog-wrapper .blog-meta time {
  color: #666;
}

@media (max-width: 768px) {
  .blog-wrapper .blog-meta {
    font-size: 0.8rem;
    margin: 0.4rem auto 1.2rem;
  }
}

/* Blog List Styles */
.blog-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.blog-item {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.blog-item h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  line-height: 1.3;
}

.blog-item h2 a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-item h2 a:hover {
  color: #ff7f00;
}

.blog-item time {
  display: block;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.blog-item p {
  color: #444;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.blog-item .read-more {
  display: inline-block;
  color: #ff7f00;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.blog-item .read-more:hover {
  color: #e67300;
}

@media (max-width: 768px) {
  .blog-list {
    padding: 1rem;
  }

  .blog-item {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .blog-item h2 {
    font-size: 1.25rem;
  }
}

/* Blog Listing Styles */
.blog-listing {
  background: var(--white);
  padding: 40px 0;
}

.blog-listing h1 {
  text-align: center;
  color: var(--text-color);
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-weight: 700;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.blog-post {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 2px 4px var(--shadow-color);
}

.blog-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px var(--shadow-color);
}

.blog-post-content {
  padding: 20px;
}

.blog-post h2 {
  font-size: 1.5rem;
  margin: 0 0 15px 0;
  color: var(--text-color);
}

.blog-post p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-post .read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  transition: var(--transition);
}

.blog-post .read-more:hover {
  color: var(--primary-hover);
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .blog-listing h1 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .blog-post {
    margin-bottom: 20px;
  }
}

.blog-featured-image {
  display: block;
  margin: 0 auto 1.5rem auto;
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.blog-thumbnail {
  display: block;
  margin: 0 auto 1rem auto;
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.blog-meta {
  text-align: center;
  margin: -1rem auto 1.5rem;
  color: #666;
  font-size: 0.95rem;
}

.blog-meta time {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #f8f8f8;
  border-radius: 4px;
  border: 1px solid #eee;
} 