/*-----------------------------------*\
  #style.css
\*-----------------------------------*/

/**
 * copyright 2022 codewithsadee
 */





/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
   * colors
   */

  --light-steel-blue: hsl(218, 33%, 77%);
  --royal-blue-light: hsl(225, 68%, 53%);
  --flickr-blue_30: hsla(225, 68%, 53%, 0.3);
  --carolina-blue: hsl(201, 92%, 47%);
  --oxford-blue-1: hsl(218, 70%, 18%);
  --oxford-blue-2: hsl(217, 100%, 12%);
  --oxford-blue-3: hsl(218, 71%, 11%);
  --gainsboro_50: hsla(0, 0%, 85%, 0.5);
  --lavender-web: hsl(225, 67%, 91%);
  --sonic-silver: hsl(0, 0%, 47%);
  --light-gray: hsl(0, 0%, 84%);
  --cultured: hsl(0, 0%, 97%);
  --black_10: hsla(0, 0%, 0%, 0.1);
  --black_8: hsla(0, 0%, 0%, 0.08);
  --white: hsl(0, 0%, 100%);
  --black: hsl(0, 0%, 0%);
  --jet: hsl(0, 0%, 20%);

  /**
   * gradient color
   */

  --gradient: linear-gradient( 90deg, var(--carolina-blue) 0%, var(--royal-blue-light) 100%);

  /**
   * typography
   */

  --ff-roboto: "Roboto", sans-serif;
  --ff-poppins: "Poppins", sans-serif;

  --fs-1: 4rem;
  --fs-2: 3.6rem;
  --fs-3: 3.2rem;
  --fs-4: 2.4rem;
  --fs-5: 2.2rem;
  --fs-6: 1.8rem;
  --fs-7: 1.6rem;

  --fw-800: 800;
  --fw-700: 700;
  --fw-600: 600;
  --fw-500: 500;

  /**
   * spacing
   */

  --section-padding: 120px;

  /**
   * shadow
   */

  --shadow-1: 4px 4px 15px var(--black_10);
  --shadow-2: 0 10px 15px var(--black_10);
  --shadow-3: 0px 20px 60px var(--black_8);
  --shadow-4: 0px 10px 30px var(--flickr-blue_30);
  --shadow-5: 0px 2px 60px 0px var(--black_10);

  /**
   * border radius
   */

  --radius-6: 6px;
  --radius-4: 4px;

  /**
   * transition
   */

  --transition: 0.25s ease;
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);

}





/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

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

li { list-style: none; }

a {
  text-decoration: none;
  color: inherit;
}

a,
img,
span,
input,
button,
ion-icon { display: block; }

img { height: auto; }

input,
button {
  background: none;
  border: none;
  font: inherit;
}

input { width: 100%; }

button { cursor: pointer; }

ion-icon { pointer-events: none; }

address { font-style: normal; }

html {
  font-family: var(--ff-roboto);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  color: var(--sonic-silver);
  font-size: 1.5rem;
}





/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container { padding-inline: 25px; }

.section { padding-block: var(--section-padding); }

.section-subtitle {
  color: var(--royal-blue-light);
  font-family: var(--ff-poppins);
  font-size: var(--fs-6);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  margin-block-end: 10px;
}

.h1,
.h2,
.h3 {
  font-family: var(--ff-poppins);
  line-height: 1.2;
}

.h1 {
  color: var(--oxford-blue-1);
  font-size: var(--fs-2);
}

.h2,
.h3 { color: var(--oxford-blue-2); }

.h2 { font-size: var(--fs-1); }

.h3 { font-size: var(--fs-5); }

.btn {
  background-image: linear-gradient( var(--deg, 90deg), var(--carolina-blue) 0%, var(--royal-blue-light) 100%);
  color: var(--white);
  font-size: var(--fs-7);
  text-transform: uppercase;
  padding: 20px 30px;
  text-align: center;
  border-radius: var(--radius-4);
  box-shadow: var(--shadow-4);
}

.btn:is(:hover, :focus) { --deg: -90deg; }

.w-100 { width: 100%; }

.text-center { text-align: center; }

.card-text,
.section-text { line-height: 1.7; }

.img-holder {
  aspect-ratio: var(--width) / var(--height);
  background-color: var(--light-gray);
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}





/*-----------------------------------*\
  #HEDER
\*-----------------------------------*/

.header-top,
.header-bottom .btn { display: none; }

.header-bottom {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-block: 15px;
  z-index: 4;
}

