/*
 Theme Name:     Mia Pixel Art
 Theme URI:      https://mia.ammait.com
 Description:    Pixel Art Child Theme for Mia
 Author:         Ammait.com
 Author URI:     https://ammait.com
 Template:       Divi
 Version:        1.3.0
*/

/* =========================================
   MIA PIXEL ART THEME
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Nunito:wght@400;600;700&display=swap');

:root {
  --pixel-dark: #1a1a2e;
  --pixel-navy: #16213e;
  --pixel-purple: #6c4fc4;
  --pixel-pink: #ff6b9d;
  --pixel-lavender: #c084fc;
  --pixel-light: #f8f0ff;
  --pixel-yellow: #ffd700;
  --pixel-green: #00ff87;
}

/* Pixel font pro hlavní nadpisy */
h1, h2, h3,
.et_pb_module_header,
.et_pb_text h1, .et_pb_text h2 {
  font-family: 'Press Start 2P', monospace !important;
  line-height: 1.6 !important;
}

body, p, .et_pb_text p, li {
  font-family: 'Nunito', sans-serif !important;
}

body {
  background-color: var(--pixel-dark) !important;
  color: var(--pixel-light) !important;
}

/* ==========================================
   SEKCE — NEOPAKUJ background-color override!
   Divi shortcode background_color funguje sám
   ========================================== */

/* Odstraň bílé okraje okolo sekcí */
.et_pb_section {
  /* background-color NEOVERRIDUJEME — necháme Divi shortcode */
}

/* Přidej dostatečné mezery mezi Hero a Features sekcí */
.et_pb_section:first-of-type {
  padding-bottom: 80px !important;
}

/* Tlačítko v hero — mezera pod */
.et_pb_section:first-of-type .et_pb_button_module_wrapper {
  margin-bottom: 60px !important;
}

/* ==========================================
   HLAVNÍ MENU
   ========================================== */
#top-menu a {
  color: var(--pixel-lavender) !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
}
#top-menu a:hover { color: var(--pixel-pink) !important; }

#main-header, #top-header {
  background-color: var(--pixel-navy) !important;
  border-bottom: 3px solid var(--pixel-purple) !important;
}

.et_search_outer, #et-secondary-nav .et_search_outer {
  display: none !important;
}

/* Pixel art logo */
img#logo,
.logo_container img {
  content: url('/wp-content/uploads/2026/04/mia-logo.svg') !important;
  height: 50px !important;
  width: auto !important;
  max-width: 220px !important;
}

/* Pixel art tlačítka */
.et_pb_button {
  font-family: 'Press Start 2P', monospace !important;
  font-size: 10px !important;
  background-color: var(--pixel-purple) !important;
  color: var(--pixel-light) !important;
  border: 3px solid var(--pixel-lavender) !important;
  border-radius: 0 !important;
  padding: 12px 20px !important;
  box-shadow: 4px 4px 0 var(--pixel-pink) !important;
  transition: all 0.1s !important;
}
.et_pb_button:hover {
  transform: translate(2px, 2px) !important;
  box-shadow: 2px 2px 0 var(--pixel-pink) !important;
  background-color: var(--pixel-pink) !important;
}

.et_pb_module { border-radius: 0 !important; }

/* Footer */
#footer-bottom, #main-footer {
  background-color: var(--pixel-navy) !important;
  border-top: 3px solid var(--pixel-purple) !important;
  color: var(--pixel-lavender) !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 12px !important;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--pixel-navy); }
::-webkit-scrollbar-thumb { background: var(--pixel-purple); }
::-webkit-scrollbar-thumb:hover { background: var(--pixel-pink); }

img { image-rendering: auto; }
img[src*='.png']:not([src*='favicon']) {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.et_pb_gallery_item img, .et_pb_image img {
  border: 3px solid var(--pixel-purple) !important;
  transition: border-color 0.2s, transform 0.1s !important;
}
.et_pb_gallery_item img:hover, .et_pb_image img:hover {
  border-color: var(--pixel-pink) !important;
  transform: scale(1.02) !important;
}

/* ==========================================
   FULL WIDTH + SIDEBAR FIX
   ========================================== */
#sidebar { display: none !important; }
body #sidebar { display: none !important; }
.et_right_sidebar #sidebar { display: none !important; }

.et_right_sidebar #left-area,
.et_left_sidebar #left-area,
.et_no_sidebar #left-area,
#left-area {
  width: 100% !important;
  float: none !important;
}

.page-title { display: none !important; }
#footer-widgets { display: none !important; }

/* ==========================================
   DIVI COLUMN LAYOUT
   ========================================== */
.et_pb_row { width: 100%; }
.et_pb_row:after { content: ""; display: table; clear: both; }

.et_pb_column {
  float: left !important;
  background-size: cover;
  background-position: 50%;
  position: relative;
}

.et_pb_column_4_4  { width: 100% !important; float: none !important; }
.et_pb_column_3_4  { width: 75% !important; }
.et_pb_column_2_3  { width: 65.667% !important; }
.et_pb_column_1_2  { width: 49% !important; }
.et_pb_column_1_3  { width: 32.333% !important; }
.et_pb_column_1_4  { width: 23.75% !important; }
.et_pb_column_1_6  { width: 15.5% !important; }

.et_pb_gutters3 .et_pb_column_1_3 + .et_pb_column_1_3 { margin-left: 1% !important; }
.et_pb_gutters3 .et_pb_column_1_4 + .et_pb_column_1_4 { margin-left: 1.67% !important; }
.et_pb_gutters3 .et_pb_column_1_2 + .et_pb_column_1_2 { margin-left: 2% !important; }

.et_pb_button_alignment_center { text-align: center !important; }
.et_pb_button_alignment_right  { text-align: right !important; }
.et_pb_button_alignment_left   { text-align: left !important; }

#main-content, #left-area, article.et_pb_post {
  background-color: var(--pixel-dark) !important;
}

/* ==========================================
   HEADER LAYOUT
   ========================================== */
#main-header .et_menu_container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
}

#main-header .logo_container {
  flex: 0 0 auto !important;
  width: auto !important;
  float: none !important;
  min-width: 60px;
}

#et-top-navigation {
  flex: 1 1 auto !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  width: auto !important;
  float: none !important;
}

#top-menu {
  display: flex !important;
  list-style: none !important;
  align-items: center !important;
  gap: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
}

#top-menu > li {
  display: inline-flex !important;
  float: none !important;
}

/* ==========================================
   MOBILNÍ MENU — skrývání
   ========================================== */
.et_search_outer,
.mobile_menu_bar,
select.et_mobile_nav_menu,
.mobile_nav,
.select_page {
  display: none !important;
}

.entry-title, .main_title, .page-title {
  display: none !important;
}
