/*
Theme Name: RapidWebshop
Theme URI: https://rapidwebshop.hu
Author: Ön neve
Description: Egyedi WordPress téma a RapidWebshop.hu számára
Version: 1.0
Text Domain: rapidwebshop
*/

:root {
  --primary: #ff7f00; /* Narancs */
  --secondary: #0066cc; /* Kék */
  --light: #f5f7fa;
  --dark: #333333;
  --accent: #ffe0c2;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #ffffff;
  color: var(--dark);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header stílusok */
header {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  color: white;
  padding: 25px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.logo {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
}

.logo span {
  color: var(--primary);
}

nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 15px;
  flex-wrap: wrap;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 15px;
  border-radius: 20px;
}

nav a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

nav a.active {
  background-color: rgba(255, 255, 255, 0.2);
  font-weight: bold;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  margin-top: 15px;
}

/* Hero section */
.hero {
  background-color: var(--light);
  padding: 70px 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--secondary);
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
  color: var(--dark);
}

.cta-button {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  padding: 15px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 127, 0, 0.3);
}

.cta-button:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 102, 204, 0.3);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value {
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--primary);
}

.stat-label {
  font-size: 1rem;
  color: var(--secondary);
}

/* Steps section */
.section-title {
  text-align: center;
  margin: 60px 0 40px;
  color: var(--secondary);
  position: relative;
  padding-bottom: 15px;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 70px;
}

.step {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.step-header {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  color: white;
  padding: 20px;
  text-align: center;
  font-size: 1.3rem;
  font-weight: bold;
}

.step-content {
  padding: 25px;
}

.step-content h3 {
  color: var(--secondary);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.step-content p {
  margin-bottom: 20px;
  color: #666;
  line-height: 1.6;
}

.service-box {
  background-color: var(--light);
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
  border-left: 4px solid var(--primary);
}

.service-box h4 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary);
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  margin-top: 10px;
  margin-right: 10px;
}

.service-link:hover {
  background-color: var(--secondary);
  gap: 12px;
}

/* Blog section */
.blog-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 70px;
}