.header-bottom.active {
  position: fixed;
  top: -81px;
  background-color: var(--white);
  box-shadow: var(--shadow-2);
  animation: slideIn 0.5s var(--cubic-out) forwards;
}

@keyframes slideIn {
  0% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

.header-bottom > .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo {
  color: var(--oxford-blue-1);
  font-family: var(--ff-poppins);
  font-size: 3.4rem;
  font-weight: var(--fw-800);
}

.nav-toggle-btn {
  color: var(--black);
  font-size: 30px;
  border: 1px solid var(--black);
  padding: 5px;
}

.nav-toggle-btn.active .menu-icon,
.nav-toggle-btn .close-icon { display: none; }

.nav-toggle-btn .menu-icon,
.nav-toggle-btn.active .close-icon { display: block; }

.navbar {
  position: absolute;
  top: calc(100% + 5px);
  left: 25px;
  right: 25px;
  background-color: var(--white);
  padding-inline: 0;
  box-shadow: var(--shadow-1);
  max-height: 0;
  visibility: hidden;
  overflow: hidden;
  transition: 0.25s var(--cubic-out);
}

.navbar.active {
  visibility: visible;
  max-height: 350px;
  transition-duration: 0.5s;
}

.navbar-list > li:not(:last-child) { border-block-end: 1px solid var(--gainsboro_50); }

.navbar-link {
  color: var(--jet);
  text-transform: uppercase;
  font-weight: var(--fw-600);
  padding: 15px;
}





/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-block-end: calc(var(--section-padding) / 2);
}

.hero-content { margin-block-end: 50px; }

.hero-title { margin-block: 15px 30px; }

.hero-text {
  font-size: var(--fs-6);
  line-height: 1.45;
  margin-block-end: 40px;
}

.hero-form {
  background-color: var(--white);
  max-width: 95%;
  padding: 15px;
  border-radius: var(--radius-4);
  box-shadow: var(--shadow-3);
}

.hero-form .email-field {
  background-color: var(--cultured);
  color: var(--black);
  min-height: 70px;
  padding-inline: 15px;
  border-radius: var(--radius-4);
  margin-block-end: 15px;
}

.hero-form .btn { width: 100%; }





/*-----------------------------------*\
  #SERVICE
\*-----------------------------------*/

.service-banner { display: none; }

.service { padding-block-end: 0; }

.service .section-title { margin-block-end: 50px; }

.service-list {
  display: grid;
  gap: 15px;
}

.service-card {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  min-height: 100%;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-4);
  padding: 30px;
}

.service-card .card-icon {
  width: 50px;
  flex-shrink: 0;
}

.service-card .card-title { margin-block-end: 8px; }





/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about { padding-block-end: 0; }

.about-banner { margin-block-end: 50px; }

.about .section-text-1 { margin-block: 25px 15px; }

.about .btn {
  font-size: unset;
  max-width: max-content;
  margin-block-start: 30px;
  padding-inline: 15px;
}





/*-----------------------------------*\
  #DOCTOR
\*-----------------------------------*/

.doctor .section-title { margin-block-end: 50px; }

.doctor-card .card-banner {
  border-radius: var(--radius-4);
  overflow: hidden;
  margin-block-end: 25px;
}

.doctor-card {
  padding: 30px;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-4);
  text-align: center;
  min-height: 100%;
}

.doctor-card .card-title {
  font-size: var(--fs-4);
  transition: var(--transition);
}

.doctor-card:is(:hover, :focus-within) .card-title { color: var(--royal-blue-light); }

.doctor-card .card-subtitle {
  color: var(--royal-blue-light);
  margin-block: 10px 15px;
}

.doctor-card .card-social-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.doctor-card .card-social-link {
  background-color: var(--lavender-web);
  color: var(--royal-blue-light);
  font-size: 16px;
  padding: 12px;
  border-radius: 50%;
  transition: var(--transition);
}

.doctor-card .card-social-link:is(:hover, :focus) {
  background-color: var(--royal-blue-light);
  color: var(--white);
}

.has-scrollbar {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  margin-inline: 15px;
  padding-block-end: 40px;
  margin-block-end: -20px;
  scroll-snap-type: inline mandatory;
}

.scrollbar-item {
  min-width: 100%;
  scroll-snap-align: start;
}

.has-scrollbar::-webkit-scrollbar { height: 10px; }

.has-scrollbar::-webkit-scrollbar-track {
  background-color: var(--light-gray);
  border-radius: var(--radius-4);
}

