/* Modern Dükkan Defteri Styles */

/* CSS Variables */
:root {
  --primary-color: #3b82f6;
  --secondary-color: #10b981;
  --accent-color: #f59e0b;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-light: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Base Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

/* Images */
img {
  max-width: 100%;
  height: auto;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

/* Header Styles */
.header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.header .container {
  position: relative;
  z-index: 2;
}

.header h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header .lead {
  font-size: 1.4rem;
  font-weight: 400;
  opacity: 0.95;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Button Styles */
.btn {
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #2563eb);
  color: white;
}

.btn-success {
  background: linear-gradient(135deg, var(--secondary-color), #059669);
  color: white;
}

.btn-light {
  background: var(--bg-white);
  color: var(--text-dark);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* Navigation */
.navbar {
  background: var(--bg-white) !important;
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
}

.navbar-brand img {
  height: 40px;
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
  font-size: 1.25rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 24px;
  height: 24px;
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark) !important;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  margin: 0 0.25rem;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--primary-color) !important;
  background: rgba(59, 130, 246, 0.08);
  transform: translateY(-1px);
}

.nav-link.active {
  color: white !important;
  background: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.navbar-nav .nav-link {
  color: var(--text-dark) !important;
}

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

.navbar-nav .nav-link.active {
  color: white !important;
}

.navbar-mobile {
  width: 100%;
}

@media (max-width: 991px) {
  .navbar-mobile {
    display: none;
  }

  .navbar-mobile.show {
    display: block;
  }

  .nav-navbar {
    flex-direction: column;
    width: 100%;
  }

  .nav-link {
    text-align: center;
    margin: 0.25rem 0;
    width: 100%;
  }
}

/* Sections */
.section {
  padding: 4rem 0;
  background: var(--bg-white);
}

.section:nth-child(even) {
  background: var(--bg-light);
}

.section-header h2 {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.section-header hr {
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  border-radius: 2px;
  margin: 2rem auto;
}

/* Cards */
.media {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
  margin-bottom: 2.5rem;
  height: 100%;
}

.media:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.media h5 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.media p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

.media .lead-6 {
  font-size: 2.5rem;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(16, 185, 129, 0.1));
  flex-shrink: 0;
}

/* Pricing Toggle */
.pricing-toggle-container {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.pricing-toggle {
  position: relative;
  background: #e2e8f0;
  border: 2px solid #cbd5e1;
  border-radius: 50px;
  padding: 4px;
  display: flex;
  width: 280px;
  height: 60px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pricing-toggle input[type="radio"] {
  display: none;
}

.toggle-label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
  position: relative;
  border-radius: 46px;
}

.toggle-label:hover {
  color: var(--primary-color);
}

.toggle-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 46px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.pricing-toggle input[type="radio"]:checked + input[type="radio"] + .toggle-label + .toggle-label + .toggle-slider {
  transform: translateX(100%);
}

/* Tüm label'ları önce gri yap */
.pricing-toggle .toggle-label {
  color: #64748b !important;
  font-weight: 600;
  transition: color 0.3s ease;
}

/* Monthly seçiliyken monthly label'ı beyaz */
.pricing-toggle input#monthly:checked ~ label[for="monthly"] {
  color: white !important;
  font-weight: 700;
}

/* Yearly seçiliyken yearly label'ı beyaz */
.pricing-toggle input#yearly:checked ~ label[for="yearly"] {
  color: white !important;
  font-weight: 700;
}

/* Price Animation */
.price-number {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
}

.price-number.updating {
  transform: scale(1.1);
  color: var(--primary-color);
}

/* Pricing Cards */
.pricing-1 {
  transition: all 0.3s ease;
  min-height: 650px;
  display: flex;
  flex-direction: column;
  padding: 2rem 2rem 1.5rem 2rem !important;
}

.pricing-1 .text-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-1 .features-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 280px;
  margin-bottom: 1.5rem;
}

.pricing-1:hover {
  transform: translateY(-8px);
}

.pricing-1.popular {
  border: 2px solid var(--secondary-color);
}

.feature-item {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.feature-item i {
  font-size: 0.9rem;
}

.price-container {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plan-name {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Button container spacing */
.pricing-1 .text-center > div:last-child {
  margin-top: auto;
  padding-top: 0;
}

/* Ensure all pricing cards have same height */
.pricing-row {
  display: flex;
  align-items: stretch;
}

.pricing-row .col-md-4 {
  display: flex;
}

/* Contact Section */
.contact-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 1.4rem;
}

.contact-item {
  margin-bottom: 2rem;
}

.contact-item:last-child {
  margin-bottom: 0;
}

/* Form Styles */
.form-control {
  border: 2px solid var(--border-light);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  height: 60px;
  line-height: 1.5;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.input-group {
  align-items: stretch;
  border: none !important;
  border-radius: 0 !important;
  transition: none !important;
}

.input-group-text {
  border: 3px solid #d1d5db;
  border-radius: 8px 0 0 8px;
  width: 70px;
  min-width: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f3f4f6e0;
  border-right: none;
}

.input-group-text i {
  font-size: 1.4rem;
  color: var(--text-light);
}

.input-group-lg .form-control {
  height: 47px;
  padding: 1rem 1.25rem;
  font-size: 1.1rem;
  border: 3px solid #d1d5db;
}

.input-group-lg .input-group-text {
  width: 75px;
  min-width: 75px;
  height: 53px;
  border: 3px solid #d1d5db;
  background-color: #f3f4f6;
}

.input-group-lg .input-group-text i {
  font-size: 1.4rem;
}

.input-group .form-control {
  border-left: none;
  border-radius: 0 8px 8px 0;
  border: 3px solid #d1d5db;
  border-left: none;
}

.input-group .form-control:focus {
  border-left: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.input-group-lg .form-control:focus {
  border: 1px solid var(--primary-color);
  border-left: none;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-light);
}

.social-links a {
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: var(--primary-color) !important;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 991px) {
  .header h1 {
    font-size: 2.8rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section-header h2 {
    font-size: 2.25rem;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .header {
    min-height: auto;
    padding: 4rem 0;
  }

  .header h1 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
  }

  .header .lead {
    font-size: 1.1rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .btn {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
  }

  .media {
    padding: 2rem;
    margin-bottom: 2rem;
  }

  .media h5 {
    font-size: 1.2rem;
  }

  .media p {
    font-size: 1rem;
  }

  .media .lead-6 {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }

  .pricing-1.popular {
    transform: none !important;
  }

  .contact-info .contact-item {
    text-align: center;
    margin-bottom: 2.5rem;
  }

  .contact-info .contact-item .d-flex {
    flex-direction: column;
    align-items: center;
  }

  .contact-icon {
    margin: 0 auto 1rem auto;
  }

  .contact-item div:last-child {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .header {
    padding: 3rem 0;
  }

  .header h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .header .lead {
    font-size: 1rem;
  }

  .section {
    padding: 2rem 0;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .media {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .media .lead-6 {
    width: 55px;
    height: 55px;
    font-size: 1.8rem;
  }

  /* Navbar mobile improvements */
  .navbar-collapse {
    margin-top: 1rem;
  }

  .navbar-nav {
    width: 100%;
  }

  .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.95rem;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Fix image container */
  .hero-image-container {
    margin-top: 2rem;
  }

  /* Better spacing for mobile */
  .mb-5 {
    margin-bottom: 2rem !important;
  }

  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  /* Mobile image fixes */
  .hero-image-container img {
    max-height: 200px !important;
  }

  /* Mobile button spacing */
  .gap-3 {
    gap: 1rem !important;
  }

  /* Mobile text alignment */
  .text-center {
    text-align: center !important;
  }

  /* Mobile pricing cards */
  .pricing-1 {
    margin-bottom: 2rem;
    min-height: auto;
  }

  .pricing-row {
    flex-direction: column;
  }

  .pricing-row .col-md-4 {
    display: block;
  }

  .pricing-toggle {
    width: 240px;
    height: 50px;
  }

  .toggle-label {
    font-size: 1rem;
  }

  /* Mobile form improvements */
  .input-group-lg .form-control {
    font-size: 1.1rem;
    height: 60px;
    padding: 1rem 1.25rem;
  }

  .input-group-lg .input-group-text {
    height: 47px;
    width: 70px;
    min-width: 70px;
  }

  .input-group-lg .input-group-text i {
    font-size: 1.3rem;
  }

  .form-control {
    height: 55px;
    padding: 0.875rem 1rem;
    font-size: 1rem;
  }

  .input-group-text {
    width: 65px;
    min-width: 65px;
  }

  .input-group-text i {
    font-size: 1.2rem;
  }

  /* Font Awesome mobile icon color */
  .fas.fa-mobile-alt {
    color: var(--primary-color) !important;
  }
}
