/* Modern design style for Happy Pets website */
:root {
  --primary-color: #cdf207;
  --secondary-color: #4bb9f0;
  --dark-color: #333;
  --light-color: #f9f9f9;
  --gray-color: #eaeaea;
  --text-color: #333;
  --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: white;
  min-height: 100vh;
  overflow-x: hidden;
   /* fallback farba */
   /* fallback */
   /* fallback farba */
  background-image: repeating-linear-gradient(45deg, rgb(255 255 255 / 1%) 0px, rgba(0, 0, 0, 0.03) 1px, transparent 1px, transparent 18px), repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.03) 0px, rgba(0, 0, 0, 0.03) 1px, transparent 1px, transparent 6px), linear-gradient(135deg, #c6c6c412 0%, #ffffff73 50%, #a9a9a529 100%);
  background-color: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 100 !important;
  color: var(--primary-color);
  transition: var(--transition);
  text-transform: uppercase;
}

a:hover {
  color: var(--secondary-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 10px 25px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--secondary-color);
  color: var(--dark-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ===== Header Styles ===== */
.header {
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  background: #000000;
  background: linear-gradient(235deg, rgba(0, 0, 0, 1) 0%, rgba(56, 55, 55, 1) 46%, rgba(40, 39, 39, 1) 67%, rgba(0, 0, 0, 1) 100%);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo img {
  height: auto;
  max-width: 215px;
}

.nav-menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 30px;
}

.nav-link {
  font-weight: 600;
  color: var(--dark-color);
  position: relative;
  padding-bottom: 5px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.social-nav {
  display: flex;
  margin-left: 30px;
}

.social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  margin-left: 10px;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  z-index: 1000;
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--dark-color);
  transition: var(--transition);
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--dark-color);
  margin: 3px 0;
  transition: var(--transition);
}

/* Menu backdrop overlay */
.menu-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 98;
}

/* ===== Hero Slider ===== */
.hero-slider {
  margin-top: 20px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.slider-container {
  position: relative;
  width: 100%;
}

.slider-wrapper {
  display: flex;
  transition: transform 0.5s ease;
}

.slider-slide {
  min-width: 100%;
  position: relative;
}

.slider-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.slider-caption {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 15px 20px;
  border-radius: 4px;
  max-width: 50%;
  box-shadow: var(--shadow);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.slider-caption a {
  font-weight: 600;
  font-size: 18px;
  color: var(--dark-color);
}

.slider-caption a:hover {
  color: var(--primary-color);
}

.slider-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background-color: var(--primary-color);
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: white;
  background-color: rgba(0, 0, 0, 0.3);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.slider-nav:hover {
  background-color: var(--primary-color);
}

.slider-prev {
  left: 20px;
}

.slider-next {
  right: 20px;
}

/* ===== Main Content ===== */
.main-content {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--dark-color);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.service-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-content {
  padding: 20px;
}

.service-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.service-text {
  margin-bottom: 20px;
  color: var(--text-color);
}

/* ===== Footer ===== */
.footer {
  color: white;
  padding: 60px 0 30px;
  background: #000000;
  background: linear-gradient(235deg, rgba(0, 0, 0, 1) 0%, rgba(56, 55, 55, 1) 46%, rgba(40, 39, 39, 1) 67%, rgba(0, 0, 0, 1) 100%);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  font-size: 20px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #444;
  color: white;
  transition: var(--transition);
  font-size: 18px;
}

.footer-social-icon:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #444;
}

.footer-bottom p {
  font-size: 14px;
  color: #aaa;
}

.footer-bottom a {
  color: var(--primary-color);
}

/* ===== Subpage Styles ===== */
.page-header {
  padding: 20px 0;
  background-color: var(--primary-color);
  margin-bottom: 40px;
}

.page-title {
  color: white;
  font-size: 2.5rem;
  font-weight: 300;
  text-align: center;
  margin: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 40px;
}

.info-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 30px;
}

.info-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 20px;
}

.info-image {
  flex: 1;
  min-width: 250px;
}

.info-details {
  flex: 2;
  min-width: 250px;
}

.rounded-img {
  border-radius: 10px;
  width: 100%;
  height: auto;
}

.section-title {
  color: var(--dark-color);
  font-size: 1.8rem;
  margin-top: 0;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
}

.subsection-title {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-top: 25px;
  margin-bottom: 15px;
}

.cta-link {
  margin: 20px 0;
  text-align: center;
}

.document-section {
  text-align: center;
  margin-bottom: 40px;
}

.document-link {
  display: inline-block;
  padding: 12px 25px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.document-link:hover {
  background-color: var(--secondary-color);
  color: var(--dark-color);
}

/* Contact Form Styles */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: var(--dark-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: 'Open Sans', sans-serif;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

.form-submit {
  text-align: center;
  margin-top: 30px;
}

/* Map Styles */
.map-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 30px;
  margin-bottom: 40px;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  margin-top: 20px;
  height: 450px;
}

/* Price List Styles */
.price-list {
  background-color: white;
}

.price-category {
  margin-bottom: 30px;
}

.price-list-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.price-list-items li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
}

.price-list-items li:last-child {
  border-bottom: none;
}

.animal {
  font-weight: 600;
}

.price {
  color: var(--primary-color);
  font-weight: 700;
}

.call-out {
  background-color: var(--primary-color);
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  margin: 20px 0;
  text-align: center;
}

.call-out h3 {
  margin: 0;
  font-size: 1.2rem;
}

/* Points Check Styles */
.points-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 30px;
  margin-bottom: 40px;
}