.has-scrollbar::-webkit-scrollbar-thumb {
  background-color: var(--royal-blue-light);
  border-radius: var(--radius-4);
}

.has-scrollbar::-webkit-scrollbar-button { width: calc(25% - 30px); }





/*-----------------------------------*\
  #CTA
\*-----------------------------------*/

.cta { background-color: var(--oxford-blue-1); }

.cta-banner { margin-block-end: 50px; }

.cta .section-subtitle { text-transform: capitalize; }

.cta .section-title {
  color: var(--white);
  font-size: var(--fs-3);
  margin-block-end: 30px;
}

.cta .btn { max-width: max-content; }





/*-----------------------------------*\
  #BLOG
\*-----------------------------------*/

/*-----------------------------------*\
  #BLOG PAGE
\*-----------------------------------*/

.blog-page {
    background-color: var(--cultured);
    min-height: 100vh;
    padding: 80px 0;
    margin-top: 50px;
}

.blog-header {
    text-align: center;
    margin-bottom: 50px;
}

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

.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Sayfalama Stilleri */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.pagination-list {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-link {
    display: inline-block;
    padding: 10px 15px;
    background-color: var(--white);
    color: var(--oxford-blue-1);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-4);
    text-decoration: none;
    font-weight: var(--fw-600);
    transition: var(--transition);
    min-width: 45px;
    text-align: center;
}

.pagination-link:hover {
    background-color: var(--royal-blue-light);
    color: var(--white);
    border-color: var(--royal-blue-light);
}

.pagination-link.active {
    background-color: var(--royal-blue-light);
    color: var(--white);
    border-color: var(--royal-blue-light);
}

/* Tüm Blog Yazıları Butonu Stilleri */
.blog .text-center {
    margin-top: 50px;
}

