/* CSS Variables for Christmas Theme */
:root {
  --primary-green: #1b5e20;
  --secondary-green: #2e7d32;
  --accent-red: #c62828;
  --gold: #ffd700;
  --snow-white: #fafafa;
  --dark-green: #0d3b0d;
  --light-green: #4caf50;
  --warm-red: #d32f2f;
  --text-dark: #212121;
  --text-light: #757575;
  --shadow: rgba(0, 0, 0, 0.1);
  --gradient-christmas: linear-gradient(
    135deg,
    var(--primary-green) 0%,
    var(--secondary-green) 50%,
    var(--accent-red) 100%
  );
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--snow-white);
  overflow-x: hidden;
  font-feature-settings: "liga" 1, "kern" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Snow Animation */
.snowflakes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
}

.snowflake {
  position: absolute;
  top: -10px;
  color: white;
  font-size: 1.5rem;
  animation: fall linear infinite;
  opacity: 0.8;
}

.snowflake:nth-child(1) {
  left: 10%;
  animation-duration: 8s;
  animation-delay: 0s;
}
.snowflake:nth-child(2) {
  left: 20%;
  animation-duration: 10s;
  animation-delay: 1s;
}
.snowflake:nth-child(3) {
  left: 30%;
  animation-duration: 7s;
  animation-delay: 2s;
}
.snowflake:nth-child(4) {
  left: 40%;
  animation-duration: 9s;
  animation-delay: 3s;
}
.snowflake:nth-child(5) {
  left: 50%;
  animation-duration: 6s;
  animation-delay: 4s;
}
.snowflake:nth-child(6) {
  left: 60%;
  animation-duration: 8s;
  animation-delay: 5s;
}
.snowflake:nth-child(7) {
  left: 70%;
  animation-duration: 11s;
  animation-delay: 6s;
}
.snowflake:nth-child(8) {
  left: 80%;
  animation-duration: 7s;
  animation-delay: 7s;
}
.snowflake:nth-child(9) {
  left: 90%;
  animation-duration: 9s;
  animation-delay: 8s;
}
.snowflake:nth-child(10) {
  left: 15%;
  animation-duration: 8s;
  animation-delay: 9s;
}
.snowflake:nth-child(11) {
  left: 25%;
  animation-duration: 10s;
  animation-delay: 10s;
}
.snowflake:nth-child(12) {
  left: 35%;
  animation-duration: 7s;
  animation-delay: 11s;
}

@keyframes fall {
  0% {
    transform: translateY(-100vh) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(27, 94, 32, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px var(--shadow);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--snow-white);
  font-family: "Puppies Play", cursive;
  font-size: 2rem;
  font-weight: 400;
}

.nav-logo i {
  color: var(--gold);
  animation: twinkle 2s infinite;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  color: var(--snow-white);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  padding: 10px 15px;
  border-radius: 25px;
}

.nav-link:hover {
  color: var(--gold);
  background: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.nav-link.active {
  color: var(--gold);
  background: rgba(255, 215, 0, 0.2);
}

.nav-dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--snow-white);
  min-width: 200px;
  box-shadow: 0 8px 32px var(--shadow);
  border-radius: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
}

.nav-dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-content a {
  display: block;
  padding: 15px 20px;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background: var(--primary-green);
  color: var(--snow-white);
  padding-left: 30px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--snow-white);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  background-color: var(--dark-green);
  background-image: url("images/background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  color: var(--snow-white);
  z-index: 2;
  position: relative;
}

.hero-banner {
  background: rgba(0, 0, 0, 0.3);
  padding: 60px 40px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-title {
  font-family: "Puppies Play", cursive;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 20px var(--gold);
  }
  to {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 30px var(--gold),
      0 0 40px var(--gold);
  }
}

.hero-title i {
  color: var(--gold);
  animation: twinkle 1.5s infinite;
  margin: 0 15px;
}

.event-date {
  font-size: 1.5rem;
  margin-bottom: 40px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.event-date i {
  color: var(--gold);
}

.countdown-container {
  margin-top: 30px;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.countdown-item {
  background: rgba(0, 0, 0, 0.4);
  padding: 20px;
  border-radius: 15px;
  border: 2px solid var(--gold);
  min-width: 120px;
  text-align: center;
  backdrop-filter: blur(10px);
  animation: pulse 2s infinite;
}

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

.countdown-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  font-family: "Puppies Play", cursive;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.countdown-label {
  display: block;
  font-size: 1rem;
  margin-top: 5px;
  font-weight: 600;
}

/* Christmas Lights */
.hero-lights {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.light {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  animation: blink 2s infinite;
}

.light-1 {
  top: 20%;
  left: 10%;
  background: var(--accent-red);
  animation-delay: 0s;
}
.light-2 {
  top: 30%;
  right: 15%;
  background: var(--gold);
  animation-delay: 0.5s;
}
.light-3 {
  top: 60%;
  left: 20%;
  background: var(--light-green);
  animation-delay: 1s;
}
.light-4 {
  top: 70%;
  right: 25%;
  background: var(--warm-red);
  animation-delay: 1.5s;
}
.light-5 {
  top: 40%;
  left: 50%;
  background: var(--gold);
  animation-delay: 2s;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
    transform: scale(1);
  }
  25%,
  75% {
    opacity: 0.3;
    transform: scale(0.8);
  }
}

/* Main Content */
.main-content {
  padding-top: 70px;
}

.section-title {
  font-family: "Puppies Play", cursive;
  font-size: 3rem;
  color: var(--primary-green);
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  font-weight: 450;
}

.section-title i {
  color: var(--accent-red);
  margin-right: 15px;
  animation: twinkle 2s infinite;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--gradient-christmas);
  border-radius: 2px;
}

/* Info Section */
.info-section {
  padding: 80px 0;
  background: var(--snow-white);
}

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

.info-card {
  background: var(--snow-white);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px var(--shadow);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-christmas);
  opacity: 0.1;
  transition: left 0.5s ease;
}

