/* ========================================
   Işıltı Takı & Aksesuar - Ana Stil Dosyası
   ======================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #1A1A2E;
  --accent: #FFD700;
  --accent-dark: #D4A800;
  --secondary: #C0C0C0;
  --background: #FFFEF7;
  --text-dark: #1A1A2E;
  --text-light: #6B6B80;
  --gold-gradient: linear-gradient(135deg, #FFD700, #FFA500, #FFD700);
  --silver-gradient: linear-gradient(135deg, #C0C0C0, #E8E8E8, #C0C0C0);
  --dark-gradient: linear-gradient(135deg, #1A1A2E, #16213E, #0F3460);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--background);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.3;
}

.font-cormorant {
  font-family: 'Cormorant Garamond', serif;
}

/* ---- Gold Text Shimmer ---- */
.gold-text {
  background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700, #FFEC8B, #FFD700);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 3s ease-in-out infinite;
}

@keyframes goldShimmer {
  0% { background-position: 0% center; }
  50% { background-position: 200% center; }
  100% { background-position: 0% center; }
}

/* ---- Silver Text Shimmer ---- */
.silver-text {
  background: linear-gradient(90deg, #C0C0C0, #E8E8E8, #C0C0C0, #F5F5F5, #C0C0C0);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: silverShimmer 4s ease-in-out infinite;
}

@keyframes silverShimmer {
  0% { background-position: 0% center; }
  50% { background-position: 200% center; }
  100% { background-position: 0% center; }
}

/* ---- Sparkle Effect ---- */
.sparkle-container {
  position: relative;
  overflow: hidden;
}

.sparkle-container::before,
.sparkle-container::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: #FFD700;
  border-radius: 50%;
  opacity: 0;
  animation: sparkle 2s ease-in-out infinite;
  box-shadow: 0 0 6px 2px rgba(255, 215, 0, 0.6);
}

.sparkle-container::before {
  top: 20%;
  left: 15%;
  animation-delay: 0s;
}

.sparkle-container::after {
  top: 60%;
  right: 20%;
  animation-delay: 1s;
}

@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(180deg); }
}

/* ---- Multi-Sparkle Background ---- */
.sparkle-bg {
  position: relative;
}

.sparkle-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(2px 2px at 10% 20%, rgba(255, 215, 0, 0.8) 50%, transparent 100%),
    radial-gradient(2px 2px at 30% 70%, rgba(255, 215, 0, 0.6) 50%, transparent 100%),
    radial-gradient(2px 2px at 50% 40%, rgba(192, 192, 192, 0.8) 50%, transparent 100%),
    radial-gradient(2px 2px at 70% 80%, rgba(255, 215, 0, 0.5) 50%, transparent 100%),
    radial-gradient(2px 2px at 90% 30%, rgba(192, 192, 192, 0.7) 50%, transparent 100%),
    radial-gradient(1px 1px at 20% 90%, rgba(255, 215, 0, 0.6) 50%, transparent 100%),
    radial-gradient(1px 1px at 80% 10%, rgba(192, 192, 192, 0.5) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 60% 60%, rgba(255, 215, 0, 0.7) 50%, transparent 100%);
  animation: twinkle 4s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 1;
}

@keyframes twinkle {
  0% { opacity: 0.3; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}

/* ---- Luxury Button Styles ---- */
.btn-gold {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #1A1A2E;
  padding: 14px 36px;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.btn-gold::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.btn-gold:hover::after {
  animation: btnShine 0.6s ease forwards;
}

@keyframes btnShine {
  0% { left: -50%; opacity: 1; }
  100% { left: 150%; opacity: 0; }
}

.btn-outline-gold {
  background: transparent;
  color: #FFD700;
  padding: 12px 32px;
  border: 2px solid #FFD700;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-outline-gold:hover {
  background: #FFD700;
  color: #1A1A2E;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.btn-dark {
  background: var(--dark-gradient);
  color: #FFD700;
  padding: 14px 36px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-dark:hover {
  border-color: #FFD700;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
  transform: translateY(-2px);
}

/* ---- Elegant Divider ---- */
.elegant-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
}

.elegant-divider::before,
.elegant-divider::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #FFD700, transparent);
}

.elegant-divider span {
  margin: 0 16px;
  color: #FFD700;
  font-size: 1.2rem;
}

/* ---- Product Card ---- */
.product-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(192, 192, 192, 0.2);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(26, 26, 46, 0.15);
  border-color: rgba(255, 215, 0, 0.3);
}

