/* 🎉 INVITATION PAGE SPECIFIC STYLES 🎉 */

.invitation-container {
  max-width: 800px;
  margin: 0 auto;
}

/* Inline GIF icons that scale with text */
.icon-gif {
  display: inline-block;
  height: 1.2em;
  width: auto;
  vertical-align: middle;
  margin: 0 0.2em;
  flex-shrink: 0;
}

/* Larger icon modifier */
.icon-gif--lg {
  height: 1.8em;
}

/* Larger icons for headings */
h1 .icon-gif {
  height: 1.5em;
}

h2 .icon-gif {
  height: 1.3em;
}

/* Flex wrapper for headings with icons */
.heading-with-icons {
  display: flex;
  flex-shrink: 0;
}

.date-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: linear-gradient(to right, #FF0000, #FF7F00, #FFFF00, #00FF00, #0000FF, #4B0082, #9400D3);
  color: white;
  padding: 1rem;
  text-align: center;
  border: 5px solid #FFD700;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  font-weight: bold;
  text-shadow: 3px 3px 0px #000000;
  animation: rainbow 5s linear infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .date-banner {
    font-size: 1.3rem;
  }
  
  .date-banner .icon-gif {
    height: 1.3rem;
  }
  
  .heading-with-icons h1 {
    font-size: 2rem !important;
  }
  
  h1 .icon-gif {
    height: 1.2em;
  }
}

@media (max-width: 480px) {
  .date-banner {
    font-size: 1rem;
  }
  
  .date-banner .icon-gif {
    height: 1rem;
  }
  
  .heading-with-icons h1 {
    font-size: 1.5rem !important;
  }
}

/* Banner icons */
.date-banner .icon-gif {
  height: 1.8rem;
  vertical-align: middle;
  flex-shrink: 0;
}

.date-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: linear-gradient(to right, #FF0000, #FF7F00, #FFFF00, #00FF00, #0000FF, #4B0082, #9400D3);
  color: white;
  padding: 1rem;
  text-align: center;
  border: 5px solid #FFD700;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  font-weight: bold;
  text-shadow: 3px 3px 0px #000000;
  animation: rainbow 5s linear infinite;
}

.rules-section {
  background: #FFFFCC !important;
  border: 4px dashed #FF00FF;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.rules-section h3 {
  color: #FF0000;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  text-decoration: underline wavy #00FF00;
  background: transparent;
}

.rule-item {
  background: #FFFFFF;
  border: 3px groove #0000FF;
  padding: 1rem;
  margin-bottom: 1rem;
  font-family: 'Arial', sans-serif;
}

.rule-item strong {
  color: #FF00FF;
  font-size: 1.2rem;
}

.mocktail-notice {
  background: #00FFFF;
  border: 4px double #FF0000;
  padding: 1rem;
  margin-top: 1rem;
  font-weight: bold;
  color: #000080;
}

.footer-text {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #666;
  font-family: 'Courier New', monospace;
}

.footer-text p {
  margin-top: 0.5rem;
}

.footer-text a {
  color: #0000FF;
  text-decoration: underline;
}

/* Page Views Header */
.page-views-header {
  display:inline-block;
  color: #00FF00;
  font-weight: bold;
  margin-bottom: 0.5rem;
  white-space: nowrap;
  font-size: 0.9rem;
  display: inline-block;
}

