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

/* Body and Wrapper */
body {
  font-family: 'Arial', sans-serif;
  background-color: #fff; /* Beyaz arka plan */
  color: #333;
  line-height: 1.6;
}

main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 1024px;
  margin: 0 auto;
  position: relative;
  background-color: #f9f9f9; 
}

/* General section styling */
section {
  margin: 1rem 0.5rem;
  padding: 1rem 0.5rem;  
}

section h2 {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #2e2e2e;
}
section h3 {
  font-size: 1.2em;
  margin-bottom: 15px;
  color: #2e2e2e;
}

section p {
  font-size: 1em;
  margin-bottom: 20px;
}
section.page ul {
  list-style: none;        /* Default bullet’ları kaldır */
  padding-left: 0;         /* Soldan sıfırla */
  margin: 0 0 15px 0;
}

section.page ul li {
  position: relative;      /* ::before için referans */
  padding-left: 1.5em;     /* Sol tarafta boşluk */
  margin-bottom: 0.5em;    /* Satırlar arası boşluk */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
  color: #222;
}

section.page ul li::before {
  content: "";
  position: absolute;
  left: 0.6em;
  top: 0.8em;              /* Daireyi yazı ortasına hizala */
  transform: translateY(-50%);
  width: 0.5em;
  height: 0.5em;
  background-color: #d8b4e2;  /* Modern mavi renk */
  border-radius: 50%;
}

/* İstersen hover efekti ekle */
section.page ul li:hover::before {
  background-color: #b57edc;
  transition: background-color 0.3s ease;
}



/* Side Menu Styles */
/* Side menu stilini güncelle */
.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 0; /* Başlangıçta gizli olacak */
  background-color: #fff;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  padding: 2rem 1rem;
  transform: translateX(-100%);
  transition: transform 0.3s ease, width 0.3s ease;
  z-index: 999;
  overflow-y: auto;
}

/* Mobilde genişlik ekranı kaplasın */
@media (max-width: 768px) {
  .side-menu.active {
    transform: translateX(0);
    width: 100%; /* Mobilde menü ekranı tamamen kaplasın */
  }
}

/* Masaüstü için menü genişliğini 300px yap */
@media (min-width: 769px) {
  .side-menu.active {
    transform: translateX(0);
    width: 300px; /* Masaüstünde 300px genişlik */
  }
}

/* Kapatma butonunun stilini güncelle */
.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  color: #333;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1000;
}
.side-menu ul {
  list-style: none;
  padding: 0;
}
.side-menu li {
  margin-bottom: 1rem;
}
/* Side Menu Bağlantıları */
.side-menu a {
  display: block;
  padding: 0.75rem 1rem;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  color: #6b2b72;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #d8b4e2;

}
.side-menu a:hover {
  background-color: #b57edc; /* Pembe tonlarının güzel geçişi */
  color: #fff; /* Beyaz metin rengi hover durumunda */
  transform: translateX(5px); /* Hoverda hafif sağa kayma efekti */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Hoverda daha belirgin gölge */
}
.side-menu.active {
  left: 0;
}
/* Header Modern Tasarım */
header {
  color: #2e2e2e;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #d8b4e2;
  padding: 1rem 0.5rem; /* Padding artırıldı */
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: box-shadow 0.3s ease;
  position: relative; /* Menü ikonu için doğru pozisyon */
}

/* Hover efekti ile header'ı daha modern hale getirelim */
header:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); /* Hoverda daha güçlü bir gölge */
}

.logo-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-grow: 1;
  position: relative;
}

.logo-area > a {
  display: flex;
  align-items: center;
}

.button-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.button-group button {
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.button-group button:hover {
  opacity: 0.8;
}
.burger svg,
#installBtn svg {
  display: block;
}