.blog-card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.blog-image {
  height: 180px;
  background: linear-gradient(45deg, var(--secondary), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
}

.blog-content {
  padding: 25px;
}

.blog-content h3 {
  color: var(--secondary);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.blog-content p {
  margin-bottom: 20px;
  color: #666;
  line-height: 1.6;
}

.read-more {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.read-more:hover {
  gap: 8px;
}

.blog-link {
  display: inline-block;
  margin: 20px 0;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.blog-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(67, 97, 238, 0.4);
}

.blog-link:active {
  transform: translateY(0);
}

.blog-link::after {
  content: "→";
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.blog-link:hover::after {
  transform: translateX(4px);
}

/* PDF Section */
.pdf-section {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
  border-radius: 15px;
  margin: 60px 0;
}

.pdf-content {
  max-width: 800px;
  margin: 0 auto;
}

.pdf-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.pdf-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.pdf-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: white;
  color: var(--primary);
  padding: 15px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.pdf-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  gap: 15px;
}

/* Footer */
footer {
  background-color: var(--secondary);
  color: white;
  padding: 50px 0 30px;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 25px;
}

.footer-links {
  display: flex;
  gap: 25px;
  margin-bottom: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.disclaimer {
  max-width: 800px;
  margin: 20px auto 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* Back to top button / Scroll to top */
.back-to-top,
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.back-to-top.show,
.scroll-to-top.show {
  display: flex;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover,
.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Adatkezelési Tájékoztató stílusok */
.privacy-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  line-height: 1.6;
}

.privacy-container h1 {
  color: var(--secondary);
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.2rem;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 15px;
}

.privacy-container h2 {
  color: var(--primary);
  margin: 25px 0 15px;
  font-size: 1.6rem;
}

.privacy-container h3 {
  color: var(--secondary);
  margin: 20px 0 12px;
  font-size: 1.3rem;
}

.privacy-container p {
  margin-bottom: 15px;
  text-align: justify;
}

.privacy-container ul,
.privacy-container ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.privacy-container li {
  margin-bottom: 8px;
}

.privacy-container a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.privacy-container a:hover {
  text-decoration: underline;
}

.privacy-contact {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-top: 30px;
  border-left: 4px solid var(--secondary);
}

.privacy-contact h3 {
  color: var(--secondary);
  margin-bottom: 15px;
}

/* Cookie Szabályzat stílusok */
.cookie-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  line-height: 1.6;
}

.cookie-container h1 {
  color: var(--secondary);
  text-align: center;
  margin-bottom: 15px;
  font-size: 2.2rem;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 15px;
}

.cookie-container h2 {
  color: var(--primary);
  margin: 25px 0 15px;
  font-size: 1.6rem;
}

.cookie-container h3 {
  color: var(--secondary);
  margin: 20px 0 12px;
  font-size: 1.3rem;
}

.cookie-container p {
  margin-bottom: 15px;
  text-align: justify;
}

.cookie-container ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.cookie-container li {
  margin-bottom: 8px;
}

.cookie-container strong {
  color: var(--primary);
}

.last-updated {
  text-align: center;
  font-style: italic;
  color: #666;
  margin-bottom: 30px;
  font-size: 0.9rem;
}

.contact-info {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
  border-left: 4px solid var(--secondary);
}

.contact-info p {
  margin-bottom: 10px;
}

/* Cookie Popup Stílusok */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
  padding: 20px;
  z-index: 10000;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  transform: translateY(150%);
  transition: transform 0.4s ease;
}

.cookie-popup.active {
  transform: translateY(0);
}

.cookie-popup h3 {
  margin-top: 0;
  color: #2c3e50;
  font-size: 1.2rem;
}

.cookie-popup p {
  margin: 10px 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #555;
}

.cookie-options {
  margin: 15px 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.cookie-options.expanded {
  max-height: 300px;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.cookie-option:last-child {
  border-bottom: none;
}

.cookie-option-info {
  flex: 1;
}

.cookie-option-title {
  font-weight: 600;
  color: #333;
}

.cookie-option-desc {
  font-size: 0.8rem;
  color: #777;
  margin-top: 3px;
}

/* Toggle kapcsoló stílusok */
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  margin-left: 10px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .cookie-slider {
  background-color: #3498db;
}

input:checked + .cookie-slider:before {
  transform: translateX(26px);
}

input:disabled + .cookie-slider {
  background-color: #95a5a6;
  cursor: not-allowed;
}

/* Gomb stílusok */
.cookie-buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
  font-size: 0.9rem;
}

.cookie-btn-primary {
  background-color: var(--primary);
  color: white;
  flex: 1;
}

.cookie-btn-primary:hover {
  background-color: var(--secondary);
}

.cookie-btn-secondary {
  background-color: #f8f9fa;
  color: #333;
  border: 1px solid #ddd;
}

.cookie-btn-secondary:hover {
  background-color: #e9ecef;
}

.cookie-btn-link {
  background: none;
  color: var(--primary);
  text-decoration: underline;
  padding: 8px;
}

.cookie-btn-link:hover {
  color: var(--secondary);
}

.cookie-settings-toggle {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-size: 0.9rem;
  text-decoration: underline;
  margin: 10px 0;
  display: inline-flex;
  align-items: center;
  padding: 0;
}

.cookie-settings-toggle::after {
  content: "▶";
  font-size: 0.7rem;
  margin-left: 5px;
  transition: transform 0.3s;
}

.cookie-settings-toggle.expanded::after {
  transform: rotate(90deg);
}

/* Responsive design */
@media (max-width: 992px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    gap: 15px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 25px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .blog-posts {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
  }

  .service-link {
    display: block;
    margin-bottom: 10px;
    text-align: center;
  }

  .privacy-container {
    padding: 20px;
    margin: 20px;
  }

  .privacy-container h1 {
    font-size: 1.8rem;
  }

  .privacy-container h2 {
    font-size: 1.4rem;
  }

  .privacy-container h3 {
    font-size: 1.2rem;
  }

  .cookie-container {
    padding: 20px;
    margin: 20px;
  }

  .cookie-container h1 {
    font-size: 1.8rem;
  }

  .cookie-container h2 {
    font-size: 1.4rem;
  }

  .cookie-container h3 {
    font-size: 1.2rem;
  }

  .cookie-popup {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }
}

/* Affiliate linkek megjelenítése */
.blog-article-content {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.blog-article-content article {
  display: block !important;
  margin-bottom: 60px;
  padding: 30px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.affiliate-link {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
/* ==========================================================================
   Blog És Cikk Sablon Egyedi Kiegészítések
   ========================================================================== */

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: var(--light);
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

.blog-article-content h2 {
  color: var(--secondary);
  margin: 30px 0 15px;
  font-size: 1.75rem;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 8px;
}

.blog-article-content h3 {
  color: var(--primary);
  margin: 25px 0 12px;
  font-size: 1.4rem;
}

.blog-article-content ul, 
.blog-article-content ol {
  margin-bottom: 25px;
  padding-left: 25px;
}

.blog-article-content li {
  margin-bottom: 8px;
}

.blog-article-content blockquote {
  background-color: var(--light);
  border-left: 5px solid var(--primary);
  padding: 15px 20px;
  margin: 25px 0;
  font-style: italic;
  border-radius: 0 8px 8px 0;
}