/* ==========================================
   PAGE DETAIL STYLES - AYRI CSS DOSYASI
   Mevcut style.css dosyasını etkilemez
   ========================================== */

/* Hero Image Section */
.hero-image-section {
  margin: 2rem 0;
}

.hero-image-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Page Detail Container */
.page-detail-container {
  padding: 2rem 0 4rem;
  background-color: #fff;
}

/* Page Detail Header */
.page-detail-header {
  text-align: center;
  margin-bottom: 3rem;
}

.page-detail-title {
  color: var(--primary-color);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-detail-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Content Sections */
.detail-section {
  margin-bottom: 3rem;
  padding: 0;
}

.detail-section-title {
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--secondary-color);
  display: inline-block;
}

.detail-section-content {
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.7;
}

.detail-section-content p {
  margin-bottom: 1.2rem;
}

.detail-section-content ul,
.detail-section-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.detail-section-content li {
  margin-bottom: 0.5rem;
}

/* Image Gallery */
.detail-gallery {
  margin: 2rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background-color: #f8f9fa;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.gallery-item:hover .gallery-image {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(44, 85, 48, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: var(--white);
  font-size: 2rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: var(--white);
  padding: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Video Section */
.detail-video {
  margin: 2rem 0;
  text-align: center;
}

.video-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.video-placeholder {
  background-color: var(--accent-color);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.1rem;
  border: 2px dashed var(--border-color);
}

.youtube-video {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
}

/* FAQ Section */
.detail-faq {
  margin: 2rem 0;
}

.faq-item {
  background: var(--accent-color);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.faq-question {
  padding: 1.2rem 1.5rem;
  background-color: var(--white);
  border: none;
  width: 100%;
  text-align: left;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: var(--accent-color);
}

.faq-question.active {
  background-color: var(--primary-color);
  color: var(--white);
}

.faq-icon {
  transition: transform 0.3s ease;
  font-size: 1.2rem;
}

.faq-question.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background-color: var(--white);
}

.faq-answer.active {
  padding: 1.2rem 1.5rem;
  max-height: 500px;
}

.faq-answer p {
  margin: 0;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Features List */
.detail-features {
  margin: 2rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.feature-item {
  background: var(--accent-color);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--white);
  font-size: 1.5rem;
}

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

.feature-description {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Activities Grid */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.activity-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--accent-color);
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.activity-icon {
  width: 70px;
  height: 70px;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.8rem;
  color: var(--white);
}

.activity-item h4 {
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

/* Lightbox Styles */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s ease;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
}

.lightbox-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: var(--secondary-color);
}

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: none;
  font-size: 24px;
  font-weight: bold;
  padding: 15px 20px;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(212, 165, 116, 0.8);
}

.lightbox-prev {
  left: -60px;
}

.lightbox-next {
  right: -60px;
}

.lightbox-caption {
  color: var(--white);
  font-size: 1.1rem;
  margin-top: 1rem;
  font-weight: 500;
}

.lightbox-counter {
  color: var(--white);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  opacity: 0.8;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Contact Info Box */
.detail-contact-box {
  background: var(--primary-color);
  color: var(--white);
  padding: 2rem;
  border-radius: 12px;
  margin: 3rem 0;
  text-align: center;
}

.contact-box-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-box-text {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.contact-box-button {
  background-color: var(--secondary-color);
  color: var(--white);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.contact-box-button:hover {
  background-color: #c19660;
  color: var(--white);
}

/* Breadcrumb */
.detail-breadcrumb {
  background: #f8f9fa;
  padding: 1rem 0;
  margin-bottom: 2rem;
}

.breadcrumb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
  content: '/';
  margin: 0 0.5rem;
  color: #6c757d;
}

.breadcrumb-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb-link:hover {
  color: var(--secondary-color);
}

.breadcrumb-current {
  color: var(--text-light);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-image-wrapper {
    height: 300px;
  }
  
  .hero-image-title {
    font-size: 2rem;
  }
  
  .hero-image-subtitle {
    font-size: 1rem;
  }
  
  .hero-image-content {
    padding: 1rem;
  }
  
  .page-detail-title {
    font-size: 2rem;
  }
  
  .detail-section-title {
    font-size: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .detail-contact-box {
    padding: 1.5rem;
  }
  
  .page-detail-container {
    padding: 1rem 0 2rem;
  }
}

@media (max-width: 576px) {
  .hero-image-wrapper {
    height: 250px;
  }
  
  .hero-image-title {
    font-size: 1.8rem;
  }
  
  .hero-image-subtitle {
    font-size: 0.95rem;
  }
  
  .page-detail-title {
    font-size: 1.8rem;
  }
  
  .detail-section-title {
    font-size: 1.3rem;
  }
  
  .faq-question {
    padding: 1rem;
    font-size: 0.95rem;
  }
  
  .faq-answer.active {
    padding: 1rem;
  }
} 