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

:root {
  --cream: #FAF8F5;
  --cream-light: #FFFFFF;
  --cream-tint: #F3EEE7;
  --dark: #12100E;
  --dark-card: #1A1714;
  --dark-card-hover: #221F1B;
  --gold: #C8922A;
  --gold-light: #E5B45B;
  --gold-subtle: rgba(200, 146, 42, 0.12);
  --gold-glow: rgba(200, 146, 42, 0.25);
  --text: #1E1B18;
  --muted: #6B6258;
  --muted-light: #9C9388;
  --border: rgba(26, 23, 20, 0.08);
  --border-card: rgba(26, 23, 20, 0.08);
  --shadow-sm: 0 2px 8px rgba(20, 18, 16, 0.04);
  --shadow-md: 0 10px 30px rgba(20, 18, 16, 0.08);
  --shadow-lg: 0 25px 60px rgba(20, 18, 16, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  width: 100%;
  position: relative;
  line-height: 1.6;
}

/* NAVIGATION */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 68px;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--dark);
  letter-spacing: -0.02em;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-logo span {
  color: var(--gold);
  font-style: italic;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--dark);
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-secondary {
  color: var(--dark);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.55rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: #FFFFFF;
  transition: all 0.2s ease;
}

.nav-secondary:hover {
  border-color: var(--dark);
  background: var(--cream);
}

.nav-cta {
  background: var(--dark);
  color: var(--cream);
  padding: 0.58rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 12px rgba(20, 18, 16, 0.15);
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--gold);
  color: #FFFFFF;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--dark);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 8px;
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: rgba(250, 248, 245, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.5rem 1.75rem;
  z-index: 999;
  box-shadow: var(--shadow-lg);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  display: block;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.mobile-nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-size: 1rem;
  font-weight: 600;
  display: block;
  padding: 0.4rem 0;
}

/* HEADER */
.showcase-hero {
  padding: 7.5rem 1.5rem 2rem;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--gold-subtle);
  border: 1px solid rgba(200, 146, 42, 0.25);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.showcase-badge i {
  color: var(--gold);
}

.showcase-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.showcase-hero h1 em {
  color: var(--gold);
  font-style: italic;
}

.showcase-hero p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto;
}

/* CONTROLS (SEARCH & SWIPEABLE SECTOR TABS) */
.showcase-controls-wrap {
  max-width: 1240px;
  margin: 1.75rem auto 2.5rem;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  width: 100%;
}

.search-input-box {
  position: relative;
  width: 100%;
  max-width: 540px;
}

.search-input-box input {
  width: 100%;
  padding: 0.95rem 1.25rem 0.95rem 2.85rem;
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--dark);
  outline: none;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  min-height: 48px;
}

.search-input-box input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-subtle);
}

.search-input-box i {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-light);
  font-size: 1rem;
}

/* Swipeable Pill Container on Mobile */
.sector-tabs-container {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.25rem 0 0.5rem;
}

.sector-tabs-container::-webkit-scrollbar {
  display: none;
}

.sector-tabs-row {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  min-width: max-content;
  margin: 0 auto;
  padding: 0 0.5rem;
}

.tab-btn {
  background: #FFFFFF;
  border: 1px solid var(--border);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  min-height: 38px;
}

.tab-btn:hover {
  background: #F3EEE7;
  color: var(--dark);
}

.tab-btn.active {
  background: var(--dark);
  color: #FFFFFF;
  border-color: var(--dark);
  box-shadow: 0 3px 10px rgba(20, 18, 16, 0.15);
}

.tab-btn.active i {
  color: var(--gold);
}

/* RESULTS BAR */
.results-count-bar {
  max-width: 1240px;
  margin: 0 auto 1.25rem;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.825rem;
  color: var(--muted);
  font-weight: 500;
}

/* CARDS GRID */
.showcase-grid {
  max-width: 1240px;
  margin: 0 auto 5rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* CUSTOMER CARD */
.customer-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  position: relative;
}

.customer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 146, 42, 0.35);
}

