/* Hide Navigation Menu */
.main-nav {
    display: none !important;
}

/* סגנונות משודרגים לקטע פרטי האירוע ומטה - גרסה 2.0 */

/* אפקטים כלליים ואנימציות */
@keyframes glowing {
  0%, 100% { text-shadow: 0 0 10px rgba(79, 70, 229, 0.8), 0 0 20px rgba(79, 70, 229, 0.5); }
  50% { text-shadow: 0 0 15px rgba(168, 85, 247, 0.9), 0 0 30px rgba(168, 85, 247, 0.6); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes sparkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes rotate3d {
  0% { transform: perspective(1000px) rotateX(0) rotateY(0); }
  50% { transform: perspective(1000px) rotateX(5deg) rotateY(5deg); }
  100% { transform: perspective(1000px) rotateX(0) rotateY(0); }
}

@keyframes shine {
  0% { left: -100%; opacity: 0; }
  50% { opacity: 0.8; }
  100% { left: 100%; opacity: 0; }
}

.glowing-text {
  animation: glowing 3s ease-in-out infinite;
  position: relative;
  background: linear-gradient(135deg, #4F46E5, #A855F7, #EC4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.section-header-3d {
  position: relative;
  text-align: center;
  margin-bottom: 3rem;
}

.section-header-3d h2 {
  font-family: var(--font-decorative);
  font-size: 3rem;
  position: relative;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.section-header-3d .section-icon {
  font-size: 2rem;
  margin-right: 0.5rem;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.title-decoration {
  position: relative;
  width: 150px;
  height: 4px;
  background: linear-gradient(90deg, #4F46E5, #A855F7, #EC4899);
  margin: 1rem auto;
  border-radius: 2px;
}

.title-decoration::before,
.title-decoration::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #4F46E5, #EC4899);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  animation: sparkle 3s infinite;
}

.title-decoration::before { left: -10px; }
.title-decoration::after { right: -10px; }






/* Footer משודרג */
footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 4rem 0 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1E40AF, #E11D48, #F59E0B);
}

footer h3 {
    font-family: var(--font-decorative);
    font-size: 2.5rem;
    background: linear-gradient(135deg, #E11D48, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #E11D48, #F59E0B);
    transition: width 0.3s ease;
}

.footer-nav a:hover::after {
    width: 100%;
}

.footer-nav a:hover {
    color: white;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: linear-gradient(135deg, #E11D48, #F59E0B);
    transform: translateY(-3px) scale(1.1);
}

.footer-heart {
    color: #E11D48;
    animation: heartbeat 1.5s ease-in-out infinite;
}

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

.copyright {
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* אפקטים למצב לילה */
.night-mode .details-container {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 1px solid rgba(255,255,255,0.1);
}

.night-mode .timeline-event {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    color: white;
}

.night-mode .timeline-event h4 {
    color: #60a5fa;
}

.night-mode .details-card {
    background: linear-gradient(135deg, rgba(30,41,59,0.9), rgba(51,65,85,0.9));
    backdrop-filter: blur(15px);
    color: white;
}

.night-mode .details-title {
    color: #60a5fa;
}

.night-mode .details-text {
    color: #cbd5e1;
}

.night-mode .gallery-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

/* רספונסיביות */
@media (max-width: 768px) {
    .timeline-events {
        flex-direction: column;
        gap: 2rem;
    }
    
    .details-cards-container {
        grid-template-columns: 1fr;
    }
    
    .details-container {
        padding: 2rem 1rem;
        margin: 2rem 0;
    }
    
    .directions-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .venue-details {
        grid-template-columns: 1fr;
    }
    
    .rsvp-form {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    .timeline-event {
        padding: 1rem;
    }
    
    .details-card {
        padding: 2rem 1rem;
    }
    
    .event-time {
        padding: 0.6rem 1rem;
        font-size: 1rem;
    }
    
    .details-title {
        font-size: 1.5rem;
    }
    
    .details-icon {
        width: 70px;
        height: 70px;
    }
}
      :root {
          --primary-color: #1E40AF;
          --secondary-color: #E11D48;
          --accent-color: #F59E0B;
          --background-color: #F8FAFC;
          --text-color: #0F172A;
          --light-text: #FFFFFF;
          --dark-accent: #0F2167;
          --success-color: #059669;
          --error-color: #DC2626;
          --border-radius: 12px;
          --box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
          --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
          --font-primary: 'Heebo', sans-serif;
          --font-decorative: 'Amatic SC', cursive;
          --font-elegant: 'Playfair Display', serif;
          --hero-bg-primary: #1E40AF;
          --hero-bg-secondary: #C8102E;
          --glow-color: rgba(245, 158, 11, 0.5);
          --night-primary: #0F0F29;
          --night-secondary: #5D1B3F;
          --night-accent: #F0A04B;
          --night-bg: #121226;
      }
      
      * {
          margin: 0;
          padding: 0;
          box-sizing: border-box;
      }
      
      body, html {
          height: 100%;
          font-family: var(--font-primary);
          overflow-x: hidden;
          background-color: var(--background-color);
          color: var(--text-color);
          line-height: 1.6;
      }

      /* Theme Selector - Smaller and Less Prominent */
      .theme-selector {
          position: fixed;
          top: 20px;
          left: 20px;
          background: rgba(255, 255, 255, 0.7);
          backdrop-filter: blur(10px);
          border-radius: 50%;
          box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
          padding: 8px;
          z-index: 1000;
          direction: ltr;
          width: 36px;
          height: 36px;
          font-family: var(--font-primary);
          overflow: hidden;
          transition: all 0.3s ease;
          display: flex;
          align-items: center;
          justify-content: center;
      }
      
      .theme-selector.open {
          width: 280px;
          height: auto;
          border-radius: 12px;
          max-height: 400px;
          overflow-y: auto;
          padding: 10px;
      }
      
      .theme-selector:hover {
          transform: scale(1.05);
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
      }

      .theme-selector-header {
          display: flex;
          align-items: center;
          justify-content: center;
          cursor: pointer;
          width: 100%;
          height: 36px;
          transition: all 0.3s ease;
          font-weight: 500;
          color: var(--primary-color);
          padding: 0;
          margin: 0;
      }
      
      .theme-selector.open .theme-selector-header {
          display: none;
      }
      
      .theme-selector-header span {
          display: none;
      }
      
      .theme-selector.open .theme-selector-header span {
          display: inline;
          margin-right: 8px;
          font-size: 0.9rem;
      }

      .theme-selector-header i {
          font-size: 1.2rem;
          color: var(--primary-color);
          transition: all 0.3s ease;
      }
      
      .theme-selector:not(.open) .theme-selector-header i {
          animation: pulse 2s infinite;
      }
      
      @keyframes pulse {
          0% { transform: scale(1); }
          50% { transform: scale(1.1); }
          100% { transform: scale(1); }
      }

      .theme-options {
          margin: 0;
          display: grid;
          grid-template-columns: repeat(2, 1fr);
          gap: 3px;
          padding: 0;
          max-height: 400px;
          overflow-y: auto;
      }

      .theme-option {
          display: flex;
          align-items: center;
          gap: 6px;
          padding: 6px 8px;
          border-radius: 6px;
          cursor: pointer;
          transition: all 0.3s ease;
          border: 1px solid transparent;
          background: rgba(255, 255, 255, 0.5);
      }

      .theme-option:hover {
          background: rgba(255, 255, 255, 0.9);
          transform: translateY(-2px);
          box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
      }

      .theme-option.active {
          border-color: var(--primary-color);
          background: rgba(255, 255, 255, 0.9);
          box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
      }

      .theme-color {
          width: 20px;
          height: 20px;
          border-radius: 50%;
          border: 2px solid rgba(255, 255, 255, 0.9);
          box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
          transition: all 0.3s ease;
      }
      
      .theme-option:hover .theme-color {
          transform: scale(1.1);
      }
      
      .theme-option.active .theme-color {
          transform: scale(1.1);
          box-shadow: 0 0 8px var(--primary-color);
      }

      .theme-name {
          font-size: 0.75rem;
          font-weight: 500;
      }
      
      /* Scrollbar Styling */
      ::-webkit-scrollbar {
          width: 8px;
      }
      
      ::-webkit-scrollbar-track {
          background: rgba(0, 51, 204, 0.05);
      }
      
      ::-webkit-scrollbar-thumb {
          background: var(--primary-color);
          border-radius: 8px;
      }
      
      ::-webkit-scrollbar-thumb:hover {
          background: var(--dark-accent);
      }
      
      /* Utility Classes */
      .container {
          max-width: 1200px;
          margin: 0 auto;
          padding: 0 20px;
          position: relative;
          z-index: 2;
      }
      
      .journey-container {
          width: 100%;
          max-width: 1200px;
          margin: 0 auto;
          padding: 20px;
          position: relative;
          z-index: 2;
      }
      
      .text-center {
          text-align: center;
      }
      
      .mb-1 { margin-bottom: 0.5rem; }
      .mb-2 { margin-bottom: 1rem; }
      .mb-3 { margin-bottom: 1.5rem; }
      .mb-4 { margin-bottom: 2rem; }
      .mb-5 { margin-bottom: 3rem; }
      
      .mt-1 { margin-top: 0.5rem; }
      .mt-2 { margin-top: 1rem; }
      .mt-3 { margin-top: 1.5rem; }
      .mt-4 { margin-top: 2rem; }
      .mt-5 { margin-top: 3rem; }
      
      .py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
      .py-2 { padding-top: 1rem; padding-bottom: 1rem; }
      .py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
      .py-4 { padding-top: 2rem; padding-bottom: 2rem; }
      .py-5 { padding-top: 3rem; padding-bottom: 3rem; }
      
      .px-1 { padding-left: 0.5rem; padding-right: 0.5rem; }
      .px-2 { padding-left: 1rem; padding-right: 1rem; }
      .px-3 { padding-left: 1.5rem; padding-right: 1.5rem; }
      .px-4 { padding-left: 2rem; padding-right: 2rem; }
      .px-5 { padding-left: 3rem; padding-right: 3rem; }
      
      .flex {
          display: flex;
      }
      
      .flex-col {
          flex-direction: column;
      }
      
      .items-center {
          align-items: center;
      }
      
      .justify-center {
          justify-content: center;
      }
      
      .justify-between {
          justify-content: space-between;
      }
      
      .gap-1 { gap: 0.5rem; }
      .gap-2 { gap: 1rem; }
      .gap-3 { gap: 1.5rem; }
      .gap-4 { gap: 2rem; }
      .gap-5 { gap: 3rem; }
      
      .w-full {
          width: 100%;
      }
      
      .rounded {
          border-radius: var(--border-radius);
      }
      
      .btn {
          display: inline-block;
          padding: 12px 24px;
          background: var(--primary-color);
          color: white;
          border: none;
          border-radius: 50px;
          font-weight: 500;
          cursor: pointer;
          text-decoration: none;
          transition: var(--transition);
          font-size: 1rem;
          text-align: center;
          box-shadow: 0 4px 6px rgba(0, 51, 204, 0.2);
          font-family: var(--font-primary);
      }
      
      .btn:hover {
          transform: translateY(-3px);
          box-shadow: 0 7px 14px rgba(0, 51, 204, 0.3);
      }
      
      .btn-accent {
          background: var(--accent-color);
          color: var(--text-color);
      }
      
      .btn-outline {
          background: transparent;
          border: 2px solid var(--primary-color);
          color: var(--primary-color);
      }
      
      .btn-outline:hover {
          background: var(--primary-color);
          color: white;
      }
      
      .btn-light {
          background: rgba(255, 255, 255, 0.2);
          color: white;
          border: 1px solid rgba(255, 255, 255, 0.4);
          backdrop-filter: blur(5px);
      }
      
      .btn-light:hover {
          background: rgba(255, 255, 255, 0.3);
      }
      
      .btn-lg {
          padding: 16px 32px;
          font-size: 1.1rem;
      }
      
      .btn-sm {
          padding: 8px 16px;
          font-size: 0.9rem;
      }
      
      /* Hero Styles - Enhanced */
      .hero {
          height: 100vh;
          background-image: linear-gradient(rgba(30, 64, 175, 0.7), rgba(200, 16, 46, 0.7)), url('uploads/image.png');

          background-size: cover;
          background-position: center;
          background-attachment: fixed;
          color: white;
          display: flex;
          align-items: center;
          justify-content: center;
          position: relative;
          overflow: hidden;
          transition: background-color 0.5s ease;
      }
      
      /* Floating Hearts Animation */
      .floating-hearts {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          pointer-events: none;
          overflow: hidden;
      }

      .floating-heart {
          position: absolute;
          color: rgba(255, 255, 255, 0.6);
          font-size: 1.5rem;
          animation: floatUp 8s infinite linear;
      }

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

      /* Sparkle Animation */
      .sparkles {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          pointer-events: none;
      }

      .sparkle {
          position: absolute;
          color: rgba(255, 215, 0, 0.8);
          font-size: 1rem;
          animation: sparkleAnimation 3s infinite ease-in-out;
      }

      @keyframes sparkleAnimation {
          0%, 100% {
              opacity: 0;
              transform: scale(0) rotate(0deg);
          }
          50% {
              opacity: 1;
              transform: scale(1) rotate(180deg);
          }
      }
      
      .hero-content {
          text-align: center;
          z-index: 2;
          max-width: 800px;
          padding: 40px;
          background: rgba(255, 255, 255, 0.1);
          backdrop-filter: blur(10px);
          border-radius: var(--border-radius);
          border: 1px solid rgba(255, 255, 255, 0.2);
          box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
          transition: all 0.5s ease;
          animation: fadeIn 1.5s ease-out;
          position: relative;
      }
      
      .hero-content:hover {
          box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
          transform: translateY(-10px);
      }

      /* Pulsing Ring Effect */
      .hero-content::before {
          content: '';
          position: absolute;
          top: -10px;
          left: -10px;
          right: -10px;
          bottom: -10px;
          border: 2px solid rgba(255, 215, 0, 0.5);
          border-radius: var(--border-radius);
          animation: pulseRing 3s infinite;
      }

      @keyframes pulseRing {
          0% {
              transform: scale(1);
              opacity: 1;
          }
          100% {
              transform: scale(1.1);
              opacity: 0;
          }
      }
      
      .names {
          font-family: var(--font-decorative);
          font-size: 6rem;
          font-weight: 700;
          margin-bottom: 1.5rem;
          background: linear-gradient(45deg, #FFD700, #FFF8DC, #FFD700);
          background-size: 200% 200%;
          -webkit-background-clip: text;
          background-clip: text;
          -webkit-text-fill-color: transparent;
          text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
          letter-spacing: 3px;
          position: relative;
          animation: nameGlow 4s ease-in-out infinite alternate, nameGradient 8s ease infinite;
          padding: 0.5rem 2rem;
          transform-style: preserve-3d;
          perspective: 1000px;
      }

      @keyframes nameGlow {
          0% {
              filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
          }
          100% {
              filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
          }
      }
      
      @keyframes nameGradient {
          0% { background-position: 0% 50%; }
          50% { background-position: 100% 50%; }
          100% { background-position: 0% 50%; }
      }

      /* Heart Icons Around Names */
      .names::before,
      .names::after {
          content: '💖';
          position: absolute;
          top: 50%;
          transform: translateY(-50%);
          font-size: 2rem;
          animation: heartBeat 2s infinite;
      }

      .names::before {
          left: -3rem;
          animation-delay: 0s;
      }

      .names::after {
          right: -3rem;
          animation-delay: 1s;
      }

      @keyframes heartBeat {
          0%, 100% {
              transform: translateY(-50%) scale(1);
          }
          50% {
              transform: translateY(-50%) scale(1.2);
          }
      }
      
      .invitation-text {
          font-size: 1.8rem;
          margin-bottom: 2.5rem;
          font-weight: 400;
          line-height: 1.6;
          animation: fadeInUp 1s ease-out 0.5s both, textGlow 3s infinite alternate;
          display: block;
          width: 100%;
          text-align: center;
          letter-spacing: 1px;
          color: #fff;
          text-shadow: 0 0 10px rgba(255, 255, 255, 0.7), 0 0 20px rgba(255, 215, 0, 0.5);
          font-family: 'Amatic SC', 'Rubik', cursive, sans-serif;
      }
      
      @keyframes textGlow {
          0% { text-shadow: 0 0 5px rgba(255, 255, 255, 0.7), 0 0 10px rgba(255, 215, 0, 0.3); }
          100% { text-shadow: 0 0 15px rgba(255, 255, 255, 0.9), 0 0 30px rgba(255, 215, 0, 0.7); }
      }

      @keyframes fadeInUp {
          from {
              opacity: 0;
              transform: translateY(30px);
          }
          to {
              opacity: 1;
              transform: translateY(0);
          }
      }
      
      .date {
          font-size: 2rem;
          font-weight: 700;
          margin-bottom: 2.5rem;
          padding: 1.2rem 2.5rem;
          position: relative;
          display: block;
          width: fit-content;
          margin-left: auto;
          margin-right: auto;
          color: var(--accent-color);
          background: rgba(255, 255, 255, 0.15);
          border-radius: 50px;
          border: 2px solid rgba(255, 255, 255, 0.3);
          box-shadow: 0 0 15px rgba(255, 255, 255, 0.2), inset 0 0 10px rgba(255, 255, 255, 0.1);
          animation: fadeInUp 1s ease-out 1s both, dateGlow 4s infinite alternate;
          text-align: center;
          font-family: 'Heebo', 'Rubik', sans-serif;
          letter-spacing: 1px;
          text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
          transition: all 0.3s ease;
      }
      
      .date:hover {
          transform: translateY(-5px);
          box-shadow: 0 0 25px rgba(255, 255, 255, 0.4), inset 0 0 15px rgba(255, 255, 255, 0.2);
      }
      
      @keyframes dateGlow {
          0% { box-shadow: 0 0 15px rgba(255, 255, 255, 0.2), inset 0 0 10px rgba(255, 255, 255, 0.1); }
          100% { box-shadow: 0 0 25px rgba(255, 255, 255, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.2); }
      }
      
      .date::before, .date::after {
          content: "♥";
          position: absolute;
          top: 50%;
          transform: translateY(-50%);
          font-size: 1.2rem;
          color: var(--secondary-color);
          animation: heartPulse 2s infinite;
      }
      
      .date::before {
          left: -2rem;
      }
      
      .date::after {
          right: -2rem;
      }

      @keyframes heartPulse {
          0%, 100% {
              transform: translateY(-50%) scale(1);
              opacity: 1;
          }
          50% {
              transform: translateY(-50%) scale(1.3);
              opacity: 0.7;
          }
      }
      
      .rsvp-button {
          background: linear-gradient(45deg, var(--primary-color), var(--dark-accent), var(--secondary-color));
          background-size: 300% 300%;
          color: white;
          border: none;
          padding: 1rem 3rem;
          font-size: 1.2rem;
          border-radius: 50px;
          cursor: pointer;
          transition: all 0.3s ease;
          font-weight: 500;
          box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
          position: relative;
          overflow: hidden;
          display: block;
          margin: 0 auto;
          animation: fadeInUp 1s ease-out 1.5s both, gradientShift 3s ease infinite;
          font-family: var(--font-primary);
      }

      @keyframes gradientShift {
          0% {
              background-position: 0% 50%;
          }
          50% {
              background-position: 100% 50%;
          }
          100% {
              background-position: 0% 50%;
          }
      }
      
      .rsvp-button::before {
          content: "";
          position: absolute;
          top: 0;
          left: -100%;
          width: 100%;
          height: 100%;
          background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
          transition: all 0.5s ease;
      }
      
      .rsvp-button:hover {
          transform: translateY(-5px) scale(1.05);
          box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
      }
      
      .rsvp-button:hover::before {
          left: 100%;
      }
      
      .rsvp-button:active {
          transform: translateY(-2px) scale(1.02);
      }
      
      .airplane {
          position: absolute;
          top: -25px;
          right: 50%;
          z-index: 10;
          transition: right 0.5s ease-in-out;
          cursor: pointer;
      }
      
      .airplane img {
          width: 120px;
          height: auto;
          transform: rotate(0deg);
          cursor: pointer;
      }
      
      /* סגנון ההודעה שתופיע כשלוחצים על המטוס */
      .days-popup {
          position: absolute;
          top: -100px;
          right: 50%;
          transform: translateX(50%);
          background: none;
          color: white;
          padding: 15px 25px;
          font-family: 'Rubik', sans-serif;
          font-size: 1.8rem;
          font-weight: bold;
          opacity: 0;
          visibility: hidden;
          transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
          z-index: 100;
          text-align: center;
          min-width: 200px;
          pointer-events: none;
          text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
          letter-spacing: 1px;
      }
      
      /* סגנון למספר הימים */
      #daysLeft {
          font-size: 2.5rem;
          color: var(--accent-color);
          font-weight: bold;
          display: inline-block;
          padding: 0 10px;
          border-bottom: 2px solid var(--accent-color);
          margin: 0 5px;
      }
      
      /* אנימציות של הפופאפ */
      @keyframes daysPopupFadeIn {
          from {
              opacity: 0;
              transform: translateX(50%) translateY(20px);
          }
          to {
              opacity: 1;
              transform: translateX(50%) translateY(0);
          }
      }
      
      @keyframes daysPopupFadeOut {
          from {
              opacity: 1;
              transform: translateX(50%) translateY(0);
          }
          to {
              opacity: 0;
              transform: translateX(50%) translateY(-20px);
          }
      }
      
      @keyframes daysPopupFloat {
          0% { transform: translateX(50%) translateY(0) scale(1); }
          50% { transform: translateX(50%) translateY(-10px) scale(1.05); }
          100% { transform: translateX(50%) translateY(0) scale(1); }
      }
      
      @keyframes daysPopupGlow {
          0% { 
              text-shadow: 0 0 5px #fff, 0 0 10px rgba(255, 255, 255, 0.7);
              box-shadow: 0 0 10px rgba(255, 255, 255, 0.3), inset 0 0 5px rgba(255, 255, 255, 0.2);
          }
          50% { 
              text-shadow: 0 0 10px #fff, 0 0 15px var(--accent-color);
              box-shadow: 0 0 20px rgba(255, 255, 255, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.3);
          }
          100% { 
              text-shadow: 0 0 5px #fff, 0 0 10px rgba(255, 255, 255, 0.7);
              box-shadow: 0 0 10px rgba(255, 255, 255, 0.3), inset 0 0 5px rgba(255, 255, 255, 0.2);
          }
      }
      
      /* מצבים של הפופאפ */
      .days-popup.show {
          top: -70px;
          opacity: 1;
          visibility: visible;
          animation: 
              daysPopupFadeIn 0.5s ease-out forwards, 
              daysPopupFloat 3s ease-in-out infinite,
              daysPopupGlow 2s ease-in-out infinite;
      }
      
      .days-popup.hide {
          animation: daysPopupFadeOut 0.5s ease-in forwards;
      }
      
      @keyframes numberPulse {
          0% { transform: scale(1); }
          50% { transform: scale(1.2); }
          100% { transform: scale(1); }
      }
      
      #daysLeft {
          animation: numberPulse 2s ease-in-out infinite;
      }
      
      .decorations {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          pointer-events: none;
          z-index: 3;
          overflow: hidden;
      }
      
      .decoration {
          position: absolute;
          opacity: 0;
          animation: float 15s infinite linear;
      }
      
      @keyframes float {
          0% {
              transform: translateY(100vh) rotate(0deg);
              opacity: 0;
          }
          10% {
              opacity: 1;
          }
          90% {
              opacity: 1;
          }
          100% {
              transform: translateY(-100px) rotate(360deg);
              opacity: 0;
          }
      }
      
      .heart {
          color: var(--secondary-color);
          font-size: 1.5rem;
      }
      
      .ring {
          color: var(--accent-color);
          font-size: 1.5rem;
      }
      
      .flower {
          color: #a78bfa;
          font-size: 1.5rem;
      }
      
      .scroll-indicator {
          position: absolute;
          bottom: 2rem;
          left: 50%;
          transform: translateX(-50%);
          color: white;
          font-size: 2rem;
          animation: bounce 2s infinite;
          cursor: pointer;
          z-index: 10;
      }
      
      @keyframes bounce {
          0%, 20%, 50%, 80%, 100% {
              transform: translateY(0) translateX(-50%);
          }
          40% {
              transform: translateY(-20px) translateX(-50%);
          }
          60% {
              transform: translateY(-10px) translateX(-50%);
          }
      }
      
      /* Flight Journey Countdown Styles */
      .countdown-section {
          padding: 100px 0;
          background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
          position: relative;
          overflow: hidden;
      }

      .countdown-section::before {
          content: '';
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%230033CC' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
          opacity: 0.5;
      }

      .countdown-title {
          font-size: 3rem;
          margin-bottom: 3rem;
          color: var(--primary-color);
          text-align: center;
          position: relative;
          font-family: var(--font-decorative);
          font-weight: 700;
      }
      
      .countdown-title::after {
          content: '';
          position: absolute;
          bottom: -15px;
          left: 50%;
          transform: translateX(-50%);
          width: 100px;
          height: 4px;
          background: var(--accent-color);
          border-radius: 2px;
      }

      /* Journey Container - Enhanced & Fixed */
      .journey-container {
          width: 100%;
          max-width: 900px;
          margin: 40px auto;
          position: relative;
          padding: 30px;
          background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
          border-radius: 20px;
          box-shadow: 0 20px 50px rgba(14, 116, 144, 0.15);
          overflow: visible;
          backdrop-filter: blur(10px);
      }
      
      .journey-container::before {
          content: '';
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
          z-index: 0;
      }
      
      /* Flight Path Container */
      .flight-path-container {
          position: relative;
          width: 100%;
          height: 150px;
          margin-bottom: 70px;
          z-index: 1;
          overflow: visible;
      }
      
      .flight-path {
          position: absolute;
          top: 50%;
          left: 0;
          width: 100%;
          height: 8px;
          background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
          border-radius: 10px;
          z-index: 1;
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
          transform: translateY(-50%);
      }
      
      .flight-path::after {
          content: '';
          position: absolute;
          top: 50%;
          left: 0;
          width: 100%;
          height: 2px;
          background: repeating-linear-gradient(90deg, var(--accent-color), var(--accent-color) 10px, transparent 10px, transparent 20px);
          transform: translateY(-50%);
          opacity: 0.7;
      }
      
      .airplane {
          position: absolute;
          top: 30%;
          right: 95%; /* התחל מצד ימין (ישראל) */
          width: 150px;
          height: 75px;
          z-index: 10;
          transform-style: preserve-3d;
          perspective: 1000px;
          filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
          opacity: 1;
          display: block;
          transition: right 1.5s ease-in-out; /* אנימציה חלקה כשהמטוס זז */
      }
      
      .airplane img {
          width: 100%;
          height: 100%;
          object-fit: contain;
          animation: airplaneFly 3s ease-in-out infinite;
      }

      @keyframes airplaneFly {
          0%, 100% {
              transform: translateY(0);
          }
          50% {
              transform: translateY(-10px);
          }
      }
      
      /* Flag Endpoints */
      .flag-endpoint {
          position: absolute;
          top: 50%;
          transform: translateY(-50%);
          z-index: 5;
          display: flex;
          flex-direction: column;
          align-items: center;
          transition: transform 0.3s ease;
      }
      
      .flag-endpoint:hover {
          transform: translateY(-50%) scale(1.05);
      }
      
      .flag-endpoint-right {
          right: -10px;
      }
      
      .flag-endpoint-left {
          left: -10px;
      }
      
      .country-flag-animated {
          width: 80px;
          height: 50px;
          border-radius: 5px;
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
          margin-bottom: 10px;
          overflow: hidden;
      }

      .country-flag-animated img {
          width: 100%;
          height: 100%;
          object-fit: cover;
      }
      
      .milestone-icon {
          width: 60px;
          height: 60px;
          border-radius: 50%;
          display: flex;
          align-items: center;
          justify-content: center;
          margin: 8px 0;
          font-size: 1.8rem;
          box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
          transition: transform 0.3s ease;
      }
      
      .milestone-icon:hover {
          transform: scale(1.1);
      }
      
      .engagement-icon {
          background: linear-gradient(135deg, #FF5A5F, #FF9A8B);
          color: white;
      }
      
      .wedding-icon {
          background: linear-gradient(135deg, #1E3A8A, #3B82F6);
          color: white;
      }
      
      /* Months Timeline */
      .months-container {
          width: 90%;
          margin: -70px auto 30px auto;
          position: relative;
          z-index: 1;
          overflow: visible;
          padding: 0;
      }
      
      .months-title {
          text-align: center;
          margin-bottom: 5px;
          margin-top: -10px;
          color: white;
          font-weight: 600;
          font-size: 1.2rem;
      }
      
      .months-timeline {
          display: flex;
          justify-content: space-between;
          align-items: center;
          position: relative;
          margin: 0 auto 20px auto;
          padding: 10px 0;
          flex-direction: row-reverse;
          width: 100%;
          overflow-x: auto;
      }
      
      .months-timeline::before {
          content: '';
          position: absolute;
          top: 50%;
          left: 0;
          width: 100%;
          height: 2px;
          background-color: rgba(255, 255, 255, 0.5);
          transform: translateY(-50%);
          z-index: 1;
      }
      
      .month-item {
          display: flex;
          flex-direction: column;
          align-items: center;
          margin: 0;
          width: 100%;
      }
      
      .month-dot {
          width: 20px;
          height: 20px;
          border-radius: 50%;
          background-color: rgba(255, 255, 255, 0.7);
          border: 2px solid white;
          margin-bottom: 8px;
          position: relative;
          z-index: 2;
      }
      
      .month-dot.completed {
          background-color: var(--accent-color);
      }
      
      .month-dot.completed::after {
          content: '\2714';
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
          color: white;
          font-size: 12px;
          font-weight: bold;
      }
      
      .weeks-container {
          display: flex;
          justify-content: space-between;
          width: 100%;
          position: relative;
          margin: 0 auto;
          padding: 5px 0;
          height: 20px;
      }
      
      .week-dot {
          width: 8px;
          height: 8px;
          border-radius: 50%;
          background-color: rgba(255, 255, 255, 0.4);
          border: 1px solid rgba(255, 255, 255, 0.7);
          margin: 0 2px;
          z-index: 2;
      }
      
      .week-dot.completed {
          background-color: var(--accent-color) !important;
          border-color: white !important;
          box-shadow: 0 0 5px var(--accent-color) !important;
      }
      
      .month-label {
          font-size: 0.8rem;
          color: white;
          text-align: center;
          font-weight: 500;
      }
      
      /* Journey Title */
      .journey-title {
          font-size: 2.2rem;
          color: white;
          text-align: center;
          margin-bottom: 2rem;
          position: relative;
          text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
          z-index: 1;
          font-family: var(--font-decorative);
      }
      
      .journey-title::after {
          content: '';
          position: absolute;
          bottom: -10px;
          left: 50%;
          transform: translateX(-50%);
          width: 80px;
          height: 4px;
          background: var(--accent-color);
          border-radius: 2px;
      }
      
      /* Dates Container */
      .dates-container {
          display: flex;
          justify-content: space-between;
          align-items: center;
          margin-top: 25px;
          padding: 0 10px;
          position: relative;
          z-index: 2;
      }
      
      .date-label {
          font-size: 1.3rem;
          font-weight: 700;
          color: var(--text-color);
          padding: 10px 20px;
          background-color: var(--accent-color);
          border-radius: 30px;
          box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
          backdrop-filter: blur(5px);
          transition: transform 0.3s ease;
          position: relative;
          overflow: hidden;
      }
      
      .date-label::before {
          content: '';
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background: linear-gradient(45deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
          transform: translateX(-100%);
          transition: transform 0.6s ease;
      }
      
      .date-label:hover {
          transform: translateY(-5px) scale(1.05);
          box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
      }
      
      .date-label:hover::before {
          transform: translateX(100%);
      }
      
      .date-arrow {
          color: white;
          font-size: 2rem;
          animation: pulse 2s infinite;
          margin: 0 15px;
          text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
      }
      
      /* Countdown Display */
      .countdown-display-container {
          position: relative;
          margin: 30px auto;
          max-width: 600px;
          background: rgba(0, 0, 0, 0.3);
          padding: 25px;
          border-radius: 20px;
          box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
          backdrop-filter: blur(10px);
          border: 1px solid rgba(255, 255, 255, 0.1);
          z-index: 10;
          overflow: hidden;
      }
      
      .countdown-display-container::before {
          content: '';
          position: absolute;
          top: -50%;
          left: -50%;
          width: 200%;
          height: 200%;
          background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
          animation: pulse 8s infinite linear;
          z-index: 1;
      }
      
      @keyframes pulse {
          0% { transform: rotate(0deg); }
          100% { transform: rotate(360deg); }
      }
      
      .countdown-title {
          text-align: center;
          font-size: 1.5rem;
          font-weight: bold;
          color: white;
          margin-bottom: 20px;
          text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
          position: relative;
          z-index: 2;
      }
      
      .countdown-items-wrapper {
          display: flex;
          justify-content: center;
          gap: 30px;
          position: relative;
          z-index: 2;
          direction: ltr; /* Changed from rtl to ltr */
      }

      .countdown-item {
          display: flex;
          flex-direction: column;
          align-items: center;
          position: relative;
          transition: all 0.3s ease;
      }
      
      .countdown-item:hover {
          transform: translateY(-5px);
      }
      
      .countdown-circle {
          width: 90px;
          height: 90px;
          position: relative;
          margin-bottom: 10px;
      }
      
      .countdown-circle::before {
          content: '';
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          border-radius: 50%;
          background: rgba(0, 0, 0, 0.3);
          box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
      }
      
      .countdown-circle::after {
          content: '';
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          border-radius: 50%;
          border: 2px solid var(--accent-color);
          box-shadow: 0 0 10px var(--accent-color);
          animation: pulse-border 2s infinite alternate;
      }
      
      @keyframes pulse-border {
          0% { box-shadow: 0 0 5px var(--accent-color); }
          100% { box-shadow: 0 0 20px var(--accent-color); }
      }
      
      .countdown-circle-inner {
          position: absolute;
          top: 5px;
          left: 5px;
          right: 5px;
          bottom: 5px;
          border-radius: 50%;
          background: rgba(0, 0, 0, 0.5);
          display: flex;
          justify-content: center;
          align-items: center;
          z-index: 2;
      }

      .countdown-number {
          font-size: 2.5rem;
          font-weight: 800;
          color: white;
          text-shadow: 0 0 10px var(--accent-color), 0 2px 5px rgba(0, 0, 0, 0.5);
          position: relative;
          z-index: 2;
      }
      
      .countdown-number.changed {
          animation: numberChange 0.5s ease-out;
      }
      
      @keyframes numberChange {
          0% { transform: scale(1.2); opacity: 0.5; }
          50% { transform: scale(1.5); opacity: 1; }
          100% { transform: scale(1); opacity: 1; }
      }

      .countdown-label {
          font-size: 1.1rem;
          font-weight: 600;
          color: white;
          margin-top: 10px;
          text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
          position: relative;
      }
      
      .countdown-label::after {
          content: '';
          position: absolute;
          bottom: -5px;
          left: 50%;
          transform: translateX(-50%);
          width: 0;
          height: 2px;
          background-color: var(--accent-color);
          transition: width 0.3s ease;
      }
      
      .countdown-item:hover .countdown-label::after {
          width: 100%;
      }
      
      /* Progress Text */
      .months-progress-text {
          text-align: center;
          font-size: 1.3rem;
          margin-top: 30px;
          color: white;
          font-weight: 600;
          background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
          padding: 15px 30px;
          border-radius: 50px;
          display: inline-block;
          box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
          backdrop-filter: blur(5px);
          transition: all 0.4s ease;
          border: 1px solid rgba(255, 255, 255, 0.1);
          position: relative;
          overflow: hidden;
          z-index: 2;
      }
      
      .months-progress-text::before {
          content: '';
          position: absolute;
          top: -50%;
          left: -50%;
          width: 200%;
          height: 200%;
          background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
          opacity: 0;
          transition: opacity 0.6s ease;
          z-index: -1;
      }
      
      .months-progress-text:hover {
          transform: translateY(-5px) scale(1.03);
          box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
      }
      
      .months-progress-text:hover::before {
          opacity: 1;
      }
      
      #months-passed, #total-months {
          color: var(--accent-color);
          font-weight: 700;
          font-size: 1.5rem;
          text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
          display: inline-block;
          min-width: 30px;
      }
      
      /* Summary styles - Fixed Design */
      .countdown-summary {
          text-align: center;
          margin: 40px auto;
          max-width: 800px;
          background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
          padding: 30px;
          border-radius: 20px;
          box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
          border: 1px solid rgba(255, 255, 255, 0.8);
          backdrop-filter: blur(10px);
          position: relative;
          overflow: hidden;
      }

      .countdown-summary::before {
          content: '';
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 4px;
          background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
      }

      .countdown-summary-text {
          font-size: 1.6rem;
          font-weight: 600;
          color: var(--text-color);
          margin-bottom: 15px;
          font-family: var(--font-primary);
      }

      .countdown-summary-number {
          font-weight: 800;
          color: var(--primary-color);
          font-size: 2rem;
          margin: 0 8px;
          text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
          display: inline-block;
          padding: 5px 10px;
          background: linear-gradient(135deg, var(--accent-color), rgba(245, 158, 11, 0.8));
          border-radius: 10px;
          color: white;
          box-shadow: 0 4px 8px rgba(245, 158, 11, 0.3);
      }

      .countdown-summary-weeks {
          margin-top: 15px;
          font-size: 1.3rem;
          color: var(--text-color);
          opacity: 0.8;
      }

      .countdown-summary-weeks .countdown-summary-number {
          font-size: 1.5rem;
          background: linear-gradient(135deg, var(--secondary-color), rgba(225, 29, 72, 0.8));
          box-shadow: 0 4px 8px rgba(225, 29, 72, 0.3);
      }
      
      /* Section Divider */
      .section-divider {
          width: 85%;
          margin: 60px auto;
          border: 0;
          height: 2px;
          background-image: linear-gradient(to right, transparent, var(--primary-color), transparent);
      }
      
      /* Details Container (inside countdown section) */
      .details-container {
          background-color: rgba(255, 255, 255, 0.9);
          border-radius: 15px;
          padding: 30px;
          margin-top: 60px;
          box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
          position: relative;
          z-index: 2;
          display: block !important;
          visibility: visible !important;
          opacity: 1 !important;
          width: 100%;
          max-width: 1200px;
          margin-left: auto;
          margin-right: auto;
      }
      
      .night-mode .details-container {
          background-color: rgba(30, 41, 59, 0.8);
      }
      
      /* Details Section (preserved for compatibility) */
      .details-section {
          padding: 100px 0;
          background: linear-gradient(135deg, #f6f9fc, #edf2f7);
          position: relative;
      }

      .details-section::before {
          content: '';
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230033cc' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2H36zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
          opacity: 0.5;
      }

      .details-card {
          background: white;
          border-radius: var(--border-radius);
          padding: 40px;
          box-shadow: var(--box-shadow);
          margin: 0 auto 30px auto;
          width: 100%;
          max-width: 1200px;
          transition: var(--transition);
          position: relative;
          overflow: hidden;
          z-index: 1;
          text-align: center;
      }

      .details-card:hover {
          transform: translateY(-10px);
          box-shadow: 0 20px 40px rgba(0, 51, 204, 0.15);
      }

      .details-card::after {
          content: '';
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 5px;
          background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
      }

      .details-icon {
          font-size: 3rem;
          color: var(--primary-color);
          margin: 0 auto 20px auto;
          text-align: center;
          display: block;
      }

      .details-title {
          font-size: 2rem;
          margin-bottom: 20px;
          color: var(--primary-color);
          font-family: var(--font-decorative);
      }

      .details-text {
          font-size: 1.2rem;
          color: var(--text-color);
          margin-bottom: 20px;
      }
      
      /* RSVP Section */
      .rsvp-section {
          padding: 100px 0;
          background: linear-gradient(135deg, var(--primary-color), var(--dark-accent));
          color: white;
          position: relative;
          overflow: hidden;
      }
      
      .rsvp-section::before {
          content: '';
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
          opacity: 0.3;
      }
      
      .rsvp-form {
          background: white;
          border-radius: var(--border-radius);
          padding: 40px;
          box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
          max-width: 600px;
          margin: 0 auto;
          color: var(--text-color);
          position: relative;
          z-index: 1;
      }
      
      .form-group {
          margin-bottom: 20px;
      }
      
      .form-label {
          display: block;
          margin-bottom: 8px;
          font-weight: 500;
          color: var(--text-color);
      }
      
      .form-input {
          width: 100%;
          padding: 12px 15px;
          border: 1px solid #e2e8f0;
          border-radius: 8px;
          font-size: 1rem;
          transition: var(--transition);
          font-family: var(--font-primary);
      }
      
      .form-input:focus {
          outline: none;
          border-color: var(--primary-color);
          box-shadow: 0 0 0 3px rgba(0, 51, 204, 0.2);
      }
      
      .form-select {
          width: 100%;
          padding: 12px 15px;
          border: 1px solid #e2e8f0;
          border-radius: 8px;
          font-size: 1rem;
          appearance: none;
          background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230033CC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
          background-repeat: no-repeat;
          background-position: right 15px center;
          background-size: 16px;
          font-family: var(--font-primary);
      }
      
      .form-textarea {
          width: 100%;
          padding: 12px 15px;
          border: 1px solid #e2e8f0;
          border-radius: 8px;
          font-size: 1rem;
          min-height: 120px;
          resize: vertical;
          font-family: var(--font-primary);
      }
      
      /* Footer */
      footer {
          background: var(--text-color);
          color: white;
          padding: 50px 0 20px;
          text-align: center;
      }
      
      .footer-heart {
          color: var(--secondary-color);
          font-size: 1.5rem;
          animation: pulse 1.5s infinite;
      }
      
      .footer-nav {
          display: flex;
          justify-content: center;
          gap: 20px;
          margin: 30px 0;
          flex-wrap: wrap;
      }
      
      .footer-nav a {
          color: white;
          text-decoration: none;
          transition: var(--transition);
      }
      
      .footer-nav a:hover {
          color: var(--accent-color);
      }
      
      .social-links {
          display: flex;
          justify-content: center;
          gap: 20px;
          margin-bottom: 30px;
      }
      
      .social-link {
          width: 40px;
          height: 40px;
          border-radius: 50%;
          background: rgba(255, 255, 255, 0.1);
          display: flex;
          align-items: center;
          justify-content: center;
          color: white;
          font-size: 1.2rem;
          transition: var(--transition);
      }
      
      .social-link:hover {
          background: var(--primary-color);
          transform: translateY(-5px);
      }
      
      .copyright {
          font-size: 0.9rem;
          color: rgba(255, 255, 255, 0.7);
      }
      
      /* Animations */
      @keyframes fadeIn {
          from { opacity: 0; transform: translateY(30px); }
          to { opacity: 1; transform: translateY(0); }
      }
      
      @keyframes bounce {
          0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
          40% { transform: translateY(-20px) translateX(-50%); }
          60% { transform: translateY(-10px) translateX(-50%); }
      }
      
      @keyframes float {
          0% { transform: translateY(0) rotate(0); }
          50% { transform: translateY(-20px) rotate(5deg); }
          100% { transform: translateY(0) rotate(0); }
      }
      
      /* Responsive Styles */
      @media (max-width: 768px) {
          .theme-selector {
              top: 10px;
              left: 10px;
              padding: 6px;
              max-height: 35px;
              width: 35px;
          }

          .theme-selector:hover {
              max-height: 350px;
              width: 180px;
              padding: 10px;
          }

          .theme-selector-header {
              font-size: 0.8rem;
          }

          .theme-color {
              width: 14px;
              height: 14px;
          }

          .theme-name {
              font-size: 0.7rem;
          }

          .names {
              font-size: 3.5rem;
          }
          
          .invitation-text {
              font-size: 1.2rem;
          }
          
          .date {
              font-size: 1.5rem;
          }
          
          .flight-path-container {
              height: 120px;
          }
          
          .airplane {
              width: 100px;
              height: 50px;
          }
          
          .countdown-display-container {
              padding: 15px;
          }

          .countdown-items-wrapper {
              gap: 15px;
          }
          
          .countdown-item {
              min-width: 50px;
          }

          .countdown-circle {
              width: 70px;
              height: 70px;
          }
          
          .countdown-number {
              font-size: 1.8rem;
          }

          .countdown-label {
              font-size: 0.9rem;
          }
          
          .countdown-summary {
              padding: 20px;
              margin: 30px auto;
          }
          
          .countdown-summary-text {
              font-size: 1.3rem;
          }
          
          .countdown-summary-number {
              font-size: 1.5rem;
              margin: 0 5px;
              padding: 3px 8px;
          }

          .countdown-summary-weeks {
              font-size: 1.1rem;
          }

          .countdown-summary-weeks .countdown-summary-number {
              font-size: 1.3rem;
          }
          
          .details-card {
              padding: 30px;
          }
          
          .rsvp-form {
              padding: 30px;
          }

          .journey-container {
              padding: 20px;
              margin: 20px auto;
          }

          .journey-title {
              font-size: 1.8rem;
          }

          .months-progress-text {
              font-size: 1.1rem;
              padding: 12px 20px;
          }

          .date-label {
              font-size: 1.1rem;
              padding: 8px 16px;
          }

          .date-arrow {
              font-size: 1.5rem;
          }
      }
      
      @media (max-width: 480px) {
          .names {
              font-size: 2.5rem;
          }
          
          .hero-content {
              padding: 30px;
          }
          
          .flight-path-container {
              height: 100px;
          }
          
          .airplane {
              width: 80px;
              height: 40px;
          }
          
          .countdown-display-container {
              padding: 10px;
          }

          .countdown-items-wrapper {
              gap: 10px;
              flex-wrap: wrap;
          }
          
          .countdown-item {
              min-width: auto;
          }

          .countdown-circle {
              width: 60px;
              height: 60px;
          }
          
          .countdown-number {
              font-size: 1.5rem;
          }
          
          .countdown-label {
              font-size: 0.8rem;
          }
          
          .countdown-title {
              font-size: 2rem;
              margin-bottom: 2rem;
          }
          
          .countdown-summary {
              padding: 15px;
              margin: 20px auto;
          }
          
          .countdown-summary-text {
              font-size: 1.1rem;
          }
          
          .countdown-summary-number {
              font-size: 1.3rem;
              margin: 0 3px;
              padding: 2px 6px;
          }

          .countdown-summary-weeks {
              font-size: 1rem;
          }

          .countdown-summary-weeks .countdown-summary-number {
              font-size: 1.1rem;
          }
          
          .details-card {
              padding: 20px;
          }
          
          .details-title {
              font-size: 1.5rem;
          }
          
          .details-text {
              font-size: 1rem;
          }
          
          .rsvp-form {
              padding: 20px;
          }

          .journey-title {
              font-size: 1.5rem;
          }

          .months-progress-text {
              font-size: 1rem;
              padding: 10px 15px;
          }

          .date-label {
              font-size: 1rem;
              padding: 6px 12px;
          }

          .date-arrow {
              font-size: 1.2rem;
              margin: 0 8px;
          }

          .country-flag-animated {
              width: 60px;
              height: 35px;
          }

          .milestone-icon {
              width: 45px;
              height: 45px;
              font-size: 1.3rem;
          }
      }

      /* Theme Variations */
      .theme-classic {
          --primary-color: #1E40AF;
          --secondary-color: #E11D48;
          --accent-color: #F59E0B;
          --font-primary: 'Heebo', sans-serif;
          --font-decorative: 'Amatic SC', cursive;
          --font-elegant: 'Playfair Display', serif;
          --hero-bg-primary: #1E40AF;
          --hero-bg-secondary: #C8102E;
      }

      .theme-romantic {
          --primary-color: #EC4899;
          --secondary-color: #8B5CF6;
          --accent-color: #F59E0B;
          --font-primary: 'Dancing Script', cursive;
          --font-decorative: 'Dancing Script', cursive;
          --font-elegant: 'Dancing Script', cursive;
          --hero-bg-primary: #EC4899;
          --hero-bg-secondary: #8B5CF6;
      }

      .theme-romantic .hero {
          background-image: linear-gradient(rgba(236, 72, 153, 0.7), rgba(139, 92, 246, 0.7)), url(uploads/IMG-20250509-WA0038.jpg);
      }

      .theme-romantic .hero-content,
      .theme-romantic .details-card,
      .theme-romantic .rsvp-form {
          border-radius: 25px;
      }

      .theme-romantic .btn {
          border-radius: 25px;
          box-shadow: 0 8px 20px rgba(236, 72, 153, 0.3);
      }

      .theme-elegant {
          --primary-color: #374151;
          --secondary-color: #059669;
          --accent-color: #D97706;
          --font-primary: 'Playfair Display', serif;
          --font-decorative: 'Playfair Display', serif;
          --font-elegant: 'Playfair Display', serif;
          --hero-bg-primary: #374151;
          --hero-bg-secondary: #059669;
      }

      .theme-elegant .hero {
          background-image: linear-gradient(rgba(55, 65, 81, 0.7), rgba(5, 150, 105, 0.7)), url(uploads/IMG-20250509-WA0038.jpg);
      }

      .theme-elegant .hero-content,
      .theme-elegant .details-card,
      .theme-elegant .rsvp-form {
          border-radius: 5px;
          border: 2px solid var(--accent-color);
      }

      .theme-elegant .btn {
          border-radius: 5px;
          text-transform: uppercase;
          letter-spacing: 1px;
      }

      .theme-ocean {
          --primary-color: #0EA5E9;
          --secondary-color: #06B6D4;
          --accent-color: #F59E0B;
          --font-primary: 'Heebo', sans-serif;
          --font-decorative: 'Caveat', cursive;
          --font-elegant: 'Heebo', sans-serif;
          --hero-bg-primary: #0EA5E9;
          --hero-bg-secondary: #06B6D4;
      }

      .theme-ocean .hero {
          background-image: linear-gradient(rgba(14, 165, 233, 0.7), rgba(6, 182, 212, 0.7)), url(uploads/IMG-20250509-WA0038.jpg);
      }

      .theme-ocean .hero-content,
      .theme-ocean .details-card,
      .theme-ocean .rsvp-form {
          border-radius: 30px;
          background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 249, 255, 0.9));
      }

      .theme-sunset {
          --primary-color: #F97316;
          --secondary-color: #EF4444;
          --accent-color: #FBBF24;
          --font-primary: 'Rubik', sans-serif;
          --font-decorative: 'Amatic SC', cursive;
          --font-elegant: 'Rubik', sans-serif;
          --hero-bg-primary: #F97316;
          --hero-bg-secondary: #EF4444;
      }

      .theme-sunset .hero {
          background-image: linear-gradient(rgba(249, 115, 22, 0.7), rgba(239, 68, 68, 0.7)), url(uploads/IMG-20250509-WA0038.jpg);
      }

      .theme-sunset .hero-content,
      .theme-sunset .details-card,
      .theme-sunset .rsvp-form {
          background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 247, 237, 0.95));
      }

      .theme-forest {
          --primary-color: #059669;
          --secondary-color: #10B981;
          --accent-color: #F59E0B;
          --font-primary: 'Heebo', sans-serif;
          --font-decorative: 'Caveat', cursive;
          --font-elegant: 'Heebo', sans-serif;
          --hero-bg-primary: #059669;
          --hero-bg-secondary: #10B981;
      }

      .theme-forest .hero {
          background-image: linear-gradient(rgba(5, 150, 105, 0.7), rgba(16, 185, 129, 0.7)), url(uploads/IMG-20250509-WA0038.jpg);
      }

      .theme-royal {
          --primary-color: #7C3AED;
          --secondary-color: #A855F7;
          --accent-color: #F59E0B;
          --font-primary: 'Playfair Display', serif;
          --font-decorative: 'Playfair Display', serif;
          --font-elegant: 'Playfair Display', serif;
          --hero-bg-primary: #7C3AED;
          --hero-bg-secondary: #A855F7;
      }

      .theme-royal .hero {
          background-image: linear-gradient(rgba(124, 58, 237, 0.7), rgba(168, 85, 247, 0.7)), url(uploads/IMG-20250509-WA0038.jpg);
      }

      .theme-royal .hero-content,
      .theme-royal .details-card,
      .theme-royal .rsvp-form {
          border: 3px solid var(--accent-color);
          background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(250, 245, 255, 0.95));
      }

      .theme-vintage {
          --primary-color: #92400E;
          --secondary-color: #B45309;
          --accent-color: #F59E0B;
          --font-primary: 'Playfair Display', serif;
          --font-decorative: 'Playfair Display', serif;
          --font-elegant: 'Playfair Display', serif;
          --hero-bg-primary: #92400E;
          --hero-bg-secondary: #B45309;
      }

      .theme-vintage .hero {
          background-image: linear-gradient(rgba(146, 64, 14, 0.7), rgba(180, 83, 9, 0.7)), url(uploads/IMG-20250509-WA0038.jpg);
      }

      .theme-vintage .hero-content,
      .theme-vintage .details-card,
      .theme-vintage .rsvp-form {
          border-radius: 15px;
          border: 1px solid var(--primary-color);
          background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(254, 252, 232, 0.98));
      }

      .theme-modern {
          --primary-color: #1F2937;
          --secondary-color: #374151;
          --accent-color: #10B981;
          --font-primary: 'Rubik', sans-serif;
          --font-decorative: 'Rubik', sans-serif;
          --font-elegant: 'Rubik', sans-serif;
          --hero-bg-primary: #1F2937;
          --hero-bg-secondary: #374151;
      }

      .theme-modern .hero {
          background-image: linear-gradient(rgba(31, 41, 55, 0.7), rgba(55, 65, 81, 0.7)), url(uploads/IMG-20250509-WA0038.jpg);
      }

      .theme-modern .hero-content,
      .theme-modern .details-card,
      .theme-modern .rsvp-form {
          border-radius: 0;
          background: rgba(255, 255, 255, 0.98);
      }

      .theme-modern .btn {
          border-radius: 0;
      }

      .theme-spring {
          --primary-color: #84CC16;
          --secondary-color: #65A30D;
          --accent-color: #F59E0B;
          --font-primary: 'Caveat', cursive;
          --font-decorative: 'Caveat', cursive;
          --font-elegant: 'Caveat', cursive;
          --hero-bg-primary: #84CC16;
          --hero-bg-secondary: #65A30D;
      }

      .theme-spring .hero {
          background-image: linear-gradient(rgba(132, 204, 22, 0.7), rgba(101, 163, 13, 0.7)), url(uploads/IMG-20250509-WA0038.jpg);
      }

      .theme-autumn {
          --primary-color: #DC2626;
          --secondary-color: #B91C1C;
          --accent-color: #F59E0B;
          --font-primary: 'Playfair Display', serif;
          --font-decorative: 'Amatic SC', cursive;
          --font-elegant: 'Playfair Display', serif;
          --hero-bg-primary: #DC2626;
          --hero-bg-secondary: #B91C1C;
      }

      .theme-autumn .hero {
          background: linear-gradient(rgba(220, 38, 38, 0.7), rgba(185, 28, 28, 0.7)), url(uploads/IMG-20250509-WA0038.jpg);
      }

      .theme-winter {
          --primary-color: #1E3A8A;
          --secondary-color: #1E40AF;
          --accent-color: #E5E7EB;
          --font-primary: 'Heebo', sans-serif;
          --font-decorative: 'Heebo', sans-serif;
          --font-elegant: 'Heebo', sans-serif;
          --hero-bg-primary: #1E3A8A;
          --hero-bg-secondary: #1E40AF;
      }

      .theme-winter .hero {
          background: linear-gradient(rgba(30, 58, 138, 0.7), rgba(30, 64, 175, 0.7)), url(uploads/IMG-20250509-WA0038.jpg);
      }

      .theme-tropical {
          --primary-color: #0891B2;
          --secondary-color: #0E7490;
          --accent-color: #FDE047;
          --font-primary: 'Caveat', cursive;
          --font-decorative: 'Caveat', cursive;
          --font-elegant: 'Caveat', cursive;
          --hero-bg-primary: #0891B2;
          --hero-bg-secondary: #0E7490;
      }

      .theme-tropical .hero {
          background: linear-gradient(rgba(8, 145, 178, 0.7), rgba(14, 116, 144, 0.7)), url(uploads/IMG-20250509-WA0038.jpg);
      }

      .theme-tropical .hero-content,
      .theme-tropical .details-card,
      .theme-tropical .rsvp-form {
          border-radius: 35px;
      }

      .theme-midnight {
          --primary-color: #1E1B4B;
          --secondary-color: #312E81;
          --accent-color: #A78BFA;
          --font-primary: 'Playfair Display', serif;
          --font-decorative: 'Playfair Display', serif;
          --font-elegant: 'Playfair Display', serif;
          --hero-bg-primary: #1E1B4B;
          --hero-bg-secondary: #312E81;
      }

      .theme-midnight .hero {
          background: linear-gradient(rgba(30, 27, 75, 0.7), rgba(49, 46, 129, 0.7)), url(uploads/IMG-20250509-WA0038.jpg);
      }

      .theme-cherry {
          --primary-color: #BE185D;
          --secondary-color: #9D174D;
          --accent-color: #FDE68A;
          --font-primary: 'Dancing Script', cursive;
          --font-decorative: 'Dancing Script', cursive;
          --font-elegant: 'Dancing Script', cursive;
          --hero-bg-primary: #BE185D;
          --hero-bg-secondary: #9D174D;
      }
      
      /* ערכות נושא חדשות */
      .theme-starry-night {
          --primary-color: #0F172A;
          --secondary-color: #1E293B;
          --accent-color: #38BDF8;
          --font-primary: 'Montserrat', sans-serif;
          --font-decorative: 'Pacifico', cursive;
          --font-elegant: 'Montserrat', sans-serif;
          --hero-bg-primary: #0F172A;
          --hero-bg-secondary: #1E293B;
      }
      
      .theme-starry-night .hero {
          background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(30, 41, 59, 0.7)), url(uploads/IMG-20250509-WA0038.jpg);
          position: relative;
          overflow: hidden;
      }
      
      .theme-starry-night .hero::before {
          content: '';
          position: absolute;
          top: 0;
          left: 0;
          right: 0;
          bottom: 0;
          background-image: radial-gradient(white, rgba(255, 255, 255, 0) 2px);
          background-size: 50px 50px;
          animation: twinkle 5s infinite alternate;
          pointer-events: none; /* מאפשר גלילה דרך האלמנט */
          z-index: 1;
      }
      
      @keyframes twinkle {
          0% { opacity: 0.3; }
          100% { opacity: 1; }
      }
      
      .theme-starry-night .names {
          text-shadow: 0 0 15px #38BDF8, 0 0 25px #38BDF8;
      }
      
      .theme-starry-night .date {
          background: rgba(15, 23, 42, 0.7);
          border: 2px solid #38BDF8;
      }
      
      .theme-starry-night .rsvp-button {
          background: linear-gradient(45deg, #38BDF8, #0EA5E9);
      }
      
      /* ערכת נושא גן פורח */
      .theme-garden {
          --primary-color: #166534;
          --secondary-color: #15803D;
          --accent-color: #FACC15;
          --font-primary: 'Lora', serif;
          --font-decorative: 'Great Vibes', cursive;
          --font-elegant: 'Lora', serif;
          --hero-bg-primary: #166534;
          --hero-bg-secondary: #15803D;
      }
      
      .theme-garden .hero {
          background: linear-gradient(rgba(22, 101, 52, 0.6), rgba(21, 128, 61, 0.6)), url(uploads/IMG-20250509-WA0038.jpg);
          position: relative;
      }
      
      .theme-garden .hero::before {
          content: '';
          position: absolute;
          top: 0;
          left: 0;
          right: 0;
          bottom: 0;
          background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 50 50"><path d="M25,0 C25,0 25,25 50,25 C25,25 25,50 25,50 C25,50 25,25 0,25 C25,25 25,0 25,0 Z" fill="rgba(250, 204, 21, 0.1)"/></svg>');
          background-size: 100px 100px;
          opacity: 0.5;
          pointer-events: none; /* מאפשר גלילה דרך האלמנט */
          z-index: 1;
      }
      
      .theme-garden .names {
          color: #FACC15;
          text-shadow: 0 0 10px rgba(250, 204, 21, 0.5);
      }
      
      .theme-garden .invitation-text {
          font-family: 'Great Vibes', cursive;
          font-size: 2.2rem;
      }
      
      .theme-garden .date {
          background: rgba(22, 101, 52, 0.7);
          border: 2px solid #FACC15;
      }
      
      /* ערכת נושא חוף הים */
      .theme-beach {
          --primary-color: #0369A1;
          --secondary-color: #0284C7;
          --accent-color: #FBBF24;
          --font-primary: 'Quicksand', sans-serif;
          --font-decorative: 'Satisfy', cursive;
          --font-elegant: 'Quicksand', sans-serif;
          --hero-bg-primary: #0369A1;
          --hero-bg-secondary: #0284C7;
      }
      
      .theme-beach .hero {
          background: linear-gradient(rgba(3, 105, 161, 0.5), rgba(2, 132, 199, 0.5)), url(uploads/IMG-20250509-WA0038.jpg);
          position: relative;
      }
      
      .theme-beach .hero::before {
          content: '';
          position: absolute;
          bottom: 0;
          left: 0;
          right: 0;
          height: 100px;
          background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23FFFFFF"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%23FFFFFF"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23FFFFFF"/></svg>');
          background-size: cover;
          background-repeat: no-repeat;
          z-index: 1;
      }
      
      .theme-beach .names {
          font-family: 'Satisfy', cursive;
          color: #FBBF24;
          text-shadow: 0 0 15px rgba(251, 191, 36, 0.7);
      }
      
      .theme-beach .invitation-text {
          font-family: 'Quicksand', sans-serif;
          font-weight: 500;
      }
      
      .theme-beach .date {
          background: rgba(3, 105, 161, 0.6);
          border: 2px solid #FBBF24;
          box-shadow: 0 0 15px rgba(251, 191, 36, 0.5);
      }

      .theme-cherry .hero {
          background: linear-gradient(rgba(190, 24, 93, 0.7), rgba(157, 23, 77, 0.7)), url(uploads/IMG-20250509-WA0038.jpg);
      }

      .theme-cherry .hero-content,
      .theme-cherry .details-card,
      .theme-cherry .rsvp-form {
          border-radius: 20px;
          background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(254, 242, 242, 0.95));
      }

.timeline-dot {
    width: 24px;
    height: 24px;
    background: white;
    border: 4px solid #E11D48;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 5px 15px rgba(225, 29, 72, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse 2s infinite;
}

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

.timeline-dot:hover {
    transform: translateY(-50%) scale(1.2);
    border-color: #F59E0B;
}

.timeline-dot:nth-child(1) { left: 0; }
.timeline-dot:nth-child(2) { left: 50%; transform: translateX(-50%) translateY(-50%); }
.timeline-dot:nth-child(3) { right: 0; }

.timeline-events {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
}

.timeline-event {
    flex: 1;
    text-align: center;
    padding: 1.5rem;
    background: rgba(255,255,255,0.9);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.timeline-event::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1E40AF, #E11D48);
}

.timeline-event:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.event-time {
    display: inline-block;
    background: linear-gradient(135deg, #E11D48, #F59E0B);
    color: white;
    font-weight: 700;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(225, 29, 72, 0.3);
    position: relative;
    overflow: hidden;
}

.event-time::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.timeline-event:hover .event-time::before {
    left: 100%;
}

.timeline-event h4 {
    font-family: var(--font-decorative);
    font-size: 1.6rem;
    margin: 1rem 0;
    color: #1E40AF;
    font-weight: 700;
}

.timeline-event p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
}

/* כרטיסי פרטים משודרגים */
.details-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.details-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(248,250,252,0.95));
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.5);
}