.blog .btn {
    background: var(--gradient);
    color: var(--white);
    padding: 15px 30px;
    border-radius: var(--radius-4);
    font-weight: var(--fw-600);
    text-transform: uppercase;
    transition: var(--transition);
    box-shadow: var(--shadow-4);
    display: inline-block;
}

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

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .blog .text-center {
        margin-top: 30px;
    }
    
    .blog .btn {
        padding: 12px 25px;
        font-size: 1.4rem;
    }
}
/* Blog kartları için responsive düzenlemeler */
@media (max-width: 768px) {
    .blog-page {
      margin-top: 50px;
        padding: 60px 0;
    }
    
    .blog-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pagination-list {
        gap: 5px;
    }
    
    .pagination-link {
        padding: 8px 12px;
        min-width: 40px;
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .blog-page {
        padding: 40px 0;
    }
    
    .blog-header h2 {
        font-size: 2.4rem;
    }
    
    .pagination-list {
        gap: 3px;
    }
    
    .pagination-link {
        padding: 6px 10px;
        min-width: 35px;
        font-size: 1.3rem;
    }
}

/* Blog kartları için ek düzenlemeler */
.blog-card {
    background: var(--white);
    border-radius: var(--radius-4);
    box-shadow: var(--shadow-3);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.card-banner {
    position: relative;
    overflow: hidden;
}

.card-banner img {
    transition: transform 0.3s ease;
}

.blog-card:hover .card-banner img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--royal-blue-light);
    color: var(--white);
    padding: 8px 15px;
    border-radius: var(--radius-4);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.card-title a {
    color: var(--oxford-blue-1);
    text-decoration: none;
    transition: var(--transition);
}

.card-title a:hover {
    color: var(--royal-blue-light);
}

.card-text {
    color: var(--sonic-silver);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-link {
    color: var(--royal-blue-light);
    font-weight: var(--fw-600);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.card-link:hover {
    color: var(--oxford-blue-1);
    gap: 10px;
}

/* Hiç blog yazısı yoksa */
.no-posts {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: var(--radius-4);
    box-shadow: var(--shadow-3);
}

.no-posts p {
    font-size: 1.8rem;
    color: var(--sonic-silver);
}

/*-----------------------------------*\
  #BLOG DETAIL PAGE
\*-----------------------------------*/

.blog-detail-page {
    background-color: var(--cultured);
    min-height: 100vh;
    padding: 80px 0;
}

.blog-detail {
    background: var(--white);
    border-radius: var(--radius-4);
    box-shadow: var(--shadow-3);
    overflow: hidden;
    margin: 40px auto;
    max-width: 1000px;
}

.blog-detail .blog-header {
    padding: 40px 30px 20px;
    border-bottom: 1px solid var(--light-gray);
    text-align: center;
}

.blog-detail .blog-header h1 {
    color: var(--oxford-blue-1);
    font-size: var(--fs-3);
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-detail .blog-meta {
    color: var(--sonic-silver);
    font-size: var(--fs-7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.blog-detail .blog-image {
    padding: 0;
    margin: 0;
}

.blog-detail .blog-image img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    display: block;
}

.blog-detail .blog-content {
    padding: 30px;
    line-height: 1.8;
    font-size: 1.6rem;
}

.blog-detail .blog-content p {
    margin-bottom: 20px;
}

.blog-detail .blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-4);
    margin: 20px 0;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--royal-blue-light);
    font-weight: var(--fw-600);
    margin-bottom: 30px;
    transition: var(--transition);
    padding: 10px 15px;
    border-radius: var(--radius-4);
    background: var(--white);
    box-shadow: var(--shadow-1);
}

.btn-back:hover {
    background: var(--royal-blue-light);
    color: var(--white);
    transform: translateX(-5px);
}

/* Mobil uyumluluk için medya sorguları */
@media (max-width: 768px) {
  .blog-detail{
    margin: 50px auto;
  }
    .blog-detail-page {
        padding: 60px 0;
    }
    
    .blog-detail .blog-header {
        padding: 30px 20px 15px;
    }
    
    .blog-detail .blog-header h1 {
        font-size: var(--fs-4);
    }
    
    .blog-detail .blog-content {
        padding: 20px;
        font-size: 1.5rem;
    }
    
    .blog-detail .blog-image img {
        max-height: 300px;
    }
    
    .btn-back {
        margin-bottom: 20px;
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .blog-detail-page {
        padding: 40px 0;
    }
    
    .blog-detail .blog-header {
        padding: 20px 15px 10px;
    }
    
    .blog-detail .blog-header h1 {
        font-size: 2.2rem;
    }
    
    .blog-detail .blog-content {
        padding: 15px;
        font-size: 1.4rem;
        line-height: 1.7;
    }
    
    .blog-detail .blog-meta {
        flex-direction: column;
        gap: 5px;
    }
}


.alert {
  padding: 15px;
  border-radius: var(--radius-4);
  margin-bottom: 20px;
  border: 1px solid transparent;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border-color: #c3e6cb;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border-color: #f5c6cb;
}

.blog-list {
  display: grid;
  gap: 20px;
}

.blog-item {
  background: var(--cultured);
  padding: 20px;
  border-radius: var(--radius-4);
  border: 1px solid var(--light-gray);
}

.blog-item h3 {
  color: var(--oxford-blue-1);
  margin-bottom: 10px;
}

.blog-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.blog-actions a {
  padding: 6px 12px;
  border-radius: var(--radius-4);
  text-decoration: none;
  font-size: var(--fs-7);
  transition: var(--transition);
}

.btn-view {
  background: var(--royal-blue-light);
  color: var(--white);
}

.btn-edit {
  background: var(--carolina-blue);
  color: var(--white);
}

.btn-delete {
  background: #dc3545;
  color: var(--white);
}

.blog-actions a:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}



/* Responsive Tasarım */
@media (max-width: 768px) {
  
  .panel-content {
    padding: 20px;
  }
  
  .blog-actions {
    flex-direction: column;
  }
  
}

/* Resim önizleme stilleri */
.image-preview {
    max-width: 150px;
    max-height: 100px;
    margin-top: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    display: none;
}

.image-preview.visible {
    display: block;
}

.preview-container {
    margin-top: 10px;
}

.current-image {
    font-weight: bold;
    margin-top: 5px;
    color: var(--sonic-silver);
    font-size: 1.3rem;
}

.blog .section-title { margin-block-end: 50px; }

.blog-list {
  display: grid;
  gap: 30px;
}

.blog-card {
  border-radius: var(--radius-4);
  box-shadow: var(--shadow-5);
}

.blog-card .card-banner {
  position: relative;
  border-radius: var(--radius-4);
  overflow: hidden;
}

.blog-card .card-banner img { transition: var(--transition); }

.blog-card:is(:hover, :focus-within) .card-banner img { transform: scale(1.1); }

.blog-card .card-badge {
  background-color: var(--royal-blue-light);
  color: var(--white);
  position: absolute;
  bottom: 25px;
  left: 25px;
  display: flex;
  gap: 5px;
  padding: 10px 15px;
  border-radius: var(--radius-6);
}

.blog-card .card-content { padding: 30px; }

.blog-card .card-title { transition: var(--transition); }

.blog-card .card-title:is(:hover, :focus) { color: var(--royal-blue-light); }

.blog-card .card-text { margin-block: 15px; }

.blog-card .card-link {
  position: relative;
  color: var(--royal-blue-light);
  font-weight: var(--fw-500);
  text-transform: uppercase;
  width: max-content;
  transition: var(--transition);
}

.blog-card .card-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--royal-blue-light);
  transition: var(--transition);
}

