/*
Theme Name: SiteReview
Theme URI: https://example.com/sitereview
Author: Site  Rewives
Author URI: https://example.com
Description: Site inceleme ve değerlendirme teması
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sitereview
*/

:root {
  --primary-color: #2c3e50;
  --secondary-color: #f39c12;
  --accent-color: #e74c3c;
  --text-color: #ecf0f1;
  --background-color: #1a1a2e;
  --card-background: #16213e;
  --shadow-color: rgba(0, 0, 0, 0.3);
  --success-color: #2ecc71;
  --rating-color: #f1c40f;
  --footer-background: #0f3460;

  --primary-color-dark: #2980b9;
  --secondary-color: #e74c3c;
  --dark-blue: #1a2a3a;
  --text-color: #ecf0f1;
  --card-background: #2c3e50;
  --shadow-color: rgba(0, 0, 0, 0.2);

}

/* Genel Stiller */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', 'Roboto', sans-serif;
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background-color: var(--primary-color);
  padding: 15px 0;
  box-shadow: 0 4px 10px var(--shadow-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  text-decoration: none;
  color: var(--text-color);
}

.logo h1 {
  font-size: 24px;
  font-weight: 700;
}

.main-nav .nav-links {
  display: flex;
  list-style: none;
}

.main-nav .nav-links li {
  margin-left: 20px;
}

.main-nav .nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.main-nav .nav-links a:hover,
.main-nav .nav-links a.active {
  color: var(--secondary-color);
}

.user-actions {
  display: flex;
  gap: 10px;
}

.btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: #fff;
}

.btn-primary:hover {
  background-color: #e67e22;
}

.btn-secondary {
  background-color: var(--accent-color);
  color: #fff;
}

.btn-secondary:hover {
  background-color: #c0392b;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--secondary-color);
  color: var(--secondary-color);
}

.btn-outline:hover {
  background-color: var(--secondary-color);
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 5px 0;
  transition: all 0.3s;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(26, 26, 46, 0.8), rgba(26, 26, 46, 0.9)), url('assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  text-align: center;
}

.hero-content h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 30px;
}

.search-bar {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.search-input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 4px 0 0 4px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
  font-size: 16px;
}

.search-btn {
  padding: 12px 20px;
  background-color: var(--secondary-color);
  color: #fff;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background-color 0.3s;
}

.search-btn:hover {
  background-color: #e67e22;
}

