/*!
Theme Name: MIKUD SUBkultura
Theme URI: https://www.mikudsubkultura.com
Description: A bold, edgy WordPress theme for underground art and culture organizations. Features punk aesthetic with red, black, and white color scheme.
Version: 1.0.0
Author: MIKUD SUBkultura
Author URI: https://www.mikudsubkultura.com
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mikud-subkultura
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4
*/

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #ffffff;
}

/* ==========================================================================
   COLOR SCHEME
   ========================================================================== */

:root {
  --primary-red: #ff0000;
  --dark-black: #000000;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --dark-gray: #333333;
  --border-color: #cccccc;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5em;
  color: var(--dark-black);
}

h1 {
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

h2 {
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h3 {
  font-size: 1.5rem;
  text-transform: uppercase;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1em;
}

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

a:hover {
  color: var(--dark-black);
  text-decoration: underline;
}

/* ==========================================================================
   LAYOUT & CONTAINER
   ========================================================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: -15px;
}

.col {
  flex: 1;
  padding: 15px;
  min-width: 250px;
}

.col-1 { flex: 0 0 8.333%; }
.col-2 { flex: 0 0 16.666%; }
.col-3 { flex: 0 0 25%; }
.col-4 { flex: 0 0 33.333%; }
.col-6 { flex: 0 0 50%; }
.col-8 { flex: 0 0 66.666%; }
.col-12 { flex: 0 0 100%; }

@media (max-width: 768px) {
  .col {
    flex: 0 0 100%;
  }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  background-color: var(--dark-black);
  color: var(--white);
  padding: 20px 0;
  border-bottom: 4px solid var(--primary-red);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-logo {
  max-width: 60px;
  height: auto;
}

.site-title {
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
}

.site-description {
  font-size: 0.9rem;
  color: var(--primary-red);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   MAIN NAVIGATION
   ========================================================================== */

.main-navigation {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 0;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  display: block;
  padding: 15px 20px;
  color: var(--white);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.main-navigation a:hover {
  background-color: var(--primary-red);
  color: var(--white);
  text-decoration: none;
}

.main-navigation .current-menu-item > a {
  background-color: var(--primary-red);
  color: var(--white);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  background: var(--primary-red);
  color: var(--white);
  border: none;
  padding: 10px 15px;
  font-size: 1.2rem;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 700;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .main-navigation {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--dark-black);
    border-top: 4px solid var(--primary-red);
  }

  .main-navigation.active {
    display: flex;
  }

  .main-navigation a {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  background: linear-gradient(135deg, var(--dark-black) 0%, #1a1a1a 100%);
  color: var(--white);
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: var(--primary-red);
  opacity: 0.1;
  border-radius: 50%;
  transform: translate(50%, -50%);
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 300px;
  height: 300px;
  background: var(--primary-red);
  opacity: 0.1;
  border-radius: 50%;
  transform: translate(-50%, 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-section h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 3.5rem;
  text-shadow: 3px 3px 0px var(--primary-red);
}

.hero-section p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary-red);
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  border: 2px solid var(--primary-red);
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 0.9rem;
}

.btn:hover {
  background-color: var(--dark-black);
  color: var(--primary-red);
  text-decoration: none;
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-red);
  border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
  background-color: var(--primary-red);
  color: var(--white);
}

.btn-dark {
  background-color: var(--dark-black);
  color: var(--white);
  border: 2px solid var(--dark-black);
}

.btn-dark:hover {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
}

/* ==========================================================================
   CONTENT AREA
   ========================================================================== */

.content-area {
  display: flex;
  gap: 40px;
  margin: 60px 0;
}

.main {
  flex: 1;
}

.sidebar {
  flex: 0 0 300px;
}

@media (max-width: 768px) {
  .content-area {
    flex-direction: column;
  }

  .sidebar {
    flex: 0 0 auto;
  }
}

/* ==========================================================================
   POSTS & ARTICLES
   ========================================================================== */

.post {
  background-color: var(--white);
  border: 2px solid var(--dark-black);
  padding: 30px;
  margin-bottom: 40px;
  transition: all 0.3s ease;
}

.post:hover {
  box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.2);
  transform: translate(-3px, -3px);
}

.post-title {
  margin-bottom: 10px;
}

.post-title a {
  color: var(--dark-black);
}

.post-title a:hover {
  color: var(--primary-red);
}

.post-meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-meta span {
  margin-right: 15px;
}

.post-thumbnail {
  margin: 20px 0;
  max-width: 100%;
  height: auto;
  border: 2px solid var(--dark-black);
}

.post-excerpt {
  margin-bottom: 20px;
  line-height: 1.8;
}

.read-more {
  display: inline-block;
  color: var(--primary-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.read-more:hover {
  color: var(--dark-black);
}

/* ==========================================================================
   FEATURED SECTION
   ========================================================================== */

.featured-section {
  background-color: var(--light-gray);
  padding: 60px 20px;
  margin: 60px 0;
  border-top: 4px solid var(--primary-red);
  border-bottom: 4px solid var(--primary-red);
}

.featured-title {
  text-align: center;
  margin-bottom: 40px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.featured-item {
  background-color: var(--white);
  border: 2px solid var(--dark-black);
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.featured-item:hover {
  background-color: var(--primary-red);
  color: var(--white);
}

.featured-item:hover h3 {
  color: var(--white);
}

.featured-item:hover a {
  color: var(--white);
}

/* ==========================================================================
   SIDEBAR & WIDGETS
   ========================================================================== */

.widget {
  background-color: var(--light-gray);
  border: 2px solid var(--dark-black);
  padding: 20px;
  margin-bottom: 30px;
}

.widget-title {
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--primary-red);
}

.widget ul {
  list-style: none;
}

.widget li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
}

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

.widget a {
  color: var(--primary-red);
  font-weight: 600;
}

.widget a:hover {
  color: var(--dark-black);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background-color: var(--dark-black);
  color: var(--white);
  padding: 60px 20px 30px;
  margin-top: 60px;
  border-top: 4px solid var(--primary-red);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-widget-title {
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--primary-red);
  letter-spacing: 1px;
}

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

.footer-widget li {
  margin-bottom: 10px;
}

.footer-widget a {
  color: var(--white);
}

.footer-widget a:hover {
  color: var(--primary-red);
}

.site-info {
  text-align: center;
  padding-top: 30px;
  border-top: 2px solid rgba(255, 0, 0, 0.3);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 10px 15px;
  border: 2px solid var(--dark-black);
  color: var(--dark-black);
  text-decoration: none;
  transition: all 0.3s ease;
}

.pagination a:hover {
  background-color: var(--primary-red);
  color: var(--white);
  border-color: var(--primary-red);
}

.pagination .current {
  background-color: var(--primary-red);
  color: var(--white);
  border-color: var(--primary-red);
}

/* ==========================================================================
   FORMS
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea,
select {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 2px solid var(--dark-black);
  font-family: inherit;
  font-size: 1rem;
  background-color: var(--white);
  color: var(--dark-black);
  transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   COMMENTS
   ========================================================================== */

.comments-area {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 3px solid var(--primary-red);
}

.comments-title {
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.comment-list {
  list-style: none;
}

.comment {
  background-color: var(--light-gray);
  border-left: 4px solid var(--primary-red);
  padding: 20px;
  margin-bottom: 20px;
}

.comment-author {
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.comment-meta {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 10px;
}

.comment-text {
  line-height: 1.8;
}

/* ==========================================================================
   RESPONSIVE UTILITIES
   ========================================================================== */

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

  .container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 50px 15px;
  }

  .hero-section h1 {
    font-size: 1.5rem;
    text-shadow: 2px 2px 0px var(--primary-red);
  }

  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1rem; }
}
