/**
 * Penis Ruler Theme - style.css
 * This file should be saved as: wp-content/themes/penis-ruler/style.css
 */

/*
Theme Name: Penis Ruler
Theme URI: https://penisruler.local
Description: A fun, comic-style WordPress theme for the Penis Ruler gag gift product. No WooCommerce required!
Version: 1.0.0
Author: Your Name
Author URI: https://example.com
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: penis-ruler
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4
*/

/* ======================
   RESET & BASE STYLES
   ====================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Arial Black', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ======================
   LAYOUT & CONTAINER
   ====================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ======================
   HERO SECTION
   ====================== */

.hero {
  background: linear-gradient(135deg, #FFD700 0%, #FFC700 100%);
  padding: 80px 20px;
  text-align: center;
  border-bottom: 8px solid #000;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0,0,0,0.05) 10px, rgba(0,0,0,0.05) 20px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
  color: #000;
  text-shadow: 3px 3px 0 rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
  font-weight: 900;
  letter-spacing: -1px;
}

.hero .tagline {
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  color: #000;
  margin-bottom: 40px;
  font-weight: 700;
}

/* ======================
   BUTTONS
   ====================== */

.btn {
  display: inline-block;
  padding: 18px 50px;
  font-size: 1.3rem;
  font-weight: 900;
  text-transform: uppercase;
  border: 4px solid #000;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
}

.btn-primary {
  background-color: #FFD700;
  color: #000;
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.4);
  background-color: #FFC700;
}

.btn-primary:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

/* ======================
   PRODUCT SECTION
   ====================== */

.product-section {
  padding: 80px 20px;
  background-color: #f9f9f9;
  border-bottom: 8px solid #000;
}

.product-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.product-image {
  text-align: center;
}

.product-image img {
  width: 100%;
  max-width: 400px;
  border: 6px solid #000;
  border-radius: 8px;
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.2);
}

.product-content h2 {
  font-size: clamp(2rem, 6vw, 2.8rem);
  color: #000;
  margin-bottom: 20px;
  text-shadow: 2px 2px 0 rgba(255, 215, 0, 0.3);
}

.product-description {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 30px;
  line-height: 1.8;
  font-weight: 600;
}

.price-tag {
  font-size: 1.5rem;
  color: #FFD700;
  text-shadow: 2px 2px 0 #000;
  font-weight: 900;
  margin-bottom: 30px;
  display: inline-block;
  background-color: #000;
  padding: 10px 20px;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .product-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ======================
   JOKES/BLOG SECTION
   ====================== */

.jokes-section {
  padding: 80px 20px;
  background-color: #fff;
  border-bottom: 8px solid #000;
}

.jokes-section h2 {
  font-size: clamp(2rem, 6vw, 2.8rem);
  color: #000;
  text-align: center;
  margin-bottom: 60px;
  text-shadow: 2px 2px 0 rgba(255, 215, 0, 0.3);
}

.jokes-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.joke-card {
  background-color: #fff;
  border: 4px solid #000;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.joke-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.2);
}

.joke-card h3 {
  font-size: 1.5rem;
  color: #000;
  margin-bottom: 15px;
  line-height: 1.3;
}

.joke-card p {
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.joke-card .post-meta {
  font-size: 0.9rem;
  color: #999;
}

.no-jokes {
  text-align: center;
  color: #999;
  font-size: 1.1rem;
  padding: 40px 20px;
}

/* ======================
   FOOTER
   ====================== */

footer {
  background-color: #000;
  color: #FFD700;
  padding: 40px 20px;
  text-align: center;
  border-top: 8px solid #FFD700;
  font-weight: 700;
}

footer .container {
  max-width: 800px;
}

footer p {
  margin-bottom: 20px;
  font-size: 1rem;
}

footer a {
  color: #FFD700;
  text-decoration: underline;
}

footer a:hover {
  text-decoration: none;
}

/* ======================
   RESPONSIVE
   ====================== */

@media (max-width: 600px) {
  .hero {
    padding: 50px 20px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .tagline {
    font-size: 1rem;
  }

  .btn {
    padding: 14px 30px;
    font-size: 1rem;
  }

  .product-section {
    padding: 50px 20px;
  }

  .jokes-grid {
    grid-template-columns: 1fr;
  }
}