/* Custom Styles for DR. Ertuğrul Gazi Öztürk */

/* Green Color Theme */
:root {
  --primary-color: #2E8B57; /* Sea Green */
  --primary-dark: #1F5F3F; /* Dark Green */
  --primary-light: #90EE90; /* Light Green */
  --accent-color: #2E8B57; /* Sea Green */
  --success-color: #228B22; /* Forest Green */
  --bs-primary: #2E8B57; /* Bootstrap Primary Override */
}

/* Bootstrap Override */
.text-primary {
  color: var(--primary-color) !important;
}

/* Logo Styles */
.logo-img {
  height: 60px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
}

/* Footer Logo */
.footer-logo {
  height: 50px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  margin-bottom: 1rem;
}

/* Responsive logo */
@media (max-width: 768px) {
  .logo-img {
    height: 45px;
    max-width: 200px;
  }
  
  .footer-logo {
    height: 40px;
    max-width: 180px;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 35px;
    max-width: 150px;
  }
  
  .footer-logo {
    height: 30px;
    max-width: 120px;
  }
}

/* Cookie Notice */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 15px 0;
  z-index: 9999;
}

.cookie-notice a {
  color: var(--primary-color);
  text-decoration: underline;
}

.cookie-notice a:hover {
  color: var(--primary-dark);
}

/* Hero Section Styles */
.hero {
  position: relative;
  overflow: hidden;
}

/* Hero Slider (Background) */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  z-index: 1;
}

.hero-slide {
  height: 100vh;
  min-height: 700px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  width: 100%;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

/* Hero Content Overlay */
.hero-content-overlay {
  position: relative;
  z-index: 5;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
}

/* Main Content (Left Side) */
.hero-main-content {
  color: white;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* Why Choose Box */
.why-choose-box {
  background: rgba(46, 139, 87, 0.9);
  padding: 2rem;
  border-radius: 10px;
  margin-top: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.why-choose-box h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.why-choose-box p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Feature Boxes (Right Side) */
.hero-features {
  padding-left: 2rem;
}

.feature-box {
  background: rgba(255, 255, 255, 0.55);
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  height: 100%;
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.feature-box:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.feature-icon i {
  font-size: 24px;
  color: white;
}

.feature-box h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.8rem;
}

.feature-box p {
  font-size: 0.9rem;
  color: #333;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
}

.hero-btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-shadow: none;
}

.hero-btn:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(46,139,87,0.4);
}

/* Navigation Arrows */
.hero-nav-next,
.hero-nav-prev {
  color: white !important;
  background: rgba(255,255,255,0.2) !important;
  border-radius: 50% !important;
  width: 50px !important;
  height: 50px !important;
  margin-top: -25px !important;
  z-index: 10 !important;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.3) !important;
}

.hero-nav-next:hover,
.hero-nav-prev:hover {
  background: rgba(255,255,255,0.4) !important;
  transform: scale(1.1);
  transition: all 0.3s ease;
}

.hero-nav-next::after,
.hero-nav-prev::after {
  font-size: 18px !important;
  font-weight: bold !important;
}

/* Pagination */
.hero-pagination {
  bottom: 30px !important;
  z-index: 10 !important;
}

.hero-pagination .swiper-pagination-bullet {
  width: 14px !important;
  height: 14px !important;
  background: rgba(255,255,255,0.6) !important;
  opacity: 1 !important;
  margin: 0 6px !important;
  border: 2px solid rgba(255,255,255,0.3) !important;
  transition: all 0.3s ease !important;
}

.hero-pagination .swiper-pagination-bullet-active {
  background: white !important;
  transform: scale(1.2);
  border-color: rgba(255,255,255,0.8) !important;
}

