/*
Theme Name: MOBIHUB Lite SK
Description: WordPress téma pre MOBIHUB Lite - Zarábajte peniaze sledovaním videí
Version: 1.0
Author: Your Name
Text Domain: mobihub-lite-sk
*/

/* Base styles */
:root {
  --primary-color: #ffd7ef;
  --text-color: #000;
  --bg-color: #fff;
  --footer-bg: #000;
  --footer-text: #fff;
  --shadow: 0 2px 5px rgba(0,0,0,0.1);
  --border-radius: 25px;
  --spacing: 20px;
  --container-width: 1200px;
  --heading-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --body-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  text-align: center;
  font-family: var(--body-font);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
  letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Header styles */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-color);
  color: var(--text-color);
  padding: var(--spacing);
  font-size: clamp(18px, 4vw, 24px);
  font-weight: 700;
  font-family: var(--heading-font);
  box-shadow: var(--shadow);
}

.new-logo img {
  vertical-align: middle;
  margin-right: 10px;
}

/* Hero section styles */
.new-big-image,
.new-big-image_2 {
  position: relative;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.new-big-image::before,
.new-big-image_2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.new-big-image {
  background-image: url("images/14.jpg");
}

.new-big-image_2 {
  background-image: url("images/13.jpg");
}

.new-big-image-text {
  position: relative;
  z-index: 2;
  color: var(--bg-color);
  padding: var(--spacing);
  max-width: 90%;
}

.new-big-image-text h1 {
  font-size: clamp(36px, 8vw, 72px);
  margin-bottom: calc(var(--spacing) * 1.5);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.new-big-image-text h2 {
  font-size: clamp(24px, 5vw, 42px);
  margin-bottom: calc(var(--spacing) * 1.5);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.new-big-image-text .new-button {
  font-size: clamp(22px, 4vw, 32px);
  padding: 20px 40px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Animation */
.tg {
  animation: pulse 2s ease 2s infinite normal forwards;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Button styles */
.new-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--primary-color);
  color: var(--text-color);
  text-decoration: none;
  border-radius: var(--border-radius);
  margin-top: var(--spacing);
  font-weight: bolder;
  font-size: clamp(18px, 4vw, 30px);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  animation: pulse 2s ease infinite;
  font-family: var(--heading-font);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.new-button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Section styles */
.new-section,
.new-section_2 {
  padding: var(--spacing);
  margin: var(--spacing) auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing);
  max-width: var(--container-width);
}

.new-section {
  position: relative;
}

.new-section .new-button {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 400px;
  width: auto;
}

.new-section_2 {
  background-color: var(--primary-color);
  border-radius: var(--border-radius);
  margin: var(--spacing) auto;
  width: calc(100% - 40px);
  max-width: var(--container-width);
  grid-template-columns: repeat(2, 1fr);
}

.new-section > div,
.new-section_2 > div {
  padding: var(--spacing);
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.new-section img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.new-section img:hover {
  transform: scale(1.05);
}

h2 {
  font-size: clamp(24px, 5vw, 36px);
  margin: calc(var(--spacing) * 2) auto;
  font-weight: 600;
}

h3 {
  font-size: clamp(20px, 4vw, 28px);
  margin: var(--spacing) auto;
  font-weight: 500;
}

p {
  font-size: clamp(16px, 3vw, 18px);
  margin: var(--spacing) auto;
  max-width: var(--container-width);
  padding: 0 var(--spacing);
}

.new-otziv {
  background-color: var(--bg-color);
  padding: var(--spacing);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
}

.new-otziv:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.new-otziv > img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid var(--primary-color);
}

.new-otziv > p {
  margin: 10px 0;
  font-size: 16px;
}

.new-name {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 18px;
  margin-bottom: 10px;
  font-family: var(--heading-font);
}

.new-block {
  background-color: var(--bg-color);
  padding: var(--spacing);
  margin: 15px auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  max-width: var(--container-width);
  width: calc(100% - 40px);
  cursor: pointer;
  transition: all 0.3s ease;
}

.new-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.new-title {
  font-size: clamp(18px, 4vw, 22px);
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  padding-right: 30px;
  font-family: var(--heading-font);
  text-align: left;
}

.new-title:hover {
  color: var(--primary-color);
}

.new-title::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.new-title.active::after {
  transform: translateY(-50%) rotate(45deg);
}

.new-description {
  font-size: clamp(14px, 3vw, 16px);
  color: var(--text-color);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0;
  padding: 0;
  text-align: left;
}

.new-description.active {
  max-height: 200px;
  opacity: 1;
  padding: 15px 0;
}

.new-span_bold {
  font-weight: 600;
}

hr {
  border: none;
  height: 2px;
  background-color: var(--primary-color);
  margin: calc(var(--spacing) * 2) auto;
  max-width: var(--container-width);
}

.new-link1 {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 600;
}

.new-link1:hover {
  color: var(--text-color);
}

footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: var(--spacing);
  text-align: center;
}

footer a {
  color: var(--footer-text);
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
}

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

@media only screen and (max-width: 1024px) {
  .new-section,
  .new-section_2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 768px) {
  :root {
    --spacing: 15px;
    --container-width: 100%;
  }

  body {
    font-size: 16px;
  }

  header {
    padding: 15px;
    font-size: 20px;
  }

  .new-big-image,
  .new-big-image_2 {
    height: 80vh;
  }

  .new-big-image-text {
    padding: 15px;
  }

  .new-big-image-text h1 {
    font-size: clamp(28px, 8vw, 48px);
    margin-bottom: 20px;
  }

  .new-big-image-text h2 {
    font-size: clamp(18px, 5vw, 28px);
    margin-bottom: 25px;
  }

  .new-big-image-text .new-button {
    font-size: clamp(16px, 4vw, 24px);
    padding: 15px 25px;
  }

  .new-section,
  .new-section_2 {
    grid-template-columns: 1fr;
    padding: 15px;
    margin: 15px auto;
  }

  .new-section > div,
  .new-section_2 > div {
    padding: 15px;
  }

  .new-section img {
    height: 150px;
  }

  h2 {
    font-size: clamp(20px, 5vw, 28px);
    margin: 30px auto 20px;
  }

  h3 {
    font-size: clamp(18px, 4vw, 22px);
    margin: 20px auto 15px;
  }

  p {
    font-size: clamp(14px, 3vw, 16px);
    margin: 15px auto;
    padding: 0 15px;
  }

  .new-otziv {
    padding: 15px;
  }

  .new-otziv > img {
    width: 60px;
    height: 60px;
  }

  .new-otziv > p {
    font-size: 14px;
  }

  .new-name {
    font-size: 16px;
  }

  .new-block {
    margin: 10px auto;
  }

  .new-title {
    font-size: clamp(16px, 4vw, 18px);
  }

  .new-description {
    font-size: clamp(12px, 3vw, 14px);
  }

  .new-description.active {
    max-height: 300px;
  }

  .new-button {
    font-size: clamp(16px, 4vw, 20px);
    padding: 12px 20px;
  }

  footer {
    padding: 15px;
  }

  footer a {
    display: block;
    margin: 10px 0;
  }
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing);
}

h1, h2, h3 {
  text-align: center;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--spacing);
}

