/*
Theme Name: Hopstacja Theme Editable
Theme URI: https://example.com/
Author: Hopstacja
Author URI: https://example.com/
Description: Fully editable WordPress theme with custom fields. JSON files serve only as initial import data.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hopstacja-theme-editable
*/

:root {
  --primary: #FF6B6B;
  --secondary: #4ECDC4;
  --accent: #FFE66D;
  --dark: #2D3436;
  --light: #F5F5F5;
}

/* Basic reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: white;
  color: #1f2937;
}

a {
  color: #2563eb;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #1d4ed8;
}

button {
  cursor: pointer;
  transition: all 0.2s;
}

.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

.section-padding {
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 4rem 0;
  }
}

@media (min-width: 1024px) {
  .section-padding {
    padding: 5rem 0;
  }
}

.hero-section {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: white;
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .hero-section {
    padding: 6rem 0;
  }
}

.section-title {
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
}

@media (min-width: 768px) {
  .section-subtitle {
    font-size: 1.25rem;
  }
}

/* Header styles */
.site-header {
  background: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: bold;
}

.site-logo img {
  height: 2.5rem;
  width: auto;
}

/* Custom logo from WordPress - Ultra aggressive sizing */
.custom-logo-link,
.site-header .custom-logo-link,
a.custom-logo-link,
.hopstacja-logo {
  display: flex !important;
  align-items: center !important;
  max-width: 100px !important;
  max-height: 32px !important;
  overflow: hidden !important;
  line-height: 1 !important;
  transform-origin: left center !important;
}

.custom-logo,
.site-header .custom-logo,
img.custom-logo {
  height: 30px !important;
  width: auto !important;
  max-height: 30px !important;
  max-width: 100px !important;
  min-width: auto !important;
  min-height: auto !important;
  object-fit: contain !important;
  display: block !important;
  aspect-ratio: auto !important;
  transform: scale(0.02) !important;
  transform-origin: left center !important;
}

/* Remove any WordPress default logo styles */
.site-header img {
  max-height: 30px !important;
  height: auto !important;
  width: auto !important;
  max-width: 100px !important;
}

.header-container img {
  max-height: 30px !important;
  height: auto !important;
  width: auto !important;
  max-width: 100px !important;
}

.nav-menu {
  display: none;
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
    gap: 2rem;
  }
}

.nav-menu a {
  color: #374151;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-menu a:hover {
  color: var(--primary);
}

.mobile-menu-btn {
  display: block;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  display: none;
  background: white;
  padding: 1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.5rem 0;
  color: #374151;
  text-decoration: none;
}

/* Main content */
.site-main {
  min-height: 100vh;
}

.page-content {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* WordPress editor styles */
.wp-block-group {
  margin-bottom: 2rem;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: box-shadow 0.2s;
}

.feature-card:hover {
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.feature-card p {
  color: #4b5563;
}

/* Pricing */
.pricing-card {
  max-width: 28rem;
  margin: 0 auto;
  background: white;
  border: 2px solid var(--primary);
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
}

.pricing-price {
  font-size: 2.25rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.pricing-desc {
  color: #4b5563;
  margin-bottom: 1.5rem;
}

.pricing-list {
  text-align: left;
  margin-bottom: 1.5rem;
  list-style: none;
}

.pricing-list li {
  margin-bottom: 0.5rem;
  color: #374151;
}

/* Contact */
.contact-section {
  background: var(--light);
}

.contact-content {
  max-width: 42rem;
  margin: 0 auto;
}

.contact-item {
  margin-bottom: 1rem;
}

.contact-label {
  font-weight: 600;
}

/* CTA */
.cta-section {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 42rem;
  margin: 0 auto;
}

.cta-button {
  display: inline-block;
  background: white;
  color: var(--primary);
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: background 0.2s;
  text-decoration: none;
  border: none;
}

.cta-button:hover {
  background: #f3f4f6;
}

/* Text */
.text-section {
  max-width: 42rem;
  margin: 0 auto;
}

.text-content {
  color: #374151;
  line-height: 1.75;
}

.text-content h2 {
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: white;
  margin-top: 4rem;
}

.footer-container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-col h3, .footer-col h4 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer-about h3 {
  color: var(--accent);
}

/* Footer logo sizing - Ultra aggressive */
.footer-about .custom-logo-link,
.footer-about a.custom-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  max-width: 80px !important;
  max-height: 22px !important;
  overflow: hidden !important;
  line-height: 1 !important;
}

.footer-about .custom-logo,
.footer-about img.custom-logo {
  height: 20px !important;
  width: auto !important;
  max-height: 20px !important;
  max-width: 80px !important;
  min-width: auto !important;
  min-height: auto !important;
  object-fit: contain !important;
  aspect-ratio: auto !important;
}

.footer-about img {
  max-height: 20px !important;
  height: auto !important;
  width: auto !important;
  max-width: 80px !important;
}

.footer-contact p, .footer-contact a {
  color: #d1d5db;
  margin-bottom: 0.5rem;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 0.5rem;
}

.footer-nav a {
  color: #d1d5db;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: white;
}

.footer-social {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  margin-bottom: 2rem;
  display: flex;
  gap: 1.5rem;
}

.social-link {
  color: #d1d5db;
  font-size: 1.5rem;
  transition: color 0.2s;
}

.social-link:hover {
  color: white;
}

.footer-copyright {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
  color: #9ca3af;
}

/* Utility classes */
.bg-gray-50 { background-color: #f9fafb; }
.text-center { text-align: center; }
.mb-12 { margin-bottom: 3rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.space-y-4 > * + * { margin-top: 1rem; }
