/**
 * FRO Stores Widget - Mağazalarımız
 * Şık ve animasyonlu tasarım
 */

/* ==========================================
   Grid Layout
   ========================================== */
.fro-stores {
  width: 100%;
}

.fro-stores__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ==========================================
   Store Card
   ========================================== */
.fro-store-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Decorative accent line */
.fro-store-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4a853, #e8c77b);
  transition: width 0.4s ease;
}

.fro-store-card:hover::before {
  width: 100%;
}

.fro-store-card:hover {
  border-color: #d4a853;
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(212, 168, 83, 0.15);
}

/* ==========================================
   Card Header
   ========================================== */
.fro-store-card__header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed #e5e7eb;
}

.fro-store-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 6px 0;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.fro-store-card:hover .fro-store-card__title {
  color: #d4a853;
}

.fro-store-card__location {
  font-size: 13px;
  font-weight: 600;
  color: #d4a853;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================
   Card Content
   ========================================== */
.fro-store-card__content {
  flex: 1;
  margin-bottom: 20px;
}

.fro-store-card__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.fro-store-card__row:last-child {
  margin-bottom: 0;
}

.fro-store-card__row--phone {
  align-items: center;
}

.fro-store-card__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #9ca3af;
  margin-top: 2px;
  transition: color 0.3s ease;
}

.fro-store-card__row--phone .fro-store-card__icon {
  margin-top: 0;
}

.fro-store-card:hover .fro-store-card__icon {
  color: #d4a853;
}

.fro-store-card__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.fro-store-card__info {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
}

.fro-store-card__phone {
  font-weight: 600;
  color: #1f2937;
  text-decoration: none;
  transition: color 0.3s ease;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

.fro-store-card__phone:hover {
  color: #d4a853;
}

/* ==========================================
   Card Footer / Button
   ========================================== */
.fro-store-card__footer {
  margin-top: auto;
}

.fro-store-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  background: #1f2937;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.fro-store-card__btn::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;
}

.fro-store-card__btn:hover::before {
  left: 100%;
}

.fro-store-card__btn:hover {
  background: #d4a853;
  transform: scale(1.02);
}

.fro-store-card__btn svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.fro-store-card__btn:hover svg {
  transform: translateX(3px) translateY(-3px);
}

/* ==========================================
   Animations
   ========================================== */
.fro-animate {
  opacity: 0;
  animation-fill-mode: forwards;
  animation-duration: 0.6s;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fade Up */
.fro-animate--fade-up {
  transform: translateY(30px);
  animation-name: froFadeUp;
}

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

/* Fade In */
.fro-animate--fade-in {
  animation-name: froFadeIn;
}

@keyframes froFadeIn {
  to {
    opacity: 1;
  }
}

/* Zoom In */
.fro-animate--zoom-in {
  transform: scale(0.9);
  animation-name: froZoomIn;
}

@keyframes froZoomIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Slide Left */
.fro-animate--slide-left {
  transform: translateX(40px);
  animation-name: froSlideLeft;
}

@keyframes froSlideLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 1024px) {
  .fro-stores__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .fro-stores__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .fro-store-card {
    padding: 20px;
  }
  
  .fro-store-card__title {
    font-size: 16px;
  }
  
  .fro-store-card__btn {
    padding: 12px 20px;
  }
}

/* ==========================================
   Dark Mode Support
   ========================================== */
@media (prefers-color-scheme: dark) {
  .fro-store-card {
    background: #1f2937;
    border-color: #374151;
  }
  
  .fro-store-card__title {
    color: #f9fafb;
  }
  
  .fro-store-card__info {
    color: #d1d5db;
  }
  
  .fro-store-card__phone {
    color: #f9fafb;
  }
  
  .fro-store-card__header {
    border-bottom-color: #374151;
  }
}
