/* ============================================
   GLOBAL RESET & BASE STYLES
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #F4F5F7;
  --card-bg: #FFFFFF;
  --text-primary: #1E1E1E;
  --text-secondary: #6B6B6B;
  --border-color: #E6E6E6;
  --gold: #C6A23A;
  --dark: #1E1E1E;
  --font-inter: 'Inter', sans-serif;
  --radius-premium: 18px;
  --radius-premium-lg: 24px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-inter);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--gold);
}

h1, h2 {
  text-align: center;
}

.card h2, .card h3 {
  color: var(--text-primary);
  text-align: left;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  color: var(--text-secondary);
  font-size: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

/* ============================================
   CONTAINER SYSTEM
   ============================================ */

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* ============================================
   SECTION SPACING
   ============================================ */

.section {
  padding: 2.5rem 0;
  content-visibility: auto;
}

@media (min-width: 640px) {
  .section {
    padding: 3rem 0;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 3.5rem 0;
  }
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
  will-change: box-shadow;
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.navbar-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  text-shadow: 0 2px 8px rgba(198, 162, 58, 0.4), 0 1px 3px rgba(198, 162, 58, 0.3);
  letter-spacing: 0.5px;
}

.navbar-menu {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .navbar-menu {
    display: flex;
  }
}

.navbar-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  transition: color 0.2s ease;
}

.navbar-link:hover {
  color: var(--text-primary);
}

.navbar-link.active {
  color: var(--text-primary);
}

.navbar-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--gold);
}

.navbar-cta {
  display: none;
}

@media (min-width: 1024px) {
  .navbar-cta {
    display: block;
  }
}

.navbar-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-primary);
}

@media (min-width: 1024px) {
  .navbar-toggle {
    display: none;
  }
}

.navbar-mobile {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid var(--border-color);
}

.navbar-mobile.open {
  display: block;
}

.navbar-mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.navbar-mobile-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.5rem 0;
}

.navbar-mobile-link.active {
  color: var(--text-primary);
}

.navbar-mobile-cta {
  margin-top: 1rem;
}

.navbar-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .navbar-actions {
    display: flex;
  }
}

.navbar-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-primary);
  transition: all 0.2s ease;
  padding: 0;
}

.navbar-search-btn:hover {
  background-color: var(--bg-primary);
  border-color: var(--gold);
  color: var(--gold);
}

.navbar-mobile-search {
  width: 100%;
  border-radius: var(--radius-premium);
  height: auto;
  padding: 0.75rem 1.5rem;
  justify-content: center;
}

/* ============================================
   SEARCH MODAL
   ============================================ */

.search-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
}

.search-modal.active {
  display: block;
}

.search-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.search-modal-content {
  position: relative;
  max-width: 700px;
  width: 90%;
  margin: 5rem auto;
  background-color: var(--card-bg);
  border-radius: var(--radius-premium-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: searchModalSlideIn 0.3s ease;
}

@keyframes searchModalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-color);
}

.search-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.search-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  padding: 0;
}

.search-close:hover {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

.search-input-wrapper {
  position: relative;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-color);
}

.search-icon {
  position: absolute;
  left: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-premium);
  font-size: 1rem;
  font-family: var(--font-inter);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  transition: all 0.2s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--gold);
  background-color: var(--card-bg);
  box-shadow: 0 0 0 3px rgba(198, 162, 58, 0.1);
}

.search-results {
  max-height: 500px;
  overflow-y: auto;
  padding: 1.5rem 2rem;
}

.search-placeholder {
  text-align: center;
  color: var(--text-secondary);
  padding: 2rem 0;
  margin: 0;
}

.search-result-item {
  padding: 1rem;
  margin-bottom: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-premium);
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-result-item:hover {
  background-color: var(--bg-primary);
  border-color: var(--gold);
  transform: translateX(4px);
}

.search-result-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.search-result-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.search-result-item .search-result-link {
  display: block;
  font-size: 0.75rem;
  color: var(--gold);
  margin-top: 0.5rem;
  font-weight: 500;
}

.search-no-results {
  text-align: center;
  padding: 2rem 0;
  color: var(--text-secondary);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--dark);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: rgba(30, 30, 30, 0.9);
}

.btn-outline {
  background-color: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background-color: var(--gold);
  color: var(--dark);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* ============================================
   BADGE
   ============================================ */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.badge-default {
  background-color: var(--border-color);
  color: var(--text-secondary);
}

.badge-gold {
  background-color: rgba(198, 162, 58, 0.1);
  color: var(--gold);
  border: 1px solid rgba(198, 162, 58, 0.2);
}

/* ============================================
   CARD
   ============================================ */

.card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-premium-lg);
  padding: 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  contain: layout style paint;
}

@media (min-width: 640px) {
  .card {
    padding: 1.5rem;
  }
}

.card-hover {
  will-change: transform, box-shadow;
}

.card-hover:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* ============================================
   GRID SYSTEM
   ============================================ */

.grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .grid {
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .grid {
    gap: 1.5rem;
  }
}

.grid-1 {
  grid-template-columns: 1fr;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 767px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  padding-top: 6rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .hero {
    padding-top: 7rem;
    padding-bottom: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 8rem;
  }
}

.hero-content {
  display: block;
  width: 100%;
}

.hero-title {
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-align: left;
}

.hero-title .highlight {
  color: var(--gold);
}

.hero-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hero-logo {
  max-width: 240px;
  width: 100%;
  height: auto;
  background: none !important;
}

@media (max-width: 640px) {
  .hero-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-logo {
    max-width: 200px;
  }
}

.hero-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
  }
}


/* ============================================
   TABS
   ============================================ */

.tabs {
  margin-bottom: 1.5rem;
}

.tabs-segmented {
  display: inline-flex;
  background-color: var(--border-color);
  border-radius: 9999px;
  padding: 8px;
  gap: 8px;
  position: relative;
  width: fit-content;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tab-segment {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.125rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  background: transparent;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  color: var(--text-secondary);
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  text-decoration: none;
  will-change: transform, background-color, box-shadow;
}

.tab-segment svg {
  width: 20px;
  height: 20px;
}

.tab-segment:hover {
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.5);
}

.tab-segment.active {
  background-color: var(--gold);
  color: var(--dark);
  box-shadow: 0 4px 12px rgba(198, 162, 58, 0.4), 0 2px 4px rgba(198, 162, 58, 0.2);
  transform: translateY(-1px);
}

.tab-segment.active:hover {
  background-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(198, 162, 58, 0.5), 0 2px 4px rgba(198, 162, 58, 0.3);
}

.tab-icon {
  font-size: 1.125rem;
  display: inline-block;
}

@media (max-width: 640px) {
  .tabs-segmented {
    padding: 6px;
    gap: 6px;
  }
  
  .tab-segment {
    padding: 1rem 1.75rem;
    font-size: 0.9375rem;
    gap: 0.625rem;
  }
  
  .tab-segment svg {
    width: 18px;
    height: 18px;
  }
  
  .tab-icon {
    font-size: 1rem;
  }
}

.service-content {
  display: block;
  content-visibility: auto;
}

/* ============================================
   FORM STYLES
   ============================================ */

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-premium);
  background-color: var(--card-bg);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(198, 162, 58, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  text-align: center;
  padding: 2rem;
  color: var(--gold);
  font-weight: 600;
}

/* ============================================
   PREMIUM CONTACT PAGE
   ============================================ */

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-premium);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info {
  flex: 1;
}

.contact-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.contact-value {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0;
}

.premium-form {
  padding: 2rem;
}

.premium-submit {
  background: linear-gradient(135deg, var(--gold) 0%, #B8942A 100%);
  border: none;
  box-shadow: 0 4px 12px rgba(198, 162, 58, 0.3);
}

.premium-submit:hover {
  background: linear-gradient(135deg, #B8942A 0%, var(--gold) 100%);
  box-shadow: 0 6px 16px rgba(198, 162, 58, 0.4);
  transform: translateY(-2px);
}

@media (max-width: 1023px) {
  .premium-form {
    padding: 1.5rem;
  }
  
  .premium-form [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 767px) {
  .contact-card {
    padding: 1rem;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
  }
  
  .premium-form {
    padding: 1.5rem;
  }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background-color: var(--card-bg);
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
}

.footer-copyright {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-copyright p {
  margin: 0;
  color: var(--text-secondary);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */


.text-gold {
  color: var(--gold);
}

.mb-1 { margin-bottom: 0.375rem; }
.mb-2 { margin-bottom: 0.75rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.75rem; }
.mb-8 { margin-bottom: 2.5rem; }

.mt-1 { margin-top: 0.375rem; }
.mt-2 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.75rem; }
.mt-8 { margin-top: 2.5rem; }

.bg-card {
  background-color: var(--card-bg);
}

.list-check {
  list-style: none;
}

.list-check li {
  display: flex;
  align-items: start;
  margin-bottom: 0.5rem;
}

.list-check li::before {
  content: '✓';
  color: var(--gold);
  margin-right: 0.5rem;
  font-weight: 600;
}

/* ============================================
   SERVICE ITEMS (Hizmetler sayfası)
   ============================================ */

.service-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .service-item {
    grid-template-columns: 1fr 1fr;
  }
  
  .service-item-reverse {
    direction: rtl;
  }
  
  .service-item-reverse > * {
    direction: ltr;
  }
}

/* ============================================
   LOGO CLOUD
   ============================================ */

.logo-cloud {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 1.5rem;
  justify-items: center;
}

@media (min-width: 640px) {
  .logo-cloud {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .logo-cloud {
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
  }
}

.logo-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 0.75rem;
}

/* ============================================
   RESPONSIVE IMAGES
   ============================================ */

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-premium);
}