.details-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1E40AF, #E11D48);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.details-card:hover::before {
    transform: scaleX(1);
}

.details-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.details-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #1E40AF, #3B82F6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.details-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #E11D48, #F59E0B);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.details-card:hover .details-icon::before {
    opacity: 1;
}

.details-icon i {
    font-size: 2.5rem;
    color: white;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.details-card:hover .details-icon i {
    transform: scale(1.1) rotate(5deg);
}

.module-title {
    font-family: 'Dancing Script', cursive;
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.date-text,
.time-text,
.hebrew-date,
.location-text,
.flights-text,
.timeline-desc {
    color: #2c3e50 !important; /* Force dark color */
    font-weight: 500 !important; /* Bolder text */
}

.details-title {
    font-family: var(--font-decorative);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-weight: 700;
    position: relative;
}

.details-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #E11D48, #F59E0B);
    transition: width 0.3s ease;
}

.details-card:hover .details-title::after {
    width: 60px;
}

.details-text {
    color: #475569;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.details-text.highlight {
    font-weight: 700;
    color: #E11D48;
    font-size: 1.3rem;
    background: linear-gradient(135deg, #E11D48, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.details-text.small {
    font-size: 0.95rem;
    color: #64748b;
    font-style: italic;
}




/* Footer משודרג */
footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 4rem 0 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1E40AF, #E11D48, #F59E0B);
}

footer h3 {
    font-family: var(--font-decorative);
    font-size: 2.5rem;
    background: linear-gradient(135deg, #E11D48, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #E11D48, #F59E0B);
    transition: width 0.3s ease;
}

.footer-nav a:hover::after {
    width: 100%;
}

.footer-nav a:hover {
    color: white;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: linear-gradient(135deg, #E11D48, #F59E0B);
    transform: translateY(-3px) scale(1.1);
}

.footer-heart {
    color: #E11D48;
    animation: heartbeat 1.5s ease-in-out infinite;
}

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

.copyright {
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* אפקטים למצב לילה */
.night-mode .details-container {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 1px solid rgba(255,255,255,0.1);
}

.night-mode .timeline-event {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    color: white;
}

.night-mode .timeline-event h4 {
    color: #60a5fa;
}

.night-mode .details-card {
    background: linear-gradient(135deg, rgba(30,41,59,0.9), rgba(51,65,85,0.9));
    backdrop-filter: blur(15px);
    color: white;
}

.night-mode .details-title {
    color: #60a5fa;
}

.night-mode .details-text {
    color: #cbd5e1;
}

.night-mode .gallery-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

/* רספונסיביות */
@media (max-width: 768px) {
    .timeline-events {
        flex-direction: column;
        gap: 2rem;
    }
    
    .details-cards-container {
        grid-template-columns: 1fr;
    }
    
    .details-container {
        padding: 2rem 1rem;
        margin: 2rem 0;
    }
    
    .directions-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .venue-details {
        grid-template-columns: 1fr;
    }
    
    .rsvp-form {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    .timeline-event {
        padding: 1rem;
    }
    
    .details-card {
        padding: 2rem 1rem;
    }
    
    .event-time {
        padding: 0.6rem 1rem;
        font-size: 1rem;
    }
    
    .details-title {
        font-size: 1.5rem;
    }
    
    .details-icon {
        width: 70px;
        height: 70px;
    }
}
    #particles-js {
      position: fixed;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      z-index: 1;
      pointer-events: none;
    }
    
    .night-mode {
      background-color: var(--night-bg) !important;
      color: var(--light-text) !important;
    }
    
    .night-mode .section {
      background-color: rgba(15, 15, 41, 0.7) !important;
    }
    
    .night-mode .names {
      background: linear-gradient(45deg, #A67C00, #FFD700, #A67C00) !important;
      background-clip: text !important;
      -webkit-background-clip: text !important;
      text-shadow: 0 0 10px var(--glow-color), 0 0 20px var(--glow-color) !important;
      color: transparent !important;
    }
    
    .night-mode .hero {
      background: radial-gradient(ellipse at bottom, var(--night-secondary), var(--night-primary)) !important;
    }
    
    /* מתג מצב לילה */
    .night-toggle {
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 1000;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.2);
      backdrop-filter: blur(5px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease;
    }
    
    .night-toggle:hover {
      transform: scale(1.1);
    }
    
    .night-toggle i {
      font-size: 1.5rem;
      color: var(--primary-color);
      transition: color 0.3s ease;
    }
    
    .night-mode .night-toggle i.fa-moon {
      display: none;
    }
    
    .night-mode .night-toggle i.fa-sun {
      display: block;
      color: var(--accent-color);
    }
    
    .night-toggle i.fa-sun {
      display: none;
    }
    
    /* אנימציות גלילה */
    .fade-in-up {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    .fade-in-up.active {
      opacity: 1;
      transform: translateY(0);
    }
    
    .stagger-item {
      transition-delay: calc(var(--i) * 0.1s);
    }
    
    /* סגנונות לגלריה התלת-ממדית */
    .gallery-section {
      padding: 80px 0;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(245, 245, 245, 0.9));
      display: block !important;
      opacity: 1 !important;
      visibility: visible !important;
      overflow: visible !important;
      z-index: 10;
    }
    
    .section-title {
      font-family: var(--font-decorative);
      font-size: 3.5rem;
      margin-bottom: 0.5rem;
      text-align: center;
      background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
    
    .section-description {
      text-align: center;
      font-size: 1.2rem;
      max-width: 600px;
      margin: 0 auto 2rem;
      color: var(--text-color);
    }
    
    .tilt-gallery {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 1rem;
    }
    
    .tilt-gallery-container {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 1.5rem;
      width: 100%;
    }
    
    .gallery-item {
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
      position: relative;
      transform-style: preserve-3d;
      transition: all 0.5s ease;
      background: #fff;
    }
    
    .gallery-item img {
      width: 100%;
      height: 250px;
      object-fit: cover;
      display: block;
    }
    
    .gallery-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
    }
    
    .gallery-item-caption {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
      color: white;
      text-align: center;
      padding: 40px 15px 15px;
      font-family: var(--font-decorative);
      font-size: 1.4rem;
      opacity: 0;
      transform: translateY(20px);
      transition: all 0.3s ease;
    }
    
    .gallery-item:hover .gallery-item-caption {
      opacity: 1;
      transform: translateY(0);
    }
    
    /* עיצוב סקציית פרטי האירוע */
    .details-section {
      padding: 5rem 0;
      background-color: var(--bg-light);
      position: relative;
      display: block !important;
      opacity: 1 !important;
      visibility: visible !important;
      overflow: visible !important;
    }
    
    .event-timeline {
      margin: 3rem 0;
      position: relative;
    }
    
    .timeline-line {
      height: 4px;
      background: var(--color-accent);
      position: relative;
      margin: 2rem 0;
      border-radius: 2px;
    }
    
    .timeline-dot {
      width: 18px;
      height: 18px;
      background: white;
      border: 3px solid var(--color-accent);
      border-radius: 50%;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
    }
    
    .timeline-dot:nth-child(1) {
      left: 0;
    }
    
    .timeline-dot:nth-child(2) {
      left: 50%;
    }
    
    .timeline-dot:nth-child(3) {
      right: 0;
    }
    
    .timeline-events {
      display: flex;
      justify-content: space-between;
      margin-top: 1rem;
    }
    
    .timeline-event {
      flex: 1;
      text-align: center;
      padding: 0 0.5rem;
    }
    
    .event-time {
      display: inline-block;
      background: var(--color-accent);
      color: white;
      font-weight: bold;
      padding: 0.3rem 0.8rem;
      border-radius: 20px;
      margin-bottom: 0.5rem;
    }
    
    .timeline-event h4 {
      font-family: var(--font-decorative);
      font-size: 1.3rem;
      margin: 0.5rem 0;
    }
    
    .timeline-event p {
      font-size: 0.9rem;
      color: var(--text-gray);
    }
    
    .details-cards-container {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 2rem;
      margin-top: 3rem;
    }
    
    .details-card {
      background: white;
      border-radius: 15px;
      padding: 1.5rem;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    
    .details-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }
    
    .details-icon {
      width: 70px;
      height: 70px;
      background: var(--color-primary-light);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1.5rem;
    }
    
    .details-icon i {
      font-size: 2rem;
      color: var(--color-primary-dark);
    }
    
    .details-content {
      text-align: center;
    }
    
    .details-title {
      font-family: var(--font-decorative);
      font-size: 1.5rem;
      margin-bottom: 1rem;
      color: var(--color-primary);
    }
    
    .details-text {
      color: var(--text-dark);
      margin-bottom: 0.5rem;
    }
    
    .details-text.highlight {
      font-weight: bold;
      color: var(--color-accent);
      font-size: 1.1rem;
    }
    
    .details-text.small {
      font-size: 0.85rem;
      color: var(--text-gray);
    }
    
    .night-mode .details-section {
      background-color: var(--bg-dark-lighter);
    }
    
    .night-mode .details-card {
      background: var(--bg-dark-light);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }
    
    .night-mode .details-title {
      color: var(--color-primary-light);
    }
    
    .night-mode .details-text {
      color: var(--text-light);
    }
    
    /* מפה אינטראקטיבית */
    .map-container {
      height: 400px;
      width: 100%;
      border-radius: var(--border-radius);
      overflow: hidden;
      box-shadow: var(--box-shadow);
      margin: 2rem auto;
      position: relative;
    }
    
    /* ספר אורחים דיגיטלי */
    .guestbook-form {
      max-width: 600px;
      margin: 0 auto;
      padding: 2rem;
      background: rgba(255, 255, 255, 0.8);
      backdrop-filter: blur(10px);
      border-radius: var(--border-radius);
      box-shadow: var(--box-shadow);
    }
    
    .guestbook-form .form-group {
      margin-bottom: 1.5rem;
    }
    
    .guestbook-form label {
      display: block;
      margin-bottom: 0.5rem;
      font-weight: 500;
    }
    
    .guestbook-form input,
    .guestbook-form textarea {
      width: 100%;
      padding: 0.75rem;
      border: 1px solid rgba(0, 0, 0, 0.1);
      border-radius: var(--border-radius);
      background: rgba(255, 255, 255, 0.9);
      font-family: var(--font-primary);
      transition: all 0.3s ease;
    }
    
    .guestbook-form input:focus,
    .guestbook-form textarea:focus {
      outline: none;
      border-color: var(--primary-color);
      box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.2);
    }
    
    .guestbook-form textarea {
      height: 120px;
      resize: vertical;
    }
    
    .guestbook-messages {
      max-height: 400px;
      overflow-y: auto;
      margin-top: 2rem;
    }
    
    .guestbook-message {
      background: rgba(255, 255, 255, 0.9);
      padding: 1.5rem;
      border-radius: var(--border-radius);
      margin-bottom: 1rem;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
      transition: transform 0.3s ease;
    }
    
    .guestbook-message:hover {
      transform: translateY(-3px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .message-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 0.75rem;
      border-bottom: 1px solid rgba(0, 0, 0, 0.05);
      padding-bottom: 0.5rem;
    }
    
    .message-name {
      font-weight: 700;
      color: var(--primary-color);
      font-size: 1.1rem;
    }
    
    .message-date {
      font-size: 0.85rem;
      color: rgba(0, 0, 0, 0.5);
    }
    
    .message-text {
      line-height: 1.6;
    }
    
    /* טופס RSVP משודרג */
    .rsvp-form-enhanced {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1.5rem;
    }
    
    .rsvp-form-enhanced .form-group {
      margin-bottom: 1.5rem;
    }
    
    .rsvp-form-enhanced .form-group.full-width {
      grid-column: span 2;
    }
    
    .rsvp-form-enhanced .input-animation {
      position: relative;
      overflow: hidden;
    }
    
    .rsvp-form-enhanced .input-animation input,
    .rsvp-form-enhanced .input-animation textarea,
    .rsvp-form-enhanced .input-animation select {
      width: 100%;
      padding: 12px;
      border: 2px solid rgba(0, 0, 0, 0.1);
      border-radius: var(--border-radius);
      background: transparent;
      font-family: var(--font-primary);
      transition: all 0.3s ease;
    }
    
    .rsvp-form-enhanced .input-animation label {
      position: absolute;
      top: 12px;
      right: 12px;
      transition: all 0.3s ease;
      pointer-events: none;
      color: rgba(0, 0, 0, 0.5);
    }
    
    .rsvp-form-enhanced .input-animation input:focus + label,
    .rsvp-form-enhanced .input-animation textarea:focus + label,
    .rsvp-form-enhanced .input-animation select:focus + label,
    .rsvp-form-enhanced .input-animation input:not(:placeholder-shown) + label,
    .rsvp-form-enhanced .input-animation textarea:not(:placeholder-shown) + label,
    .rsvp-form-enhanced .input-animation select:not([value=""]) + label {
      transform: translateY(-25px) translateX(10px) scale(0.8);
      background: white;
      padding: 0 8px;
      color: var(--primary-color);
    }
    
    .rsvp-form-enhanced .input-animation input:focus,
    .rsvp-form-enhanced .input-animation textarea:focus,
    .rsvp-form-enhanced .input-animation select:focus {
      border-color: var(--primary-color);
      box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.2);
      outline: none;
    }
    
    /* אנימציית גלילה לכל הסקציות */
    .section {
      opacity: 0;
      transform: translateY(50px);
    }
    
    .section.aos-animate {
      opacity: 1;
      transform: translateY(0);
    }
    
    /* התאמה למצב לילה עבור האלמנטים החדשים */
    .night-mode .gallery-section {
      background: linear-gradient(135deg, rgba(15, 15, 30, 0.9), rgba(25, 25, 50, 0.9));
    }
    
    .night-mode .gallery-item {
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
      background: rgba(20, 20, 40, 0.8);
    }
    
    .night-mode .guestbook-form,
    .night-mode .guestbook-message {
      background: rgba(20, 20, 40, 0.7);
    }
    
    .night-mode .message-date {
      color: rgba(255, 255, 255, 0.6);
    }
    
    .night-mode .rsvp-form-enhanced .input-animation input,
    .night-mode .rsvp-form-enhanced .input-animation textarea,
    .night-mode .rsvp-form-enhanced .input-animation select {
      border-color: rgba(255, 255, 255, 0.2);
      color: var(--light-text);
    }
    
    /* סגנונות למפה ומידע הגעה */
    .map-section {
      padding: 80px 0;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(245, 245, 245, 0.9));
      display: block !important;
      opacity: 1 !important;
      visibility: visible !important;
      overflow: visible !important;
      z-index: 10;
    }
    
    .map-container {
      height: 400px;
      width: 100%;
      border-radius: var(--border-radius);
      box-shadow: var(--box-shadow);
      margin: 2rem 0;
      position: relative;
      overflow: hidden;
      z-index: 1;
      border: 4px solid rgba(255, 255, 255, 0.8);
    }
    
    .venue-details {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1.5rem;
      margin-top: 2rem;
    }
    
    .venue-card {
      background: rgba(255, 255, 255, 0.9);
      border-radius: var(--border-radius);
      box-shadow: var(--box-shadow);
      padding: 1.5rem;
      text-align: center;
      transition: all 0.3s ease;
    }
    
    .venue-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    .venue-icon {
      font-size: 2.5rem;
      color: var(--primary-color);
      margin-bottom: 1rem;
    }
    
    .venue-card h3 {
      font-size: 1.3rem;
      margin-bottom: 0.5rem;
      color: var(--heading-color);
    }
    
    .venue-card p {
      color: var(--text-color);
      font-size: 1rem;
      line-height: 1.5;
    }
    
    .directions-buttons {
      display: flex;
      justify-content: center;
      gap: 1rem;
      margin-top: 2rem;
      flex-wrap: wrap;
    }
    
    .direction-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: var(--accent-color);
      color: white;
      padding: 0.75rem 1.5rem;
      border-radius: var(--border-radius);
      font-weight: 500;
      text-decoration: none;
      transition: all 0.3s ease;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .direction-btn:hover {
      background: var(--primary-color);
      transform: translateY(-2px);
      box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    }
    
    /* התאמה למצב לילה למפה */
    .night-mode .map-section {
      background: linear-gradient(135deg, rgba(15, 15, 30, 0.9), rgba(25, 25, 50, 0.9));
    }
    
    .night-mode .venue-card {
      background: rgba(20, 20, 40, 0.8);
    }
    
    .night-mode .venue-card h3 {
      color: var(--light-heading);
    }
    
    .night-mode .venue-card p {
      color: var(--light-text);
    }
    
    /* סגנונות עבור פקד המפה של Leaflet */
    .leaflet-popup-content-wrapper {
      background: rgba(255, 255, 255, 0.95);
      border-radius: var(--border-radius);
      padding: 0.5rem;
    }
    
    .venue-popup {
      text-align: center;
      padding: 0.5rem;
    }
    
    .venue-popup h3 {
      font-size: 1.2rem;
      margin-bottom: 0.5rem;
      color: var(--primary-color);
    }
    
    .venue-popup p {
      font-size: 0.9rem;
      margin-bottom: 0.3rem;
    }
    
    .night-mode .leaflet-popup-content-wrapper {
      background: rgba(20, 20, 40, 0.9);
      color: var(--light-text);
    }
    
    .night-mode .venue-popup h3 {
      color: var(--light-heading);
    }
  /* תפריט ניווט קבוע */
  .main-nav {
    position: fixed;
    top: 20px;
    right: 20px;
    left: 20px;
    text-align: center;
    z-index: 1000;
    padding: 15px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
  }
  
  .night-mode .main-nav {
    background: rgba(30, 30, 50, 0.8);
  }
  
  .nav-links {
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  .nav-links a {
    font-family: var(--font-main);
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 10px;
    border-radius: 20px;
  }
  
  .nav-links a:hover,
  .nav-links a.active {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.5);
  }
  
  .night-mode .nav-links a:hover,
  .night-mode .nav-links a.active {
    background: rgba(60, 60, 80, 0.5);
  }
  
  .menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
  }
  
  @media (max-width: 768px) {
    .menu-toggle {
      display: block;
      position: absolute;
      left: 15px;
      top: 50%;
      transform: translateY(-50%);
    }
    
    .nav-links {
      display: none;
      flex-direction: column;
      padding: 10px 0;
    }
    
    .nav-links.show {
      display: flex;
    }
    
    .main-nav {
      text-align: right;
    }
  }

/* Event Details v2 - ENHANCED & UPGRADED */
.event-details-v2-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f5f0 0%, #f4f1eb 50%, #eae6df 100%); /* Elegant gradient */
    color: #333333; /* Darker text for readability */
    text-align: center;
    overflow: hidden;
    position: relative;
}

/* Decorative elements */
.event-details-v2-section::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 40px;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(212, 175, 55, 0.3); /* Gold decoration */
    border-radius: 50%;
    pointer-events: none;
}