.hero-section-single {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 280px;
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.hero-image-single {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  object-fit: contain;
  z-index: 0;
}

.hero-title-single,
.hero-description-single,
.horoscope-date-single {
  max-width: 80%;
  background: linear-gradient(to right, rgba(216, 180, 226, 0.7), rgba(216, 180, 226, 0));
  padding: 0.5em;
  margin-bottom: 0.5em;
  position: relative;
  z-index: 1;
}

h1.hero-title-single {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: #2e2e2e;
}

.horoscope-date-single {
  font-size: 1.2em;
  color: #2e2e2e;
  font-style: italic;
}

h1.hero-title{
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
  color: #2e2e2e;
}
h2.hero-title {
  font-size: 2rem;
  margin-bottom: 0;
  color: #2e2e2e;
}
.hero-description, .hero-description-single {
  font-size: 1rem; 
}

/* Zodiac Grid */
.zodiac-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); /* Normalde en küçük 200px genişliğinde olacak */
  gap: 1rem;
}

.card {
  background-color: #fff;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 4px;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card img {
  width: 100%;
  height: auto;
}

.card h3 {
  padding: 0.5rem;
  text-align: center;
  color: #2d3e50;
  font-size: 1.2rem;
}

.zodiac-date {
  display: flex;
  align-items: center; /* Dikeyde ortalar */
  justify-content: center; /* Yatayda ortalar */
  text-align: center;
  background-color: #f1f1f1; /* Açık gri */
  font-size: 0.9rem;
  color: #2d3e50;
  min-height: 4rem;
}

.new-articles > div {
  border-bottom: 5px solid #F9F9F9;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.new-articles > div:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.article-content {
  overflow: hidden;
}

.article-content:hover {
  opacity: 0.8;
}

.article-content h3 a {
  display: block;
  color: inherit;
  color: inherit;
  text-decoration: none;
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: #2d3e50;
}

.arrow {
  font-size: 1.5rem;
  font-weight: bold;
  color: #b57edc; /* Pastel pembe */
}

.horoscope-navigation .link-row {
  list-style: none; /* liste işaretlerini kaldır */
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.horoscope-navigation .link-row li {
  flex: 1 1 150px;
}

.horoscope-navigation .link-row a {
  text-decoration: none;
  color: #2c3e50;
  font-size: 1em;
  padding: 5px;
  background-color: #f4f4f4;
  border-radius: 6px;
  transition: background-color 0.3s, color 0.3s;
  display: block; /* inline-block yerine block daha uygundur */
  text-align: center;
  min-height: 6rem;
}

.horoscope-navigation .link-row a:hover {
  background-color: #d8b4e2;
  color: #fff;
}

.horoscope-link .icon {
  display: block;
  margin-bottom: 1px;
  font-size: 1em;
}

.new-articles, 
.hero-section, 
.page, 
.find-your-zodiac,
.horoscope-variants, 
.daily-horoscope, 
.weekly-horoscope,
.monthly-horoscope,
.yearly-horoscope,
.zodiac-stone, 
.zodiac-features, 
.zodiac-female, 
.zodiac-male,
.zodiac-love, 
.zodiac-career, 
.zodiac-health, 
.zodiac-sexuality, 
.zodiac-personality, 
.zodiac-marriage, 
.zodiac-strengths, 
.zodiac-weaknesses,
.zodiac-mother, 
.zodiac-father,
.zodiac-child,
.zodiac-possible_illnesses,
.zodiac-gift_ideas,
.zodiac-style_suggestions,
.zodiac-beauty_tips,
.zodiac-travel_tips,
.zodiac-decoration_tips,
.zodiac-jewelry_options {background-color: #fff;}

.lotto-numbers {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 0;
  margin-bottom:10px;
}

.lotto-numbers span {
  background-color: #f5f5f5;
  color: #333;
  padding: 10px 15px;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  min-width: 40px;
  text-align: center;
}

.zodiac-features table {
  width: 100%;
  border-collapse: collapse;
}

.zodiac-features th,
.zodiac-features td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.zodiac-features th {
  background-color: #f4f4f4;
  font-weight: bold;
}

.zodiac-stone-image {
  max-width: 100%;
  height: auto;
  
}

.zodiac-strengths ul,
.zodiac-weaknesses ul {
  list-style-type: none;
  padding: 0;
}

.zodiac-strengths li,
.zodiac-weaknesses li {
  margin-bottom: 10px;
}

.zodiac-strengths li strong,
.zodiac-weaknesses li strong {
  font-weight: bold;
}

@keyframes shake {
  0%, 100% {
    transform: rotate(0) scale(1);
  }
  25% {
    transform: rotate(-2deg) scale(1.04);
  }
  50% {
    transform: rotate(1deg) scale(1.01);
  }
  75% {
    transform: rotate(-2deg) scale(1.02);
  }
  90% {
    transform: rotate(3deg) scale(1);
  }
  95% {
    transform: rotate(-1deg) scale(1);
  }
}

.card.active-zodiac {
  background-color: #fffae6;
  border: 2px solid #f39c12;
  box-shadow: 0 0 10px #f39c12;
  animation: shake 2s infinite ease-in-out;
}


.find-your-zodiac form {
  margin-top: 20px;
}

.find-your-zodiac form label {
  font-size: 1em;
  margin-bottom: 10px;
  display: block;
  color: #333;
}

.find-your-zodiac form input {
  padding: 10px;
  font-size: 1em;
  width: 100%;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.find-your-zodiac form button {
  padding: 10px 20px;
  font-size: 1.1em;
  background-color: #d8b4e2;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.find-your-zodiac form button:hover {
  background-color: #b57edc;
}

#zodiac-result {
  margin-top: 20px;
  color: #1e90ff;
  font-size: 1.2em;
  font-weight: bold;
}

#zodiac-result p {
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 8px 0;
  color: #2c3e50;
}
#zodiac-result p span{
  color: #b57edc;
}
#zodiac-result a {
  color: #b57edc;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

