/* ===========================
   TRIMORA DESIGN – Main Styles
   =========================== */

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

:root {
  --green-dark:  #1a1a1f;
  --green-mid:   #242429;
  --green-light: #2e2e35;
  --gold:        #d4af6a;
  --gold-light:  #e8c97e;
  --text-white:  #f0ece4;
  --text-muted:  #9a9a9e;
  --border:      rgba(212,175,106,0.2);
}

html { scroll-behavior: smooth; }

body {
  background: var(--green-dark);
  color: var(--text-white);
  font-family: 'Open Sans', sans-serif;
  overflow-x: hidden;
}

/* ---- HEADER ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-dark);
  border-bottom: 1px solid var(--border);
}

.header-top {
  display: flex;
  justify-content: flex-end;
  padding: 4px 16px 2px;
}

.header-logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(212,175,106,0.3));
}

/* NAV — her ekranda görünür */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-top: 1px solid var(--border);
  padding: 0 8px;
}
.main-nav::-webkit-scrollbar { display: none; }

.main-nav a {
  color: var(--text-white);
  text-decoration: none;
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .8px;
  white-space: nowrap;
  padding: 10px 12px;
  position: relative;
  transition: color .2s;
  flex-shrink: 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 12px; right: 12px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .2s;
}
.main-nav a:hover { color: var(--gold); }
.main-nav a:hover::after { transform: scaleX(1); }

.main-nav .nav-cta {
  background: var(--gold);
  color: var(--green-dark) !important;
  border-radius: 4px;
  margin-left: 6px;
  padding: 6px 14px;
  font-weight: 700;
}
.main-nav .nav-cta::after { display: none; }
.main-nav .nav-cta:hover { background: var(--gold-light); }

@media (min-width: 600px) {
  .main-nav a { font-size: 12px; padding: 11px 16px; }
  .header-logo img { height: 72px; }
}

/* ---- NAV DRAWER ---- */
.nav-drawer {
  position: fixed;
  top: 0; left: -260px;
  width: 260px;
  height: 100%;
  background: var(--green-mid);
  z-index: 200;
  transition: left .3s ease;
  padding: 80px 28px 28px;
  border-right: 1px solid var(--border);
}
.nav-drawer.open { left: 0; }
.nav-drawer ul { list-style: none; }
.nav-drawer ul li { margin-bottom: 24px; }
.nav-drawer ul li a {
  color: var(--text-white);
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: 15px;
  letter-spacing: 1px;
  transition: color .2s;
}
.nav-drawer ul li a:hover { color: var(--gold); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 199;
}
.nav-overlay.open { display: block; }

/* ---- HERO ---- */
.hero {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.hero-bg {
  width: 100%;
  height: 100%;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: brightness(.55);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26,26,31,.2) 0%,
    rgba(26,26,31,.4) 40%,
    rgba(26,26,31,.85) 100%
  );
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  text-align: center;
  gap: 10px;
}

.hero-content h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(16px, 5vw, 26px);
  font-weight: 600;
  color: var(--gold);
  line-height: 1.5;
  text-shadow: 0 2px 14px rgba(0,0,0,.95);
  letter-spacing: 1px;
  font-style: italic;
}

@media (min-width: 600px) {
  .hero { height: 300px; }
  .hero-content h1 { font-size: 24px; }
}

/* ---- SECTION TITLE ---- */
.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(15px, 4.5vw, 20px);
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  letter-spacing: 2px;
  margin-bottom: 22px;
}

/* ---- SERVICES ---- */
.services {
  background: var(--green-mid);
  padding: 32px 0 24px;
}

.services-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 30px;
}

.services-track {
  display: flex;
  gap: 10px;
  transition: transform .35s ease;
  will-change: transform;
}

.service-card {
  flex: 0 0 calc((100vw - 60px - 10px) / 2);
  min-width: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 0 14px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: border-color .3s, background .3s, transform .3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  overflow: hidden;
}
.service-card:hover {
  border-color: var(--gold);
  background: rgba(212,175,106,0.08);
  transform: translateY(-4px);
}
.service-card:active {
  transform: scale(0.97);
}

.service-img {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: rgba(0,0,0,0.25);
  position: relative;
}
.service-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,31,0.6) 0%, transparent 50%);
  pointer-events: none;
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .4s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 12px;
}
.service-card:hover .service-img img {
  transform: scale(1.1);
}