.product-card .product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #f8f8f0, #f0f0e8);
}

.product-card .product-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.7s ease;
}

.product-card:hover .product-image::after {
  left: 100%;
}

.product-card .product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
}

.product-card .product-actions {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  transition: bottom 0.4s ease;
  background: linear-gradient(transparent, rgba(26,26,46,0.8));
}

.product-card:hover .product-actions {
  bottom: 0;
}

/* ---- Testimonial Card ---- */
.testimonial-card {
  background: #fff;
  padding: 2rem;
  border: 1px solid rgba(192, 192, 192, 0.2);
  position: relative;
  transition: all 0.4s ease;
}

.testimonial-card::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: rgba(255, 215, 0, 0.2);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-card:hover {
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 10px 30px rgba(26, 26, 46, 0.08);
}

/* ---- Star Rating ---- */
.stars {
  color: #FFD700;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

/* ---- Category Card ---- */
.category-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #f8f8f0, #e8e8e0);
}

.category-card .category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.85) 0%, rgba(26,26,46,0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: all 0.4s ease;
}

.category-card:hover .category-overlay {
  background: linear-gradient(to top, rgba(26,26,46,0.9) 0%, rgba(26,26,46,0.4) 60%, rgba(26,26,46,0.1) 100%);
}

.category-card .category-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  transition: transform 0.4s ease;
}

.category-card:hover .category-icon {
  transform: scale(1.15);
}

/* ---- Hero Section ---- */
.hero-section {
  min-height: 85vh;
  position: relative;
  display: flex;
  align-items: center;
  background: var(--dark-gradient);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(3px 3px at 15% 25%, rgba(255, 215, 0, 0.5) 50%, transparent 100%),
    radial-gradient(2px 2px at 35% 65%, rgba(255, 215, 0, 0.4) 50%, transparent 100%),
    radial-gradient(3px 3px at 55% 15%, rgba(192, 192, 192, 0.5) 50%, transparent 100%),
    radial-gradient(2px 2px at 75% 75%, rgba(255, 215, 0, 0.3) 50%, transparent 100%),
    radial-gradient(2px 2px at 85% 35%, rgba(192, 192, 192, 0.4) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 25% 85%, rgba(255, 215, 0, 0.4) 50%, transparent 100%),
    radial-gradient(2px 2px at 65% 45%, rgba(192, 192, 192, 0.3) 50%, transparent 100%),
    radial-gradient(1px 1px at 45% 55%, rgba(255, 215, 0, 0.5) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 95% 15%, rgba(255, 215, 0, 0.3) 50%, transparent 100%),
    radial-gradient(2px 2px at 5% 55%, rgba(192, 192, 192, 0.4) 50%, transparent 100%);
  animation: heroTwinkle 6s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes heroTwinkle {
  0% { opacity: 0.4; transform: rotate(0deg); }
  50% { opacity: 0.8; }
  100% { opacity: 0.5; transform: rotate(1deg); }
}

/* ---- Floating Animation ---- */
.float-animation {
  animation: floatUp 3s ease-in-out infinite;
}

@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---- Section Styles ---- */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
}

.section-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--text-light);
  text-align: center;
  font-style: italic;
}

/* ---- Newsletter Section ---- */
.newsletter-section {
  background: var(--dark-gradient);
  position: relative;
  overflow: hidden;
}

.newsletter-section input[type="email"] {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: #fff;
  padding: 14px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s ease;
}

.newsletter-section input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-section input[type="email"]:focus {
  border-color: #FFD700;
  background: rgba(255, 255, 255, 0.15);
}

/* ---- Form Styles ---- */
.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(192, 192, 192, 0.3);
  background: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: all 0.3s ease;
  outline: none;
}