.blog-card .card-link:is(:hover, :focus) { color: var(--oxford-blue-1); }

.blog-card .card-link:is(:hover, :focus)::after { background-color: var(--oxford-blue-1); }





/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer-top {
  background-color: var(--oxford-blue-2);
  color: var(--light-steel-blue);
}

.footer-top .container {
  display: grid;
  gap: 30px;
}

.footer-brand .logo { color: var(--white); }

.footer-text {
  line-height: 1.6;
  margin-block: 15px;
}

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

.schedule-icon,
.footer-item .item-icon {
  background-image: var(--gradient);
  color: var(--white);
  font-size: 18px;
  padding: 11px;
  border-radius: 50%;
}

.schedule .span,
.footer-item .item-text { line-height: 1.6; }

.footer-list-title {
  color: var(--white);
  font-family: var(--ff-poppins);
  font-size: var(--fs-4);
  font-weight: var(--fw-700);
  margin-block-end: 10px;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-block: 10px;
  transition: var(--transition);
}

.footer-link ion-icon {
  color: var(--royal-blue-light);
  --ionicon-stroke-width: 50px;
}

.footer-link:is(:hover, :focus) { color: var(--white); }

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

.footer-item:not(:first-child) { margin-block-start: 20px; }

.footer-bottom {
  background-color: var(--oxford-blue-3);
  padding-block: 50px;
  text-align: center;
}

.copyright {
  color: var(--white);
  line-height: 1.6;
  margin-block-end: 25px;
}

.footer .social-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.footer .social-link {
  padding: 11px;
  background-color: hsla(0, 0%, 100%, 0.2);
  color: var(--white);
  font-size: 18px;
  border-radius: 50%;
}

.footer .social-link:is(:hover, :focus) { background-image: var(--gradient); }





/*-----------------------------------*\
  #BACK TO TOP
\*-----------------------------------*/

.back-top-btn {
  position: fixed;
  bottom: 10px;
  right: 20px;
  background-color: var(--royal-blue-light);
  font-size: 18px;
  color: var(--white);
  padding: 14px;
  border-radius: 50%;
  visibility: hidden;
  opacity: 0;
  transition: var(--transition);
}

.back-top-btn.active {
  transform: translateY(-10px);
  visibility: visible;
  opacity: 1;
}

.hero-banner img { border-radius: 25px;}


/* style.css dosyasına bu stilleri ekleyin */

/* Mobil Admin Giriş Butonu */
.navbarmobil {
    background: linear-gradient(45deg, var(--royal-blue-light), var(--carolina-blue));
    color: var(--white) !important;
    border-radius: 25px;
    padding: 10px 20px !important;
    margin: 15px 0;
    font-weight: var(--fw-700) !important;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.navbarmobil::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.navbarmobil:hover::before {
    left: 100%;
}

.navbarmobil:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, var(--carolina-blue), var(--royal-blue-light));
}

.navbarmobil:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Mobil navbar'da admin butonuna özel stil */
.navbar-list .navbarmobil {
    order: 99; /* En sona taşı */
    margin-top: 10px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    border: 2px solid #ff6b6b;
}

.navbar-list .navbarmobil:hover {
    background: linear-gradient(45deg, #ee5a24, #ff6b6b);
    border-color: #ee5a24;
}

/* İkon ekleme (isteğe bağlı) */
.navbarmobil {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.navbarmobil ion-icon {
    font-size: 18px;
    margin-right: 5px;
}

/* Tablet ve masaüstü için admin butonunu gizle */
@media (min-width: 769px) {
    .navbarmobil {
        display: none !important;
    }
}

/* Çok küçük ekranlar için ek ayarlar */
@media (max-width: 360px) {
    .navbarmobil {
        padding: 8px 16px !important;
        font-size: 1.4rem;
    }
    
    .navbarmobil ion-icon {
        font-size: 16px;
    }
}

/* Aktif durum için */
.navbarmobil.active {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    border-color: #27ae60;
}

/* Navbar açıkken admin butonuna özel stil */
.navbar.active .navbarmobil {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 107, 107, 0.6);
    }
    100% {
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    }
}