/* View Counter Container */
.view-counter-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Header Images Row */
.header-images {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.header-images img {
  height: 80px;
  width: auto;
}

/* Main Title */
.main-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.subtitle {
  color: #FF00FF;
  font-size: 1.5rem;
}

.subheading {
  color: #00FFFF;
  font-size: 1.2rem;
  font-family: 'Arial', sans-serif;
  margin-top: 0.5rem;
  text-shadow: 1px 1px 2px #000000;
}

/* Sparkle Decorations */
.sparkle-decoration {
  width: 100px;
}

.sparkle-row {
  padding-bottom: 15px;
}

.sparkle-row img {
  width: 80px;
  margin: 1rem;
}

/* Intro Paragraphs */
.intro-large {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #000;
}

.intro-medium {
  margin-top: 1rem;
  font-size: 1.1rem;
}

.highlight-text {
  color: #FF00FF;
}

.highlight-bg {
  background: #FFFF00;
  padding: 2px 6px;
}

.cyan-highlight {
  background: #00FFFF;
  padding: 2px 4px;
  font-weight: bold;
}

.green-highlight {
  background: #00FF00;
  padding: 2px 6px;
}

.red-bold {
  color: #FF0000;
  font-weight: bold;
}

/* Rule Item Paragraphs */
.rule-item p {
  margin-top: 0.5rem;
}

/* Mocktail Notice Large Icons */
.mocktail-notice .large-icon {
  height: 2em;
}

/* What to Bring Section */
.what-to-bring {
  background: #FFE4E1;
}

.what-to-bring h2 {
  color: #FF1493;
}

.what-to-bring ul {
  font-size: 1.1rem;
  line-height: 2;
  list-style: none;
}

.what-to-bring li {
  padding: 0.5rem 0;
}

/* Final Section */
.final-section {
  background: linear-gradient(to bottom, #FFD700, #FFA500);
}

.final-section .main-heading {
  font-size: 2rem;
  color: #FF0000;
  text-shadow: 2px 2px 0 #000;
}

.final-section .large-text {
  font-size: 1.3rem;
  margin-top: 1rem;
  font-weight: bold;
}

.final-section .large-text .icon-gif {
  height: 1.5em;
}

.final-section .small-text {
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* Trophy Container */
.trophy-container {
  margin-top: 2rem;
}

.trophy-container img {
  width: 120px;
}

/* Spinning Star */
.spinning-star {
  width: 20px;
  vertical-align: middle;
}

/* Guestbook & Counter Side by Side */
.guestbook-counter-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.guestbook-counter-container > div {
  flex: 0 0 auto;
  max-width: 300px;
  text-align: center;
}

/* Guestbook Trigger Image */
.guestbook-trigger {
  max-width: 250px;
  height: auto;
  cursor: pointer;
  transition: filter 0.2s;
  margin: 0 auto;
  display: block;
}

.guestbook-trigger:hover {
  filter: brightness(1.2);
}

/* Guestbook Modal/Popup */
.guestbook-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.guestbook-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.guestbook-modal-content {
  position: relative;
  max-width: 700px;
  max-height: 90vh;
  margin: 5vh auto;
  background: #C0C0C0;
  border: 6px outset #FFFFFF;
  padding: 2rem;
  overflow-y: auto;
  box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.5);
  z-index: 10000;
}

.guestbook-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(180deg, #FF0000 0%, #CC0000 100%);
  color: #FFFF00;
  border: 3px outset #FF0000;
  padding: 0.5rem 1rem;
  font-family: 'Comic Sans MS', cursive;
  font-weight: bold;
  cursor: pointer;
  text-shadow: 1px 1px 0px #000000;
  font-size: 0.9rem;
}

.guestbook-close:hover {
  background: linear-gradient(180deg, #CC0000 0%, #990000 100%);
}

.guestbook-close:active {
  border-style: inset;
}

/* Mobile padding adjustments */
@media (max-width: 768px) {
  .section {
    padding: 0.75rem !important;
  }
  
  .rules-section {
    padding: 0.75rem;
  }
  
  .rule-item {
    padding: 0.5rem;
  }
  
  .mocktail-notice {
    padding: 0.5rem;
  }

  .section ul {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .section li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .icon-gif--lg {
    flex-shrink: 0;
  }
}

/* Guestbook Styles */
.guestbook-form {
  max-width: 500px;
  margin: 2rem auto;
  padding: 1rem;
  background: #FFCCFF;
  border: 4px outset #FF00FF;
}

.guestbook-form input,
.guestbook-form textarea {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 0.75rem;
  border: 2px inset #666;
  font-family: 'Comic Sans MS', cursive;
  font-size: 1rem;
}

.guestbook-form button {
  width: 100%;
  padding: 0.75rem;
  background: linear-gradient(180deg, #00FF00 0%, #008800 100%);
  color: #000;
  border: 3px outset #00FF00;
  font-family: 'Comic Sans MS', cursive;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  text-shadow: 1px 1px 0px #FFFF00;
}

.guestbook-form button:hover {
  background: linear-gradient(180deg, #00CC00 0%, #006600 100%);
}

.guestbook-form button:active {
  border-style: inset;
}

.error-message {
  color: #FF0000;
  font-weight: bold;
  margin-top: 0.5rem;
  text-align: center;
}

.guestbook-entries {
  max-width: 600px;
  margin: 2rem auto;
}

.guestbook-entry {
  background: #FFFFCC;
  border: 3px ridge #FF00FF;
  padding: 1rem;
  margin-bottom: 1rem;
}

.entry-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px dotted #00FFFF;
}

.entry-name {
  font-weight: bold;
  color: #FF00FF;
  font-size: 1.1rem;
}

.entry-date {
  color: #666;
  font-size: 0.85rem;
}

.entry-message {
  color: #000;
  line-height: 1.4;
}