/* ============================================
   Apartman Yönetimi Samsun - Ana Stil Dosyası
   apartmanyonetimisamsun.com
   ============================================ */

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

:root {
  --primary: #0d47a1;
  --primary-light: #1976d2;
  --primary-dark: #082e6a;
  --secondary: #4caf50;
  --secondary-dark: #388e3c;
  --accent: #ff9800;
  --accent-light: #ffb74d;
  --white: #ffffff;
  --off-white: #f5f7fa;
  --light-gray: #e8edf2;
  --gray: #90a4ae;
  --dark-gray: #546e7a;
  --text: #263238;
  --text-light: #546e7a;
  --green-wa: #25d366;
  --blue-phone: #2196f3;
  --shadow: 0 2px 16px rgba(0,0,0,0.07);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.14);
  --radius: 12px;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul, ol {
  list-style: none;
}

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

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.logo svg {
  height: 44px;
  width: auto;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.logo-text small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-light);
}

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

.main-nav a {
  padding: 8px 16px;
  border-radius: 8px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

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

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

.header-cta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-phone-header {
  background: var(--primary);
  color: var(--white) !important;
}

.btn-phone-header:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-wa-header {
  background: var(--green-wa);
  color: var(--white) !important;
}

.btn-wa-header:hover {
  background: #1ebe57;
  transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 3px;
  transition: var(--transition);
}

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

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.93;
  margin-bottom: 30px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

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

.btn-primary:hover {
  background: var(--accent-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,152,0,0.4);
}

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

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

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

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

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

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

/* ============================================
   Sections General
   ============================================ */
section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 700;
}

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

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

/* ============================================
   Cards Grid
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--light-gray);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

.card h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 700;
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

.card a {
  display: inline-block;
  margin-top: 14px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}

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

/* ============================================
   Why Us / Neden Biz
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-item {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.why-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.why-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
}

.why-item h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.why-item p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ============================================
   Stats / Rakamlarla Biz
   ============================================ */
.stats-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-box .stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  display: block;
  color: var(--accent);
}

.stat-box .stat-label {
  font-size: 1rem;
  opacity: 0.9;
  margin-top: 6px;
}

/* ============================================
   Regions / Bölgeler
   ============================================ */
.regions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.region-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  transition: var(--transition);
}

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

.region-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.region-card p {
  opacity: 0.9;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================
   Blog Cards
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--light-gray);
}

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

.blog-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-img svg {
  width: 50px;
  height: 50px;
  fill: rgba(255,255,255,0.3);
}

.blog-card-body {
  padding: 24px;
}

.blog-card-body span {
  font-size: 0.8rem;
  color: var(--gray);
}

.blog-card-body h3 {
  font-size: 1.05rem;
  margin: 8px 0 10px;
  color: var(--primary);
  line-height: 1.4;
}

.blog-card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

.blog-card-body a {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}

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

.faq-list details {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  margin-bottom: 14px;
  transition: var(--transition);
  overflow: hidden;
}

.faq-list details:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.faq-list details[open] {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.faq-list summary {
  padding: 20px 28px;
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

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

.faq-list summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  margin-left: 16px;
  transition: var(--transition);
}

.faq-list details[open] summary::after {
  content: '-';
}

.faq-list .faq-answer {
  padding: 0 28px 20px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--white);
}