/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for larger than 575px screen
 */

@media (min-width: 575px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 4.2rem;

  }



  /**
   * REUSED STYLE
   */

  .container {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }



  /**
   * BLOG
   */

  .blog-card .h3 { --fs-5: 2.6rem; }



  /**
   * FOOTER
   */

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

}





/**
 * responsive for larger than 768px screen
 */

@media (min-width: 768px) {

  /**
   * CUSTOM PROPERTY
   */



  :root {

    /**
     * typography
     */

    --fs-2: 4.8rem;

  }



  /**
   * RESET
   */

  body { font-size: 1.6rem; }



  /**
   * REUSED STYLE
   */

  .container { max-width: 750px; }

  .section-subtitle { --fs-6: 2.2rem; }



  /**
   * HERO
   */

  .hero { overflow: hidden; }

  .hero .container {
    display: grid;
    grid-template-columns: 1fr 0.75fr;
    align-items: center;
    gap: 20px;
  }

  .hero-content { margin-block-end: 0; }

  .hero-form { position: relative; }

  .hero-form .email-field {
    margin-block-end: 0;
    padding-inline-end: 190px;
  }

  .hero-form .btn {
    width: auto;
    position: absolute;
    top: 15px;
    right: 15px;
    bottom: 15px;
  }

  .hero-banner { margin-inline-end: -60px; }



  /**
   * SERVICE
   */

  .service-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
  }



  /**
   * DOCTOR
   */

  .scrollbar-item { min-width: calc(50% - 15px); }



  /**
   * CTA
   */

  .cta { padding-block: 0; }

  .cta .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-end;
    gap: 60px;
  }

  .cta-banner { margin-block-end: 0; }

  .cta-content { padding-block: 60px; }



  /**
   * BLOG
   */

  .blog-list { grid-template-columns: 1fr 1fr; }



  /**
   * FOOTER
   */

  .footer-bottom { padding-block: 30px; }

  .footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .copyright { margin-block-end: 0; }



  /**
   * BACK TO TOP
   */

  .back-top-btn {
    bottom: 70px;
    right: 50px;
  }

}





/**
 * responsive for larger than 992px screen
 */

@media (min-width: 992px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-2: 6rem;
    --fs-1: 4.6rem;
    --fs-3: 4.6rem;

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 980px; }



  /**
   * HEADER
   */

  .header-top {
    display: block;
    background-color: var(--oxford-blue-1);
    color: var(--white);
    padding-block: 20px;
  }

  .header-top :is(.container, .social-list),
  .contact-list,
  .contact-item {
    display: flex;
    align-items: center;
  }

  .header-top .container { justify-content: space-between; }

  .contact-list { gap: 20px; }

  .contact-item { gap: 5px; }

  .contact-item ion-icon {
    color: var(--royal-blue-light);
    --ionicon-stroke-width: 40px;
  }

  .contact-link { font-size: 1.5rem; }

  .header-top .social-list { gap: 15px; }

  .header-top .social-link {
    font-size: var(--fs-6);
    transition: var(--transition);
  }

  .header-top .social-link:is(:hover, :focus) { color: var(--royal-blue-light); }

  .header-bottom {
    top: 58px;
    padding-block: 20px;
  }

  .header-bottom.active { top: -95px; }

  .nav-toggle-btn { display: none; }

  .navbar,
  .navbar.active {
    all: unset;
    margin-inline-start: auto;
  }

  .navbar-list {
    display: flex;
    align-items: center;
  }

  .navbar-list > li:not(:last-child) { border-block-end: none; }

  .navbar-link {
    color: var(--oxford-blue-1);
    font-family: var(--ff-poppins);
    text-transform: capitalize;
    transition: var(--transition);
  }

  .navbar-link:is(:hover, :focus) { color: var(--royal-blue-light); }

  .header-bottom .btn {
    display: block;
    padding: 15px 20px;
  }



  /**
   * SERVICE
   */

  .service-list { grid-template-columns: repeat(3, 1fr); }

  .service-banner {
    display: block;
    grid-column: 2 / 3;
    grid-row: 1 / 4;
    align-self: center;
  }



  /**
   * ABOUT
   */

  .about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
  }

  .about-banner { margin-block-end: 0; }



  /**
   * DOCTOR
   */

  .scrollbar-item { min-width: calc(33.33% - 20px); }



  /**
   * CTA
   */

  .cta-content { padding-block: 80px; }



  /**
   * BLOG
   */

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



  /**
   * FOOTER
   */

  .footer-top .container { grid-template-columns: 1fr 0.5fr 0.6fr 0.75fr; }

}





