/* İnek Temalı 3B Font CSS Dosyası */
@font-face {
  font-family: 'MooFont';
  src: url('../fonts/Flaticon.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Ana 3D İnek Font Stili */
.cow-3d-font {
  font-family: 'MooFont', sans-serif;
  color: white;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 
    0 1px 0 #ccc,
    0 2px 0 #c9c9c9,
    0 3px 0 #bbb,
    0 4px 0 #b9b9b9,
    0 5px 0 #aaa,
    0 6px 1px rgba(0,0,0,.1),
    0 0 5px rgba(0,0,0,.1),
    0 1px 3px rgba(0,0,0,.3),
    0 3px 5px rgba(0,0,0,.2),
    0 5px 10px rgba(0,0,0,.25),
    0 10px 10px rgba(0,0,0,.2);
  position: relative;
  padding: 5px 0;
  transform-style: preserve-3d;
  transform: perspective(500px) rotateX(5deg);
  transition: all 0.3s ease;
}

.cow-3d-font:hover {
  transform: perspective(500px) rotateX(10deg) translateY(-5px);
  text-shadow: 
    0 1px 0 #ccc,
    0 2px 0 #c9c9c9,
    0 3px 0 #bbb,
    0 6px 0 #b9b9b9,
    0 7px 0 #aaa,
    0 8px 1px rgba(0,0,0,.1),
    0 0 7px rgba(0,0,0,.1),
    0 1px 5px rgba(0,0,0,.3),
    0 5px 7px rgba(0,0,0,.2),
    0 7px 12px rgba(0,0,0,.25),
    0 12px 12px rgba(0,0,0,.2);
}

/* Benekli Başlık Stili - İnek Deseni */
.cow-spotted-title {
  font-family: 'MooFont', sans-serif;
  font-weight: 800;
  background: linear-gradient(45deg, white 70%, #333 70%, #333 75%, white 75%);
  background-size: 20px 20px;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 
    4px 4px 0 rgba(0,0,0,0.2),
    7px 7px 0 rgba(0,0,0,0.1);
  letter-spacing: 2px;
  position: relative;
}

.cow-spotted-title::before {
  content: attr(data-text);
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: -1;
  color: rgba(0, 0, 0, 0.1);
  filter: blur(10px);
}

/* Süt Damla Alt Başlık */
.milk-drip-subtitle {
  font-family: 'MooFont', sans-serif;
  position: relative;
  color: white;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.milk-drip-subtitle::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 10px;
  bottom: -15px;
  left: 0;
  background-image: 
    radial-gradient(circle at 0 100%, transparent 14px, white 15px),
    radial-gradient(circle at 30px 100%, transparent 14px, white 15px),
    radial-gradient(circle at 60px 100%, transparent 14px, white 15px),
    radial-gradient(circle at 90px 100%, transparent 14px, white 15px);
  background-size: 30px 30px;
  background-repeat: repeat-x;
  filter: drop-shadow(0 3px 2px rgba(0,0,0,0.2));
  transform: scaleY(0.3);
  opacity: 0.7;
  animation: drip 3s infinite ease-in-out alternate;
}

@keyframes drip {
  0% { transform: scaleY(0.3) translateY(0); }
  50% { transform: scaleY(0.4) translateY(2px); }
  100% { transform: scaleY(0.3) translateY(0); }
}

/* İnek Buton Stili */
.cow-button {
  background: linear-gradient(135deg, #15ac90, #0d8068);
  color: white;
  font-family: 'MooFont', sans-serif;
  font-weight: 600;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 
    0 6px 15px rgba(21, 172, 144, 0.3),
    inset 0 -2px 10px rgba(0,0,0,0.2);
}

.cow-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -20%;
  width: 40%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: skewX(-30deg);
  opacity: 0;
  transition: all 0.4s ease;
}

.cow-button:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 10px 20px rgba(21, 172, 144, 0.4),
    inset 0 -2px 10px rgba(0,0,0,0.2);
}

.cow-button:hover::before {
  left: 120%;
  opacity: 0.7;
}

/* Süt Animasyonlu Metin */
.milk-animated-text {
  font-family: 'MooFont', sans-serif;
  color: #fff;
  font-size: 1.2em;
  font-weight: 600;
  letter-spacing: 1px;
}

.milk-animated-text span {
  display: inline-block;
  transform-origin: bottom;
}

@keyframes milkDrip {
  0%, 100% {
    transform: translateY(0) scale(1);
    color: white;
    text-shadow: 0 0 5px rgba(255,255,255,0.8);
  }
  50% {
    transform: translateY(5px) scale(1.05, 0.95);
    color: #15ac90;
    text-shadow: 
      0 0 10px rgba(21, 172, 144, 0.8),
      0 10px 10px rgba(21, 172, 144, 0.3);
  }
}

/* 3D Text Effect için */
.cow-3d-text {
  position: relative;
  font-family: 'MooFont', sans-serif;
  font-weight: 700;
  color: white;
  letter-spacing: 1px;
}

.cow-3d-text::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  color: #15ac90;
  transform: translate3d(-7px, 7px, 0);
  filter: blur(2px);
  opacity: 0.8;
}

/* Süt Baloncukları */
.milk-bubble {
  position: relative;
  font-family: 'MooFont', sans-serif;
  background-image: 
    radial-gradient(ellipse at 30% 40%, rgba(255,255,255,0.8) 5%, transparent 25%),
    radial-gradient(ellipse at 60% 30%, rgba(255,255,255,0.7) 3%, transparent 15%),
    radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.5) 8%, transparent 30%),
    radial-gradient(ellipse at 10% 60%, rgba(255,255,255,0.6) 7%, transparent 25%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* İnek Arkaplan Deseni */
.cow-pattern-bg {
  background-image: 
    radial-gradient(ellipse at 30% 30%, #fff 5%, transparent 10%),
    radial-gradient(ellipse at 60% 40%, #fff 4%, transparent 9%),
    radial-gradient(ellipse at 20% 70%, #fff 6%, transparent 12%),
    radial-gradient(ellipse at 80% 65%, #fff 5%, transparent 10%),
    radial-gradient(ellipse at 45% 90%, #fff 4%, transparent 8%),
    radial-gradient(ellipse at 90% 20%, #fff 5%, transparent 10%);
  background-size: 200px 200px;
  background-color: #15ac90;
}

/* Alternatif Destek Stilleri */
.milk-splash {
  position: relative;
}

.milk-splash::after {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background-image: 
    radial-gradient(circle, white 30%, transparent 70%),
    radial-gradient(circle at 30% 40%, white 10%, transparent 30%),
    radial-gradient(circle at 70% 60%, white 10%, transparent 30%);
  background-size: 100% 100%, 50% 50%, 50% 50%;
  background-repeat: no-repeat;
  opacity: 0.7;
  z-index: -1;
  animation: splash 2s infinite ease-in-out;
}

@keyframes splash {
  0% { transform: translateX(-50%) scale(0.8); opacity: 0.5; }
  50% { transform: translateX(-50%) scale(1.2); opacity: 0.7; }
  100% { transform: translateX(-50%) scale(0.8); opacity: 0.5; }
}

/* Responsive Ayarlamalar */
@media (max-width: 768px) {
  .cow-3d-font {
    font-size: 1.7em;
    text-shadow: 
      0 1px 0 #ccc,
      0 2px 0 #c9c9c9,
      0 3px 0 #bbb,
      0 4px 0 #b9b9b9,
      0 3px 5px rgba(0,0,0,.2);
  }
  
  .cow-spotted-title {
    background-size: 15px 15px;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.2);
  }
  
  .milk-drip-subtitle::after {
    height: 6px;
    bottom: -10px;
  }
}

/* 3 Boyutlu Resim Stilleri - Güncellenmiş */
.img-3d {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transform: perspective(800px) rotateY(5deg) rotateX(2deg);
  transition: transform 0.5s ease;
  z-index: 1;
}

.img-3d:hover {
  transform: perspective(800px) rotateY(-5deg) rotateX(0deg);
}

.img-3d img {
  display: block;
  width: 100%;
  transition: filter 0.4s ease;
}

.img-3d::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom right, rgba(255,255,255,0.2) 0%, transparent 50%, rgba(0,0,0,0.1) 100%);
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.img-3d:hover::before {
  opacity: 1;
}

/* Eski 3D efektlerini temizle */
.img-3d-frame {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transform: perspective(800px) rotateY(5deg) rotateX(2deg);
  transition: transform 0.5s ease;
  z-index: 1;
}

.img-3d-frame:hover {
  transform: perspective(800px) rotateY(-5deg) rotateX(0deg);
}

.img-3d-frame img {
  display: block;
  width: 100%;
  transition: filter 0.4s ease;
}

.milk-splash-img {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transform: perspective(800px) rotateY(5deg) rotateX(2deg);
  transition: transform 0.5s ease;
  z-index: 1;
}

.milk-splash-img:hover {
  transform: perspective(800px) rotateY(-5deg) rotateX(0deg);
}

.milk-splash-img img {
  display: block;
  width: 100%;
  transition: filter 0.4s ease;
}

.cow-pattern-frame {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transform: perspective(800px) rotateY(5deg) rotateX(2deg);
  transition: transform 0.5s ease;
  z-index: 1;
}

.cow-pattern-frame:hover {
  transform: perspective(800px) rotateY(-5deg) rotateX(0deg);
}

.cow-pattern-frame img {
  display: block;
  width: 100%;
  transition: filter 0.4s ease;
}

/* Özel İnek İkonunun CSS'i */
.fas.fa-cow {
    position: relative;
    display: inline-block;
}

.fas.fa-cow:before {
    content: "\1F404"; /* Unicode inek ikonu */
    font-family: 'Segoe UI Emoji', sans-serif;
    font-size: 32px;
    line-height: 1;
}

/* Süt damlası animasyonu */
@keyframes milkDripping {
    0% { height: 0; opacity: 0; }
    20% { height: 5px; opacity: 0.8; }
    40% { height: 15px; opacity: 1; }
    80% { height: 25px; opacity: 0.3; }
    100% { height: 30px; opacity: 0; }
}

/* Süt butonuna özel animasyon */
.cow-scroll-top {
    position: relative;
    overflow: visible !important;
}

.cow-scroll-top:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
} 