.service-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .5px;
  margin-bottom: 4px;
  line-height: 1.3;
  padding: 0 8px;
}
.service-card p {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.4;
  padding: 0 8px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(212,175,106,0.3);
  background: rgba(26,26,31,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--gold);
  cursor: pointer;
  font-size: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1), background .3s, border-color .3s, box-shadow .3s;
  flex-shrink: 0;
  box-shadow:
    0 2px 4px rgba(0,0,0,0.2),
    0 8px 16px rgba(0,0,0,0.15);
}
.slider-btn::before {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  display: block;
  transition: border-color .3s;
}
.slider-prev::before {
  transform: rotate(135deg);
  margin-left: 3px;
}
.slider-next::before {
  transform: rotate(-45deg);
  margin-right: 3px;
}
.slider-btn:hover {
  background: rgba(212,175,106,0.15);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.1);
  box-shadow:
    0 2px 4px rgba(212,175,106,0.1),
    0 8px 24px rgba(0,0,0,0.3);
}
.slider-btn:active {
  transform: translateY(-50%) scale(0.95);
}
.slider-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.slider-prev { left: 2px; }
.slider-next { right: 2px; }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(212,175,106,0.2);
  border: 1px solid rgba(212,175,106,0.15);
  transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1), background .3s, width .3s, border-color .3s;
  cursor: pointer;
}
.dot:hover {
  background: rgba(212,175,106,0.4);
  transform: scale(1.2);
}
.dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
  border-color: var(--gold);
  box-shadow: 0 0 8px rgba(212,175,106,0.3);
}

/* ---- BRANDS ---- */
.brands {
  background: var(--green-dark);
  padding: 32px 16px 36px;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  max-width: 800px;
  margin: 0 auto;
}

.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 6px 12px;
  background: var(--green-mid);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color .3s, background .3s, box-shadow .3s;
  overflow: hidden;
}
.brand-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  background: rgba(212,175,106,0.06);
  box-shadow:
    0 4px 8px rgba(0,0,0,0.2),
    0 12px 24px rgba(0,0,0,0.15);
}
.brand-card:active {
  transform: scale(0.96);
}

.brand-card img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
  transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.brand-card:hover img {
  transform: scale(1.12);
}

.brand-card span {
  font-family: 'Open Sans', sans-serif;
  font-size: 9px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color .3s;
}
.brand-card:hover span {
  color: var(--gold);
}

/* ---- CONTACT ---- */
.contact {
  background: var(--green-dark);
  padding: 0 14px 40px;
}

/* Contact Card */
.contact-card {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 2px;
  display: grid;
  grid-template-columns: 1fr;
  background: var(--green-dark);
  box-shadow: 0 4px 32px rgba(0,0,0,.4);
}

/* Köşe + ikonları */
.corner {
  position: absolute;
  font-size: 20px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.corner-tl { top: -10px; left: -10px; }
.corner-tr { top: -10px; right: -10px; }
.corner-bl { bottom: -10px; left: -10px; }
.corner-br { bottom: -10px; right: -10px; }

/* Sol bilgi tarafı */
.contact-info-side {
  padding: 28px 22px;
}

.contact-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(20px, 6vw, 36px);
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
  line-height: 1.2;
}

.contact-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 480px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}
.contact-info-item--wide {
  grid-column: 1 / -1;
}

.contact-info-icon {
  background: rgba(212,175,106,0.12);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 2px;
}
.info-value {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  text-decoration: none;
  transition: color .2s;
}
a.info-value:hover {
  color: var(--gold);
}

/* Sağ form tarafı */
.contact-form-side {
  background: rgba(255,255,255,0.03);
  border-top: 1px solid var(--border);
  padding: 24px 22px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
}

.field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-white);
  letter-spacing: .3px;
}

.field input,
.field textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--text-white);
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  outline: none;
  transition: border-color .2s;
  width: 100%;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-muted);
  font-size: 12px;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
}
.field textarea {
  resize: none;
  min-height: 80px;
}

.btn-teklif {
  background: var(--gold);
  color: var(--green-dark);
  border: none;
  border-radius: 6px;
  padding: 11px 20px;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, transform .1s;
}
.btn-teklif:hover { background: var(--gold-light); }
.btn-teklif:active { transform: scale(.97); }
.btn-full { width: 100%; margin-top: 4px; }

