/* ==========================================
   IZM_BIL - Özel Stil Dosyası
   ========================================== */

/* 1. CSS Variables */
:root {
  --primary: #0A1628;
  --accent: #F59E0B;
  --accent-hover: #D97706;
  --accent-glow: rgba(245, 158, 11, 0.15);
  --accent-glow-strong: rgba(245, 158, 11, 0.3);
  --white: #FFFFFF;
  --gray: #94A3B8;
  --gray-dark: #64748B;
  --card-bg: #0F1D32;
  --border: #1E293B;
  --border-light: #334155;
  --whatsapp: #25D366;
  --whatsapp-hover: #128C7E;
  --success: #10B981;
  --danger: #EF4444;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.4);
  --shadow-accent: 0 8px 25px rgba(245, 158, 11, 0.3);
  --shadow-card-hover: 0 20px 40px rgba(0, 0, 0, 0.3);
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

/* 2. Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--primary);
  color: var(--gray);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--accent);
  color: var(--primary);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* 3. Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
}

h4 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
}

p {
  color: var(--gray);
  line-height: 1.7;
}

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

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

/* 4. Utility Classes */
.section-label {
  display: inline-block;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-padding {
  padding: 100px 0;
}

.bg-card {
  background-color: var(--card-bg);
}

.border-subtle {
  border: 1px solid var(--border);
}

.text-white { color: var(--white) !important; }
.text-gray { color: var(--gray) !important; }
.text-gray-dark { color: var(--gray-dark) !important; }
.text-accent { color: var(--accent) !important; }

/* 5. Buttons */
.btn {
  font-family: var(--font-primary);
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--accent);
  color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  box-shadow: var(--shadow-accent);
  color: var(--primary);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--accent);
}

.btn-ghost {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--gray);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: var(--white);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  color: var(--white);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.125rem;
}

/* 6. Navigation */
.navbar {
  padding: 0;
  height: 90px;
  transition: var(--transition);
  z-index: 1030;
}

.navbar.scrolled {
  background-color: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.navbar-brand {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white) !important;
  letter-spacing: -0.02em;
  padding: 0;
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 60px;
  width: auto;
  display: block;
}

.navbar-brand span {
  color: var(--accent);
}

.nav-link {
  color: var(--gray) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px !important;
  transition: var(--transition);
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background-color: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.navbar-toggler {
  border: 1px solid var(--border);
  padding: 8px 12px;
  color: var(--white);
}

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

/* 7. Hero Section */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/hero-bg.jpg') center center / cover no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10, 22, 40, 0.3) 0%, rgba(10, 22, 40, 0.85) 60%, var(--primary) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 80px;
}

.hero-label {
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-badges {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray);
  font-size: 0.875rem;
}

.hero-badge i {
  color: var(--accent);
  font-size: 1.1rem;
}

/* 8. Hakkımızda Section */
.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: 10px;
  bottom: 10px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.3;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--gray);
}

.about-list li i {
  color: var(--accent);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* 9. Paketler Section */
.package-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  height: 100%;
  transition: var(--transition);
  position: relative;
}

.package-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-card-hover);
}

.package-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
  transform: scale(1.02);
}

.package-card.featured:hover {
  box-shadow: 0 0 40px var(--accent-glow-strong);
}

.package-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.package-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  text-align: center;
}

.package-price {
  text-align: center;
  margin-bottom: 8px;
}

.package-price .price {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.package-price .period {
  color: var(--gray-dark);
  font-size: 0.95rem;
}

.package-divider {
  height: 1px;
  background-color: var(--border);
  margin: 24px 0;
}

.package-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--gray);
  font-size: 0.9rem;
}

.package-features li i {
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.package-cta {
  width: 100%;
}

/* 10. Ek Hizmetler Section */
.services-table-container {
  background-color: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
}

.services-table {
  width: 100%;
  margin-bottom: 0;
}

.services-table thead th {
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--accent);
  font-weight: 600;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.services-table tbody td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  color: var(--gray);
  vertical-align: middle;
}

.services-table tbody tr:last-child td {
  border-bottom: none;
}

.services-table tbody tr {
  transition: var(--transition);
}

.services-table tbody tr:hover {
  background-color: rgba(245, 158, 11, 0.03);
}

.services-table .price {
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}

/* Mobile cards for services */
.services-mobile-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 12px;
}

.services-mobile-card .service-name {
  color: var(--white);
  font-weight: 500;
  margin-bottom: 4px;
}

