/* Main Styles for Bitanem Temizlik Şirketi */
:root {
  --primary-color: #0ea5e9;
  /* Sky Blue */
  --secondary-color: #0284c7;
  /* Darker Blue */
  --accent-color: #0f172a;
  /* Dark Slate */
  --text-color: #334155;
  /* Slate 700 */
  --light-bg: #f8fafc;
  /* Slate 50 */
  --white: #ffffff;
  --success: #22c55e;
  --shadow: 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);
  --radius: 0.5rem;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--light-bg);
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  position: fixed;
  width: calc(100% - 10rem);
  top: 1.5rem;
  left: 5rem;
  right: 5rem;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
  border-radius: 1rem;
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 2rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

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

/* Navigation */
nav ul {
  display: flex;
  gap: 1.25rem;
  list-style: none;
}

nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}

nav a:hover,
nav a.active {
  color: var(--primary-color);
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  white-space: nowrap;
}

.phone-link:hover {
  color: var(--primary-color);
}

.btn-quote {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-quote:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--accent-color);
}

/* Hero Section */
.hero {
  margin-top: 0;
  padding-top: 140px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(14, 165, 233, 0.7)),
    url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?q=80&w=1920&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
  position: relative;
}



/* Homepage Body Background */
body.home-page {
  background-color: var(--light-bg);
}

/* Inner Pages Hero - shorter hero sections need more padding for fixed header */
.hero[style*="height: 300px"] {
  padding-top: 160px;
  padding-bottom: 40px;
}

.hero[style*="height: 400px"] {
  padding-top: 160px;
  padding-bottom: 40px;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge i {
  color: #fbbf24;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #25d366;
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
}

.btn-whatsapp:hover {
  background-color: #128c7e;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fbbf24;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Floating Hero Service Cards */
.hero-services {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  z-index: 10;
  width: 100%;
  max-width: 1000px;
  padding: 0 1rem;
}

.hero-service-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
  cursor: pointer;
}

.hero-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.hero-service-card i {
  font-size: 1.25rem;
  color: var(--primary-color);
}

.hero-service-card span {
  font-weight: 600;
  color: var(--accent-color);
  font-size: 0.95rem;
}

/* Section Common */
.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.section-header p {
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

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

.service-img {
  height: 220px;
  background-color: #cbd5e1;
  position: relative;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.1);
}

.service-content {
  padding: 2rem;
}

.service-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--accent-color);
}

.service-content p {
  color: #64748b;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

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

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

/* Reviews Scroll */
.reviews-section {
  background-color: transparent;
  /* Changed for body background to show */
  overflow: hidden;
  padding: 6rem 0;
}

.reviews-container {
  overflow-x: auto;
  display: flex;
  gap: 2rem;
  padding: 1rem 0 3rem 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Hide scrollbar Firefox */
}

.reviews-container::-webkit-scrollbar {
  display: none;
  /* Hide scrollbar Chrome/Safari */
}

.review-card {
  flex: 0 0 350px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  scroll-snap-align: center;
  border: 1px solid #e2e8f0;
}

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

.reviewer-name {
  font-weight: 700;
  color: var(--accent-color);
  font-size: 1.1rem;
}

.review-source {
  font-size: 0.85rem;
  color: #94a3b8;
  background: #f1f5f9;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.stars {
  color: #f59e0b;
  /* Amber 500 */
  margin-bottom: 1rem;
}

.review-text {
  font-style: italic;
  color: #475569;
  line-height: 1.7;
}

/* Service Areas */
.districts-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.district-tag {
  background: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
  color: #475569;
  border: 1px solid #e2e8f0;
  transition: transform 0.2s;
  text-decoration: none;
  display: inline-block;
}

.district-tag:hover {
  transform: translateY(-2px);
  color: var(--primary-color);
  border-color: var(--primary-color);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(14, 165, 233, 0.05));
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h2,
.contact-form h2 {
  font-size: 1.75rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.contact-info>p {
  color: #64748b;
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.info-item i {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.info-item h4 {
  font-size: 1rem;
  color: var(--accent-color);
  margin-bottom: 0.25rem;
}

.info-item p {
  color: #64748b;
  font-size: 0.95rem;
}

.info-item a {
  color: #64748b;
  text-decoration: none;
  transition: var(--transition);
}

.info-item a:hover {
  color: var(--primary-color);
}

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid #e2e8f0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--accent-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background-color: #f8fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

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

.btn-submit {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--success), #16a34a);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3);
}

.map-container {
  width: 100%;
  height: 450px;
  filter: grayscale(20%);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

/* Footer */
footer {
  background-color: var(--accent-color);
  color: #94a3b8;
  padding: 5rem 0 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  padding-bottom: 4rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  display: block;
  width: 30px;
  height: 3px;
  background: var(--primary-color);
  margin-top: 0.5rem;
  border-radius: 2px;
}

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

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

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
}

/* Mobile Responsive */
@media (max-width: 992px) {
  header {
    width: calc(100% - 2rem);
    left: 1rem;
    right: 1rem;
  }

  .header-container {
    padding: 0 1.5rem;
  }

  .hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  header {
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    border-radius: 0;
    background-color: rgba(255, 255, 255, 0.98);
  }

  .header-actions {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
    margin-left: auto;
  }

  nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    transition: var(--transition);
    z-index: 999;
    border-bottom: 1px solid #eee;
  }

  nav.active {
    transform: translateY(0);
  }

  nav ul {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  nav a {
    font-size: 1.1rem;
    display: block;
    padding: 0.5rem;
  }

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

  .hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 180px;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

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

  .stat-label {
    font-size: 0.75rem;
  }

  .hero-services {
    bottom: 20px;
    gap: 0.5rem;
  }

  .hero-service-card {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }

  .hero-service-card i {
    font-size: 1rem;
  }

  .hero-service-card span {
    font-size: 0.8rem;
  }

  .section {
    padding: 4rem 0;
  }

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

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    max-width: 100%;
  }
}