/**
 * responsive for larger than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-2: 8rem;
    --fs-1: 5.5rem;
    --fs-3: 4.8rem;

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 1180px; }



  /**
   * HEADER
   */

  .contact-list { gap: 30px; }

  .header-bottom .btn { padding: 18px 30px; }

  .header-bottom > .container { gap: 40px; }

  .navbar-list { gap: 15px; }



  /**
   * ABOUT
   */

  .about .container {
    grid-template-columns: 0.85fr 1fr;
    gap: 100px;
  }



  /**
   * DOCTOR
   */

  .doctor { padding-block-end: 180px; }

  .scrollbar-item { min-width: calc(25% - 22.5px); }

  .has-scrollbar {
    padding-block-end: 0;
    margin-block-end: 0;
  }



  /**
   * CTA
   */

  .cta .container { align-items: center; }

  .cta-banner { margin-block-start: -120px; }

}







@media (max-width: 768px){

  
/*-----------------------------------*\
  #MOBILE FIXES
\*-----------------------------------*/

/* Container düzeltmeleri */
.container {
    padding-inline: 15px;
    max-width: 100%;
    overflow-x: hidden;
}

/* Genel responsive ayarlar */
html {
    font-size: 9px; /* Mobilde daha küçük base font */
}

body {
    font-size: 1.4rem;
    overflow-x: hidden;
}

/* Hero section mobil düzeltmeleri */
.hero {
    padding-block: 60px;
}

.hero .container {
    display: block;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.3;
}

.hero-text {
    font-size: 1.6rem;
}

.hero-form {
    max-width: 100%;
    margin-inline: 0;
}

/* Service section mobil düzeltmeleri */
.service-list {
    grid-template-columns: 1fr;
    gap: 20px;
}

.service-card {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    text-align: center;
}

/* About section mobil düzeltmeleri */
.about .container {
    display: block;
}

.about-banner {
    margin-block-end: 30px;
}

/* Doctor section mobil düzeltmeleri */
.doctor .section-title {
    margin-block-end: 30px;
}

.has-scrollbar {
    margin-inline: 0;
    gap: 20px;
    padding-block-end: 30px;
}

.scrollbar-item {
    min-width: 85%;
    scroll-snap-align: center;
}

/* CTA section mobil düzeltmeleri */
.cta .container {
    display: block;
}

.cta-banner {
    margin-block-end: 30px;
}

.cta-content {
    text-align: center;
}

.cta .btn {
    margin-inline: auto;
}

/* Blog section mobil düzeltmeleri */
.blog-list {
    grid-template-columns: 1fr;
    gap: 20px;
}

.blog-card .card-content {
    padding: 20px;
}

/* Footer mobil düzeltmeleri */
.footer-top .container {
    grid-template-columns: 1fr;
    gap: 30px;
}

.footer-bottom .container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
}

/* Header mobil düzeltmeleri */
.header-bottom > .container {
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    font-size: 2.8rem;
}

.navbar {
    left: 15px;
    right: 15px;
}

/* Butonlar için mobil düzeltmeler */
.btn {
    padding: 16px 20px;
    font-size: 1.4rem;
    white-space: nowrap;
}

/* Görseller için genel düzeltme */
img {
    max-width: 100%;
    height: auto;
}

/* Yazı boyutları mobil için optimize */
.h1 {
    font-size: 2.8rem;
}

.h2 {
    font-size: 2.4rem;
}

.h3 {
    font-size: 2rem;
}

.section-subtitle {
    font-size: 1.6rem;
}

/* Scrollbar gizleme */
.has-scrollbar::-webkit-scrollbar {
    display: none;
}

.has-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Back to top butonu mobil */
.back-top-btn {
    right: 15px;
    bottom: 15px;
    padding: 12px;
    font-size: 16px;
}
}
/* Özel medya sorgusu - çok küçük ekranlar için */
@media (max-width: 360px) {
    .container {
        padding-inline: 10px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .btn {
        padding: 14px 16px;
        font-size: 1.3rem;
    }
    
    .service-card,
    .doctor-card {
        padding: 15px;
    }
}

/* Landscape mod için düzeltmeler */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding-block: 40px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section {
        padding-block: 80px;
    }
}

