/* ══════════════════════════════════════════════
   ROMART STUDIO — Hero & Anasayfa Ozel Stiller
   ══════════════════════════════════════════════ */

/* ── Hero Navbar Gradient Overlay ── */
#hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 140px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 60%, transparent 100%);
  z-index: 40;
  pointer-events: none;
}

/* ── Hero Slider ── */
.hero-slide { position: absolute; inset: 0; opacity: 0; z-index: 1; transition: opacity 1.2s ease; }
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide:not(.active) .relative.z-10 { visibility: hidden; }
.hero-slide.active .relative.z-10 { visibility: visible; }
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-bullet {
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid #ccc; background: transparent;
  cursor: pointer; transition: all 0.3s ease;
}
.hero-bullet.active { background: #1a1a1a; border-color: #1a1a1a; }
.hero-arrow {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(0,0,0,0.3); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  color: #fff; cursor: pointer; transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.2);
  opacity: 0;
}
#hero:hover .hero-arrow { opacity: 1; }
.hero-arrow:hover { background: rgba(200,150,44,0.7); border-color: #c8962c; }
@media (max-width: 640px) { .hero-arrow { display: none; } }
#hero { aspect-ratio: 2.2/1; border-radius: 8px; }
@media (max-width: 639px) { #hero { border-radius: 0 !important; } }

/* ── Hero Vine Dekoratif Cizgi ── */
@keyframes vineGrowUp {
  0% { clip-path: inset(100% 0 0 0); opacity: 0; }
  5% { opacity: 0.8; }
  45% { clip-path: inset(0 0 0 0); opacity: 0.8; }
  70% { clip-path: inset(0 0 0 0); opacity: 0.5; }
  100% { clip-path: inset(0 0 0 0); opacity: 0; }
}
@keyframes vineGrowDown {
  0% { clip-path: inset(0 0 100% 0); opacity: 0; }
  5% { opacity: 0.8; }
  45% { clip-path: inset(0 0 0 0); opacity: 0.8; }
  70% { clip-path: inset(0 0 0 0); opacity: 0.5; }
  100% { clip-path: inset(0 0 0 0); opacity: 0; }
}
.hero-vine {
  position: absolute; width: 10px;
  pointer-events: none; z-index: 5;
}
.hero-vine-up { bottom: calc(50% + 10px); height: 38%; }
.hero-vine-down { top: calc(50% + 10px); height: 38%; }
.hero-vine svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 1px 2px rgba(200,150,44,0.25));
}
.hero-vine svg path {
  fill: #c8962c;
  animation-duration: 8s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.hero-vine-up svg path { animation-name: vineGrowUp; }
.hero-vine-down svg path { animation-name: vineGrowDown; animation-delay: 0.3s; }
.hero-vine-left { left: calc((100% - 1340px) / 4); transform: translateX(-50%); }
.hero-vine-right { right: calc((100% - 1340px) / 4); transform: translateX(50%); }
.hero-vine-right svg { transform: scaleX(-1); }
@media (max-width: 1400px) { .hero-vine { display: none; } }

/* ── Mobil Hero Sadelestirme ── */
@media (max-width: 639px) {
  .hero-pre-title { display: none; }
  .hero-subtitle { display: none; }
  .hero-slide h1 { font-size: 2rem !important; line-height: 1.15 !important; }
}

/* ── Roma Kemeri — Section ust cizgi overlay ── */
.roma-section-divider {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; transform: translateY(-50%);
}
.roma-section-divider svg { flex-shrink: 0; filter: drop-shadow(0 2px 6px rgba(200,150,44,0.25)); }
.roma-section-divider .roma-line-left,
.roma-section-divider .roma-line-right {
  flex: 1; max-width: 300px; height: 2px;
}
.roma-section-divider .roma-line-left {
  background: linear-gradient(to right, transparent 0%, rgba(200,150,44,0.1) 20%, rgba(200,150,44,0.7) 100%);
}
.roma-section-divider .roma-line-right {
  background: linear-gradient(to left, transparent 0%, rgba(200,150,44,0.1) 20%, rgba(200,150,44,0.7) 100%);
}
.roma-on-dark .roma-line-left {
  background: linear-gradient(to right, transparent 0%, rgba(212,168,64,0.15) 20%, rgba(212,168,64,0.85) 100%) !important;
  height: 2px !important; max-width: 320px !important;
}
.roma-on-dark .roma-line-right {
  background: linear-gradient(to left, transparent 0%, rgba(212,168,64,0.15) 20%, rgba(212,168,64,0.85) 100%) !important;
  height: 2px !important; max-width: 320px !important;
}
.roma-on-dark svg { filter: drop-shadow(0 2px 10px rgba(212,168,64,0.5)) !important; }
@keyframes roma-stroke-draw {
  0% { stroke-dashoffset: var(--dash); }
  100% { stroke-dashoffset: 0; }
}
@keyframes roma-fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.roma-draw { opacity: 0; }
.roma-section-divider.visible .roma-draw {
  animation: roma-fade-in 0.4s ease forwards, roma-stroke-draw 1.2s ease forwards;
}
.roma-section-divider.visible .roma-draw:nth-child(1) { animation-delay: 0s, 0s; }
.roma-section-divider.visible .roma-draw:nth-child(2) { animation-delay: 0.1s, 0.1s; }
.roma-section-divider.visible .roma-draw:nth-child(3) { animation-delay: 0.2s, 0.2s; }
.roma-section-divider.visible .roma-draw:nth-child(4) { animation-delay: 0.3s, 0.3s; }
.roma-section-divider.visible .roma-draw:nth-child(5) { animation-delay: 0.4s, 0.4s; }
.roma-section-divider.visible .roma-draw:nth-child(6) { animation-delay: 0.5s, 0.5s; }
.roma-section-divider.visible .roma-draw:nth-child(7) { animation-delay: 0.6s, 0.6s; }
.roma-section-divider.visible .roma-draw:nth-child(8) { animation-delay: 0.7s, 0.7s; }
.roma-section-divider.visible .roma-draw:nth-child(9) { animation-delay: 0.8s, 0.8s; }
.roma-draw-last { opacity: 0; }
.roma-section-divider.visible .roma-draw-last {
  animation: roma-fade-in 0.4s ease 0.9s forwards;
}
.roma-section-divider.visible .roma-line-left,
.roma-section-divider.visible .roma-line-right {
  animation: roma-fade-in 0.8s ease 0.3s forwards;
  opacity: 0;
}

/* ── Roma Section Numara Watermark ── */
.roma-numeral {
  position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
  font-size: clamp(80px, 12vw, 160px);
  color: rgba(200,150,44,0.08);
  pointer-events: none; user-select: none; z-index: 0;
  font-family: 'Cormorant Garamond', serif; font-weight: 700;
}

/* ── Ornamental Section Title Divider ── */
.ornament-line {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-top: 16px;
}
.ornament-line::before, .ornament-line::after {
  content: ''; height: 1px; width: 60px;
  background: linear-gradient(to right, transparent, rgba(200,150,44,0.4), transparent);
}
.ornament-diamond {
  width: 8px; height: 8px; background: rgba(200,150,44,0.5);
  transform: rotate(45deg); flex-shrink: 0;
}

/* ── Konsept Grid Hover ── */
.concept-card .concept-overlay {
  opacity: 1; transition: opacity 0.4s ease;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
}
@media (min-width: 768px) {
  .concept-card .concept-overlay { opacity: 0; }
  .concept-card:hover .concept-overlay { opacity: 1; }
}
.concept-card:hover img { transform: scale(1.08); }
.concept-card img { transition: transform 0.6s ease; }

/* ── Testimonial Carousel (CSS Scroll Snap) ── */
.testimonial-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; padding: 4px 0; }
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-card { scroll-snap-align: center; flex-shrink: 0; width: calc((100% - 40px) / 3); -webkit-user-select: none; user-select: none; }
@media (max-width: 1023px) { .testimonial-card { width: 85vw; } }
.testimonial-dot-wrap { display: flex; gap: 10px; justify-content: center; margin-top: 1.5rem; }
.testimonial-dot { cursor: pointer; transition: all 0.3s ease; }
@media (max-width: 1023px) { .testimonial-dot { width: 12px !important; height: 12px !important; } }

/* ── Video SSS ── */
.video-faq-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.video-faq-track::-webkit-scrollbar { display: none; }
.video-faq-item { scroll-snap-align: start; flex-shrink: 0; }

/* ── Accordion ── */
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.accordion-content.open { max-height: 500px; }
.accordion-btn .accordion-icon { transition: transform 0.3s ease; }
.accordion-btn.open .accordion-icon { transform: rotate(45deg); }

/* ── Hizmet Kartlari Yatay Scroll ── */
.services-scroll { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 8px; }
.services-scroll::-webkit-scrollbar { display: none; }
.service-card { scroll-snap-align: start; flex-shrink: 0; width: 260px; }
@media (min-width: 1024px) { .services-scroll { justify-content: center; overflow-x: visible; } .service-card { width: auto; flex: 1; max-width: 280px; } }
