/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f5f5f5;
  overflow-x: hidden;
}

/* Top Banner */
.top-banner {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.top-banner h1 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

/* Call to Action Banner */
.cta-banner {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: #fff;
  text-align: center;
  padding: 20px 15px;
  margin-top: 60px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-banner:hover {
  background: linear-gradient(135deg, #1565c0 0%, #1976d2 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 60, 114, 0.3);
}

.cta-banner h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.gold-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffd700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Profiles Container */
.profiles-container {
  padding: 20px 15px;
  max-width: 600px;
  margin: 0 auto;
}

/* Profile Cards */
.profile-card {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.profile-header {
  background: #000;
  color: #fff;
  padding: 12px 15px;
}

.profile-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.profile-content {
  display: flex;
  min-height: 120px;
}

.profile-info {
  flex: 1;
  padding: 15px;
  background: #e3f2fd;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-item {
  margin-bottom: 8px;
}

.info-item .label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #1976d2;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.contact-info i {
  color: #25d366;
  font-size: 1.1rem;
}

.contact-info span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1976d2;
}

.profile-image {
  flex: 1;
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  overflow: hidden;
}

.image-placeholder {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
}

.real-photo-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 5px 8px;
  border-radius: 15px;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.real-photo-badge i {
  font-size: 0.6rem;
}

/* Image Slider Styles */
.image-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

/* Mobile responsive image fix - show full images instead of cropping */
@media (max-width: 768px) {
  .slider-image {
    object-fit: contain;
    background: #f5f5f5;
    padding: 5px;
  }
}

.slider-image.active {
  opacity: 1;
  z-index: 2;
}

/* Hover effect for image slider */
.profile-card:hover .slider-image {
  transform: scale(1.05);
  transition: transform 0.3s ease, opacity 0.8s ease-in-out;
}

/* Animation for smooth sliding */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slider-image.slide-in {
  animation: slideIn 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 480px) {
  .profiles-container {
    padding: 15px 10px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .profile-card {
    margin-bottom: 0;
    min-width: 0;
  }

  .profile-header h3 {
    font-size: 0.9rem;
  }

  .profile-content {
    flex-direction: column;
    min-height: auto;
  }

  .profile-image {
    min-height: 120px;
  }

  .profile-info {
    padding: 8px;
  }

  .info-item {
    margin-bottom: 4px;
  }

  .info-item .label {
    font-size: 0.7rem;
  }

  .contact-info {
    gap: 4px;
  }

  .contact-info span {
    font-size: 0.8rem;
  }

  .cta-banner h2 {
    font-size: 1rem;
  }

  .gold-text {
    font-size: 1.3rem;
  }
}

@media (min-width: 481px) and (max-width: 767px) {
  .profiles-container {
    padding: 20px 15px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 100%;
  }

  .profile-card {
    margin-bottom: 0;
  }

  .profile-header h3 {
    font-size: 1rem;
  }

  .profile-info {
    padding: 10px;
  }
}

@media (min-width: 768px) {
  .profiles-container {
    max-width: 800px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
  }

  .profile-card {
    margin-bottom: 0;
  }
}

/* Animation for profile cards */
.profile-card {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

.profile-card:nth-child(1) {
  animation-delay: 0.1s;
}
.profile-card:nth-child(2) {
  animation-delay: 0.2s;
}
.profile-card:nth-child(3) {
  animation-delay: 0.3s;
}
.profile-card:nth-child(4) {
  animation-delay: 0.4s;
}
.profile-card:nth-child(5) {
  animation-delay: 0.5s;
}
.profile-card:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover effects */
.profile-card:hover .profile-image {
  background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
}

.profile-card:hover .real-photo-badge {
  background: rgba(255, 107, 107, 0.9);
}

/* Click effect */
.profile-card:active {
  transform: scale(0.98);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading state */
.profile-card.loading {
  pointer-events: none;
  opacity: 0.7;
}

/* Status indicators */
.status-online {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 12px;
  height: 12px;
  background: #4caf50;
  border-radius: 50%;
  border: 2px solid #fff;
}

.status-busy {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 12px;
  height: 12px;
  background: #f44336;
  border-radius: 50%;
  border: 2px solid #fff;
}

/* Additional styling for better mobile experience */
@media (max-width: 360px) {
  .profile-info {
    padding: 12px;
  }

  .info-item .label {
    font-size: 0.8rem;
  }

  .contact-info span {
    font-size: 0.85rem;
  }

  .real-photo-badge {
    font-size: 0.65rem;
    padding: 4px 6px;
  }
}

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

.modal.show {
  display: block;
}

.modal-content {
  background-color: #f5f5f5;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  animation: slideInUp 0.3s ease;
}

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

@keyframes slideInUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Modal Header */
.modal-header {
  background: #1976d2;
  padding: 15px 20px;
  color: white;
}

.back-btn {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  font-family: inherit;
}

.back-btn:hover {
  opacity: 0.8;
}

/* Contact Buttons */
.contact-buttons {
  display: flex;
  gap: 15px;
  padding: 20px;
}

.contact-btn {
  flex: 1;
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.2s ease;
}

.contact-btn:hover {
  transform: translateY(-2px);
}

.call-btn {
  background: #1976d2;
  color: white;
}

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

/* Profile Title */
.profile-title {
  text-align: center;
  padding: 0 20px 20px;
  background: #f5f5f5;
}

.profile-title h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #333;
}

.profile-title span {
  font-size: 18px;
  color: #666;
  text-decoration: underline;
}

/* Photo Gallery */
.photo-gallery {
  background: white;
  margin: 0 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.main-photo {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

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

/* Mobile responsive main photo fix */
@media (max-width: 768px) {
  .main-photo img {
    object-fit: contain;
    background: #f5f5f5;
    padding: 5px;
  }
}

.photo-badges {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.badge {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.badge-anal {
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
}

.badge-rating {
  background: linear-gradient(135deg, #ffd700, #ffed4a);
  color: #333;
  text-align: center;
  line-height: 1.2;
}

.badge-massage {
  background: linear-gradient(135deg, #e91e63, #f48fb1);
}

.next-photo-btn {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background 0.3s ease;
}

.next-photo-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Thumbnail Gallery */
.thumbnail-gallery {
  display: flex;
  gap: 10px;
  padding: 15px;
  overflow-x: auto;
  background: #f9f9f9;
}

.thumbnail {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

/* Mobile responsive thumbnail size increase */
@media (max-width: 768px) {
  .thumbnail {
    width: 80px;
    height: 80px;
  }
}

.thumbnail.active {
  border-color: #1976d2;
}

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

/* Mobile responsive thumbnail fix */
@media (max-width: 768px) {
  .thumbnail img {
    object-fit: contain;
    background: #f9f9f9;
  }
}

.thumbnail:hover {
  border-color: #ff6b6b;
}

/* Profile Details */
.profile-details {
  padding: 20px;
  background: white;
  margin: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.detail-section h3 {
  font-size: 20px;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-label {
  font-weight: 600;
  color: #666;
  font-size: 16px;
}

.detail-item span:last-child {
  color: #333;
  font-size: 16px;
}

/* Mobile Responsive */
@media (max-width: 480px) {
  .contact-buttons {
    padding: 15px;
    gap: 10px;
  }

  .contact-btn {
    padding: 12px;
    font-size: 14px;
  }

  .photo-gallery {
    margin: 0 15px;
  }

  .profile-details {
    margin: 15px;
    padding: 15px;
  }

  .main-photo {
    height: 350px;
  }

  .badge {
    font-size: 10px;
    padding: 4px 8px;
  }
}

/* Tablet Responsive */
@media (min-width: 768px) {
  .modal-content {
    max-width: 600px;
    margin: 0 auto;
    height: 100vh;
  }

  .contact-buttons {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
  }

  .photo-gallery {
    max-width: 500px;
    margin: 0 auto 20px;
  }

  .profile-details {
    max-width: 500px;
    margin: 20px auto;
  }
}

/* Profile Detail Page Styles */
.profile-detail-page {
  min-height: 100vh;
  background: #f5f5f5;
  padding-bottom: 20px;
}

.profile-header-section {
  background: #1976d2;
  padding: 15px 20px;
  color: white;
}

.profile-header-section .back-btn {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  font-family: inherit;
}

.profile-header-section .back-btn:hover {
  opacity: 0.8;
}

.contact-buttons-section {
  display: flex;
  gap: 15px;
  padding: 20px;
  background: #f5f5f5;
}

.contact-buttons-section .contact-btn {
  flex: 1;
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.2s ease;
}

.contact-buttons-section .contact-btn:hover {
  transform: translateY(-2px);
}

.contact-buttons-section .call-btn {
  background: #1976d2;
  color: white;
}

.contact-buttons-section .whatsapp-btn {
  background: #25d366;
  color: white;
}

.profile-title-section {
  text-align: center;
  padding: 0 20px 20px;
  background: #f5f5f5;
}

.profile-title-section h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333;
}

.profile-title-section span {
  font-size: 20px;
  color: #666;
  text-decoration: underline;
}

.photo-gallery-section {
  background: white;
  margin: 0 20px 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.main-photo-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

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

/* Mobile responsive profile page main photo fix */
@media (max-width: 768px) {
  .main-photo-container img {
    object-fit: contain;
    background: #f5f5f5;
    padding: 8px;
  }
}

.thumbnail-gallery-section {
  display: flex;
  gap: 10px;
  padding: 15px;
  overflow-x: auto;
  background: #f9f9f9;
}

.thumbnail-gallery-section .thumbnail {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

/* Mobile responsive profile page thumbnail size increase */
@media (max-width: 768px) {
  .thumbnail-gallery-section .thumbnail {
    width: 80px;
    height: 80px;
  }
}

.thumbnail-gallery-section .thumbnail.active {
  border-color: #1976d2;
}

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

/* Mobile responsive profile page thumbnail fix */
@media (max-width: 768px) {
  .thumbnail-gallery-section .thumbnail img {
    object-fit: contain;
    background: #f9f9f9;
  }
}

.thumbnail-gallery-section .thumbnail:hover {
  border-color: #ff6b6b;
}

.profile-details-section {
  background: white;
  margin: 0 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.profile-details-section h2 {
  font-size: 22px;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

.profile-details-section .detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.profile-details-section .detail-item:last-child {
  border-bottom: none;
}

.profile-details-section .detail-label {
  font-weight: 600;
  color: #666;
  font-size: 16px;
}

.profile-details-section .detail-item span:last-child {
  color: #333;
  font-size: 16px;
  font-weight: 500;
}

/* Profile Description Section */
.profile-description-section {
  background: white;
  margin: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.profile-description-section h3 {
  font-size: 20px;
  color: #333;
  margin-bottom: 15px;
  text-align: center;
  border-bottom: 2px solid #1976d2;
  padding-bottom: 10px;
}

.description-content {
  line-height: 1.6;
  color: #555;
}

.description-content p {
  margin-bottom: 15px;
  font-size: 15px;
  text-align: justify;
}

.description-content p:last-child {
  margin-bottom: 0;
}

/* Mobile Responsive for Profile Page */
@media (max-width: 480px) {
  .contact-buttons-section {
    padding: 15px;
    gap: 10px;
  }

  .contact-buttons-section .contact-btn {
    padding: 12px;
    font-size: 14px;
  }

  .photo-gallery-section {
    margin: 0 15px 15px;
  }

  .profile-details-section {
    margin: 0 15px;
    padding: 15px;
  }

  .main-photo-container {
    height: 400px;
  }

  .profile-title-section h1 {
    font-size: 24px;
  }

  .profile-title-section span {
    font-size: 18px;
  }

  .profile-description-section {
    margin: 15px;
    padding: 15px;
  }

  .profile-description-section h3 {
    font-size: 18px;
  }

  .description-content p {
    font-size: 14px;
  }
}

/* Tablet Responsive for Profile Page */
@media (min-width: 768px) {
  .profile-detail-page {
    max-width: 600px;
    margin: 0 auto;
  }

  .contact-buttons-section {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
  }

  .photo-gallery-section {
    max-width: 500px;
    margin: 0 auto 20px;
  }

  .profile-details-section {
    max-width: 500px;
    margin: 0 auto;
  }

  .profile-description-section {
    max-width: 500px;
    margin: 20px auto;
  }
}

/* Fotoğraf Önizleme */
.photo-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
  margin-top: 15px;
}

.preview-image {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #e9ecef;
  transition: transform 0.3s ease;
}

.preview-image:hover {
  transform: scale(1.05);
}
