/* enyakinlastikci.net - Premium Design System & Vanilla CSS Style Rules */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Variables & Tokens */
:root {
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Color Palette */
  --bg-primary: #f8fafc; /* Slate 50 */
  --bg-secondary: #ffffff;
  --bg-dark: #0f172a; /* Slate 900 */
  --bg-dark-soft: #1e293b; /* Slate 800 */
  
  --color-primary: #1e40af; /* Blue 800 */
  --color-primary-light: #3b82f6; /* Blue 500 */
  --color-primary-dark: #0f172a;
  
  --color-accent: #f97316; /* Orange 500 */
  --color-accent-hover: #ea580c; /* Orange 600 */
  --color-yellow: #eab308; /* Yellow 500 (Stars, alerts) */
  
  --color-text-dark: #0f172a;
  --color-text-muted: #64748b; /* Slate 500 */
  --color-text-light: #f1f5f9;
  
  --border-color: #e2e8f0; /* Slate 200 */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

/* Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--color-text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 60px; /* Space for sticky/floating footer on mobile */
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  font-weight: 700;
  line-height: 1.25;
}

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

img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Sticky Call Bar */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.5px;
  display: flex;
  flex-direction: column;
}

.logo-subtext {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-top: -3px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-link {
  font-weight: 500;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

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

.nav-cta {
  background-color: var(--color-accent);
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}

.nav-cta:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

/* Hero Section */
.hero {
  background: radial-gradient(circle at 10% 20%, var(--bg-dark-soft) 0%, var(--bg-dark) 90%);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--bg-primary), transparent);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-title {
  color: white;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

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

.hero-desc {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
  max-width: 650px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 35px;
}

.badge {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.btn-primary {
  background-color: var(--color-accent);
  color: white;
  padding: 16px 36px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(249, 115, 22, 0.5);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 16px 30px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 30px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-xl);
}

.hero-card-title {
  color: white;
  font-size: 1.4rem;
  margin-bottom: 20px;
  text-align: center;
}

.phone-display {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.phone-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-yellow);
}

.availability {
  font-size: 0.85rem;
  color: #10b981; /* Emerald 500 */
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.availability::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-green 1.5s infinite;
}

/* Section Common Styles */
.section {
  padding: 80px 0;
}

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-tag {
  color: var(--color-primary-light);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.section-desc {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* Feature Cards Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(30, 64, 175, 0.2);
}

.feature-icon-wrapper {
  background-color: rgba(30, 64, 175, 0.05);
  color: var(--color-primary);
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card:hover .feature-icon-wrapper {
  background-color: var(--color-primary);
  color: white;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.feature-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Programmatic Services / Areas Lists */
.list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

.list-item {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 15px 20px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.list-item:hover {
  background-color: var(--bg-secondary);
  border-color: var(--color-primary-light);
  transform: translateX(3px);
  color: var(--color-primary);
}

.list-item svg {
  color: var(--color-text-muted);
  transition: var(--transition-smooth);
}

.list-item:hover svg {
  color: var(--color-primary-light);
  transform: translateX(2px);
}

/* Service Detail Block */
.service-content-wrapper {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 40px;
  box-shadow: var(--shadow-md);
}

.service-rich-text {
  font-size: 1.05rem;
  color: #334155;
  margin-bottom: 30px;
}

.service-rich-text p {
  margin-bottom: 20px;
}

.service-rich-text h3 {
  font-size: 1.5rem;
  margin: 30px 0 15px 0;
}

.service-rich-text ul {
  list-style-type: none;
  margin: 20px 0;
}

.service-rich-text li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

.service-rich-text li::before {
  content: '\2713'; /* Checkmark */
  position: absolute;
  left: 0;
  top: 2px;
  color: #10b981;
  font-weight: bold;
  font-size: 1.1rem;
}

/* Reviews Carousel/Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.review-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.review-stars {
  color: var(--color-yellow);
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.review-text {
  color: #334155;
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--color-primary-light);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  font-family: var(--font-heading);
}

.author-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  display: block;
}

/* SSS / FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.faq-question {
  width: 100%;
  padding: 22px 30px;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-question svg {
  transition: var(--transition-smooth);
  color: var(--color-text-muted);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: #fafafa;
  border-top: 0px solid var(--border-color);
}

.faq-answer-inner {
  padding: 25px 30px;
  color: #334155;
  font-size: 1rem;
}

.faq-item.active {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  border-top-width: 1px;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--color-primary);
}

/* Cross Linking Silo Layouts */
.silo-section {
  border-top: 1px solid var(--border-color);
  padding: 60px 0;
}

.silo-title {
  font-size: 1.25rem;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.silo-title::before {
  content: '';
  width: 4px;
  height: 18px;
  background-color: var(--color-primary);
  display: inline-block;
  border-radius: 2px;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 20px 0;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumbs-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs-item:not(:last-child)::after {
  content: '/';
  color: #94a3b8; /* Slate 400 */
}

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

.breadcrumbs-current {
  color: var(--color-text-dark);
  font-weight: 500;
}

/* Call Banner Centered (Bottom of pages) */
.call-banner {
  background: radial-gradient(circle at 10% 20%, var(--bg-dark-soft) 0%, var(--bg-dark) 90%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--shadow-xl);
  margin-top: 60px;
}

.call-banner-title {
  color: white;
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.call-banner-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer styling */
.footer {
  background-color: var(--bg-dark);
  color: var(--color-text-light);
  padding: 60px 0 30px 0;
  font-size: 0.9rem;
  border-top: 5px solid var(--color-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-accent);
}

.footer-column p {
  color: rgba(241, 245, 249, 0.7);
  margin-bottom: 15px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: rgba(241, 245, 249, 0.7);
}

.footer-link:hover {
  color: white;
  transform: translateX(2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: rgba(241, 245, 249, 0.5);
}

/* Mobile Sticky / Floating Buttons */
.mobile-call-sticky {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-float-call {
  background-color: #10b981; /* Green 500 for emergency call */
  color: white;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  transition: var(--transition-smooth);
}

.btn-float-call:hover {
  background-color: #059669; /* Green 600 */
  transform: scale(1.1);
}

.btn-float-call svg {
  width: 28px;
  height: 28px;
}

/* Quick Search Widget */
.search-widget {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
}

.search-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.search-flex {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.search-select {
  flex: 1;
  min-width: 200px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.search-select:focus {
  border-color: var(--color-primary);
}

.btn-search {
  background-color: var(--color-primary);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.btn-search:hover {
  background-color: var(--color-primary-dark);
}

/* Animations */
@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Responsive Rules */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .hero-badges, .hero-ctas {
    justify-content: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .nav-menu {
    display: none; /* Simple mobile navigation override */
  }
  .header-container {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .service-content-wrapper {
    padding: 25px;
  }
}