/* Phone Links */
.phone-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.phone-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* WhatsApp Float Button */
.whatsapp-float {
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-btn {
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  position: relative;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: rgba(37, 211, 102, 0.3);
  border-radius: 50%;
  animation: whatsapp-ripple 2s infinite;
  z-index: -1;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes whatsapp-ripple {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-slide {
    height: 100vh;
    min-height: 600px;
    background-attachment: scroll;
  }
  
  .hero-slider {
    height: 100vh;
    min-height: 600px;
  }
  
  .hero-content-overlay {
    height: 100vh;
    min-height: 600px;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
  
  .why-choose-box {
    padding: 1.5rem;
    margin-top: 1.5rem;
  }
  
  .hero-features {
    padding-left: 0;
    margin-top: 2rem;
  }
  
  .feature-box {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
  }
  
  .feature-icon i {
    font-size: 20px;
  }
  
  .hero-nav-next,
  .hero-nav-prev {
    display: none !important;
  }
  
  .hero-pagination {
    bottom: 20px !important;
  }
  
  .hero-pagination .swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    margin: 0 4px !important;
  }
  
  .whatsapp-float {
    bottom: 15px;
    left: 15px;
    z-index: 1001;
  }
  
  .whatsapp-btn {
    padding: 10px !important;
  }
  
  .whatsapp-btn i {
    font-size: 24px !important;
  }
}

@media (max-width: 480px) {
  .hero-slide {
    height: 90vh;
    min-height: 550px;
  }
  
  .hero-slider {
    height: 90vh;
    min-height: 550px;
  }
  
  .hero-content-overlay {
    height: 90vh;
    min-height: 550px;
    padding: 1rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .why-choose-box {
    padding: 1rem;
  }
  
  .feature-box {
    padding: 0.8rem;
  }
  
  .hero-btn {
    padding: 8px 20px;
    font-size: 0.85rem;
  }
}

/* Blog Section Styles */
.blog {
  background: #f8f9fa;
}

.blog-item {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.blog-img {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.blog-date {
  color: #6c757d;
  font-weight: 500;
}

.blog-category {
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
}

.blog-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.blog-content h3 a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.blog-content p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.blog-read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.blog-read-more:hover {
  color: var(--primary-dark);
  gap: 0.75rem;
}

.blog-read-more i {
  transition: transform 0.3s ease;
}

.blog-read-more:hover i {
  transform: translateX(3px);
}

/* Blog Button */
.blog .btn-primary {
  background: var(--primary-color);
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.blog .btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(46,139,87,0.4);
}

/* Blog Author */
.blog-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.author-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.blog-author span {
  font-weight: 600;
  color: #333;
  font-size: 0.9rem;
}

/* Blog Sidebar Styles */
.blog-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.widget-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
}

/* Search Widget */
.search-form {
  position: relative;
}

.search-form input {
  width: 100%;
  padding: 12px 50px 12px 15px;
  border: 2px solid #eee;
  border-radius: 25px;
  font-size: 0.9rem;
  transition: border-color 0.3s ease;
}

.search-form input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.search-form button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-form button:hover {
  background: var(--primary-dark);
}

/* Categories Widget */
.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  border-bottom: 1px solid #eee;
  padding: 0.75rem 0;
}

.category-list li:last-child {
  border-bottom: none;
}

.category-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.category-list span {
  background: #f8f9fa;
  color: #6c757d;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Recent Posts Widget */
.recent-posts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.recent-post {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.recent-post img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.recent-post .post-content h4 {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.recent-post .post-content h4 a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.recent-post .post-content h4 a:hover {
  color: var(--primary-color);
}

.recent-post time {
  font-size: 0.75rem;
  color: #6c757d;
}

/* Tags Widget */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: #f8f9fa;
  color: #333;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

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

/* CTA Widget */
.cta-widget {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  text-align: center;
}

.cta-widget .widget-title {
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.cta-content h3 {
  color: white;
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.cta-content .btn {
  background: white;
  color: var(--primary-color);
  border: none;
  font-weight: 600;
}

.cta-content .btn:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
}

/* Blog Details Styles */
.blog-post {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
}

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

.post-content {
  padding: 2rem;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #6c757d;
}

.meta-item i {
  color: var(--primary-color);
}

.category {
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
}

.post-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.post-excerpt .lead {
  font-size: 1.2rem;
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.post-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.post-body h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  margin: 2rem 0 1rem;
}

.post-body blockquote {
  background: #f8f9fa;
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  border-radius: 0 8px 8px 0;
}

.post-body blockquote cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #6c757d;
  font-weight: 600;
}

.post-image {
  margin: 2rem 0;
  text-align: center;
}

.image-caption {
  font-size: 0.9rem;
  color: #6c757d;
  margin-top: 0.5rem;
  font-style: italic;
}

.alert {
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.alert h4 {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Post Tags */
.post-tags {
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid #eee;
}

.post-tags h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Author Bio */
.author-bio {
  display: flex;
  gap: 1.5rem;
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  margin: 2rem 0;
}

.author-bio .author-img {
  flex-shrink: 0;
}

.author-bio .author-img img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.author-info h4 {
  margin-bottom: 0.5rem;
  color: #333;
}

.author-title {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.author-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.author-social a {
  width: 35px;
  height: 35px;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  transition: background 0.3s ease;
}

.author-social a:hover {
  background: var(--primary-dark);
}

/* Share Buttons */
.post-share {
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid #eee;
}

.post-share h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.share-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.share-btn.facebook {
  background: #1877f2;
  color: white;
}

.share-btn.twitter {
  background: #1da1f2;
  color: white;
}

.share-btn.linkedin {
  background: #0077b5;
  color: white;
}

.share-btn.whatsapp {
  background: #25d366;
  color: white;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Related Posts */
.related-posts {
  margin-top: 3rem;
}

.related-posts h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #333;
}

.related-post {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.related-post:hover {
  transform: translateY(-5px);
}

.related-post .post-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.related-post .post-content {
  padding: 1.5rem;
}

.related-post .post-category {
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-block;
}

.related-post h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.related-post h4 a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.related-post h4 a:hover {
  color: var(--primary-color);
}

.related-post time {
  font-size: 0.85rem;
  color: #6c757d;
}

/* Pagination */
.pagination-wrapper {
  margin-top: 3rem;
}

.pagination .page-link {
  color: var(--primary-color);
  border: 1px solid #dee2e6;
  padding: 0.75rem 1rem;
  font-weight: 500;
}

.pagination .page-item.active .page-link {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.pagination .page-link:hover {
  background: #f8f9fa;
  border-color: var(--primary-color);
}

/* Responsive Blog Styles */
@media (max-width: 768px) {
  .blog-img {
    height: 200px;
  }
  
  .blog-content {
    padding: 1rem;
  }
  
  .blog-content h3 {
    font-size: 1.1rem;
  }
  
  .blog-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .post-title {
    font-size: 2rem;
  }
  
  .post-content {
    padding: 1.5rem;
  }
  
  .post-meta {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .author-bio {
    flex-direction: column;
    text-align: center;
  }
  
  .share-buttons {
    justify-content: center;
  }
  
  .blog-sidebar {
    position: static;
    margin-top: 2rem;
  }
}