@media (min-width: 640px) {
  .contact-card {
    grid-template-columns: 1fr 1fr;
  }
  .contact-form-side {
    border-top: none;
    border-left: 1px solid var(--border);
  }
  .contact-info-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* ---- MAP ---- */
.map-section {
  background: var(--green-dark);
  padding: 32px 16px 28px;
}

.map-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.15),
    0 8px 24px rgba(0,0,0,0.2);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
  filter: grayscale(0.6) brightness(0.7) contrast(1.1);
  transition: filter .4s;
}
.map-wrapper:hover iframe {
  filter: grayscale(0.2) brightness(0.85) contrast(1.05);
}

.map-buttons {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 8px;
}

.map-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(26,26,31,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212,175,106,0.3);
  border-radius: 8px;
  padding: 8px 14px;
  color: var(--text-muted);
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1), background .3s, border-color .3s, color .3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.map-btn:hover {
  transform: scale(1.05);
  border-color: var(--gold);
  color: var(--gold);
}
.map-btn:active {
  transform: scale(0.96);
}

.map-btn-primary {
  background: var(--gold);
  color: var(--green-dark);
  border-color: var(--gold);
}
.map-btn-primary:hover {
  background: var(--gold-light);
  color: var(--green-dark);
  border-color: var(--gold-light);
}

.map-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}
.map-info svg {
  flex-shrink: 0;
}

@media (min-width: 600px) {
  .map-wrapper { height: 300px; }
}

/* ---- FOOTER ---- */
.footer {
  background: var(--green-mid);
  border-top: 1px solid var(--border);
  padding: 24px 16px 14px;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(212,175,106,0.2));
}

.footer-social {
  display: flex;
  gap: 8px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color .2s;
}
.footer-social a:hover { border-color: var(--gold); }

.footer-col h4 {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.footer-col p {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: flex;
  align-items: flex-start;
  gap: 5px;
  line-height: 1.5;
}
.footer-col p svg { flex-shrink: 0; margin-top: 2px; }
.footer-col p a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s;
}
.footer-col p a:hover { color: var(--gold); }

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 11px;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 10px;
  color: var(--text-muted);
}

/* ---- FOOTER SOSYAL BUTONLAR ---- */
.footer-social-groups {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.fsoc-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fsoc-label {
  font-family: 'Cinzel', serif;
  font-size: 9px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.8;
}
.fsoc-row {
  display: flex;
  gap: 5px;
}
.footer-social {
  display: flex;
  gap: 5px;
  flex-wrap: nowrap;
}

.fsoc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
  flex-shrink: 0;
}
.fsoc-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 14px rgba(0,0,0,.4);
}
.fsoc-btn:active { transform: scale(.93); }

/* ---- WHATSAPP FAB ---- */
.whatsapp-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow:
    0 2px 6px rgba(37,211,102,0.3),
    0 8px 24px rgba(0,0,0,0.3);
  transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .3s;
  animation: wpPulse 2s ease-in-out infinite;
}
.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow:
    0 4px 12px rgba(37,211,102,0.4),
    0 12px 32px rgba(0,0,0,0.35);
}
.whatsapp-fab:active {
  transform: scale(0.95);
}
@keyframes wpPulse {
  0%, 100% { box-shadow: 0 2px 6px rgba(37,211,102,0.3), 0 8px 24px rgba(0,0,0,0.3); }
  50% { box-shadow: 0 2px 6px rgba(37,211,102,0.5), 0 8px 32px rgba(37,211,102,0.25); }
}

/* ---- SEO ETİKETLERİ (gizli — sadece arama motorları için) ---- */
.seo-tags {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.seo-tags span {
  font-size: 1px;
  color: transparent;
}

/* ---- DESKTOP ---- */
@media (min-width: 600px) {
  .footer-top {
    grid-template-columns: repeat(4, 1fr);
  }
  .service-card {
    flex: 0 0 calc((100% - 30px) / 4);
  }
  .service-card h3 { font-size: 12px; }
  .service-card p  { font-size: 11px; }
  .service-img img { padding: 16px; }
  .hero { height: 400px; }
  .hero-text h1 { font-size: 24px; }
  .brands-grid {
    gap: 14px;
  }
  .brand-card img {
    width: 64px;
    height: 64px;
  }
  .brand-card span {
    font-size: 10px;
  }
}