::-webkit-scrollbar {
  width: 8px;
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) transparent;
}

.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 10000;
  padding: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 3px solid var(--primary-color);
}

.cookie-popup.show {
  bottom: 0;
  animation: slide-up 0.4s ease-out;
}

@keyframes slide-up {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-popup-content {
  max-width: 800px;
  margin: 0 auto;
  color: white;
  text-align: center;
}

.cookie-popup h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 22px;
}

.cookie-popup p {
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 16px;
  color: #e0e0e0;
  max-width: none;
  padding: 0;
}

.cookie-links {
  margin-bottom: 25px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.cookie-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cookie-link:hover {
  color: white;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-button {
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 150px;
}

.cookie-button.accept {
  background-color: var(--primary-color);
  color: var(--text-color);
}

.cookie-button.decline {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.cookie-button:hover {
  transform: translateY(-2px);
}

@media only screen and (max-width: 768px) {
  .cookie-popup {
    padding: 15px;
  }

  .cookie-popup h3 {
    font-size: 20px;
  }

  .cookie-popup p {
    font-size: 14px;
  }

  .cookie-links {
    flex-direction: column;
    gap: 15px;
  }

  .cookie-link {
    font-size: 14px;
  }

  .cookie-button {
    font-size: 14px;
    padding: 10px 20px;
    min-width: 120px;
  }
}

.telegram-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s ease infinite;
}

.telegram-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.telegram-float img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

@media screen and (max-width: 768px) {
  .telegram-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }

  .telegram-float img {
    width: 25px;
    height: 25px;
  }
}

/* Specific styles for steps section */
.steps-section {
  margin: 5px;
  border-radius: 25px;
  padding: 20px;
  background-color: var(--primary-color);
}

.steps-section > div {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  text-align: left;
}

.steps-section > div > span {
  font-size: 24px;
  margin-right: 15px;
  min-width: 40px;
}

.steps-section > div:last-child {
  margin-bottom: 0;
} 