/* Yatay kaymayı önleyen genel düzeltme */
body, html {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

* {
    box-sizing: border-box;
}










/* Contact/Appointment Section */
.appointment {
  background-color: var(--cultured);
}

.appointment-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 50px;
}

.option-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius-4);
  text-align: center;
  box-shadow: var(--shadow-3);
  transition: var(--transition);
}

.option-card:hover {
  transform: translateY(-5px);
}

.option-card h3 {
  margin: 20px 0 15px;
  color: var(--oxford-blue-1);
}

.option-card p {
  margin-bottom: 25px;
  line-height: 1.6;
}

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

.btn-outline:hover {
  background: var(--royal-blue-light);
  color: var(--white);
}

.calendar-embed {
  border-radius: var(--radius-4);
  overflow: hidden;
  box-shadow: var(--shadow-3);
}

/* Tablet ve üstü */
@media (min-width: 768px) {
  .appointment-options {
    grid-template-columns: 1fr 1fr;
  }
}


/* Büyük ekranlarda ekip bölümünü ortala */
@media (min-width: 992px) {
  .has-scrollbar {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .scrollbar-item {
    min-width: auto;
    flex: 0 0 calc(50% - 30px);
    max-width: calc(50% - 30px);
  }
}







/* Aktif navbar link stili */
.navbar-link.active {
  color: var(--royal-blue-light) !important;
  font-weight: var(--fw-700) !important;
  position: relative;
}



/* Masaüstü görünüm için */
@media (min-width: 992px) {
  .navbar-link.active::after {
    bottom: -5px;
  }
}

/* Mobil navbar için aktif link stili */
@media (max-width: 991px) {
  .navbar-link.active {
    background-color: var(--lavender-web);
    border-left: 4px solid var(--royal-blue-light);
  }
  
  .navbar-link.active::after {
    display: none;
  }
}









/* ====== SECTION ICIN GENEL SCROLL KAPATMA & HAS-SCROLLBAR DUZELTME ====== */

/* 1) Temel: section'ların kendi içinde scroll üretmesini engelle */
section,
.section,
.container,
.hero,
.service,
.about,
.doctor,
.blog,
.appointment,
.footer,
.footer-top,
.footer-bottom {
  overflow: visible !important;
  max-height: none !important;
}

/* 2) .has-scrollbar: mobilde yatay kaydırma kalabilir, ama masaüstünde wrap et */
.has-scrollbar {
  /* mobile fallback: dokunmatik kaydırma için auto, ama scrollbar gizlenecek */
  overflow-x: auto;
  overflow-y: visible !important;
  -webkit-overflow-scrolling: touch;
  margin-block-end: 0 !important;
  padding-block-end: 0 !important;
}

/* Masaüstünde: hiç iç scrollbar olmasın, item'lar satıra sırılsıklam yerleşsin (wrap) */
@media (min-width: 992px) {
  .has-scrollbar {
    overflow-x: visible !important;
    -ms-overflow-style: none;  /* IE/Edge */
    scrollbar-width: none;      /* Firefox */
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-inline: 0;
    padding-block-end: 0;
  }
  .has-scrollbar::-webkit-scrollbar { display: none; }

  .scrollbar-item {
    min-width: auto !important;
    flex: 0 0 calc(25% - 30px) !important; /* 4 kolonlu düzen; ihtiyaca göre değiştirin */
    max-width: calc(25% - 30px) !important;
    margin-block-end: 0;
  }
}

/* Mobilde: yatay kaydırma kalsın ama native scrollbar görünmesin */
@media (max-width: 991px) {
  .has-scrollbar {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;    /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
  }
  .has-scrollbar::-webkit-scrollbar { height: 0; display: none; }
  .scrollbar-item { min-width: 85% !important; }
}

/* 3) Body/page yatay taşmayı kesinlikle engelle */
html, body {
  overflow-x: hidden !important;
}

/* 4) iframe/embed gibi gömülü içeriklerin iç scroll üretmesini engelle (varsa) */
.calendar-embed iframe,
.img-holder iframe {
  width: 100% !important;
  height: auto !important;
  border: 0;
}

/* 5) İsteğe bağlı: kesin kapatma noktası (destekleyen tarayıcılarda) */
.section { overflow: clip !important; }
