/* ========================================
   YILMAZER TECH - CUSTOM STYLES
   Kolayca özelleştirilebilir CSS değişkenleri
   ======================================== */

/* ========================================
   CSS VARIABLES - Buradan Renkleri Değiştirin!
   ======================================== */
:root {
  /* Ana Renkler - İstediğiniz gibi değiştirin */
  --primary-color: #00b4d8; /* Ana mavi renk */
  --secondary-color: #6ee7b7; /* İkincil yeşil renk */
  --accent-color: #7afcff; /* Vurgu rengi */

  /* Arkaplan Renkleri */
  --bg-dark: #0f1724; /* Koyu arkaplan */
  --bg-darker: #0b1220; /* Daha koyu arkaplan */
  --bg-darkest: #071025; /* En koyu arkaplan */

  /* Metin Renkleri */
  --text-primary: #e6eef8; /* Ana metin rengi */
  --text-muted: #94a3b8; /* Soluk metin rengi */
  --text-dark: #021124; /* Koyu metin (butonlar için) */

  /* Cam Efekti */
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);

  /* Gölgeler */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Font Families */
  --font-primary: "Inter", system-ui, -apple-system, sans-serif;
  --font-heading: "Poppins", sans-serif;
}

/* ========================================
   GLOBAL STYLES
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darkest) 100%);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

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);
}
h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--accent-color);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-gradient {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-accent {
  color: var(--primary-color) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

/* Glass Card Effect */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Fade Up Animation */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
header {
  background: linear-gradient(180deg, rgba(11, 17, 26, 0.95), rgba(11, 17, 26, 0.8));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0;
  z-index: 1000;
}

.navbar {
  padding: 0;
}

.brand-logo {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1;
}

.nav-link {
  color: var(--text-muted) !important;
  font-weight: 600;
  padding: 0.5rem 1rem !important;
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--primary-color) !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition-normal);
}

.nav-link:hover::after {
  width: 80%;
}

/* CTA Button */
.btn-cta {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--text-dark);
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: none;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--text-dark);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
  padding: 5rem 0;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-color);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 600px;
}

.hero-actions {
  margin-bottom: 2rem;
}

.hero-stats {
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-card {
  position: relative;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-item i {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.highlight-box {
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.1), rgba(110, 231, 183, 0.1));
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--primary-color);
}

/* ========================================
   SECTION STYLES
   ======================================== */
section {
  padding: 5rem 0;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-color);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* ========================================
   SERVICE CARDS
   ======================================== */
.service-card {
  background: var(--bg-darker);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card.featured {
  border: 2px solid var(--primary-color);
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.05), rgba(110, 231, 183, 0.05));
}

.featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.service-header h3 {
  margin-bottom: 0;
  font-size: 1.5rem;
}

.service-badge {
  background: var(--glass-bg);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-color);
}

.service-description {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-features i {
  color: var(--primary-color);
}

.service-link {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.service-link:hover {
  gap: 1rem;
}

/* ========================================
   AI SECTION
   ======================================== */
.ai-section {
  background: linear-gradient(180deg, transparent, rgba(0, 180, 216, 0.03));
}

.ai-card {
  background: var(--bg-darker);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  transition: var(--transition-normal);
}

.ai-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
}

.ai-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.ai-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.ai-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

/* ========================================
   E-COMMERCE SECTION
   ======================================== */
.ecommerce-feature {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.ecommerce-feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--text-dark);
  flex-shrink: 0;
}

.ecommerce-feature h5 {
  margin-bottom: 0.5rem;
}

.pricing-item {
  padding: 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.pricing-item ul {
  list-style: none;
  padding-left: 0;
}

.pricing-item li {
  padding: 0.25rem 0;
}

/* ========================================
   PORTFOLIO SECTION
   ======================================== */
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
}

.portfolio-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.portfolio-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9));
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: var(--transition-normal);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.1);
}

.portfolio-info h5 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.portfolio-info p {
  margin-bottom: 0;
  color: var(--primary-color);
  font-weight: 600;
}

/* ========================================
   PRICING SECTION
   ======================================== */
.pricing-card {
  background: var(--bg-darker);
  border: 2px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  height: 100%;
  transition: var(--transition-normal);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--primary-color);
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.05), rgba(110, 231, 183, 0.05));
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-dark);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--glass-border);
}

.pricing-header h4 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.pricing-price .currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.pricing-price .amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  font-family: var(--font-heading);
}

.pricing-price .period {
  font-size: 1rem;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pricing-features i {
  font-size: 1.25rem;
}

.pricing-features .bi-check-circle-fill {
  color: var(--primary-color);
}

.pricing-features .bi-x-circle {
  color: var(--text-muted);
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonial-card {
  background: var(--bg-darker);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  transition: var(--transition-normal);
}

.testimonial-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
}

.testimonial-rating {
  color: #fbbf24;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.testimonial-author strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.25rem;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-form-wrapper {
  background: var(--bg-darker);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.form-label {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
  background: var(--glass-bg);
  border-color: var(--primary-color);
  color: var(--text-primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 180, 216, 0.25);
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-check-input {
  background-color: var(--glass-bg);
  border-color: var(--glass-border);
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  margin-bottom: 0.25rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  width: 45px;
  height: 45px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.social-link:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-dark);
  transform: translateY(-3px);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-card {
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.1), rgba(110, 231, 183, 0.1));
  border: 2px solid var(--primary-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
}

.cta-card h2 {
  margin-bottom: 1rem;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--bg-darkest);
  border-top: 1px solid var(--glass-border);
}

.footer-brand {
  max-width: 350px;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.footer-contact i {
  color: var(--primary-color);
  font-size: 1.25rem;
}

.footer-contact a {
  color: var(--text-muted);
}

.footer-contact a:hover {
  color: var(--primary-color);
}

.footer-divider {
  border-color: var(--glass-border);
  opacity: 1;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-legal a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--primary-color);
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-dark);
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  z-index: 999;
  box-shadow: var(--shadow-md);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* ========================================
   BOOTSTRAP OVERRIDES
   ======================================== */
.btn-outline-light {
  color: var(--text-primary);
  border-color: var(--glass-border);
}

.btn-outline-light:hover {
  background: var(--glass-bg);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.navbar-toggler {
  border-color: var(--glass-border);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 180, 216, 0.25);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 991px) {
  .hero-section {
    padding: 3rem 0;
    min-height: auto;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  section {
    padding: 3rem 0;
  }

  .ai-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .hero-stats {
    margin-top: 1.5rem;
  }

  .stat-item {
    padding: 0.75rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .pricing-card {
    padding: 2rem;
  }

  .cta-card {
    padding: 2rem;
  }

  .scroll-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
  }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
  .navbar,
  .scroll-to-top,
  .hero-actions,
  .btn {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }
}