.event-details-v2-section::after {
    content: '';
    position: absolute;
    bottom: 40px;
    right: 40px;
    width: 150px;
    height: 150px;
    border: 2px solid rgba(44, 62, 80, 0.2); /* Navy decoration */
    border-radius: 50%;
    pointer-events: none;
}

.event-details-v2-section .section-header {
    margin-bottom: 70px;
    position: relative;
}

.event-details-v2-section .section-title {
    font-size: 4.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #2c3e50 0%, #4a6d8c 100%); /* Gradient title */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* Fallback */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    position: relative;
    display: inline-block;
    animation: fadeInDown 1s ease-out;
}

.event-details-v2-section .section-subtitle {
    font-size: 1.6rem;
    color: #2c3e50; /* Darker color for better contrast */
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 500; /* Bolder text */
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Enhanced modules */
.event-modules-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.event-module {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    width: 100%; /* Full width for all modules */
    max-width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    border: none;
    backdrop-filter: blur(10px);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    animation: fadeInUp 0.8s ease-out both;
    margin-bottom: 40px;
}

/* No longer needed, all modules are full width */
.event-module.full-width {
    margin-top: 30px;
}

.event-module:nth-child(1) { animation-delay: 0.2s; }
.event-module:nth-child(2) { animation-delay: 0.4s; }
.event-module:nth-child(3) { animation-delay: 0.6s; }

.event-module::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #d4af37, #ffd700, #d4af37); /* Gold trim */
    opacity: 0;
    transition: opacity 0.4s ease;
}