.contact-info p {
  opacity: 0.9;
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-details {
  margin-top: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.contact-item-icon {
  width: 46px;
  height: 46px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

.contact-item span {
  font-size: 1rem;
}

.contact-item a {
  color: var(--white);
  font-weight: 600;
}

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

.contact-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.contact-cta .btn {
  width: 100%;
  max-width: 320px;
  justify-content: center;
  font-size: 1.1rem;
  padding: 16px 32px;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: #0a1929;
  color: rgba(255,255,255,0.8);
  padding: 50px 0 0;
}

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

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

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 18px;
  font-weight: 700;
}

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

.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent-light);
  padding-left: 4px;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ============================================
   Floating Buttons
   ============================================ */
.floating-phone {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  width: 60px;
  height: 60px;
  background: var(--blue-phone);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(33,150,243,0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-phone:hover {
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 6px 28px rgba(33,150,243,0.65);
}

.floating-phone svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  width: 60px;
  height: 60px;
  background: var(--green-wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 6px 28px rgba(37,211,102,0.65);
}

.floating-whatsapp svg {
  width: 30px;
  height: 30px;
  fill: var(--white);
}

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

.breadcrumb ol {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumb li {
  font-size: 0.88rem;
  color: var(--text-light);
}

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

.breadcrumb li + li::before {
  content: '\203A';
  margin-right: 8px;
  color: var(--gray);
}

/* ============================================
   Page Content (Blog, Hizmetler)
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 50px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.page-hero p {
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.content-area {
  padding: 50px 0;
}

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

.content-wrapper h2 {
  font-size: 1.6rem;
  color: var(--primary);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}

.content-wrapper h3 {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin: 28px 0 12px;
}

.content-wrapper p {
  margin-bottom: 16px;
  line-height: 1.8;
  color: var(--text);
}

.content-wrapper ul,
.content-wrapper ol {
  margin: 16px 0 20px 24px;
}

.content-wrapper ul {
  list-style: disc;
}

.content-wrapper ol {
  list-style: decimal;
}

.content-wrapper li {
  margin-bottom: 8px;
  line-height: 1.6;
  color: var(--text);
}

.content-wrapper blockquote {
  border-left: 4px solid var(--accent);
  background: var(--off-white);
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-light);
}

.content-wrapper strong {
  color: var(--primary);
}

.cta-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  text-align: center;
  margin: 40px 0;
}

.cta-box h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.cta-box p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
}

.cta-box .btn {
  margin: 0 8px;
}

/* Service detail cards */
.service-detail {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 28px;
  transition: var(--transition);
}

.service-detail:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.service-detail h3 {
  margin-top: 0;
}

/* About / Hakkımızda */
.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.about-text h2 {
  display: block;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-item {
  text-align: center;
  padding: 24px;
  background: var(--off-white);
  border-radius: var(--radius);
}

.stat-item .stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
}

.stat-item .stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* ============================================
   Internal Link Highlights
   ============================================ */
.internal-links {
  background: var(--off-white);
  padding: 24px;
  border-radius: var(--radius);
  margin: 30px 0;
}

.internal-links h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

.internal-links ul {
  list-style: none !important;
  margin-left: 0 !important;
}

.internal-links li {
  margin-bottom: 6px;
}

.internal-links li::before {
  content: '\2192 ';
  color: var(--accent);
  font-weight: bold;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  .cards-grid,
  .regions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
    order: 2;
  }

  .main-nav {
    display: none;
    width: 100%;
    order: 3;
    padding-top: 12px;
  }

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

  .main-nav ul {
    flex-direction: column;
    gap: 4px;
  }

  .main-nav a {
    display: block;
    padding: 10px 16px;
  }

  .header-cta {
    display: none;
  }

  .logo {
    order: 1;
  }

  .hero {
    padding: 50px 0 60px;
  }

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

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  section {
    padding: 50px 0;
  }

  .section-title h2 {
    font-size: 1.6rem;
  }

  .cards-grid,
  .blog-grid,
  .regions-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

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

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

  .floating-phone,
  .floating-whatsapp {
    width: 52px;
    height: 52px;
    top: auto;
    bottom: 24px;
    transform: none;
  }

  .floating-phone {
    left: 16px;
  }

  .floating-phone:hover {
    transform: scale(1.15);
  }

  .floating-whatsapp {
    right: 16px;
  }

  .floating-whatsapp:hover {
    transform: scale(1.15);
  }

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

  .content-wrapper h2 {
    font-size: 1.35rem;
  }

  .cta-box {
    padding: 24px;
  }

  .cta-box .btn {
    margin: 6px 0;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.4rem;
  }

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

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

  .about-stats {
    grid-template-columns: 1fr;
  }

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

  .stat-box .stat-number {
    font-size: 2.2rem;
  }
}
