/*
Theme Name:     Neve Child - Mozaika Nadání
Theme URI:      https://www.mozaikanadani.cz
Author:         Mozaika Nadání
Author URI:     https://www.mozaikanadani.cz
Description:    Child theme for Neve with Mozaika Nadání branding
Version:        1.0
License:        GNU General Public License v2 or later
License URI:    http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:    neve-child
Domain Path:    /languages
Template:       neve
*/

:root {
  /* Brand Colors */
  --color-dark-blue: #34495E;
  --color-turquoise: #64CDC9;
  --color-yellow: #FFCC01;
  --color-magenta: #D21C8B;
  
  /* Neutral Colors */
  --color-white: #FFFFFF;
  --color-light-gray: #F5F5F5;
  --color-dark-gray: #333333;
}

/* Typography */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--color-dark-gray);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-dark-blue);
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Header - Sticky - nejjednoduší přístup */
#header-grid {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  width: 100% !important;
  background: white !important;
}

/* Odsadit obsah od fixního headeru */
body {
  padding-top: 80px !important;
}

/* One Page Navigation */
.wp-block-navigation {
  background-color: var(--color-white);
}

.wp-block-navigation a {
  color: var(--color-dark-blue);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.wp-block-navigation a:hover {
  color: var(--color-turquoise);
}

/* Header / Logo */
.wp-block-site-title {
  color: var(--color-dark-blue);
  font-size: 1.5rem;
}

.wp-block-site-logo img {
  max-width: 200px;
  height: auto;
  display: block;
}

/* Section Styling */
.wp-block-group {
  padding: 4rem 2rem;
}

.section-hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Hide page title from Neve theme */
.nv-page-title {
  display: none;
}

/* Hero Logo Display */
.section-hero .hero-logo {
  max-width: 500px;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.section-hero p {
  font-size: 1.125rem;
  color: var(--color-dark-gray);
  max-width: 800px;
  margin: 0 auto 2rem;
}

/* CTA Buttons */
.wp-block-buttons .wp-block-button__link {
  background-color: var(--color-turquoise);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.wp-block-buttons .wp-block-button__link:hover {
  background-color: var(--color-dark-blue);
}

.wp-block-buttons .wp-block-button__link.is-style-outline {
  background-color: transparent;
  border: 2px solid var(--color-dark-blue);
  color: var(--color-dark-blue);
}

.wp-block-buttons .wp-block-button__link.is-style-outline:hover {
  background-color: var(--color-dark-blue);
  color: var(--color-white);
}

/* Columns - Cards Layout */
.wp-block-columns {
  gap: 2rem;
}

.wp-block-column {
  border-radius: 8px;
  padding: 2rem;
  background-color: var(--color-light-gray);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wp-block-column:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.wp-block-column h3 {
  margin-top: 0;
}

/* Color variations for columns */
.column-dark-blue {
  border-left: 4px solid var(--color-dark-blue);
}

.column-turquoise {
  border-left: 4px solid var(--color-turquoise);
}

.column-yellow {
  border-left: 4px solid var(--color-yellow);
  background-color: rgba(255, 199, 13, 0.1);
}

.column-magenta {
  border-left: 4px solid var(--color-magenta);
  background-color: rgba(136, 78, 160, 0.1);
}

/* SVG Icons - CSS Named Styles */
.icon-pedagogy::before {
  content: "";
  display: block;
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="45" fill="%230E2453" opacity="0.1"/><rect x="20" y="40" width="15" height="25" fill="%230E2453"/><rect x="35" y="35" width="15" height="30" fill="%2364CDC9"/><rect x="50" y="38" width="15" height="27" fill="%23FFCC01"/><rect x="65" y="40" width="15" height="25" fill="%23D21C8B"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.icon-school::before {
  content: "";
  display: block;
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="45" fill="%23D21C8B" opacity="0.1"/><polygon points="50,30 70,45 70,70 30,70 30,45" fill="%23D21C8B"/><rect x="35" y="55" width="10" height="15" fill="%23ffffff"/><rect x="55" y="55" width="10" height="15" fill="%23ffffff"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.icon-family::before {
  content: "";
  display: block;
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="45" fill="%23D21C8B" opacity="0.1"/><circle cx="35" cy="40" r="8" fill="%23D21C8B"/><circle cx="50" cy="35" r="9" fill="%23FFCC01"/><circle cx="65" cy="40" r="8" fill="%2364CDC9"/><polygon points="35,50 35,70 50,80 65,70 65,50" fill="%230E2453" opacity="0.8"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Lists */
.wp-block-list {
  list-style: none !important;
}

.wp-block-list li {
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
  list-style: none !important;
}

.wp-block-list li:before {
  content: "•";
  color: var(--color-turquoise);
  font-weight: bold;
  margin-right: 0.75rem;
}

/* Footer */
.wp-block-site-footer {
  background-color: var(--color-dark-blue);
  color: var(--color-white);
  padding: 2rem;
  text-align: center;
}

.wp-block-site-footer a {
  color: var(--color-turquoise);
  text-decoration: none;
}

.wp-block-site-footer a:hover {
  text-decoration: underline;
}

/* Contact Section */
.section-contact {
  background-color: var(--color-light-gray);
  padding: 4rem 2rem;
  text-align: center;
}

.section-contact h2 {
  margin-bottom: 2rem;
}

.contact-email {
  font-size: 1.25rem;
  font-weight: 600;
}

.contact-email a {
  color: var(--color-turquoise);
  text-decoration: none;
}

.contact-email a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .section-hero {
    padding: 4rem 1rem;
    min-height: 60vh;
  }
  
  .section-hero .hero-logo {
    max-width: 350px;
    margin: 0 auto 2rem;
  }
  
  .wp-block-columns {
    gap: 1rem;
  }
  
  .wp-block-column {
    padding: 1.5rem;
  }
}

/* SVG Icon Styles */
.icon-svg {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  display: block;
}

.section-spacer {
  height: 2rem;
}

.section-note {
  background-color: var(--nv-light-bg) !important;
  border-left-width: 4px;
  border-left-style: solid;
  border-color: var(--nv-c-2) !important;
}
