:root {
  --bg: #f5f5f5;
  --surface: #ffffff;
  --surface-2: #efefef;
  --text: #1f1f1f;
  --muted: #5e5e5e;
  --yellow: #f2c200;
  --border: #d7d7d7;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 300;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand img {
  height: 56px;
  width: auto;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
}

nav a:hover {
  text-decoration-color: currentColor;
}

nav a[aria-current="location"] {
  text-decoration-color: currentColor;
}

.hero {
  border-top: 3px solid var(--yellow);
  border-bottom: 3px solid var(--yellow);
  background: var(--surface-2);
}

.hero-slider {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}

.hero-track {
  display: flex;
  min-height: 560px;
  transform: translateX(0);
  transition: transform 0.7s ease;
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  min-height: 560px;
}

.hero-slide img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #ffffff;
}

.hero-content .lead {
  color: #f0f0f0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.hero-action-label {
  color: #ffffff;
  font-weight: 700;
}

.hero-actions .btn {
  min-width: 132px;
  text-align: center;
}

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

.hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid #f2c200;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.hero-dot.is-active {
  background: #f2c200;
}

.eyebrow {
  color: var(--yellow);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  margin: 0 0 18px;
}

.lead {
  color: var(--muted);
  max-width: 70ch;
}

.btn {
  display: inline-block;
  background: var(--yellow);
  color: #111111;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 8px;
}

.section {
  padding: 60px 0;
  scroll-margin-top: 110px;
}

.section h2 {
  margin-top: 0;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
}

.section p {
  color: var(--muted);
}

.about-intro {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 16px;
}

.about-logo {
  width: 100%;
  height: 108px;
  object-fit: contain;
}

.about-text {
  margin: 0;
  padding: 0;
  text-align: justify;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 16px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.contact-card p {
  margin: 10px 0;
}

.contact-card a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-label {
  font-weight: 700;
  color: var(--text);
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  min-height: 46px;
  padding: 10px 12px 10px 48px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #ffffff;
  color: #1f1f1f;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
}

.contact-actions .contact-btn {
  text-decoration: none;
}

.contact-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  line-height: 1;
}

.contact-btn-icon img {
  width: 22px;
  height: 22px;
  display: block;
}

.contact-btn:hover {
  background: #f2f2f2;
}

.contact-map {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  min-height: 100%;
}

.contact-map iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

.uretim-gallery {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.gallery-thumb {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  cursor: pointer;
  padding: 0;
}

.gallery-thumb img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.thumb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.thumb-icon {
  font-size: 24px;
  color: #ffffff;
}

.gallery-thumb:hover img {
  filter: brightness(0.8);
  transform: scale(1.04);
}

.gallery-thumb:hover .thumb-overlay {
  opacity: 1;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px 70px;
}

.gallery-lightbox.is-open {
  display: flex;
}

.lightbox-image {
  max-width: min(1100px, 90vw);
  max-height: 84vh;
  border-radius: 10px;
  border: 2px solid #f2c200;
  object-fit: contain;
  background: #111111;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: 1px solid #f2c200;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  cursor: pointer;
}

.lightbox-close {
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 56px;
  border-radius: 8px;
  font-size: 28px;
}

.lightbox-prev {
  left: 14px;
}

.lightbox-next {
  right: 14px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-bottom: 14px;
  background: #ffffff;
  padding: 10px;
}

.card h3 {
  margin-top: 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.site-footer .container {
  padding: 24px 0;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
  border-radius: 999px;
  padding: 10px 14px;
  border: 1px solid #179848;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  z-index: 50;
}

.whatsapp-float img {
  width: 22px;
  height: 22px;
}

.whatsapp-float:hover {
  filter: brightness(0.96);
}

@media (max-width: 900px) {
  .about-intro {
    grid-template-columns: 1fr;
  }

  .about-logo,
  .about-text {
    height: auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-map iframe {
    min-height: 320px;
  }

  .uretim-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .nav {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .brand {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  nav {
    width: 100%;
    justify-content: center;
    gap: 14px;
  }

  .hero {
    margin-top: 0;
  }

  .section {
    scroll-margin-top: 132px;
  }

  .hero-slider,
  .hero-track,
  .hero-slide,
  .hero-slide img {
    min-height: 500px;
    height: 500px;
  }

  .hero-content {
    padding-top: 40px;
  }

  .hero-actions {
    width: 100%;
    max-width: 360px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hero-action-label {
    grid-column: 1 / -1;
  }

  .hero-actions .btn {
    min-width: 0;
    width: 100%;
    padding: 11px 10px;
  }

  .brand img {
    height: 48px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    padding: 10px 12px;
  }

  .whatsapp-float span {
    display: none;
  }

  .uretim-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-intro {
    display: block;
  }

  .about-intro::after {
    content: "";
    display: table;
    clear: both;
  }

  .about-logo {
    width: 92px;
    height: 92px;
    float: left;
    margin: 2px 10px 6px 0;
  }

  .hero-dots {
    display: none;
  }

  .about-text {
    display: block;
  }

  .contact-card {
    padding: 18px;
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }

  .contact-btn {
    min-height: 48px;
    font-size: 1rem;
  }

  .gallery-thumb img {
    height: 120px;
  }

  .gallery-lightbox {
    padding: 24px 56px;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 48px;
    font-size: 22px;
  }

  .lightbox-close {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
}
