/* ============================================
   Atakum Site Yönetimi - Ana Stil Dosyası
   Renk Paleti: Deniz Mavisi + Turuncu Aksen
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary: #0077b6;
  --primary-dark: #005f8a;
  --primary-light: #00a8e8;
  --accent: #f77f00;
  --accent-dark: #e06c00;
  --accent-light: #fca311;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --light-gray: #e9ecef;
  --medium-gray: #6c757d;
  --dark: #1a1a2e;
  --dark-light: #2d2d44;
  --text: #2b2d42;
  --text-light: #555b6e;
  --success: #06d6a0;
  --whatsapp: #25d366;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
  --container: 1140px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html, body {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

ul, ol {
  list-style: none;
}

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

h1 { font-size: 2.4rem; margin-bottom: 1rem; }
h2 { font-size: 1.9rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
h4 { font-size: 1.15rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Header & Navigation --- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.header .container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
  min-height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary);
  text-decoration: none;
}

.logo svg {
  flex-shrink: 0;
}

.logo span {
  white-space: nowrap;
}

.logo:hover {
  color: var(--primary-dark);
}

/* Nav */
.nav {
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-list li {
  position: relative;
}

.nav-list a {
  display: block;
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  transition: var(--transition);
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--primary);
  background: rgba(0, 119, 182, 0.06);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-toggle::after {
  content: '▾';
  margin-left: 4px;
  font-size: 0.7em;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
  padding: 8px;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  padding: 8px 14px;
  font-size: 0.87rem;
  border-radius: 8px;
  display: block;
}

.dropdown-menu a:hover {
  background: rgba(0, 119, 182, 0.06);
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--primary);
  white-space: nowrap;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--dark);
  border-radius: 3px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 119, 182, 0.3);
}

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

.btn-accent:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(247, 127, 0, 0.3);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

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

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

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #003d5c 100%);
  color: var(--white);
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(247, 127, 0, 0.1);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--white);
  font-size: 2.6rem;
  margin-bottom: 1.2rem;
  max-width: 700px;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.92;
  max-width: 600px;
  margin-bottom: 1.8rem;
}

.hero .btn {
  margin-right: 12px;
  margin-bottom: 12px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.88rem;
  margin-bottom: 1.2rem;
  backdrop-filter: blur(10px);
}

/* Inner page hero (smaller) */
.hero-inner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 50px 0 55px;
  position: relative;
}

.hero-inner h1 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.hero-inner p {
  opacity: 0.9;
  font-size: 1.05rem;
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 14px 0;
  background: var(--off-white);
  border-bottom: 1px solid var(--light-gray);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  font-size: 0.87rem;
}

.breadcrumb-list li::after {
  content: '›';
  margin-left: 8px;
  color: var(--medium-gray);
}

.breadcrumb-list li:last-child::after {
  display: none;
}

.breadcrumb-list a {
  color: var(--primary);
}

.breadcrumb-list li:last-child {
  color: var(--medium-gray);
}

/* --- Sections --- */
.section {
  padding: 70px 0;
}

.section-alt {
  background: var(--off-white);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 1rem auto 0;
}

/* --- Card Grid --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.card-grid-3 {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.card-grid-2 {
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.1), rgba(247, 127, 0, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.card h3 a {
  color: var(--dark);
}

.card h3 a:hover {
  color: var(--primary);
}

.card p {
  color: var(--text-light);
  font-size: 0.93rem;
  margin-bottom: 14px;
}

.card .btn {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* Blog card */
.blog-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.blog-card .blog-date {
  font-size: 0.82rem;
  color: var(--medium-gray);
  margin-bottom: 8px;
}

.blog-card .read-more {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blog-card .read-more:hover {
  color: var(--accent);
  gap: 8px;
}

/* Stat card */
.stat-card {
  text-align: center;
  padding: 32px 20px;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.92rem;
  color: var(--text-light);
}

/* --- Neden Biz / Feature --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.feature-item {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.feature-item:hover {
  background: rgba(0, 119, 182, 0.04);
}

.feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.1), rgba(247, 127, 0, 0.05));
  border-radius: 10px;
}

.feature-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* --- Bölgeler --- */
.region-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.region-tag {
  padding: 8px 20px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}

.region-tag:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* --- FAQ / Accordion --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 12px;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary);
}