.event-module:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12), 0 0 15px rgba(212, 175, 55, 0.2);
}

.event-module:hover::before {
    opacity: 1;
}

/* Enhanced module icons */
.module-icon-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    box-shadow: 0 10px 20px rgba(44, 62, 80, 0.3), 0 0 0 2px rgba(255, 255, 255, 0.5) inset;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.module-icon-container::after {
    content: '';
    position: absolute;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    top: -20%;
    left: -20%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.event-module:hover .module-icon-container {
    transform: rotate(12deg) scale(1.1);
}

.event-module:hover .module-icon-container::after {
    opacity: 1;
}

.module-icon {
    color: #d4af37; /* Gold color for icons */
    font-size: 2.5rem;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
    transition: all 0.5s ease;
}

.event-module:hover .module-icon {
    transform: scale(1.2);
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.7));
}

/* Enhanced typography */
.module-title {
    font-size: 2.2rem;
    color: #2c3e50;
    margin: 0 0 20px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.module-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, transparent);
    bottom: -10px;
    left: calc(50% - 25px);
    transition: width 0.4s ease;
}

.event-module:hover .module-title::after {
    width: 80px;
    left: calc(50% - 40px);
}

/* Date and time styling */
#when-module .date-text, 
#when-module .time-text,
#when-module .hebrew-date {
    font-size: 1.8rem;
    color: #2c3e50; /* Darker color */
    font-weight: 700;
    margin: 15px 0;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

