/*
Theme Name: MyWP Plugins
Author: You and Gemini
Description: A custom, lightning-fast theme for selling WordPress plugins.
Version: 1.0
*/

body { 
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
  margin: 0; 
  padding: 0; 
  background-color: #f8f9fa; 
  color: #333; 
  line-height: 1.6;
}

/* Header */
header {
  background-color: #ffffff;
  border-bottom: 1px solid #eaeaea;
  padding: 20px 0;
  width: 100%;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo { font-size: 24px; font-weight: bold; color: #0073aa; }
.logo img { max-height: 80px; width: auto; } /* Keeps your custom logo perfectly sized */

nav .nav-menu, nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 20px; }
nav a { text-decoration: none; color: #444; font-weight: 500; }
nav a:hover { color: #0073aa; }

/* This forces the custom logo to stay a reasonable size */
.logo img, .custom-logo {
    max-height: 120px !important;
    width: auto !important;
    height: auto !important;
}

/* Hero Section */
.hero { 
  background-color: #0073aa; 
  color: white; 
  padding: 60px 5%; 
  text-align: center; 
}
.hero h1 { margin: 0 0 10px 0; font-size: 36px; }
.hero p { font-size: 18px; opacity: 0.9; margin-bottom: 0; }

/* Intro Box */
.intro-box {
  max-width: 1014px;
  margin: 10px auto 0 auto;
  background-color: #ffffff;
  padding: 30px 40px;
  border-radius: 8px;
  border: 1px solid #eaeaea;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
}
.intro-box h2 { margin-top: 0; color: #222; font-size: 24px; }
.intro-box p { color: #555; font-size: 16px; margin-bottom: 0; }

/* The 3-Column Grid Layout */
.grid-container { 
  max-width: 1100px; 
  margin: 10px auto 10px auto; 
  padding: 10px 10px; 
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 10px; 
}

/* The Plugin Card */
.plugin-card { 
  background: white; 
  padding: 10px 10px; 
  border-radius: 8px; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.05); 
  border: 1px solid #eaeaea; 
  text-align: center;
  transition: transform 0.2s ease;
}
.plugin-card:hover {
  transform: translateY(-5px); 
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.plugin-icon { font-size: 40px; margin-bottom: 15px; }
.plugin-card h3 { margin: 0 0 10px 0; color: #222; font-size: 20px; }
.plugin-card p { font-size: 14px; color: #666; margin-bottom: 20px; }
.price { font-weight: bold; font-size: 18px; color: #0073aa; margin-bottom: 15px; display: block; }

/* Button */
.btn { 
  display: block; 
  background-color: #0073aa; 
  color: white; 
  padding: 10px 20px; 
  text-decoration: none; 
  border-radius: 4px; 
  font-weight: bold;
}
.btn:hover { background-color: #005177; }

/* Footer */
footer { 
  background-color: #222; 
  color: #ccc; 
  text-align: center; 
  padding: 30px; 
  margin-top: 10px; 
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .grid-container { grid-template-columns: 1fr; }
  .intro-box { margin-left: 20px; margin-right: 20px; }
}