/*
 Theme Name: TrendingReview
 Theme URI: https://trendingreview.com
 Author: Ditt Namn
 Author URI: https://trendingreview.com
 Description: A responsive, SEO-optimized WordPress theme for Amazon affiliate product reviews (models, tools, books). 
 Version: 1.0
 License: GNU General Public License v2 or later
 License URI: https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: trendingreview
*/

 /* -----------------------------------------
    1) RESET & GLOBALS
   ----------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Roboto', sans-serif;
  line-height: 1.5;
  color: #333333;
}

body {
  background-color: #f4f4f4;
}

/* -----------------------------------------
    2) TYPOGRAFI
   ----------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  color: #222222;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

p {
  margin-bottom: 1rem;
}

/* -----------------------------------------
    3) LÄNKAR & KNAPPAR
   ----------------------------------------- */
a {
  color: #0073e6;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.btn-primary {
  display: inline-block;
  background-color: #FF9900;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #e68a00;
}

/* -----------------------------------------
    4) HEADER
   ----------------------------------------- */
.site-header {
  background-color: #ffffff;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .site-logo {
  float: left;
}

.site-header .site-logo img {
  max-height: 50px;
}

.site-header .menu-toggle {
  display: none;
  font-size: 1.5rem;
  float: right;
  cursor: pointer;
}

.site-header nav {
  float: right;
}

.site-header nav ul {
  list-style: none;
}

.site-header nav ul li {
  display: inline-block;
  margin-left: 20px;
}

.site-header nav ul li a {
  color: #333333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.site-header nav ul li a:hover {
  color: #0073e6;
}

/* -----------------------------------------
    5) RESPONSIV NAV (MOBIL)
   ----------------------------------------- */
@media (max-width: 768px) {
  .site-header nav {
    display: none;
    width: 100%;
    background-color: #ffffff;
    padding-top: 10px;
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  .site-header nav ul li {
    display: block;
    margin: 10px 0;
    text-align: center;
  }
  .site-header .menu-toggle {
    display: block;
  }
}

/* -----------------------------------------
    6) HERO-SEKTION
   ----------------------------------------- */
.hero {
  background: url('https://trendingreview.com/wp-content/uploads/hero-bg.jpg') no-repeat center center/cover;
  color: #ffffff;
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 30px;
}

/* -----------------------------------------
    7) LATEST TRENDING TECH (För video‐sektionen)
   ----------------------------------------- */
.latest-trending-tech {
  background-color: #ffffff;
  padding: 40px 20px;
  text-align: center;
  margin-bottom: 30px;
}

.latest-trending-tech h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

/* Gör videon responsiv (16:9) */
.video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  margin: 0 auto;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* -----------------------------------------
    8) INNEHÅLL (SIDOR, INLÄGG, PRODUKTER)
   ----------------------------------------- */
.main-content {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.entry-header {
  border-bottom: 1px solid #dddddd;
  margin-bottom: 20px;
  padding-bottom: 10px;
}

.entry-title {
  font-size: 2rem;
  margin-bottom: 10px;
}

.entry-meta {
  color: #888888;
  font-size: 0.875rem;
}

.entry-content {
  margin-bottom: 30px;
}

.product-rating {
  margin: 20px 0;
  font-size: 1.25rem;
  color: #FFD700; /* Guldstjärna */
}

.related-products {
  background-color: #f9f9f9;
  padding: 30px;
  margin-top: 40px;
}

.related-products h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.related-products ul {
  list-style: none;
}

.related-products ul li {
  margin-bottom: 10px;
}

/* -----------------------------------------
    9) WIDGET AREAS (SIDOFÄLT, FOOTER)
   ----------------------------------------- */
.sidebar {
  background-color: #f9f9f9;
  padding: 20px;
  margin-bottom: 30px;
}

.widget {
  margin-bottom: 30px;
}

.widget-title {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.site-footer {
  background-color: #222222;
  color: #ffffff;
  padding: 40px 20px;
}

.site-footer .footer-widgets {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.site-footer .footer-widgets .widget {
  flex: 1 1 250px;
  margin-bottom: 30px;
}

.site-footer .footer-widgets .widget ul {
  list-style: none;
}

.site-footer .footer-widgets .widget ul li {
  margin-bottom: 10px;
}

.site-footer .site-info {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444444;
  font-size: 0.875rem;
}

/* -----------------------------------------
   10) TYPISKA AVLUTANDE MEDIA QUERIES
   ----------------------------------------- */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
}