#when-module .hebrew-date {
    font-family: 'Rubik', sans-serif;
    color: #d4af37;
    font-size: 1.6rem;
    margin-top: -5px;
    margin-bottom: 20px;
}

/* Location styling */
#where-module .location-text {
    font-size: 1.8rem;
    color: #2c3e50; /* Darker color */
    font-weight: 700;
    margin: 15px 0;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

/* Flights module styling */
#flights-module .flights-text {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #2c3e50; /* Darker color */
    font-weight: 500; /* Slightly bolder */
    margin-bottom: 20px;
}

/* Enhanced buttons */
.add-to-calendar-btn, .nav-btn {
    padding: 14px 28px;
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin: 10px 5px;
}

.add-to-calendar-btn::before, .nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.3));
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.add-to-calendar-btn:hover::before, .nav-btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.add-to-calendar-btn {
    background-color: #2c3e50;
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.3), 0 0 0 rgba(44, 62, 80, 0);
    border: 2px solid #2c3e50;
    color: #333; /* Darker color instead of off-white */
    font-weight: 600; /* Make text bolder */
}

.add-to-calendar-btn:hover {
    background-color: #d4af37;
    color: #2c3e50; /* Dark color for better contrast on gold background */
    border-color: #d4af37;
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.3), 0 0 15px rgba(212, 175, 55, 0.2);
}