.faq-item summary {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  transition: var(--transition);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 300;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item[open] summary::after {
  content: '−';
  color: var(--accent);
}

.faq-item[open] summary {
  background: rgba(0, 119, 182, 0.04);
  border-bottom: 1px solid var(--light-gray);
}

.faq-answer {
  padding: 18px 24px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer h4 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links a {
  display: block;
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

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

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}

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

/* --- Floating Buttons --- */
.floating-btn {
  position: fixed;
  bottom: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.floating-btn:hover {
  transform: scale(1.15);
  color: var(--white);
}

.floating-phone {
  left: 24px;
  background: var(--primary);
}

.floating-phone:hover {
  box-shadow: 0 6px 25px rgba(0, 119, 182, 0.4);
}

.floating-whatsapp {
  right: 24px;
  background: var(--whatsapp);
}

.floating-whatsapp:hover {
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

/* --- Content Styles (inner pages) --- */
.content {
  padding: 50px 0;
}

.content-wrapper {
  max-width: 820px;
  margin: 0 auto;
}

.content h2 {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--light-gray);
  position: relative;
}

.content h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.content h3 {
  margin-top: 1.5rem;
  color: var(--primary-dark);
}

.content ul, .content ol {
  margin: 0.8rem 0 1.2rem 1.5rem;
}

.content ul {
  list-style: disc;
}

.content ol {
  list-style: decimal;
}

.content li {
  margin-bottom: 6px;
  font-size: 0.96rem;
  color: var(--text-light);
}

.content blockquote {
  border-left: 4px solid var(--accent);
  padding: 16px 24px;
  margin: 1.5rem 0;
  background: rgba(247, 127, 0, 0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-light);
}

.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.content table th {
  background: var(--primary);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.92rem;
}

.content table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--light-gray);
  font-size: 0.92rem;
}

.content table tr:nth-child(even) {
  background: var(--off-white);
}

/* Info box */
.info-box {
  padding: 20px 24px;
  border-radius: var(--radius);
  margin: 1.5rem 0;
  border-left: 4px solid var(--primary);
  background: rgba(0, 119, 182, 0.04);
}

.info-box.warning {
  border-left-color: var(--accent);
  background: rgba(247, 127, 0, 0.04);
}

/* --- Teklif / Contact Form area --- */
.teklif-cta {
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.05), rgba(247, 127, 0, 0.05));
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  margin-top: 3rem;
}

.teklif-cta h3 {
  color: var(--dark);
  margin-bottom: 0.8rem;
}

.teklif-cta p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* --- Reference cards --- */
.ref-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow);
}

.ref-card .ref-name {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.ref-card .ref-location {
  font-size: 0.87rem;
  color: var(--accent);
  margin-bottom: 10px;
  font-weight: 500;
}

.ref-card .ref-text {
  font-size: 0.93rem;
  color: var(--text-light);
  font-style: italic;
}

/* --- SSS Page (extended) --- */
.sss-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 2.5rem;
}

.sss-cat-btn {
  padding: 10px 18px;
  background: var(--white);
  border: 2px solid var(--light-gray);
  border-radius: 50px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
}

.sss-cat-btn:hover,
.sss-cat-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(0, 119, 182, 0.04);
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .header .container {
    grid-template-columns: auto 1fr auto;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 80px 24px 24px;
    box-shadow: var(--shadow-lg);
    transition: right 0.35s ease;
    z-index: 1000;
    overflow-y: auto;
  }

  .nav.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 2px;
  }

  .nav-list a {
    width: 100%;
    padding: 12px 16px;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 16px;
    display: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .hamburger {
    display: flex;
  }

  .header-cta {
    margin-right: 10px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}

@media (max-width: 768px) {
  .hero {
    padding: 50px 0 60px;
  }

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

  .section {
    padding: 50px 0;
  }

  .card-grid,
  .card-grid-2,
  .card-grid-3 {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .teklif-cta {
    padding: 28px 20px;
  }

  .hero-inner {
    padding: 35px 0 40px;
  }

  .hero-inner h1 {
    font-size: 1.5rem;
  }

  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.4rem; }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .floating-btn {
    width: 52px;
    height: 52px;
    bottom: 18px;
    font-size: 1.3rem;
  }

  .floating-phone { left: 16px; }
  .floating-whatsapp { right: 16px; }

  .header .container {
    gap: 10px;
  }

  .logo {
    font-size: 0.95rem;
  }

  .logo svg {
    width: 32px;
    height: 32px;
  }

  .header-phone {
    display: none;
  }

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

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

/* --- Overlay for mobile nav --- */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
}

.nav-overlay.active {
  display: block;
}

/* --- Gradient accent line --- */
.gradient-line {
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary-light));
  border: none;
}

/* Print */
@media print {
  .header, .footer, .floating-btn, .cta-section {
    display: none;
  }

  .content {
    padding: 0;
  }

  body {
    font-size: 12pt;
    color: #000;
  }
}
