/* styles/hizmetlerimiz.css - Hizmetlerimiz Sayfa Stilleri */

/* Page Header */
.page-header {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
}

.page-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../Foto/slidesondaj.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 54, 93, 0.9) 0%,
    rgba(45, 95, 135, 0.8) 100%
  );
}

.page-header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  animation: slideInUp 1s ease-out;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--accent-color);
}

.breadcrumb i {
  font-size: 0.7rem;
  opacity: 0.6;
}

.page-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, white 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  color: #f3f4f6;
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Services Overview */
.services-overview {
  padding: 5rem 0;
  background: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.service-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 100px;
  height: 100px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: white;
  font-size: 2.5rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover .service-icon {
  background: var(--gradient-accent);
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.service-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-color);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  background: transparent;
}

.service-link:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-2px);
}

.service-link i {
  transition: transform 0.3s ease;
}

.service-link:hover i {
  transform: translateX(3px);
}

/* Service Details */
.service-details {
  padding: 5rem 0;
  background: white;
}

.service-detail {
  background: var(--bg-secondary);
  border-radius: 2rem;
  padding: 3rem;
  margin-bottom: 3rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-detail::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--gradient-accent);
  border-radius: 0 6px 6px 0;
}

.service-detail:hover {
  background: white;
  box-shadow: var(--shadow-lg);
}

.detail-header {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.detail-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}

.detail-title h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
  line-height: 1.3;
}

.detail-subtitle {
  color: var(--accent-color);
  font-weight: 500;
  font-size: 1rem;
}

.detail-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.detail-text {
  color: var(--text-secondary);
  line-height: 1.7;
}

.detail-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.detail-text h4 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin: 2rem 0 1rem 0;
  font-weight: 600;
}

.detail-text ul {
  list-style: none;
  padding: 0;
}

.detail-text li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.detail-text li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.detail-text strong {
  color: var(--primary-color);
}

.detail-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: var(--gradient-accent);
  color: white;
  transform: translateX(5px);
}

.feature-item i {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}

.feature-item:hover i {
  background: rgba(255, 255, 255, 0.2);
}

.feature-item span {
  font-weight: 500;
}

.detail-cta {
  text-align: center;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--gradient-accent);
  color: white;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(245, 158, 11, 0.4);
}

.cta-button i {
  transition: transform 0.3s ease;
}

.cta-button:hover i {
  transform: translateX(3px);
}

/* Call to Action Section */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 50%;
  transform: rotate(45deg);
}

.cta-content {
  text-align: center;
  color: white;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
}

.cta-buttons .btn-primary {
  background: linear-gradient(135deg, var(--accent-color) 0%, #f97316 100%);
  color: white;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
  border: 2px solid transparent;
}

.cta-buttons .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(245, 158, 11, 0.4);
}

.cta-buttons .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.cta-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Mobile Responsive Design */
@media (max-width: 1024px) {
  .page-title {
    font-size: 3rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .service-card {
    padding: 2rem;
  }

  .service-icon {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }

  .detail-header {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .detail-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .detail-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-header {
    min-height: 30vh;
    padding: 2rem 0;
  }

  .page-title {
    font-size: 2.5rem;
  }

  .page-subtitle {
    font-size: 1rem;
  }

  .services-overview {
    padding: 3rem 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .service-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .service-card h3 {
    font-size: 1.3rem;
  }

  .service-details {
    padding: 3rem 0;
  }

  .service-detail {
    padding: 2rem;
    margin-bottom: 2rem;
  }

  .detail-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .detail-title h2 {
    font-size: 1.5rem;
  }

  .detail-text p {
    font-size: 1rem;
  }

  .detail-text h4 {
    font-size: 1.1rem;
  }

  .feature-item {
    padding: 0.75rem;
  }

  .feature-item i {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .cta-section {
    padding: 3rem 0;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .page-header {
    min-height: 25vh;
  }

  .page-title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .service-card {
    padding: 1.2rem;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .service-card h3 {
    font-size: 1.2rem;
  }

  .service-card p {
    font-size: 0.9rem;
  }

  .service-link {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .service-detail {
    padding: 1.5rem;
  }

  .detail-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .detail-title h2 {
    font-size: 1.3rem;
  }

  .detail-subtitle {
    font-size: 0.9rem;
  }

  .detail-features {
    grid-template-columns: 1fr;
  }

  .feature-item {
    padding: 0.6rem;
  }

  .feature-item i {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }

  .feature-item span {
    font-size: 0.9rem;
  }

  .cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .cta-content h2 {
    font-size: 1.5rem;
  }

  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Scroll animations */
.service-card,
.service-detail {
  animation: fadeInScale 0.6s ease-out;
}

.service-card:nth-child(1) {
  animation-delay: 0.1s;
}
.service-card:nth-child(2) {
  animation-delay: 0.2s;
}
.service-card:nth-child(3) {
  animation-delay: 0.3s;
}
.service-card:nth-child(4) {
  animation-delay: 0.4s;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .page-header-content,
  .service-card,
  .service-detail,
  .feature-item,
  .cta-button,
  .service-link {
    animation: none;
    transition: none;
  }

  .service-card:hover,
  .service-detail:hover,
  .feature-item:hover {
    transform: none;
  }
}

/* Print styles */
@media print {
  .page-header {
    min-height: auto;
    padding: 2rem 0;
    background: white;
    color: black;
  }

  .page-header-bg,
  .page-header-overlay {
    display: none;
  }

  .cta-section {
    background: white;
    color: black;
  }

  .service-icon,
  .detail-icon,
  .feature-item i {
    background: #f3f4f6;
    color: black;
  }

  .service-card,
  .service-detail {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #e5e7eb;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .service-card,
  .service-detail {
    border: 2px solid var(--primary-color);
  }

  .service-icon,
  .detail-icon,
  .feature-item i {
    border: 2px solid white;
  }
}

/* Focus styles for accessibility */
.service-link:focus,
.cta-button:focus,
.btn-primary:focus,
.btn-secondary:focus {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

/* Dark mode support (if implemented) */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-secondary: #1f2937;
    --text-secondary: #d1d5db;
    --border-color: #374151;
  }
}