.add-to-calendar-btn:active {
    transform: translateY(-3px);
}

.waze-btn {
    background-color: #33ccff;
    border-color: #33ccff;
    box-shadow: 0 8px 15px rgba(51, 204, 255, 0.2);
}

.waze-btn:hover {
    background-color: #f0f0f0; /* Light background instead of transparent */
    color: #0099cc; /* Darker blue for better contrast */
    transform: translateY(-7px);
    box-shadow: 0 15px 25px rgba(51, 204, 255, 0.3);
}

.google-btn {
    background-color: #ea4335;
    border-color: #ea4335;
    box-shadow: 0 8px 15px rgba(234, 67, 53, 0.2);
}

.google-btn:hover {
    background-color: #f0f0f0; /* Light background instead of transparent */
    color: #d32f2f; /* Slightly darker red */
    transform: translateY(-7px);
    box-shadow: 0 15px 25px rgba(234, 67, 53, 0.3);
}

.flights-btn {
    background-color: #4285f4;
    border-color: #4285f4;
    box-shadow: 0 8px 15px rgba(66, 133, 244, 0.2);
}

.flights-btn:hover {
    background-color: #f0f0f0; /* Light background instead of transparent */
    color: #4285f4; /* Darker blue for better contrast */
    transform: translateY(-7px);
    box-shadow: 0 15px 25px rgba(66, 133, 244, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Event Timeline Styling */
.event-timeline {
    position: relative;
    max-width: 1000px;
    margin: 40px auto 20px;
    padding: 20px 0;
}

.event-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    right: 30px; /* Adjusted for RTL */
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, #d4af37, #f7d794, #d4af37);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-right: 80px; /* Adjusted for RTL */
    padding-left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-icon {
    position: absolute;
    right: 0;
    top: 0;
    transform: translateX(50%); /* Center on the line */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af37;
    font-size: 1.4rem;
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
    z-index: 1;
    transition: all 0.4s ease;
}

.timeline-content {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-left: 20px;
    transition: all 0.4s ease;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: 20px;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 100%;
    height: 20px;
    width: 20px;
    border: 10px solid transparent;
    border-right: 10px solid #fff;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: auto;
    left: 100%;
    border-right: transparent;
    border-left: 10px solid #fff;
}

.timeline-time {
    color: #bf9b30; /* Darker gold */
    font-size: 1.6rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.timeline-desc {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.5;
    color: #2c3e50; /* Darker for better contrast */
    font-weight: 500; /* Slightly bolder */
}

.timeline-item:hover .timeline-icon {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.8), 0 10px 25px rgba(0, 0, 0, 0.3);
    color: #2c3e50; /* Dark color for better contrast on gold background */
    background: linear-gradient(135deg, #d4af37, #ffd700);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .event-timeline::before {
        left: 31px;
    }
    
    .timeline-item {
        justify-content: flex-start;
    }
    
    .timeline-content {
        width: calc(100% - 90px);
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        margin-right: 0;
        margin-left: 20px;
    }
    
    .timeline-item:nth-child(even) .timeline-content::before {
        left: auto;
        right: 100%;
        border-left: transparent;
        border-right: 10px solid #fff;
    }
}

.event-schedule-list li {
    font-size: 1.1rem;
    color: #34495e;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #dce1e6;
    padding-bottom: 12px;
}

.event-schedule-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.schedule-time {
    font-weight: 700;
    color: #e85a71;
    margin-left: 15px;
    white-space: nowrap;
}

/* Action Buttons on Cards */
.event-card-actions {
    margin-top: 25px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.event-detail-card:hover .event-card-actions {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s; /* Delay the appearance a bit */
}

.btn-action {
    display: inline-block;
    background: linear-gradient(135deg, #e85a71, #f0728b);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Heebo', sans-serif;
    box-shadow: 0 5px 15px rgba(232, 90, 113, 0.4);
    transition: all 0.3s ease;
}

.btn-action i {
    margin-right: 8px;
}

.btn-action:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(232, 90, 113, 0.5);
    background: linear-gradient(135deg, #f0728b, #e85a71);
}

/* Interactive Timeline Styles */
.interactive-timeline {
    position: relative;
    padding: 20px 0;
    margin-top: 20px;
}

.interactive-timeline::before {
    content: '';
    position: absolute;
    right: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-right: 50px; /* Space for the icon and line */
}

.timeline-icon {
    position: absolute;
    right: 0;
    transform: translateX(50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #e85a71, #f9a8d4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 15px rgba(232, 90, 113, 0.5);
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-icon {
    transform: translateX(50%) scale(1.1);
    box-shadow: 0 0 25px rgba(232, 90, 113, 0.8);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 8px;
    width: 100%;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-5px);
}

.timeline-content h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #bf9b30; /* Darker gold */
    font-weight: 700;
}

.timeline-content p {
    margin: 0;
    font-size: 1rem;
    color: #2c3e50 !important; /* Forcing dark color */
    font-weight: 500;
}

/* Card Glare Effect */
.card-glare {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.25), transparent 50%);
    transform: scale(1.5);
    opacity: 0;
    pointer-events: none; /* Allows clicking through the glare */
    transition: opacity 0.4s ease-out;
}

/* ===================================================================
   Event Modules Styling
==================================================================== */
.event-modules-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 50px;
}

.event-module {
    background: rgba(250, 245, 238, 0.85); /* A warmer, more solid background */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
    transition: all 0.3s ease;
}

.event-module:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.module-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.module-icon {
    font-size: 2.5rem;
    color: #e85a71; /* Accent color */
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(232, 90, 113, 0.5);
}

.module-title {
    font-family: 'Heebo', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50; /* Dark, elegant color */
}

.module-content .date-text {
    font-size: 1.4rem;
    font-weight: 500;
    color: #f0f0f0;
    margin-bottom: 5px;
}

.module-content .time-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.add-to-calendar-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #e85a71;
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(232, 90, 113, 0.4);
}