/* Card Banner */
.card-banner {
  height: 95px;
  background: linear-gradient(135deg, #1C1917 0%, #3D3830 100%);
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0.75rem;
}

.card-banner.fotograf { background: linear-gradient(135deg, #18191E 0%, #2A2C38 100%); }
.card-banner.saglik { background: linear-gradient(135deg, #0F2027 0%, #203A43 100%); }
.card-banner.restoran { background: linear-gradient(135deg, #2C1B18 0%, #4A2820 100%); }
.card-banner.otomotiv { background: linear-gradient(135deg, #1E1B18 0%, #363028 100%); }
.card-banner.kurumsal { background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%); }

.sector-badge {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.sector-badge i {
  color: var(--gold-light);
}

/* Card Avatar / Logo */
.card-avatar-wrap {
  position: absolute;
  top: 60px;
  left: 1.25rem;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #FFFFFF;
  padding: 3px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  z-index: 10;
}

.card-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #F3EEE7;
  display: block;
}

.card-avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.3rem;
  font-weight: 700;
}

/* Card Body */
.card-body {
  padding: 36px 1.25rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-header-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
  line-height: 1.25;
}

.card-slug-pill {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.card-bio {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

/* Card Pills */
.card-pills-row {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.card-mini-pill {
  background: #F4F1EA;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 600;
}

/* Card Action Buttons (Touch Friendly) */
.card-actions {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.6rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.btn-preview-modal {
  background: var(--dark);
  color: #FFFFFF;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
  min-height: 42px;
}

.btn-preview-modal:hover {
  background: var(--gold);
  color: #FFFFFF;
}

.btn-preview-modal i {
  color: var(--gold-light);
}

.btn-direct-open {
  background: #FFFFFF;
  color: var(--dark);
  border: 1px solid var(--border);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
  min-height: 42px;
}

.btn-direct-open:hover {
  border-color: var(--dark);
  background: #F9F9F9;
}

/* PREVIEW MODAL (DESKTOP IPHONE FRAME / MOBILE FULLSCREEN APP SHEET) */
.preview-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 7, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.preview-modal-backdrop.active {
  display: flex;
  opacity: 1;
}

.modal-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  max-height: 96vh;
}

.modal-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 380px;
  margin-bottom: 0.75rem;
  color: #FFFFFF;
}

.modal-title-info {
  display: flex;
  flex-direction: column;
}

.modal-customer-name {
  font-weight: 700;
  font-size: 1rem;
  color: #FFFFFF;
}

.modal-customer-url {
  font-size: 0.75rem;
  color: var(--gold-light);
}

.modal-controls-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.modal-btn-open {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
  min-height: 34px;
}

.modal-btn-open:hover {
  background: var(--gold);
  color: #FFFFFF;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #FFFFFF;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: #E63946;
}

/* Modal iPhone Frame */
.modal-phone-device {
  width: 360px;
  height: 700px;
  background: #000000;
  border-radius: 46px;
  padding: 10px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.7), 0 0 0 2px rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.modal-phone-screen {
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
}

.modal-island {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #000000;
  border-radius: 12px;
  z-index: 50;
  pointer-events: none;
}

.modal-iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 36px;
  background: #FFFFFF;
}

/* BOTTOM CTA BANNER */
.cta-strip {
  background: linear-gradient(135deg, #1C1917 0%, #29241E 100%);
  border-radius: 28px;
  padding: 4rem 2rem;
  text-align: center;
  color: var(--cream);
  max-width: 1200px;
  margin: 0 auto 4rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-strip h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #FFFFFF;
  margin-bottom: 0.85rem;
}

.cta-strip p {
  color: rgba(250, 248, 245, 0.8);
  font-size: 0.95rem;
  max-width: 580px;
  margin: 0 auto 1.75rem;
  line-height: 1.65;
}

.btn-gold-cta {
  background: var(--gold);
  color: #FFFFFF;
  padding: 0.95rem 2.25rem;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 6px 20px rgba(200, 146, 42, 0.4);
  transition: all 0.2s ease;
  min-height: 48px;
}

.btn-gold-cta:hover {
  background: var(--gold-light);
  color: var(--dark);
}

/* FOOTER */
footer {
  background: var(--dark);
  color: rgba(250, 248, 245, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 2rem 2rem;
}

.footer-wrap {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
}

.footer-brand span {
  color: var(--gold);
  font-style: italic;
}

/* MOBILE-FIRST OPTIMIZATIONS (CRITICAL FOR PERFECT RESPONSIVENESS) */
@media (max-width: 768px) {
  nav {
    padding: 0 1rem;
    height: 62px;
  }
  .nav-links {
    display: none;
  }
  .nav-actions .nav-secondary {
    display: none !important;
  }
  .nav-actions {
    gap: 0.5rem;
  }
  .nav-cta {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
  .mobile-menu-btn {
    display: block;
  }
  .showcase-hero {
    padding: 5.5rem 1rem 1.5rem;
  }
  .showcase-controls-wrap {
    padding: 0 1rem;
    margin: 1.25rem auto 1.75rem;
  }
  .sector-tabs-row {
    justify-content: flex-start;
  }
  .results-count-bar {
    padding: 0 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
  .showcase-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
    gap: 1.25rem;
    margin-bottom: 3.5rem;
  }
  .cta-strip {
    padding: 3rem 1.25rem;
    border-radius: 20px;
    margin-bottom: 3rem;
  }
  .footer-wrap {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  /* Native Fullscreen Modal Experience on Mobile */
  .preview-modal-backdrop {
    padding: 0;
    background: #000000;
  }
  .modal-container {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
  }
  .modal-top-bar {
    max-width: 100%;
    padding: 0.75rem 1rem;
    background: #141210;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .modal-phone-device {
    width: 100vw;
    height: calc(100dvh - 58px);
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
  }
  .modal-phone-screen {
    border-radius: 0;
  }
  .modal-island {
    display: none;
  }
  .modal-iframe {
    border-radius: 0;
  }
}
