/* 
  Turkey Textile Guide
  Homepage Styles
*/

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #161616;
  background: #f7f3ed;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin-top: 0;
  color: #4b4b4b;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.1;
  font-family: Georgia, "Times New Roman", serif;
  color: #111;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
}

.logo span,
.logo strong {
  display: block;
}

.logo span {
  font-size: 15px;
}

.logo strong {
  font-size: 18px;
  color: #c4a36f;
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.25s ease;
}

.main-nav a:hover {
  color: #c4a36f;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Hero */
.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  padding-top: 90px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55)),
    url("../img/hero-factory.jpg") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 40%, rgba(196, 163, 111, 0.22), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.16));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.eyebrow,
.section-label {
  display: inline-block;
  margin-bottom: 16px;
  color: #b7925c;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
}

.hero h1 {
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(48px, 7vw, 88px);
  letter-spacing: -2px;
}

.hero p {
  max-width: 620px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #c4a36f;
  color: #111;
}

.btn-primary:hover {
  background: #d3b47e;
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: #fff;
}

.btn-secondary:hover {
  border-color: #c4a36f;
  background: rgba(196, 163, 111, 0.12);
}

.btn-dark {
  background: #111;
  color: #fff;
}

.btn-dark:hover {
  background: #2a2a2a;
}

/* Sections */
.section {
  padding: 88px 0;
}

.intro-section {
  background: #f7f3ed;
}

.two-column {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: start;
}

.two-column h2,
.section-heading h2,
.split-content h2,
.comparison-box h2,
.cta-box h2 {
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -1px;
}

.two-column p,
.section-heading p,
.split-content p,
.comparison-box p,
.cta-box p {
  font-size: 17px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.feature-card {
  padding: 32px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.04);
}

.feature-icon {
  display: block;
  margin-bottom: 18px;
  color: #b7925c;
  font-size: 36px;
  line-height: 1;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 15px;
}

/* Guides */
.guides-section {
  background: #fff;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.guide-card {
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.guide-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.1);
}

.guide-image {
  overflow: hidden;
}

.guide-image img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.guide-card:hover .guide-image img {
  transform: scale(1.05);
}

.guide-content {
  padding: 22px;
}

.guide-number {
  display: inline-block;
  margin-bottom: 10px;
  color: #b7925c;
  font-size: 13px;
  font-weight: 700;
}

.guide-content h3 {
  margin-bottom: 12px;
  font-size: 23px;
}

.guide-content h3 a:hover {
  color: #b7925c;
}

.guide-content p {
  font-size: 15px;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: #9b763e;
  font-size: 14px;
  font-weight: 700;
}

.text-link::after {
  content: "→";
  margin-left: 8px;
}

/* Istanbul Section */
.istanbul-section {
  background: #f7f3ed;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: center;
}

.split-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

.mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.mini-list span {
  padding: 10px 14px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.08);
  color: #222;
  font-size: 14px;
  font-weight: 700;
}

.soft-note {
  padding-left: 18px;
  border-left: 3px solid #c4a36f;
  font-size: 15px !important;
}

.soft-note a {
  color: #9b763e;
  font-weight: 700;
}

/* Process */
.process-section {
  background: #fff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.process-step {
  position: relative;
  padding: 28px 18px;
  text-align: center;
  background: #f7f3ed;
  border: 1px solid rgba(17, 17, 17, 0.06);
}

.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #c4a36f;
  color: #111;
  font-weight: 800;
}

.process-step h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.process-step p {
  margin-bottom: 0;
  font-size: 14px;
}

/* Comparison */
.comparison-section {
  background: #f7f3ed;
}

.comparison-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
}

.comparison-box,
.cta-box {
  padding: 46px;
  background: #fff;
}

.table-wrapper {
  overflow-x: auto;
  margin: 28px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  text-align: left;
  font-size: 15px;
}

th {
  background: #111;
  color: #fff;
}

.cta-box {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.72)),
    url("../img/istanbul-production.jpg") center / cover no-repeat;
}

.cta-box h2,
.cta-box p {
  color: #fff;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.82);
}

.cta-box .btn {
  align-self: flex-start;
  margin-top: 16px;
}

/* Footer */
.site-footer {
  padding: 46px 0;
  background: #080808;
  color: #fff;
  text-align: center;
}

.footer-inner h2 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 28px;
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.footer-links a:hover {
  color: #c4a36f;
}

