/*!
Theme Name: LinksFlat
Theme URI: https://linksflat.de
Author: LinksFlat Team
Author URI: https://linksflat.de
Description: WordPress Theme für Backlink-Pakete
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: linksflat
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4
*/

/* ============================================
   RESET & GLOBAL
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #0066ff;
  --secondary-color: #ff6b00;
  --dark-color: #1a1a1a;
  --light-color: #f5f5f5;
  --text-color: #333;
  --success-color: #27ae60;
  --border-color: #ddd;
}

html, body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--secondary-color);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
  background: linear-gradient(135deg, var(--primary-color), #0052cc);
  color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header a {
  color: white;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.site-logo {
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 2px;
}

.site-navigation ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.site-navigation a {
  transition: opacity 0.3s;
}

.site-navigation a:hover {
  opacity: 0.8;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--primary-color), #0052cc);
  color: white;
  padding: 6rem 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.btn-primary {
  display: inline-block;
  background-color: var(--secondary-color);
  color: white;
  padding: 1rem 2rem;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.2s;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary:hover {
  background-color: #e55a00;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

.btn-secondary {
  display: inline-block;
  background-color: white;
  color: var(--primary-color);
  padding: 1rem 2rem;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s;
  cursor: pointer;
  border: 2px solid white;
  font-size: 1rem;
  margin-left: 1rem;
}

.btn-secondary:hover {
  background-color: transparent;
  color: white;
}

/* ============================================
   PACKAGES SECTION
   ============================================ */
.packages-section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--dark-color);
}

.section-subtitle {
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.package-card {
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s, box-shadow 0.3s;
  position: relative;
}

.package-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.15);
  transform: translateY(-5px);
}

.package-card.featured {
  border-color: var(--secondary-color);
  box-shadow: 0 10px 30px rgba(255, 107, 0, 0.15);
  transform: scale(1.05);
}

.package-card.featured::before {
  content: "BELIEBT";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--secondary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: bold;
}

.package-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.package-price {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.package-price-info {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 1.5rem;
}

.package-features {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}

.package-features li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
}

.package-features li:last-child {
  border-bottom: none;
}

.package-features li::before {
  content: "✓";
  color: var(--success-color);
  font-weight: bold;
  margin-right: 1rem;
  font-size: 1.2rem;
}

.package-button {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
  background-color: var(--primary-color);
  color: white;
}

.package-button:hover {
  background-color: #0052cc;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
  background-color: var(--light-color);
  padding: 4rem 2rem;
  margin-top: 4rem;
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-box {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-box h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.feature-box p {
  color: #666;
  line-height: 1.6;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color), #0052cc);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

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

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background-color: var(--dark-color);
  color: white;
  padding: 3rem 2rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-column h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: #bbb;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid #444;
  text-align: center;
  color: #999;
  font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .btn-secondary {
    margin-left: 0;
    margin-top: 1rem;
    display: block;
  }

  .site-navigation {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .header-inner {
    flex-direction: column;
    gap: 1rem;
  }

  .package-card.featured {
    transform: scale(1);
  }
}

/* ============================================
   CONTENT AREAS
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.page-content {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  margin: 2rem 0;
}

.page-content h1 {
  color: var(--dark-color);
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.page-content h2 {
  color: var(--dark-color);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.page-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}