#zodiac-result a:hover {
  color: #d8b4e2;
  text-decoration: underline;
}
.pagination {
  text-align: center;
}

.pagination a {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 4px;
  border: 1px solid #ccc;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}

.pagination a:hover {
  background: #b57edc;
}

.pagination a.active {
  background: #d8b4e2;
  color: #fff;
  border-color: #b57edc;
}

.pagination a.prev,
.pagination a.next {
  font-weight: bold;
}

/* Footer */
footer {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #d8b4e2;
  color: #fff;
  padding: 1rem 0.5rem;
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* içeriğin taşması önlenir */
}

footer:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

footer .left {
  font-size: 1rem;
}

footer .right a {
  text-decoration: none;
  color: #fff;
  margin-left: 1rem;
}

footer .right a:hover {
  color: #2e2e2e;
}
#scrollToTopBtn,
#mobileShareBtn {
  position: fixed;
  background-color: #d8b4e2;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  z-index: 998;
  transition: transform 0.3s ease;
}

#scrollToTopBtn {
  bottom: 75px;
  right: 20px;
  display: none;
}

#mobileShareBtn {
  bottom: 10px;
  right: 20px;
}
#toggleDesktopShare {
  background-color: #d8b4e2;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  transition: transform 0.3s ease;
}
#scrollToTopBtn:hover,
#mobileShareBtn:hover,
#toggleDesktopShare:hover{
  background-color: #b57edc;
}
.desktopShareBtn {
  display: none;
}
/* Mobil için alt alta sıralama */
@media (max-width: 768px) {
  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  footer .right a {
    margin-left: 0;
    margin-right: 1rem;
    display: inline-block;
    margin-bottom: 0.5rem;
  }

  footer .right {
    margin-top: 0.5rem;
  }
}


/* Media Queries */
@media (max-width: 768px) {
  .zodiac-grid {
    grid-template-columns: repeat(2, 1fr); /* Mobilde 2 kart yan yana olacak */
  }	
  .hero-section-single {
    min-height: 280px;
  }
  .hero-title-single,
  .hero-description-single,
  .horoscope-date-single {
    max-width: 100%;
  }  
h1.hero-title-single{
  font-size: 1.4rem;
}   
h1.hero-title, h2.hero-title{
  font-size: 1.5rem;
}
section h2 {
  font-size: 1.4em;
}
.article-content h3 a {
  font-size: 1.4rem;
}
 
}