/* General Styles */
body {
  color: #1a1a2e;
  font-family: Inter, 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
   font-size: 14px;
  line-height: 1.5;
  background-color: #f8fafc;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* About Section Paragraphs */
.about-section p {
  font-size: 1rem;
  margin-bottom: 1.75rem;
  line-height: 1.7;
  text-align: justify;
  hyphens: auto;
  padding: 0 1rem;
}

@media (max-width: 1200px) {
  .about-section p {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 992px) {
  .about-section p {
    font-size: 0.925rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    padding: 0 0.5rem;
  }
}

@media (max-width: 768px) {
  .about-section p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    padding: 0;
    text-align: left;
    hyphens: none;
  }
}

@media (max-width: 576px) {
  .about-section p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0.875rem;
  }
}

@media (max-width: 400px) {
  .about-section p {
    font-size: 0.825rem;
    line-height: 1.55;
  }
}

/* For very small screens */
@media (max-width: 340px) {
  .about-section p {
    font-size: 0.8rem;
    line-height: 1.5;
  }
}
/* List Group Item Adjustments */
.list-group-item {
  font-size: 0.95rem;
  padding: 1rem 1.25rem;
  line-height: 1.6;
  transition: all 0.3s ease;
}

@media (max-width: 1200px) {
  .list-group-item {
    font-size: 0.925rem;
    padding: 0.9rem 1.1rem;
  }
}

@media (max-width: 992px) {
  .list-group-item {
    font-size: 0.9rem;
    padding: 0.85rem 1rem;
    line-height: 1.55;
  }
}

@media (max-width: 768px) {
  .list-group-item {
    font-size: 0.875rem;
    padding: 0.75rem 0.9rem;
    line-height: 1.5;
  }
}

@media (max-width: 576px) {
  .list-group-item {
    font-size: 0.85rem;
    padding: 0.7rem 0.8rem;
    line-height: 1.45;
  }
}

/* Map Container Fixes */
.map-container {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  margin-top: 1rem;
  border-radius: 12px;
}

.maps-aspect-ratio {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

#mapsIframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(20%);
}

@media (max-width: 768px) {
  .map-container {
    padding-top: 75%; /* 4:3 Aspect Ratio for mobile */
    border-radius: 8px;
  }

  .address-card .card-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .map-container {
    padding-top: 100%; /* 1:1 Aspect Ratio for very small screens */
  }

  .address-card .card-title {
    font-size: 1.1rem;
  }
}

/* Additional Responsive Fixes */
.address-card {
  margin-top: 1.5rem;
}

.address-card .card-body {
  padding: 1.5rem;
}

@media (max-width: 768px) {
  .address-card .card-body {
    padding: 1.25rem;
  }
}

@media (max-width: 576px) {
  .address-card .card-body {
    padding: 1rem;
  }
}
/* About Section Paragraphs */
.about-section p {
  font-size: 1rem;
  margin-bottom: 1.75rem;
  line-height: 1.7;
  text-align: justify;
  hyphens: auto;
  padding: 0 1rem;
}

@media (max-width: 1200px) {
  .about-section p {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 992px) {
  .about-section p {
    font-size: 0.925rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    padding: 0 0.5rem;
  }
}

@media (max-width: 768px) {
  .about-section p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    padding: 0;
    text-align: left;
    hyphens: none;
  }
}

@media (max-width: 576px) {
  .about-section p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0.875rem;
  }
}

@media (max-width: 400px) {
  .about-section p {
    font-size: 0.825rem;
    line-height: 1.55;
  }
}

