/* Wedding Invitation Styles */

body {
  background: linear-gradient(to bottom, #fefcf9, #f9f5ef);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #444;
  min-height: 100vh;
}

/* Header Styles */
header {
  background: url('/assets/images/headerbild_2.jpg') no-repeat top center;
  background-size: cover;
  color: white;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  padding: 4rem 1rem;
  border-radius: 0 0 2rem 2rem;
  position: relative;
}

/* Desktop Header Image */
@media (min-width: 769px) {
  header {
    background-image: url('/assets/images/headerbild_3.jpg');
  }
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 0 0 2rem 2rem;
}

header * {
  position: relative;
  z-index: 1;
}

/* Clickable Address */
.location-address {
  cursor: pointer;
  transition: color 0.2s ease;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.5);
}

.location-address:hover {
  color: #ffd700;
  text-decoration-color: #ffd700;
}

/* Burger Menu Button (Mobile Only) */
.burger-menu-btn {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.5rem;
  width: 45px;
  height: 45px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  transition: all 0.3s ease;
}

.burger-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger-menu-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Burger Menu Overlay */
.burger-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1002;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.burger-menu-overlay.active {
  display: block;
  opacity: 1;
}

/* Burger Menu */
.burger-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
  z-index: 1003;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
}

.burger-menu.active {
  right: 0;
}

.burger-menu-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 2.5rem;
  color: #444;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.3s ease;
}

.burger-menu-close:hover {
  color: #222;
  transform: rotate(90deg);
}

.burger-menu-items {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.burger-menu-items .btn-language {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: 1.1rem;
  background: rgba(68, 68, 68, 0.05);
  color: #444;
  border: 2px solid rgba(68, 68, 68, 0.1);
}

.burger-menu-items .btn-language:hover {
  background: rgba(68, 68, 68, 0.1);
  color: #222;
}

.burger-menu-items .btn-language.active {
  background: rgba(68, 68, 68, 0.15);
  color: #222;
  border-color: #444;
}

.burger-menu-items .admin-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 1;
  text-decoration: none;
  text-shadow: none;
}

/* Language Switcher */
.language-switcher {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 0.5rem;
}

.btn-language {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-language:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
  transform: translateY(-1px);
}

.btn-language.active {
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  border-color: rgba(255, 255, 255, 0.8);
}

.admin-link {
  text-decoration: none;
  font-size: 1.2rem;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.admin-link:hover {
  opacity: 1;
  text-decoration: none;
  color: white;
}

.invitation-text {
  font-size: 1.3rem;
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  letter-spacing: 2px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  font-family: 'Georgia', serif;
}

header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: 'Dancing Script', cursive;
}

/* Dancing Script for all major headings */
h2, h3, .main-tab {
  font-family: 'Dancing Script', cursive;
}

.wedding-date {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}