.services-mobile-card .service-price {
  color: var(--accent);
  font-weight: 600;
}

/* 11. Hizmetler Section */
.service-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  height: 100%;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-card-hover);
}

.service-icon {
  width: 56px;
  height: 56px;
  background-color: rgba(245, 158, 11, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background-color: rgba(245, 158, 11, 0.2);
}

.service-icon i {
  font-size: 1.5rem;
  color: var(--accent);
}

.service-title {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-desc {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-link {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link:hover {
  gap: 10px;
}

/* 12. Neden Biz Section */
.why-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.why-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.reason-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.reason-item {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}

.reason-number {
  width: 48px;
  height: 48px;
  background-color: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

.reason-content h4 {
  color: var(--white);
  margin-bottom: 8px;
}

.reason-content p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* 13. İstatistikler Section */
.stats-section {
  background-color: var(--card-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--gray);
  font-size: 0.95rem;
}

/* 14. SSS Section */
.accordion-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-button {
  background-color: var(--card-bg);
  color: var(--white);
  font-weight: 600;
  padding: 20px 24px;
  font-size: 1rem;
  border: none;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  background-color: var(--card-bg);
  color: var(--accent);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.accordion-button::after {
  filter: brightness(0) invert(1);
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) saturate(100%) invert(60%) sepia(90%) saturate(500%) hue-rotate(5deg);
}

.accordion-body {
  padding: 0 24px 20px;
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* 15. İletişim Formu Section */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(245, 158, 11, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.contact-detail h5 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-detail p,
.contact-detail a {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 0;
}

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

/* Form Styles */
.form-control {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--white);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control::placeholder {
  color: var(--gray-dark);
}

.form-control:focus {
  background-color: var(--card-bg);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  color: var(--white);
}

.form-select {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--white);
  font-size: 1rem;
  transition: var(--transition);
}

.form-select:focus {
  background-color: var(--card-bg);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  color: var(--white);
}

.form-select option {
  background-color: var(--card-bg);
  color: var(--white);
}

.form-label {
  color: var(--gray);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 8px;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* 16. Footer */
.footer {
  background-color: var(--primary);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

.footer-brand {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
}

.footer-brand img {
  height: 70px;
  width: auto;
  display: block;
}

.footer-brand span {
  color: var(--accent);
}

.footer-desc {
  color: var(--gray);
  font-size: 0.95rem;
  margin-top: 12px;
  line-height: 1.6;
}

.footer-title {
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 20px;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--gray);
  font-size: 0.95rem;
  transition: var(--transition);
}

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

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

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--gray);
  font-size: 0.95rem;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  margin-top: 40px;
}

.footer-bottom p {
  color: var(--gray-dark);
  font-size: 0.875rem;
  margin-bottom: 0;
}

.footer-bottom a {
  color: var(--gray-dark);
  font-size: 0.875rem;
}

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

/* 17. WhatsApp Button (Fixed) */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
}

.whatsapp-float.visible {
  opacity: 1;
  visibility: visible;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float i {
  font-size: 1.75rem;
  color: var(--white);
}

/* 18. Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(to right, var(--accent), var(--accent-hover));
  z-index: 1031;
  transition: width 0.1s linear;
}

/* 19. Animations & Transitions */

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

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

/* Fade In Animation */
.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
}

/* Scale In Animation */
.scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Slide In Left */
.slide-in-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger Delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* 20. Responsive Media Queries */

/* Tablet and below */
@media (max-width: 991.98px) {
  .section-padding {
    padding: 70px 0;
  }

  .hero {
    min-height: 90vh;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .package-card.featured {
    transform: scale(1);
  }

  .about-image::before {
    display: none;
  }

  .navbar-collapse {
    background-color: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-top: 10px;
    border: 1px solid var(--border);
  }

  .nav-link::after {
    display: none;
  }
}

/* Mobile */
@media (max-width: 575.98px) {
  .section-padding {
    padding: 50px 0;
  }

  .hero {
    min-height: 85vh;
  }

  .hero-content {
    padding-top: 60px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 280px;
  }

  .hero-badges {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .package-card {
    padding: 32px 24px;
  }

  .service-card {
    padding: 24px;
  }

  .reason-item {
    gap: 14px;
  }

  .reason-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .stat-item {
    margin-bottom: 24px;
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
  }

  .footer {
    text-align: center;
  }

  .footer-contact li {
    justify-content: center;
  }
}

/* Large screens */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-up, .fade-in, .scale-in, .slide-in-left {
    opacity: 1;
    transform: none;
  }
}
