/* Gökçe Dekorasyon Custom Mix Styles */

/* 1. Header Styles */
.header .logo img {
  max-height: 45px;
}
.header-menu .header-link {
  transition: all 0.3s ease;
}
.header-menu .header-link:hover {
  color: var(--bs-primary) !important;
}

/* 2. Custom Service Cards (Woodrox Style integrated in Studiova Theme) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  background: var(--bs-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 30px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--bs-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(193, 255, 114, 0.2);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon-box {
  width: 60px;
  height: 60px;
  background: rgba(193, 255, 114, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--bs-primary);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon-box {
  background: var(--bs-primary);
  color: var(--bs-secondary);
}

.service-card h4 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.service-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* 3. Filterable Gallery (Arclabs Style) */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.gallery-filter-btn {
  background: transparent;
  border: 1px solid rgba(31, 42, 46, 0.15);
  color: var(--bs-secondary);
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-filter-btn.active, 
.gallery-filter-btn:hover {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
  color: var(--bs-secondary);
  box-shadow: 0 4px 15px rgba(193, 255, 114, 0.3);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.gallery-item {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  box-shadow: var(--bs-box-shadow);
  transition: all 0.4s ease;
}

.gallery-item.hide {
  display: none;
}

.gallery-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(31, 42, 46, 0.1) 0%, rgba(31, 42, 46, 0.9) 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  transition: opacity 0.4s ease;
  z-index: 2;
}

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

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

.gallery-overlay h4 {
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 6px;
  font-weight: 700;
  transform: translateY(15px);
  transition: transform 0.4s ease;
}

.gallery-overlay p {
  color: var(--bs-primary);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0;
  transform: translateY(15px);
  transition: transform 0.4s ease 0.1s;
}

.gallery-item:hover .gallery-overlay h4,
.gallery-item:hover .gallery-overlay p {
  transform: translateY(0);
}

/* 4. Why Choose Us Custom Card styling */
.why-card {
  border: 1px solid rgba(31, 42, 46, 0.08);
  border-radius: 20px;
  padding: 35px;
  transition: all 0.3s ease;
}

.why-card:hover {
  background: var(--bs-light-gray);
  transform: translateY(-5px);
}

.why-icon {
  font-size: 2.5rem;
  color: var(--bs-secondary);
  margin-bottom: 20px;
}

/* 5. Smooth Scroll Adjustments */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

header.fixed-header {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Fix video container overlap issue if any */
.banner-section video {
  z-index: 0;
}
.banner-section .container {
  position: relative;
  z-index: 2;
}
.banner-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(31, 42, 46, 0.4); /* dark overlay to make text readable */
  z-index: 1;
}

/* Contact Area input focus states */
.form-control:focus {
  border-color: var(--bs-primary) !important;
  box-shadow: 0 0 0 0.25rem rgba(193, 255, 114, 0.25) !important;
}

/* 6. Custom Button Progressive Fill & Slide Override */
.btn-primary-custom {
  position: relative !important;
  overflow: hidden !important;
  z-index: 1 !important;
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  color: var(--bs-secondary) !important;
  transition: color 0.4s ease, border-color 0.4s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.btn-primary-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bs-secondary); /* Dark slate fill color */
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-primary-custom:hover::before {
  transform: scaleX(1);
}

.btn-primary-custom:hover {
  color: var(--bs-primary) !important;
  border-color: var(--bs-secondary) !important;
}

/* Disable sliding/moving of text and icon inside our custom button */
.btn-primary-custom .btn-text,
.btn-primary-custom .btn-icon {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  transition: all 0.4s ease !important;
  z-index: 2 !important;
  margin: 0 !important;
}

.btn-primary-custom .btn-text {
  padding-inline-end: 15px !important;
}

.btn-primary-custom:hover .btn-text {
  color: var(--bs-primary) !important;
  transform: none !important;
}

.btn-primary-custom:hover .btn-icon {
  left: auto !important;
  transform: none !important;
  background-color: var(--bs-primary) !important;
  color: var(--bs-secondary) !important;
}

/* 7. Header Logo Flex Aligned & Display Rules */
.header .logo a {
  display: flex !important;
  align-items: center;
  gap: 12px;
}
.header .logo a.logo-white {
  display: flex !important;
}
.header .logo a.logo-dark {
  display: none !important;
}
.header.fixed-header .logo a.logo-white {
  display: none !important;
}
.header.fixed-header .logo a.logo-dark {
  display: flex !important;
}

/* 8. WhatsApp Floating Action Button */
.whatsapp-fab {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  animation: whatsapp-pulse 2s infinite;
}

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

.whatsapp-fab-icon {
  font-size: 32px;
  color: #fff;
}

/* Tooltip on hover */
.whatsapp-fab-tooltip {
  position: absolute;
  left: 72px;
  background: var(--bs-secondary, #1f2a2e);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.whatsapp-fab-tooltip::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 6px 6px 0;
  border-style: solid;
  border-color: transparent var(--bs-secondary, #1f2a2e) transparent transparent;
}

.whatsapp-fab:hover .whatsapp-fab-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Pulse animation for attention */
@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .whatsapp-fab {
    width: 52px;
    height: 52px;
    bottom: 20px;
    left: 20px;
  }
  .whatsapp-fab-icon {
    font-size: 28px;
  }
  .whatsapp-fab-tooltip {
    display: none;
  }
}

/* ============================================
   9. HERO OUTLINE BUTTON
   ============================================ */

.btn-outline-hero {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-outline-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-outline-hero:hover {
  color: var(--bs-secondary);
  border-color: #fff;
}

.btn-outline-hero:hover::before {
  transform: scaleX(1);
}

/* ============================================
   10. TESTIMONIAL TICKER (CSS-only Marquee)
   ============================================ */

.testimonial-ticker {
  overflow: hidden;
  position: relative;
  width: 100%;
}

/* Kenarları yumuşat */
.testimonial-ticker::before,
.testimonial-ticker::after {
  content: '';
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.testimonial-ticker::before {
  left: 0;
  background: linear-gradient(to right, var(--bs-light-gray, #f5f5f5), transparent);
}

.testimonial-ticker::after {
  right: 0;
  background: linear-gradient(to left, var(--bs-light-gray, #f5f5f5), transparent);
}

/* Track — sonsuz kayan şerit */
.testimonial-ticker-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: ticker-scroll 50s linear infinite;
  will-change: transform;
}

/* HOVER'DA DUR */
.testimonial-ticker:hover .testimonial-ticker-track {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Kart stilleri */
.testimonial-card {
  flex-shrink: 0;
  width: 380px;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Renk varyasyonları */
.testimonial-card.tc-green {
  background: var(--bs-primary);
  color: var(--bs-secondary);
}

.testimonial-card.tc-dark {
  background: var(--bs-secondary);
  color: #fff;
}
.tc-dark .tc-category,
.tc-dark .tc-quote,
.tc-dark .tc-author h5,
.tc-dark .tc-author p {
  color: #fff !important;
}

.testimonial-card.tc-light {
  background: #fff;
  color: var(--bs-secondary);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

/* Kart içerik stilleri */
.tc-category {
  font-size: 0.85rem;
  margin-bottom: 8px;
  opacity: 0.7;
}

.tc-quote {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
}

.tc-stars {
  font-size: 1rem;
  letter-spacing: 2px;
}

.tc-green .tc-stars { color: var(--bs-secondary); }
.tc-dark .tc-stars { color: var(--bs-primary); }
.tc-light .tc-stars { color: #f5a623; }

.tc-author h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.tc-author p {
  font-size: 0.85rem;
  margin-bottom: 0;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
  .testimonial-card {
    width: 300px;
    padding: 24px;
  }

  .tc-quote {
    font-size: 1rem;
  }

  .testimonial-ticker::before,
  .testimonial-ticker::after {
    width: 30px;
  }
}

/* ============================================
   11. PREMIUM FOOTER STYLES
   ============================================ */

.premium-footer {
  position: relative;
  overflow: hidden;
}

/* Üst dekoratif gradient çizgi */
.footer-top-accent {
  height: 4px;
  background: linear-gradient(90deg, 
    var(--bs-primary) 0%, 
    #7cfc00 25%, 
    var(--bs-primary) 50%, 
    #a8ff50 75%, 
    var(--bs-primary) 100%
  );
  background-size: 200% 100%;
  animation: footer-accent-slide 4s linear infinite;
}

@keyframes footer-accent-slide {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Ana footer gövdesi */
.footer-main {
  background: linear-gradient(170deg, #111a1e 0%, #0a1014 50%, #0d1519 100%);
  padding: 70px 0 50px;
  position: relative;
}

.footer-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 10% 20%, rgba(193, 255, 114, 0.03) 0%, transparent 50%),
              radial-gradient(ellipse at 90% 80%, rgba(193, 255, 114, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

/* --- Logo ve Marka Alanı --- */
.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  margin-bottom: 22px;
  transition: all 0.3s ease;
}

.footer-logo-link:hover {
  transform: translateX(5px);
}

.footer-logo-img {
  border-radius: 50%;
  background: #fff;
  padding: 4px;
  box-shadow: 0 4px 15px rgba(193, 255, 114, 0.2);
  transition: box-shadow 0.3s ease;
}

.footer-logo-link:hover .footer-logo-img {
  box-shadow: 0 4px 25px rgba(193, 255, 114, 0.4);
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.footer-brand-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
}

.footer-brand-accent {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bs-primary);
  letter-spacing: 3px;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 320px;
}

/* --- Sosyal Medya İkonları --- */
.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social-link {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.25rem;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.footer-social-link:hover {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
  color: var(--bs-secondary);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(193, 255, 114, 0.25);
}

/* --- Widget Başlıkları --- */
.footer-widget-title {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 12px;
  position: relative;
  letter-spacing: 0.5px;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--bs-primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.footer-widget:hover .footer-widget-title::after {
  width: 50px;
}

/* --- Hızlı Linkler --- */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  padding-left: 0;
}

.footer-links li a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--bs-primary);
  transition: width 0.3s ease;
  position: absolute;
  bottom: -2px;
  left: 0;
}

.footer-links li a:hover {
  color: var(--bs-primary);
  padding-left: 8px;
}

.footer-links li a:hover::before {
  width: 100%;
}

/* --- İletişim Listesi --- */
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

.footer-contact li a,
.footer-contact li span {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
  word-break: break-word;
}

.footer-contact li a:hover {
  color: var(--bs-primary);
}

.footer-contact-icon {
  color: var(--bs-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Çalışma Saatleri --- */
.footer-hours {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-hours-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.footer-hours-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-hours-time {
  text-align: right;
  color: var(--bs-primary);
  font-weight: 600;
}

.footer-hours-time.closed {
  color: #ff6b6b;
}

/* --- Alt Copyright Barı --- */
.footer-bottom {
  background: rgba(0, 0, 0, 0.35);
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

.footer-copyright strong {
  color: rgba(255, 255, 255, 0.7);
}

.footer-credit {
  margin: 0;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
}

.footer-credit a {
  color: var(--bs-primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-credit a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(193, 255, 114, 0.4);
}

/* --- Footer Responsive --- */
@media (max-width: 991px) {
  .footer-main {
    padding: 50px 0 40px;
  }
}

@media (max-width: 767px) {
  .footer-main {
    padding: 40px 0 30px;
  }
  
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
  
  .footer-desc {
    max-width: 100%;
  }

  .footer-social {
    justify-content: flex-start;
  }
}