.points-form {
  max-width: 500px;
  margin: 0 auto;
}

#scanner-container {
  max-width: 500px;
  margin: 30px auto;
  text-align: center;
}

#scanner {
  width: 100%;
  height: 300px;
  border: 2px dashed var(--primary-color);
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
}

.result-container {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  margin-top: 30px;
  text-align: center;
}

.result-details {
  text-align: left;
  max-width: 400px;
  margin: 0 auto;
}

.points-value {
  font-size: 1.3rem;
  color: var(--primary-color);
  font-weight: 700;
}

.discount-value {
  font-size: 1.3rem;
  color: #28a745;
  font-weight: 700;
}

/* Popup Styles */
#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 100;
}

#popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
  z-index: 101;
  min-width: 300px;
  max-width: 90%;
}

#popup-content {
  margin-bottom: 20px;
  text-align: center;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  color: var(--dark-color);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--dark-color);
}

.btn-secondary:hover {
  background-color: var(--dark-color);
  color: white;
}

.btn-danger {
  background-color: #dc3545;
  color: white;
}

.btn-danger:hover {
  background-color: #bd2130;
}

/* ===== Stores Page ===== */
.stores-section {
  padding: 2rem 0;
}

.stores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.store-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.store-card:hover {
  transform: translateY(-5px);
}

.store-image {
  height: 200px;
  overflow: hidden;
}

.store-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.store-card:hover .store-image img {
  transform: scale(1.05);
}

.store-content {
  padding: 1.5rem;
}

.store-name {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.store-hours {
  margin-bottom: 1.5rem;
}

.store-hours h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.day {
  font-weight: 600;
  color: var(--text-color);
}

.time {
  color: var(--text-color);
}

.store-address p {
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.phone-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color) !important;
  font-weight: 600;
  margin-top: 0.5rem;
}

.phone-link i {
  margin-right: 0.5rem;
}

.welcome-message {
  margin-top: 3rem;
  padding: 2rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
}

.welcome-message h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* ===== Career Page ===== */
.career-section {
  padding: 2rem 0;
}

.job-listings {
  margin-top: 2rem;
}

.job-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 2rem;
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: linear-gradient(235deg, rgba(0, 0, 0, 1) 0%, rgba(56, 55, 55, 1) 46%, rgba(40, 39, 39, 1) 67%, rgba(0, 0, 0, 1) 100%);
  color: white;
}

.job-title {
  font-size: 1.5rem;
  margin: 0;
  font-weight: 300;
}

.job-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: white;
  color: var(--primary-color);
  border-radius: 4px;
  padding: 0.5rem;
  min-width: 60px;
  text-align: center;
}

.date-day {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}

.date-month {
  font-size: 0.8rem;
  text-transform: uppercase;
}

.job-content {
  display: flex;
  padding: 1.5rem;
}

.job-image {
  flex: 0 0 180px;
  margin-right: 1.5rem;
}

.job-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.job-description {
  flex: 1;
}

.btn-details {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 4px;
  margin-top: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-details:hover {
  background-color: var(--secondary-color);
  color: var(--dark-color);
}

.job-details {
  margin-top: 1.5rem;
  padding: 1rem;
  background-color: var(--gray-color);
  border-radius: 4px;
}

.job-details p {
  margin-bottom: 0.5rem;
}

.pagination {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.page-numbers {
  display: flex;
  list-style: none;
}

.page-numbers li {
  margin: 0 0.25rem;
}

.page-numbers li a {
  display: block;
  padding: 0.5rem 1rem;
  background-color: white;
  color: var(--primary-color);
  border-radius: 4px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.page-numbers li.active a,
.page-numbers li a:hover {
  background-color: var(--primary-color);
  color: white;
}

.contact-info {
  margin-top: 3rem;
  padding: 2rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-info h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-info a {
  font-weight: 600;
  color: var(--primary-color) !important;
}

/* Media queries */
@media screen and (max-width: 768px) {
  .page-header h1 {
    font-size: 28px;
  }
  
  .info-card h3 {
    font-size: 20px;
  }
  
  .modern-form {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 576px) {
  .page-header h1 {
    font-size: 24px;
  }
  
  .info-grid, .store-grid {
    grid-template-columns: 1fr;
  }
  
  .download-link a {
    padding: 12px 20px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 30px 0;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .info-card, .map-card, .points-card {
    padding: 20px;
  }
  
  .info-content {
    flex-direction: column;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .subsection-title {
    font-size: 1.2rem;
  }
  
  .map-container {
    height: 350px;
  }
  
  /* Mobile Navigation */
  .hamburger {
    display: flex;
    z-index: 100;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    padding: 80px 20px 20px;
    transition: all 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 99;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    width: 100%;
  }
  
  .nav-item {
    margin: 15px 0;
    margin-left: 0;
    width: 100%;
  }
  
  .nav-link {
    display: block;
    font-size: 18px;
    padding: 10px 0;
    width: 100%;
  }
    .social-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    margin-left: 0;
  }
  
  .social-icon {
    margin: 0 8px;
  }
}

@media (max-width: 480px) {
  .page-header {
    padding: 20px 0;
  }
  
  .page-title {
    font-size: 1.8rem;
  }
  
  .info-card, .map-card, .points-card {
    padding: 15px;
  }
  
  .section-title {
    font-size: 1.3rem;
  }
  
  .map-container {
    height: 250px;
  }
  
  .btn {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .job-content {
    flex-direction: column;
  }
  
  .job-image {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .stores-grid {
    grid-template-columns: 1fr;
  }
}