.info-card:hover::before {
  left: 0;
}

.info-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-green);
  box-shadow: 0 20px 40px rgba(27, 94, 32, 0.2);
}

.info-card i {
  font-size: 3rem;
  color: var(--primary-green);
  margin-bottom: 20px;
  display: block;
}

.info-card h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 15px;
  font-weight: 600;
}

.info-card p {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* Sponsors Section */
.sponsors-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 30px;
}

.gallery-item {
  position: relative;
  padding-top: 65%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px var(--shadow);
  background: #00000022;
}

.gallery-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.lightbox-btn {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
}

.sponsor-card {
  background: var(--snow-white);
  padding: 40px 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px var(--shadow);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.sponsor-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 15px 35px rgba(255, 215, 0, 0.2);
}

.sponsor-placeholder {
  color: var(--text-light);
}

.sponsor-placeholder i {
  font-size: 2.5rem;
  color: var(--primary-green);
  margin-bottom: 15px;
  display: block;
}

/* Support Section */
.support-section {
  padding: 80px 0;
  background: var(--primary-green);
  color: var(--snow-white);
}

.support-section .section-title {
  color: var(--snow-white);
}

.support-text {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.support-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.support-option {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.support-option:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.support-option i {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}

.support-option h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.support-btn {
  background: var(--gold);
  color: var(--primary-green);
  border: none;
  padding: 15px 40px;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  margin: 0 auto;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.support-btn:hover {
  background: var(--snow-white);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

.support-btn i {
  margin-right: 10px;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background: var(--snow-white);
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px;
  background: var(--snow-white);
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.contact-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary-green);
  box-shadow: 0 15px 35px rgba(27, 94, 32, 0.2);
}

.contact-item i {
  font-size: 2rem;
  color: var(--primary-green);
  width: 50px;
  text-align: center;
}

.contact-item h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 5px;
  font-weight: 600;
}

.contact-item p {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* Viber mobile badge */
.contact-phone {
  color: var(--text-dark);
  text-decoration: none;
}

.badge-viber {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #7360f2;
  color: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-left: 10px;
}

.badge-viber i {
  font-size: 1rem;
}

.mobile-only {
  display: none;
}

.contact-item a {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--accent-red);
}

/* Footer */
.footer {
  background: var(--dark-green);
  color: var(--snow-white);
  padding: 50px 0 20px;
}

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

.footer-info h3 {
  font-family: "Puppies Play", cursive;
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 15px;
}

.footer-info p {
  margin-bottom: 10px;
  color: #ccc;
}

.footer-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--snow-white);
}

.footer-social h4 {
  margin-bottom: 20px;
  color: var(--gold);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--primary-green);
  color: var(--snow-white);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.social-link:hover {
  background: var(--gold);
  color: var(--primary-green);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #ccc;
}

/* Participants Section */
.participants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 30px;
}

.participant {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: 8px;
  padding: 15px;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.participant:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.15);
}

.participant i {
  font-size: 1.2rem;
  margin-right: 12px;
  color: var(--gold);
  min-width: 24px;
  text-align: center;
}

.participant span {
  font-size: 0.95rem;
  line-height: 1.4;
}

.section-subtitle {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #b9b5b5;
  font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1002;
  }
  .mobile-only {
    display: inline-block;
  }
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--primary-green);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Mobile dropdown styles */
  .nav-dropdown {
    position: static;
  }

  .dropdown-content {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(0, 0, 0, 0.2);
    box-shadow: none;
    border-radius: 0;
    margin-top: 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-dropdown.active .dropdown-content {
    max-height: 200px;
  }

  .dropdown-content a {
    padding: 10px 20px;
    color: var(--snow-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 20px;
  }

  .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }

  .dropdown-toggle i {
    transition: transform 0.3s ease;
  }

  .nav-dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
  }

  .hero-title {
    font-size: 3rem;
    line-height: 1.3;
    white-space: normal;
    font-weight: 400;
  }

  .countdown {
    gap: 15px;
  }

  .countdown-item {
    min-width: 100px;
    padding: 15px;
  }

  .countdown-number {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .sponsors-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .support-options {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero {
    width: 100%;
    background-position: center top;
  }
  .hero-banner {
    margin-top: 200px;
    margin-left: 0;
    margin-right: 0;
    padding: 30px 15px;
    max-width: 100%;
    width: 100%;
  }

  .hero-title {
    font-size: 1.6rem;
    line-height: 1.3;
    white-space: normal;
    word-wrap: break-word;
  }

  .countdown {
    flex-direction: column;
    align-items: center;
  }

  .countdown-item {
    width: 100%;
    max-width: 200px;
  }
}