.wedding-location p {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.location-address {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  margin-bottom: 1rem;
}

/* Header Buttons */
.header-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.btn-header {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-header:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Timeline Section */
.timeline-section {
  margin: 0 0 3rem 0;
  background: url('/assets/images/locationbackground.jpeg') no-repeat center center;
  background-size: cover;
  padding: 1.5rem 1rem 3rem 1rem;
  border-radius: 2rem;
  position: relative;
  min-height: 100vh;
  background-attachment: scroll;
}

.timeline-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2rem;
  z-index: 0;
}

.timeline-section > * {
  position: relative;
  z-index: 1;
}

.timeline {
  position: relative;
  max-width: 100%;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: #fefcf9;
  border-radius: 2px;
  z-index: 1;
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-time {
  background: #fefcf9;
  color: #444;
  padding: 0.75rem 1.25rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 1.1rem;
  min-width: 80px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 3;
  margin: 0 2rem;
}

.timeline-content {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 1.25rem 1.75rem;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex: 1;
  max-width: 280px;
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: 0;
}

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

.timeline-content span {
  font-weight: 500;
  color: #444;
  font-size: 1rem;
  line-height: 1.4;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: #fefcf9;
  border: 3px solid #e9ecef;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* RSVP Section */
.rsvp-section {
  margin: 0 0 3rem 0;
  background: url('/assets/images/locationbackground.jpeg') no-repeat center center;
  background-size: cover;
  padding: 1.5rem 1rem 3rem 1rem;
  border-radius: 2rem;
  position: relative;
  min-height: 100vh;
  background-attachment: scroll;
}

.rsvp-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2rem;
  z-index: 0;
}

.rsvp-section > * {
  position: relative;
  z-index: 1;
}

.rsvp-deadline-text {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 1.25rem 2rem;
  margin: 0 auto 2rem;
  max-width: 600px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.rsvp-deadline-text p {
  color: #444;
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0;
}

.rsvp-deadline-text strong {
  color: #444;
  font-weight: 700;
  font-size: 1.15em;
}

/* Fairy Lights */
/* Wedding Decoration */
.wedding-decoration {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  gap: 1rem;
}

.decoration-element {
  font-size: 1.5rem;
  opacity: 0.8;
  animation: gentle-glow 3s ease-in-out infinite;
}

.decoration-element:nth-child(even) {
  animation-delay: 1s;
}

@keyframes gentle-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* Google Maps Preview */
.maps-preview-container {
  max-width: 100%;
  margin: 0 auto;
}

.maps-preview {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.maps-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.maps-overlay:hover {
  background: rgba(255, 255, 255, 0.95);
}

.maps-overlay-content {
  text-align: center;
  color: #666;
}

.maps-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.5rem;
}

.maps-overlay p {
  margin: 0;
  font-weight: 500;
  font-size: 1rem;
}

.maps-preview.active .maps-overlay {
  opacity: 0;
  pointer-events: none;
}

.maps-preview iframe {
  transition: filter 0.3s ease;
}



.rsvp-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-accept,
.btn-decline {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 300;
  border-radius: 2rem;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  min-width: 200px;
  background-color: #fefcf9;
  box-shadow: 0 4px 15px rgba(68, 68, 68, 0.15);
}

.btn-accept {
  color: #444;
  background-color: #fefcf9;
}

.btn-accept:hover {
  background-color: #f9f5ef;
  color: #444;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(68, 68, 68, 0.2);
}

.btn-accept.active {
  background-color: #fefcf9;
  color: #444;
  font-weight: 700;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(68, 68, 68, 0.25);
}

.btn-decline {
  color: #444;
  background-color: #fefcf9;
}

.btn-decline:hover {
  background-color: #f9f5ef;
  color: #444;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(68, 68, 68, 0.2);
}

.btn-decline.active {
  background-color: #fefcf9;
  color: #444;
  font-weight: 700;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(68, 68, 68, 0.25);
}

/* Form Sections */
.form-section {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  padding: 3rem;
  margin: 2rem auto;
  max-width: 600px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-section h3 {
  color: #333;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
}

/* Floating Label Forms */
.form-floating > .form-control,
.form-floating > .form-select {
  border: 2px solid #e9ecef;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.95);
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
  border-color: #444;
  box-shadow: 0 0 0 0.2rem rgba(68, 68, 68, 0.15);
  background-color: white;
}

.form-floating > label {
  color: #666;
  font-weight: 500;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select:focus ~ label,
.form-floating > .form-select ~ label {
  color: #444;
  font-weight: 600;
}

.form-check-input:checked {
  background-color: #444;
  border-color: #444;
}

.form-check-label {
  font-weight: 500;
  color: #555;
}

/* Form Section Title */
.form-section-title {
  color: #444;
  font-weight: 600;
  margin-bottom: 0;
  font-size: 1rem;
}

/* Dietary Counter Styling */
.dietary-counter {
  text-align: center;
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 0.75rem;
  padding: 1rem;
  transition: all 0.3s ease;
}

.dietary-counter:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: rgba(68, 68, 68, 0.3);
}

.dietary-label {
  display: block;
  font-weight: 600;
  color: #555;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.counter-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-counter {
  background-color: white;
  color: black;
  border: 2px solid #e9ecef;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 1;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-counter:hover {
  background-color: #f8f9fa;
  border-color: #444;
  color: #444;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-counter:active {
  transform: scale(0.95);
}

.counter-input {
  width: 60px;
  text-align: center;
  border: 2px solid #e9ecef;
  border-radius: 0.5rem;
  padding: 0.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  background: #f8f9fa;
}

.counter-input:focus {
  border-color: #444;
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(68, 68, 68, 0.15);
}

/* Dietary Summary */
.dietary-summary {
  text-align: center;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #666;
}

.summary-count {
  color: #444;
  font-weight: 700;
}

/* Comments Section */
.comments-section {
  margin: 1rem 0;
}

.comments-prompt {
  color: #666;
  font-weight: 500;
  margin-bottom: 0.75rem;
  padding: 0.5rem;
  background: rgba(68, 68, 68, 0.05);
  border-radius: 0.5rem;
  border-left: 3px solid rgba(68, 68, 68, 0.2);
}

/* Wedding Button */
.btn-wedding {
  background: #fefcf9;
  color: #444;
  border: 1px solid #e9ecef;
  padding: 1rem 3rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-wedding:hover {
  background: #f9f5ef;
  color: #444;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Main Tabs Navigation */
.main-tabs-section {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.5rem 0;
  margin-top: -1rem;
  position: relative;
  z-index: 100;
}

.main-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.main-tab {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #666;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 2rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  min-width: 140px;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.main-tab:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.5);
  color: #555;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.main-tab.active {
  border-color: #444;
  color: #444;
  background: rgba(68, 68, 68, 0.05);
  font-weight: 600;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.main-tab-content {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.main-tab-content.active {
  display: block;
}

/* Info Section */
.info-section {
  margin: 0 0 3rem 0;
  padding: 1.5rem 1rem 3rem 1rem;
  background: url('/assets/images/locationbackground.jpeg') no-repeat center center;
  background-size: cover;
  border-radius: 2rem;
  position: relative;
  min-height: 100vh;
  background-attachment: scroll;
}

.info-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2rem;
  z-index: 0;
}

.info-section > * {
  position: relative;
  z-index: 1;
}

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

.info-item {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.info-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.info-item h5 {
  color: #444;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-item p {
  color: #555;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.info-item p:last-child {
  margin-bottom: 0;
}

.info-link {
  display: inline-block;
  background: #fefcf9;
  color: #444;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid #e9ecef;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  margin: 0.5rem 0;
}

.info-link:hover {
  background: #f9f5ef;
  color: #444;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.contact-info {
  background: rgba(68, 68, 68, 0.05);
  border-radius: 0.75rem;
  padding: 1rem;
  border-left: 3px solid rgba(68, 68, 68, 0.2);
  margin-top: 0.75rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

.contact-info p:last-child {
  margin-bottom: 0;
}

.info-item h6 {
  color: #444;
  font-weight: 600;
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
  font-size: 1rem;
}

.info-item h6:first-of-type {
  margin-top: 0;
}

.small-link {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  margin: 0.25rem 0.5rem 0.25rem 0;
  display: inline-block;
}

.hotel-list {
  margin-top: 1rem;
}

.hotel-item {
  background: rgba(68, 68, 68, 0.03);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
  border-left: 3px solid rgba(68, 68, 68, 0.2);
}

.hotel-item:last-child {
  margin-bottom: 0;
}

.hotel-item p {
  margin-bottom: 0.5rem;
}

.distance {
  color: #666;
  font-weight: 400;
  font-size: 0.9rem;
}

.accommodation-help {
  background: rgba(68, 68, 68, 0.05);
  border-radius: 0.75rem;
  padding: 1rem;
  border-left: 3px solid rgba(68, 68, 68, 0.2);
  margin-top: 0.75rem;
}

.help-text {
  color: #555;
  font-size: 0.9rem;
  margin: 0;
}

/* Quick Navigation Section */
.quick-nav-section {
  margin: 2rem 0;
  padding: 1.5rem 0;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-nav-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-quick-nav {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #444;
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-family: 'Dancing Script', cursive;
}

.btn-quick-nav:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(68, 68, 68, 0.3);
  color: #444;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Tablet View (769px - 992px) */
@media (min-width: 769px) and (max-width: 992px) {
  /* Timeline Tablet - Use left-aligned layout like mobile */
  .timeline::before {
    left: 30px;
    transform: none;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row;
  }

  .timeline-time {
    min-width: 70px;
    padding: 0.65rem 1rem;
    font-size: 1rem;
    margin: 0 1.5rem 0 0;
  }

  .timeline-content {
    max-width: none;
    flex: 1;
  }

  .timeline-item::before {
    left: 30px;
    transform: translateX(-50%);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Show burger menu button, hide desktop language switcher */
  .burger-menu-btn {
    display: flex;
  }

  .language-switcher {
    display: none;
  }

  .invitation-text {
    font-size: 1.1rem;
    letter-spacing: 1px;
  }

  header h1 {
    font-size: 2.2rem;
  }

  .wedding-date {
    font-size: 1.3rem;
  }
  
  .form-section {
    padding: 2rem;
    margin: 1rem;
  }
  
  .rsvp-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-accept,
  .btn-decline {
    width: 100%;
    max-width: 300px;
  }
  
  .header-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  
  .btn-header {
    width: 100%;
    max-width: 250px;
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
  }
  
  .language-switcher {
    position: relative;
    top: auto;
    right: auto;
    justify-content: center;
    margin-bottom: 1rem;
  }
  
  .wedding-location p {
    font-size: 0.9rem;
  }
  
  .wedding-location .lead {
    font-size: 1rem;
  }
  
  .maps-preview iframe {
    height: 250px;
  }
  
  .maps-icon {
    font-size: 2.5rem;
  }
  
  .maps-overlay p {
    font-size: 0.9rem;
  }
  

  /* Timeline Mobile Adjustments */
  .timeline::before {
    left: 30px;
    transform: none;
  }
  
  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row;
  }
  
  .timeline-time {
    min-width: 60px;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    margin: 0 1rem 0 0;
  }
  
  .timeline-content {
    max-width: none;
    flex: 1;
  }
  
  .timeline-item::before {
    left: 30px;
    transform: translateX(-50%);
  }

  /* Info Section Mobile Adjustments */
  .info-section {
    margin: 0 0 2rem 0;
    padding: 1.5rem 1rem 3rem 1rem;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
  }
  
  .info-item {
    padding: 1.5rem;
  }
  
  .info-item h5 {
    font-size: 1.1rem;
  }

  /* Main Tabs Mobile Adjustments */
  .main-tabs-section {
    padding: 1rem 0;
    overflow-x: hidden;
    position: relative;
  }
  
  .main-tabs {
    gap: 0.75rem;
    padding: 0 1rem 1rem 1rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .main-tabs-section::after {
    content: '→';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.9) 70%);
    color: #666;
    font-size: 1rem;
    padding: 0.5rem 1rem 0.5rem 2rem;
    pointer-events: none;
    opacity: 0.7;
    z-index: 10;
    transition: opacity 0.3s ease;
  }
  
  .main-tabs-section.scroll-at-end::after {
    opacity: 0;
  }
  
  .main-tabs::-webkit-scrollbar {
    display: none;
  }
  
  .main-tab {
    font-size: 0.8rem;
    padding: 0.6rem 0.9rem;
    min-width: 120px;
    max-width: none;
    flex-shrink: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  /* Quick Nav Mobile */
  .quick-nav-section {
    margin: 1rem 0;
    padding: 1rem;
  }
  
  .quick-nav-buttons {
    gap: 0.75rem;
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn-quick-nav {
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
    text-align: center;
  }
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-section {
  animation: fadeIn 0.5s ease-out;
}

/* Hide/Show tabs */
.d-none {
  display: none !important;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: rgba(68, 68, 68, 0.85);
  backdrop-filter: blur(10px);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  font-size: 1.5rem;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: rgba(68, 68, 68, 1);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.scroll-to-top:active {
  transform: translateY(-1px);
}

/* Mobile adjustments for scroll button */
@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
}