/* Categories Section */
.categories-section {
  padding: 60px 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.category-card {
  background-color: var(--card-background);
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: var(--text-color);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.category-icon {
  font-size: 36px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.category-card h3 {
  margin-bottom: 10px;
}

.category-card p {
  color: #b2bec3;
  font-size: 14px;
}

/* Sites Section */
.sites-section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
}

.sites-filter {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  padding: 8px 16px;
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--text-color);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: #fff;
}

.sites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.site-card {
  background-color: var(--card-background);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: fadeIn 0.5s ease forwards;
  animation-delay: calc(var(--animation-order) * 0.1s);
  opacity: 0;
}

.site-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.site-header {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-logo {
  max-width: 100px;
  max-height: 50px;
}

.site-popularity {
  background-color: var(--accent-color);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.site-content {
  padding: 20px;
}

.site-title {
  margin-bottom: 10px;
}

.site-description {
  color: #b2bec3;
  font-size: 14px;
  margin-bottom: 15px;
  height: 60px;
  overflow: hidden;
}

.site-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.site-rating {
  display: flex;
  align-items: center;
}

.star-rating {
  color: var(--rating-color);
  margin-right: 5px;
}

.rating-count {
  font-size: 12px;
  color: #b2bec3;
}

.site-bonus {
  background-color: rgba(46, 204, 113, 0.2);
  color: var(--success-color);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.site-actions {
  display: flex;
  gap: 10px;
}

.site-actions .btn {
  flex: 1;
  text-align: center;
}

/* Why Us Section */
.why-us-section {
  padding: 60px 0;
  background-color: var(--primary-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  text-align: center;
  padding: 30px 20px;
}

.feature-icon {
  font-size: 48px;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 15px;
}

/* Reviews Section */
.reviews-section {
  padding: 60px 0;
}

.reviews-slider {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.review-card {
  background-color: var(--card-background);
  border-radius: 8px;
  padding: 20px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.reviewer-info {
  display: flex;
  align-items: center;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

.reviewer-name {
  margin-bottom: 5px;
}

.review-site {
  font-size: 12px;
  color: #b2bec3;
}

.review-rating {
  color: var(--rating-color);
}

.review-content {
  margin-bottom: 15px;
}

.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.review-date {
  color: #b2bec3;
}

.review-actions {
  display: flex;
  gap: 10px;
}

.like-action,
.dislike-action {
  background: none;
  border: none;
  color: #b2bec3;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.like-action:hover,
.dislike-action:hover {
  color: var(--text-color);
}

.reviews-action {
  text-align: center;
  margin-top: 30px;
}

/* Blog Section */
.blog-section {
  padding: 60px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.blog-card {
  background-color: var(--card-background);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.blog-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
}

.blog-category {
  display: inline-block;
  background-color: var(--accent-color);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  margin-bottom: 10px;
}

.blog-title {
  margin-bottom: 10px;
}

.blog-excerpt {
  color: #b2bec3;
  font-size: 14px;
  margin-bottom: 15px;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #b2bec3;
  margin-bottom: 15px;
}

.blog-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.blog-link:hover {
  color: #e67e22;
}

.blog-action {
  text-align: center;
  margin-top: 30px;
}

/* CTA Section */
.cta-section {
  padding: 60px 0;
  background: linear-gradient(rgba(26, 26, 46, 0.8), rgba(26, 26, 46, 0.9)), url('assets/images/cta-bg.jpg');
  background-size: cover;
  background-position: center;
  text-align: center;
}

.cta-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.cta-content p {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 18px;
}

/* Footer */
.site-footer {
  background-color: var(--footer-background);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-about h3,
.footer-links h3,
.footer-categories h3,
.footer-contact h3 {
  margin-bottom: 20px;
  font-size: 18px;
}

.footer-about p {
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-color);
  transition: all 0.3s;
}

.social-icons a:hover {
  background-color: var(--secondary-color);
  color: #fff;
}

.footer-links ul,
.footer-categories ul {
  list-style: none;
}

.footer-links li,
.footer-categories li {
  margin-bottom: 10px;
}

.footer-links a,
.footer-categories a {
  color: #b2bec3;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover,
.footer-categories a:hover {
  color: var(--secondary-color);
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-contact i {
  margin-right: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #b2bec3;
}

.footer-bottom p {
  margin-bottom: 10px;
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.footer-legal a {
  color: #b2bec3;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: var(--secondary-color);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  overflow-y: auto;
}

.modal-content {
  background-color: var(--card-background);
  margin: 50px auto;
  padding: 30px;
  border-radius: 8px;
  max-width: 800px;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  color: #b2bec3;
  cursor: pointer;
  transition: color 0.3s;
}

.close-modal:hover {
  color: var(--accent-color);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero-content h1 {
    font-size: 36px;
  }
  
  .section-title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .user-actions {
    display: none;
  }
  
  .hero-content h1 {
    font-size: 30px;
  }
  
  .hero-content p {
    font-size: 16px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-about,
  .footer-links,
  .footer-categories,
  .footer-contact {
    text-align: center;
  }
  
  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .sites-grid,
  .reviews-slider,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-content h1 {
    font-size: 24px;
  }
  
  .section-title {
    font-size: 24px;
  }
}

/* WordPress Specific Styles */
.wp-caption {
  max-width: 100%;
  margin-bottom: 20px;
}

.wp-caption-text {
  font-size: 14px;
  color: #b2bec3;
  text-align: center;
  margin-top: 5px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.alignleft {
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
}

.alignright {
  float: right;
  margin-left: 20px;
  margin-bottom: 20px;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.sticky {
  position: relative;
}

.bypostauthor {
  position: relative;
}

.gallery-caption {
  display: block;
}