.form-input:focus {
  border-color: #FFD700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(192, 192, 192, 0.3);
  background: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: all 0.3s ease;
  outline: none;
  resize: vertical;
  min-height: 140px;
}

.form-textarea:focus {
  border-color: #FFD700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

/* ---- Scroll Animations ---- */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Gold Border Accent ---- */
.gold-border-left {
  border-left: 3px solid #FFD700;
  padding-left: 1.5rem;
}

/* ---- Luxury Card ---- */
.luxury-card {
  background: #fff;
  border: 1px solid rgba(192, 192, 192, 0.15);
  transition: all 0.4s ease;
}

.luxury-card:hover {
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 0 15px 40px rgba(26, 26, 46, 0.1);
}

/* ---- Blog Card ---- */
.blog-card {
  background: #fff;
  border: 1px solid rgba(192, 192, 192, 0.15);
  overflow: hidden;
  transition: all 0.4s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(26, 26, 46, 0.1);
  border-color: rgba(255, 215, 0, 0.3);
}

.blog-card .blog-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f0e8, #e8e8e0);
}

/* ---- Collection Card ---- */
.collection-card {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  background: linear-gradient(135deg, #f0f0e8, #e8e8e0);
  cursor: pointer;
}

.collection-card .collection-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.9) 0%, rgba(26,26,46,0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: all 0.5s ease;
}

.collection-card:hover .collection-overlay {
  background: linear-gradient(to top, rgba(26,26,46,0.95) 0%, rgba(26,26,46,0.5) 60%, rgba(26,26,46,0.2) 100%);
}

/* ---- Price Tag ---- */
.price-tag {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--primary);
}

.price-tag .old-price {
  text-decoration: line-through;
  color: var(--text-light);
  font-weight: 400;
  font-size: 0.85em;
}

/* ---- Gift Card ---- */
.gift-card {
  background: #fff;
  border: 1px solid rgba(192, 192, 192, 0.15);
  padding: 2rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.gift-card:hover {
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 15px 40px rgba(26, 26, 46, 0.1);
  transform: translateY(-5px);
}

.gift-card .gift-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--primary), var(--accent-dark));
  border-radius: 4px;
}

/* ---- Selection ---- */
::selection {
  background: rgba(255, 215, 0, 0.3);
  color: var(--primary);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero-section {
    min-height: 70vh;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .section-subtitle {
    font-size: 1rem;
  }
}

/* ---- Page Header Banner ---- */
.page-header {
  background: var(--dark-gradient);
  padding: 6rem 0 3rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(2px 2px at 20% 30%, rgba(255, 215, 0, 0.4) 50%, transparent 100%),
    radial-gradient(2px 2px at 60% 70%, rgba(192, 192, 192, 0.3) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 80% 20%, rgba(255, 215, 0, 0.3) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 40% 80%, rgba(192, 192, 192, 0.4) 50%, transparent 100%);
  animation: twinkle 4s ease-in-out infinite alternate;
  pointer-events: none;
}

/* ---- Tabs ---- */
.tab-btn {
  padding: 10px 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(192, 192, 192, 0.3);
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
  border-color: #FFD700;
  color: #FFD700;
  background: rgba(255, 215, 0, 0.05);
}

/* ---- Process Steps ---- */
.process-step {
  text-align: center;
  position: relative;
}

.process-step .step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--dark-gradient);
  color: #FFD700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
  border: 2px solid rgba(255, 215, 0, 0.3);
}

/* ---- Marquee ---- */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  background: var(--primary);
  padding: 10px 0;
}

.marquee-content {
  display: inline-block;
  animation: marquee 30s linear infinite;
  color: #FFD700;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  letter-spacing: 3px;
}

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

/* ============================================
   Text & Image Overflow Protection
   ============================================ */

/* Break long words/URLs to prevent overflow */
body {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

p, li, td, th, span, a, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
}

/* Responsive tables */
table {
    max-width: 100%;
}

.table-responsive-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

/* Prevent pre/code blocks from overflowing */
pre, code {
    overflow-x: auto;
    max-width: 100%;
    white-space: pre-wrap;
    word-wrap: break-word;
}