/* For very small screens */
@media (max-width: 340px) {
  .about-section p {
    font-size: 0.8rem;
    line-height: 1.5;
  }
}
/* Adjust base font size for smaller screens */
@media (max-width: 768px) {
  body {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  body {
    font-size: 12px;
  }
}

/* Responsive heading sizes */
.about-section h1 {
  font-size: 2.25rem;
}

@media (max-width: 992px) {
  .about-section h1 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .about-section h1 {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .about-section h1 {
    font-size: 1.5rem;
  }
}

/* Adjust lead paragraph text */
.about-section .lead {
  font-size: 1rem;
}

@media (max-width: 768px) {
  .about-section .lead {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

/* Make cards more responsive */
.card {
  margin-bottom: 1.5rem;
}

/* Adjust padding for smaller screens */
.about-container {
  padding: 1.5rem;
}

@media (max-width: 768px) {
  .about-container {
    padding: 1rem;
  }

  .card-body {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .about-container {
    padding: 0.5rem;
  }

  .card-body {
    padding: 1rem;
  }
}

/* Improve button responsiveness */
.btn {
  font-size: 0.9rem;
  padding: 0.75rem 1.25rem;
}

@media (max-width: 768px) {
}

/* Accordion adjustments */
.accordion-button {
  font-size: 1rem;
}

@media (max-width: 768px) {
  .accordion-button {
    font-size: 0.9rem;
    padding: 1rem;
  }

  .accordion-body {
    padding: 1rem;
  }
}

/* Social media buttons */
.btn-social {
  width: 40px;
  height: 40px;
  font-size: 1rem;
}

/* Address card adjustments */
.address-card .card-text {
  font-size: 0.9rem;
}

/* Ensure images stay within containers */
img, .card-img-top {
  max-width: 100%;
  height: auto;
}

/* Improve list group items */
.list-group-item {
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .list-group-item {
    padding: 0.75rem;
  }
}

/* Better grid handling */
.row {
  flex-wrap: wrap;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}

.col-lg-8, .col-lg-4 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.about-container {
  padding: 2.5rem 1.5rem;
}

.profile-sidebar {
  position: sticky;
  top: 2rem;
  height: fit-content;
  margin-bottom: 2rem;
}

/* Cards */
.card {
  border: none;
  background: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  overflow: hidden;
  transition: 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card:hover {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  transform: translateY(-8px);
}

.card-img-top {
  filter: contrast(1.05);
  max-width: 100%;
  height: auto;
}

.card-body {
  padding: 2rem;
}

.card-title {
  font-weight: 800;
  margin-bottom: 0.8rem;
}
.text-primary{
    color: #2890B4 !important;
}
.text-muted {
  color: #64748b !important;
  font-weight: 500;
}

/* About Section */
.about-section {
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  background: #fff;
  padding: 3rem !important;
}

.about-section h1 {
  color: #2890B4;
  position: relative;
  font-size: 2.75rem;
  margin-bottom: 2rem;
}

.about-section h1:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  height: 4px;
  width: 80px;
  background: linear-gradient(90deg, #2890B4, #5eb8d7);
  border-radius: 4px;
}

.about-section .lead {
  font-size: 1.1rem;
  color: #4b5563;
  line-height: 1.9;
}

.about-section p {
  font-size:1rem;
  margin-bottom: 1.75rem;
}

/* Accordion */
.accordion {
  --bs-accordion-border-width: 0;
  --bs-accordion-border-radius: 12px;
  margin-top: 2.5rem;
}

.accordion-item {
  border: none;
  background-color: transparent;
  margin-bottom: 1rem;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.accordion-button {
  font-size: 1.15rem;
  font-weight: 600;
  padding: 1.5rem 2rem;
  color: #1e293b;
  background: linear-gradient(to right, #f8fafc, #fff);
  border-left: 5px solid transparent;
  letter-spacing: -0.02em;
  transition: 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.accordion-button i {
  color: #2890B4;
  opacity: 0.85;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, #f0f9ff, #fff);
  color: #0f172a;
  border-left: 5px solid #2890B4;
  box-shadow: 0 4px 15px rgba(40, 144, 180, 0.08);
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-body {
  padding: 2rem;
  background-color: #fff;
  font-size: 1.05rem;
}

/* List Group */
.list-group {
  border-radius: 12px;
  overflow: hidden;
}

.list-group-item {
  padding: 1.25rem 1.75rem;
  background-color: #fff;
  border-color: rgba(0, 0, 0, 0.05);
  font-weight: 500;
  color: #374151;
  position: relative;
  transition: 0.4s;
}

.list-group-item:hover {
  background-color: #f8fafc;
  color: #2890B4;
  padding-left: 2.25rem;
}

.list-group-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background-color: rgba(40, 144, 180, 0.1);
  transition: width 0.4s;
}

.list-group-item:hover::before {
  width: 4px;
}

/* Buttons */
.btn-primary {
  font-size: 1.1rem;
  background: linear-gradient(135deg, #2890B4, #4aa8c7);
  border: none;
  box-shadow: 0 10px 25px rgba(40, 144, 180, 0.25);
}

.btn-primary:focus,
.btn-primary:hover {
  background: linear-gradient(135deg, #1e7a99, #2890B4);
  box-shadow: 0 15px 30px rgba(40, 144, 180, 0.35);
  transform: translateY(-3px);
}

.btn-outline-primary {
  border: 2px solid #2890B4;
  background: rgba(40, 144, 180, 0.03);
  color: #2890B4;
}

.btn-outline-primary:hover {
  background: rgba(40, 144, 180, 0.08);
  transform: translateY(-3px);
  color: #2890B4;
}

/* Social Links */
.social-links {
  margin-top: 1rem;
}

.social-links h5 {
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.25rem;
}

.btn-social {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 8px;
  transition: 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.btn-facebook {
  background: linear-gradient(135deg, #3b5998, #4c70ba);
}

.btn-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.btn-youtube {
  background: linear-gradient(135deg, #cd201f, #e83935);
}

.btn-social:hover {
  color: white;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

/* Address Card */
.address-card {
  background: linear-gradient(to bottom, #fff, #f7fafb);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(40, 144, 180, 0.08);
  transition: 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.address-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(40, 144, 180, 0.12);
}

.address-card .card-title {
  color: #2890B4;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.address-card .card-title i {
  background: linear-gradient(135deg, #2890B4, #4aa8c7);
  color: white;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 1rem;
}

.address-card .card-text {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Map Container */
.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  margin-top: 1.5rem;
  border: 3px solid rgba(40, 144, 180, 0.1);
  transition: 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.map-container:hover {
  box-shadow: 0 12px 40px rgba(40, 144, 180, 0.12);
  border: 3px solid rgba(40, 144, 180, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .accordion-button {
    padding: 1.35rem 1.5rem;
  }
  .about-section {
    padding: 2.5rem !important;
  }
}

@media (max-width: 992px) {
  .profile-sidebar {
    position: static !important;
    margin-top: 3rem;
  }
  .about-section h1 {
    font-size: 2.4rem;
  }
  .about-section {
    padding: 2rem !important;
  }
  .list-group-item {
    padding: 1.1rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .about-container {
    padding: 1.5rem 1rem;
  }
  .about-section {
    padding: 1.75rem !important;
  }
  .about-section h1 {
    font-size: 2.2rem;
  }
  .accordion-button {
    font-size: 1.05rem;
    padding: 1.25rem;
  }

}

@media (max-width: 576px) {
  .about-container {
    padding: 1rem;
  }

  .about-section {
    padding: 1.5rem;
  }

  .about-section h1 {
    font-size: 1.8rem;
  }

  .about-section .lead {
    font-size: 0.9rem;
  }
   .accordion-button {
    font-size: 0.9rem;
    padding: 0.75rem;
  }


  .card {
    margin-bottom: 1rem;
  }

  .list-group-item {
    padding: 1rem;
    font-size: 0.9rem;
  }

  .social-links h5 {
    font-size: 1rem;
  }

  .btn-social {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}
/* Ensure Images are Responsive */
img, .card-img-top {
  max-width: 100%;
  height: auto;
}

/* Navigation Adjustments */
.navbar {
  flex-wrap: wrap;
}

.navbar-nav {
  flex-direction: column;
  align-items: flex-start;
}

.nav-link {
  padding: 0.5rem 1rem;
}


/* Reduce Shadows for Performance */
.card, .accordion-item, .address-card {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 6px;
  border: 3px solid #f1f5f9;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

::selection {
  background-color: rgba(40, 144, 180, 0.2);
}

/* Shadows */
.shadow-sm {
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05) !important;
}

.shadow-lg {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08) !important;
}

/* Specific adjustments for the Hakkımda section */
.about-section .lead {
  column-count: 1;
  text-align: justify;
  hyphens: auto;
}

/* Remove text decoration on hover for all elements */
a:hover,
.btn:hover,
.list-group-item:hover,
.card:hover,
.accordion-button:hover {
  text-decoration: none;
}

i.justify-content-center.fab.fa-instagram {
  text-align: center;
  align-items: center;
  display: contents;
}
i.justify-content-center.fab.fa-youtube{
    text-align: center;
    align-items: center;
    display: contents;
}
i.justify-content-center.fab.fa-facebook-f{
    text-align: center;
    align-items: center;
    display: contents;
}