.site-footer p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 1180px) {
  .guide-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .header-inner {
    height: 72px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 20px;
    background: #080808;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 14px 0;
  }

  .menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: 680px;
  }

  .hero p {
    font-size: 18px;
  }

  .two-column,
  .split-section,
  .comparison-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-image img {
    height: 420px;
  }

  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    min-height: 720px;
  }

  .hero h1 {
    letter-spacing: -1px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .feature-grid,
  .guide-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .comparison-box,
  .cta-box {
    padding: 28px;
  }

  .guide-image img {
    height: 220px;
  }

  .split-image img {
    height: 320px;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}



/* Inner Pages */
.page-hero {
  position: relative;
  padding: 170px 0 90px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.72)),
    url("../img/hero-factory.jpg") center / cover no-repeat;
}

.page-hero-inner {
  max-width: 820px;
}

.page-hero h1 {
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(46px, 6vw, 76px);
  letter-spacing: -1.5px;
}

.page-hero p {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
}

.page-content {
  padding: 82px 0;
  background: #f7f3ed;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  align-items: start;
}

.content-card {
  padding: 52px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.06);
}

.content-card h2 {
  margin-top: 42px;
  margin-bottom: 18px;
  font-size: clamp(30px, 3vw, 42px);
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card p {
  margin-bottom: 20px;
  font-size: 17px;
}

.content-card ul {
  margin: 0 0 24px;
  padding-left: 22px;
}

.content-card li {
  margin-bottom: 10px;
  color: #4b4b4b;
  font-size: 17px;
}

.content-sidebar {
  position: sticky;
  top: 110px;
}

.sidebar-box {
  padding: 30px;
  background: #111;
  color: #fff;
}

.sidebar-box h3 {
  margin-bottom: 22px;
  color: #fff;
  font-size: 26px;
}

.sidebar-box a {
  display: block;
  padding: 13px 0;
  color: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 15px;
  font-weight: 700;
}

.sidebar-box a:hover {
  color: #c4a36f;
}

.sidebar-box a:last-child {
  border-bottom: 0;
}

@media (max-width: 900px) {
  .page-hero {
    padding: 145px 0 72px;
  }

  .content-layout {
    grid-template-columns: 1fr;
  }

  .content-sidebar {
    position: static;
  }

  .content-card {
    padding: 36px;
  }
}

@media (max-width: 640px) {
  .page-hero p {
    font-size: 18px;
  }

  .content-card {
    padding: 28px;
  }

  .page-content {
    padding: 58px 0;
  }
}


/* Article Page Enhancements */
.article-card {
  font-size: 17px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.article-meta span {
  display: inline-flex;
  padding: 8px 12px;
  background: #f7f3ed;
  color: #6f5630;
  border: 1px solid rgba(17, 17, 17, 0.08);
  font-size: 13px;
  font-weight: 700;
}

.article-featured-image {
  width: 100%;
  height: 430px;
  margin-bottom: 34px;
  object-fit: cover;
}

.answer-box,
.insight-box,
.quote-box {
  margin: 34px 0;
  padding: 30px;
  border-left: 4px solid #c4a36f;
  background: #f7f3ed;
}

.answer-box h2,
.insight-box h3 {
  margin-top: 0;
}

.answer-box p,
.insight-box p,
.quote-box p {
  margin-bottom: 0;
}

.article-toc {
  margin: 40px 0;
  padding: 30px;
  background: #111;
}

.article-toc h2 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 30px;
}

.article-toc a {
  display: block;
  padding: 11px 0;
  color: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 700;
}

.article-toc a:hover {
  color: #c4a36f;
}

.article-toc a:last-child {
  border-bottom: 0;
}

.article-card a {
  color: #9b763e;
  font-weight: 700;
}

.article-card a:hover {
  color: #854e06;
}

.quote-box {
  background: #111;
  border-left-color: #c4a36f;
}

.quote-box p {
  color: #fff;
  font-size: 22px;
  line-height: 1.5;
  font-family: Georgia, "Times New Roman", serif;
}

.faq-section {
  margin-top: 60px;
}

.faq-section h2 {
  margin-bottom: 24px;
}

.faq-section details {
  margin-bottom: 14px;
  padding: 22px 24px;
  background: #f7f3ed;
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.faq-section summary {
  cursor: pointer;
  color: #111;
  font-weight: 800;
  font-size: 18px;
}

.faq-section details p {
  margin-top: 16px;
  margin-bottom: 0;
}

.sidebar-box-light {
  margin-top: 24px;
  background: #fff;
  color: #111;
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.sidebar-box-light h3 {
  color: #111;
}

.sidebar-box-light p {
  margin-bottom: 0;
  font-size: 15px;
}

@media (max-width: 900px) {
  .article-featured-image {
    height: 340px;
  }
}

@media (max-width: 640px) {
  .article-featured-image {
    height: 260px;
  }

  .answer-box,
  .insight-box,
  .quote-box,
  .article-toc {
    padding: 24px;
  }

  .quote-box p {
    font-size: 19px;
  }
}