.add-to-calendar-btn:hover {
    background: #fff;
    color: #e85a71;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(232, 90, 113, 0.5);
}

.add-to-calendar-btn i {
    font-size: 1.1rem;
}

/* "Where" Module Specifics */
#where-module .location-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-weight: 500;
}

.map-container {
    margin-bottom: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    border-radius: 15px;
    overflow: hidden;
}

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

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-btn:hover {
    transform: translateY(-3px) scale(1.05);
}

.nav-btn i {
    font-size: 1.3rem;
}

.waze-btn {
    background-color: #33ccff;
    box-shadow: 0 5px 15px rgba(51, 204, 255, 0.4);
}

.waze-btn:hover {
    background-color: #fff;
    color: #33ccff;
    border-color: #33ccff;
}

.google-btn {
    background-color: #ea4335;
    box-shadow: 0 5px 15px rgba(234, 67, 53, 0.4);
}

.google-btn:hover {
    background-color: #fff;
    color: #ea4335;
    border-color: #ea4335;
}

/* "Flights" Module Specifics */
#flights-module .flights-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 400px;
    margin: 0 auto 25px auto;
    line-height: 1.6;
}

.flights-btn {
    background-color: #4285f4; /* Google's blue */
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.4);
}

.flights-btn:hover {
    background-color: #fff;
    color: #4285f4;
    border-color: #4285f4;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .hero {
        background-image: linear-gradient(rgba(30, 64, 175, 0.5), rgba(200, 16, 46, 0.5)), url('uploads/WhatsApp Image 2025-06-23 at 21.48.38 (1).jpeg') !important;
        height: 100vh; /* Full screen height */
        min-height: 600px;
        background-size: cover;
        background-position: center top; /* Show image from top */
    }

    .hero-content h1 {
        font-size: 3.5rem; /* Adjust font size for tablets */
    }

    .hero-content .date {
        font-size: 1.3rem;
    }

    .event-details-container {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }

    .module-title {
        font-size: 1.6rem;
    }

    .timeline:before {
        left: auto;
        right: 20px; /* Adjust timeline position */
    }

    .timeline-item {
        width: 100%;
        padding-left: 0;
        padding-right: 50px; /* Adjust padding for RTL */
        text-align: right;
    }

    .timeline-item:nth-child(even) {
        padding-right: 50px;
    }

    .timeline-icon {
        left: auto;
        right: 0;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.8rem; /* Adjust for smaller phones */
    }

    .hero-content .date {
        font-size: 1.1rem;
    }

    #event-details .section-title {
        font-size: 2.5rem;
    }
}

/* Media query for short screens */
@media (max-height: 750px) and (max-width: 480px) {
    .hero-content {
        padding: 10px 15px;
        transform: scale(0.85);
    }

    .hero-content h1.names {
        font-size: 2.2rem; /* Smaller font for short screens */
        margin-bottom: 0.5rem;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .hero-content .date {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}
