:root {
  --sage: #224C45;
  --sage-dark: #224C45;
  --peach: #efc3ad;
  --peach-wash: #f3d3c5;
  --paper: #fffdf8;
  --text-dark: #2b2b2b;
  --text-light: #6b6b6b;
  --accent: #a89968;
  --gold: #D5AF34;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(180deg, #fdf8f2 0%, #f3eee7 100%);
  color: var(--text-dark);
  min-height: 100vh;
  padding: 0;
}

.scrollable-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: white;
  position: relative;
  z-index: 1;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  background: linear-gradient(135deg, #f7f3ef 0%, white 100%);
}

.login-card {
  background: white;
  padding: 70px 50px;
  border-radius: 0;
  box-shadow: 0 25px 80px rgba(43, 43, 43, 0.12);
  text-align: center;
  width: 100%;
  max-width: 450px;
  animation: fadeInScale 0.8s ease-out;
  border: 1px solid #f0ebe3;
  position: relative;
  border-radius: 40px;
}

.login-header h1 {
  font-family: "Poppins", serif;
  font-size: 2.4em;
  color: var(--sage-dark);
  margin-bottom: 20px;
  letter-spacing: 3px;
  font-weight: 700;
}

.login-header p {
  font-size: 1.05em;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 45px;
  font-weight: 400;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 40px;
}

#password-input {
  padding: 16px 18px;
  border: 2px solid #e8ddd0;
  border-radius: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.95em;
  background: white;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

#password-input:focus {
  outline: none;
  border-color: var(--sage);
  background: #fffbf7;
}

#password-input::-moz-placeholder {
  color: rgba(117, 117, 117, 0.6);
}

#password-input::placeholder {
  color: rgba(117, 117, 117, 0.6);
}

#login-btn {
  padding: 16px 40px;
  background: var(--sage);
  color: white;
  border: none;
  border-radius: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.95em;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(125, 139, 110, 0.2);
}

#login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(125, 139, 110, 0.3);
}

.main-page {
  display: none;
  background: var(--paper);
}

.main-page.active {
  display: block;
}

.header-hero {
  background: linear-gradient(180deg, white 0%, #f9f6f2 100%);
  padding: 40px 30px 60px 30px;
  text-align: left;
  border-bottom: 1px solid #f0ebe3;
}

.header-hero h1 {
  margin-bottom: 24px;
}

.logo {
  display: block;
  max-width: 320px;
  width: 60%;
  height: auto;
  margin: 0 auto;
}

.wedding-date-card {
  margin: 0;
  max-width: 360px;
  background: radial-gradient(circle at top, #355e54 0%, #12352e 60%, #0c2722 100%);
  color: #fdf6e9;
  padding: 32px 26px 28px 26px;
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 2;
}

.hero-content-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  margin: 40px auto 0;
}

/* WDC Section (Date Card) */
.wdc-top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.wdc-col-left,
.wdc-col-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 0;
}

.wdc-line-label {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 0.85em;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(20, 20, 20, 0.85);
  position: relative;
  padding: 8px 10px;
}

.wdc-line-label::before,
.wdc-line-label::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 80px;
  height: 1px;
  background: #D5AF34;
  transform: translateX(-50%);
}

.wdc-line-label::before {
  top: 0;
}

.wdc-line-label::after {
  bottom: 0;
}

.wdc-col-center {
  text-align: center;
}

.wdc-day-number {
  font-family: "Poppins", serif;
  font-size: 3.1em;
  line-height: 1;
}

.wdc-month-name-main {
  margin-top: -4px;
  font-size: 1.1em;
  letter-spacing: 1px;
}

.wdc-year {
  font-size: 1.1em;
  margin-top: 2px;
  opacity: 0.9;
}

.wdc-month-title {
  margin-top: 18px;
  text-align: center;
  font-size: 0.95em;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #e3c36c;
}

.wdc-weekdays {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  font-size: 0.8em;
  color: rgba(249, 243, 229, 0.8);
}

.wdc-weekdays span {
  text-align: center;
}

.wdc-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 6px;
  font-size: 0.9em;
}

.wdc-day {
  text-align: center;
  color: rgba(248, 242, 228, 0.9);
}

.wdc-day.muted {
  color: rgba(248, 242, 228, 0.35);
}

.wdc-day-active {
  position: relative;
  color: white;
  font-weight: 700;
  z-index: 4;
}

.wdc-day-active::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -20%;
  transform: translate(-50%, 0px);
  width: 32px;
  height: 32px;
  background-image: url("../img/heart.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  z-index: -1;
}

.wdc-countdown-label {
  text-align: center;
  font-size: 0.9em;
  color: rgba(249, 243, 229, 0.9);
}

.wdc-countdown {
  margin: 14px 0 28px 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.wdc-count-item {
  text-align: center;
}

.wdc-count-number {
  font-family: "Poppins", serif;
  font-size: 2.2em;
}

.wdc-count-text {
  font-size: 0.75em;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  opacity: 0.9;
}

.wdc-divider {
  height: 1px;
  background: rgba(253, 246, 233, 0.25);
  margin: 14px 0 18px;
  border-radius: 999px;
}

.wdc-calendar {
  text-align: center;
}

.invitation-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 48px 60px;
  background: white;
  max-width: 1400px;
  margin: 0 auto;
}

.panel {
  background: white;
  border: 1px solid #e7dbcf;
  box-shadow: 0 14px 42px rgba(43, 43, 43, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.panel-header {
  background: linear-gradient(180deg, var(--sage-dark) 0%, var(--sage) 100%);
  color: white;
  padding: 36px 28px;
  position: relative;
}

.panel-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -26px;
  height: 26px;
  background: var(--sage-dark);
  clip-path: polygon(0 0, 100% 0, 92% 100%, 8% 100%);
}

.panel-names {
  font-family: "Poppins", serif;
  font-size: 2.6em;
  letter-spacing: 1.2px;
}

.panel-date {
  margin-top: 8px;
  opacity: 0.9;
  font-weight: 600;
}

.panel-photo {
  padding: 30px 28px 14px 28px;
}

.panel-photo img {
  width: 100%;
  display: block;
  border: 1px solid #efdcd0;
  box-shadow: 0 10px 30px rgba(43, 43, 43, 0.08);
}

.panel-photo.small img {
  height: 180px;
  -o-object-fit: cover;
     object-fit: cover;
}

.panel-section {
  padding: 22px 28px;
  border-top: 1px solid #f0ebe3;
}

.panel-section.olive {
  background: var(--sage);
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.section-title {
  font-family: "Poppins", serif;
  font-size: 1.6em;
  color: var(--sage-dark);
  margin-bottom: 12px;
}

.info-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.info-box {
  border: 1px solid #efdcd0;
  padding: 18px 16px;
  background: white;
}

.info-box .info-title {
  font-family: "Poppins", serif;
  font-size: 1.2em;
  color: var(--sage-dark);
}

.info-box .info-time {
  font-family: "Poppins", serif;
  font-size: 1.8em;
  color: var(--sage);
  margin: 4px 0 6px 0;
}

.info-box .info-location {
  color: var(--text-light);
  font-size: 0.95em;
}

.mini-schedule {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.mini-schedule .item {
  display: flex;
  justify-content: space-between;
  border: 1px solid #efdcd0;
  background: #fffaf7;
  padding: 10px 12px;
}

.mini-schedule .time {
  font-family: "Poppins", serif;
  color: var(--sage-dark);
  font-size: 1.2em;
}

.mini-schedule .label {
  color: var(--text-light);
  font-size: 0.95em;
}

.rsvp-title {
  font-family: "Poppins", serif;
  font-size: 1.6em;
  margin-bottom: 12px;
}

.rsvp-btn {
  display: inline-block;
  padding: 12px 18px;
  background: white;
  color: var(--sage-dark);
  border: 1px solid rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1px;
}

.recommendations {
  color: var(--text-light);
  font-size: 0.95em;
  margin-bottom: 10px;
}

.gift-title {
  font-family: "Poppins", serif;
  font-size: 1.4em;
  color: var(--sage-dark);
  margin-bottom: 8px;
}

.gift-text {
  color: var(--text-light);
  font-size: 0.95em;
  margin-bottom: 12px;
}

.qr img {
  width: 160px;
  height: 160px;
  display: block;
  border: 1px solid #efdcd0;
}

.details-section {
  background: white;
  padding: 50px 60px 0 60px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.info-card {
  background: white;
  border: 1px solid #efdcd0;
  box-shadow: 0 8px 26px rgba(43, 43, 43, 0.08);
  padding: 32px;
  text-align: center;
}

.info-title {
  font-family: "Poppins", serif;
  font-size: 1.6em;
  color: var(--sage-dark);
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.info-time {
  font-family: "Poppins", serif;
  font-size: 2.2em;
  color: var(--sage);
  margin-bottom: 8px;
}

.info-location {
  color: var(--text-light);
  font-size: 0.95em;
}

.schedule-section {
  background: white;
  padding: 40px 60px 20px 60px;
}

.schedule-section h2 {
  font-family: "Poppins", serif;
  font-size: 2em;
  color: var(--sage-dark);
  text-align: center;
  margin-bottom: 24px;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.schedule-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff8f5;
  border: 1px solid #efdcd0;
  padding: 16px 12px;
}

.schedule-time {
  font-family: "Poppins", serif;
  color: var(--sage-dark);
  font-size: 1.4em;
}

.schedule-label {
  color: var(--text-light);
  font-size: 0.95em;
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.map-card {
  background: white;
  border: 1px solid #f0ebe3;
  box-shadow: 0 8px 26px rgba(43, 43, 43, 0.08);
}

.map-title {
  font-family: "Poppins", serif;
  font-size: 1.4em;
  color: var(--sage-dark);
  padding: 16px 20px;
}

.map-section {
  margin-bottom: 0;
  padding: 60px 60px;
  background: white;
  width: 100%;
}

.map-container {
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(43, 43, 43, 0.1);
  border: 1px solid #f0ebe3;
}

.map-container iframe {
  width: 100%;
  height: 500px;
  border: none;
  display: block;
}

.location-tiles-container {
  display: flex;
  flex-direction: column;
  gap: 0; /* Removed gap because connector handles spacing */
  width: 100%;
  max-width: 720px;
}

.location-tile {
  background-color: var(--paper);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative; /* Added for absolute positioning context */
  overflow: hidden; /* Added to keep children contained */
  min-height: 660px; /* Ensure enough height */
  transition: transform 0.3s ease;
  z-index: 2;
}

.tile-wesele {
  background-image: url("../img/sylwia.png");
  background-size: cover;
  background-position-x: center;
  background-position-y: -100px;
  border: none;
}

.tile-slub {
  background-image: url("../img/kosciol.png");
  background-size: cover;
  background-position-x: center;
  background-position-y: -200px;
  border: none;
}

.tile-wesele::before,
.tile-slub::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgb(255, 255, 255) 15%, rgba(255, 255, 255, 0) 100%);
  z-index: 1;
}

.tile-wesele > *,
.tile-slub > * {
  position: relative;
  z-index: 2; /* Ensure content sits above the gradient */
}

.location-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.tile-header-left {
  position: absolute;
  top: 25px;
  left: 25px;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 24px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  z-index: 3;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.tile-header-right {
  position: absolute;
  top: 25px;
  right: 25px;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 18px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  z-index: 3;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.location-tile h3 {
  font-family: "Poppins", sans-serif;
  color: var(--sage-dark);
  font-size: 1.1em;
  margin: 0;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.tile-time {
  font-family: "Poppins", sans-serif;
  font-size: 0.9em;
  color: var(--sage);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tile-content-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 15px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.tile-info-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding-right: 15px;
}

.tile-place {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #1b1b1b;
  font-size: 1em;
  margin-bottom: 6px;
  padding: 0;
  line-height: 1.2;
}

.tile-address {
  font-family: "Poppins", sans-serif;
  color: #4b4b4b;
  font-size: 0.9em;
  margin: 0;
  line-height: 1.4;
  font-weight: 500;
}

.nav-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.btn-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.85em;
  font-weight: 600;
  transition: all 0.2s ease;
  background: white;
  border: 1px solid #ddd;
  color: #333;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  justify-content: center;
  width: 110px;
}

.map-wrapper {
  position: relative;
  width: 100%;
  margin-top: 20px;
}

.map-embed {
  width: 100%;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  overflow: hidden;
  margin-bottom: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  height: 200px;
  flex-shrink: 0;
  margin-top: 0;
  transition: height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  opacity: 0.85;
  z-index: 1;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.map-embed.expanded {
  height: 450px;
}

.map-expand-btn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) rotate(180deg);
  top: -18px; /* Position half-in half-out at the top */
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  color: var(--sage);
  transition: all 0.3s ease;
}

.map-expand-btn svg {
  transition: transform 0.3s ease;
}

.map-expand-btn.active svg {
  transform: rotate(180deg);
}

.map-expand-btn:hover {
  transform: translateX(-50%) scale(1.1) rotate(180deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-location svg,
.btn-location img {
  width: 18px;
  height: 18px;
  -o-object-fit: contain;
     object-fit: contain;
}

/* Connector styles */
.location-connector {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 150px; /* Space between tiles */
  position: relative;
  z-index: 1;
  margin: -10px 0; /* Overlap slightly with tiles visually if needed, but here we just want spacing */
}

.connector-item {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 60px; /* Width of the SVG line to ensure perfect centering */
  margin: 0 auto;
}

.connector-line {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  width: 100%;
}

.connector-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  z-index: 2;
}

/* Car Connector (item-dist) - Info on Right */
.item-dist .connector-info {
  left: 100%;
  margin-left: -10px; /* Pull closer to line */
}

/* Clock Connector (item-time-single) - Info on Left */
.item-time-single .connector-info {
  right: 100%;
  margin-right: -10px; /* Pull closer to line */
}

.connector-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.connector-icon img {
  width: auto;
  height: 42px;
}

.item-dist .connector-icon {
  transform: scaleX(-1); /* Flip car */
}

.connector-dist {
  font-family: "Poppins", cursive, sans-serif;
  font-size: 1.1em;
  font-weight: 400;
  color: #1b1b1b;
}

.item-dist .connector-dist {
  transform: rotate(-5deg);
}

.item-time-single .connector-dist {
  transform: rotate(5deg);
}

.flipped-line-single svg {
  transform: scaleX(-1);
}

.mobile-only-connector {
  display: none;
}

@media (max-width: 900px) {
  .hero-content-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .location-tiles-container {
    max-width: 360px; /* Match calendar card width on mobile */
    width: 100%;
  }
  .mobile-only-connector {
    display: flex;
    height: 120px;
    margin-top: -10px;
    margin-bottom: -10px;
    justify-content: center;
    align-items: center;
  }
}
@media (max-width: 600px) {
  .location-tiles-container {
    flex-direction: column;
  }
}
.timeline-container {
  position: relative;
  padding: 60px 60px;
  background: white;
  width: 100%;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(74, 97, 80, 0.55) 0%, rgba(239, 195, 173, 0.55) 100%);
  transform: translateX(-50%);
}

.timeline-card {
  margin-bottom: 60px;
  position: relative;
  animation: fadeInUp 0.6s ease-out;
}

.timeline-card.left {
  margin-left: 0;
  margin-right: auto;
  width: calc(50% - 80px);
  text-align: right;
  padding-right: 60px;
}

.timeline-card.right {
  margin-left: auto;
  margin-right: 0;
  width: calc(50% - 80px);
  text-align: left;
  padding-left: 60px;
}

.timeline-dot {
  position: absolute;
  width: 24px;
  height: 24px;
  background: white;
  border: 4px solid var(--sage-dark);
  border-radius: 50%;
  top: 25px;
  right: -54px;
  left: auto;
  z-index: 2;
  box-shadow: 0 0 0 3px rgba(107, 125, 94, 0.1);
}

.timeline-card.left .timeline-dot {
  right: auto;
  left: -54px;
}

.card-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  margin-bottom: 0;
  background: #f5f3f0;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.4s ease;
  filter: grayscale(20%);
}

.timeline-card:hover .card-image img {
  transform: scale(1.08);
  filter: grayscale(0%);
}

.card-content {
  background: white;
  padding: 45px 40px;
  box-shadow: 0 8px 26px rgba(43, 43, 43, 0.08);
  border: 1px solid #efdcd0;
  transition: transform 0.2s ease;
}

.timeline-card:hover .card-content {
  transform: translateY(-4px);
}

.card-time {
  font-family: "Poppins", serif;
  font-size: 1.6em;
  color: var(--sage);
  font-weight: 700;
  margin-bottom: 8px;
}

.card-title {
  font-family: "Poppins", serif;
  font-size: 1.4em;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 12px;
}

.card-description {
  font-size: 0.95em;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 12px;
}

.card-location {
  font-size: 0.9em;
  color: var(--text-light);
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid #f0e6dc;
}

.card-icon {
  font-size: 2.2em;
  margin-bottom: 16px;
  display: block;
  opacity: 0.8;
}

.countdown-large {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.count-item {
  text-align: center;
  border: 1px solid #efdcd0;
  padding: 16px 10px;
  background: #fffaf7;
}

.count-number {
  font-family: "Poppins", serif;
  font-size: 2.6em;
  color: var(--sage-dark);
}

.count-label {
  font-size: 0.8em;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.timer-hero {
  background: linear-gradient(180deg, rgba(243, 211, 197, 0.32) 0%, rgba(243, 211, 197, 0.18) 100%);
  color: var(--sage-dark);
  padding: 60px 30px;
  border-radius: 0;
  text-align: center;
  margin: 0;
  box-shadow: none;
  border-top: 1px solid #efdcd0;
  border-bottom: 1px solid #efdcd0;
}

.timer-hero h2 {
  font-family: "Poppins", serif;
  font-size: 2.4em;
  margin-bottom: 40px;
  font-weight: 400;
  letter-spacing: 2px;
}

.timer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.timer-item {
  background: white;
  padding: 28px 18px;
  border-radius: 0;
  text-align: center;
  border: 1px solid #efdcd0;
}

.timer-number {
  font-family: "Poppins", serif;
  font-size: 3.2em;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.timer-label {
  font-size: 0.75em;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 400;
  opacity: 0.85;
}

.calendar-buttons {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-bottom: 60px;
  padding: 60px 60px 0 60px;
  background: white;
  justify-content: center;
  width: 100%;
}

.btn-calendar {
  padding: 18px 40px;
  background: #f7f3ef;
  color: var(--sage-dark);
  text-decoration: none;
  border-radius: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85em;
  transition: all 0.3s ease;
  text-align: center;
  border: 1px solid rgba(74, 97, 80, 0.4);
  cursor: pointer;
  box-shadow: none;
  flex: 0 1 auto;
  min-width: 200px;
}

.btn-calendar:hover {
  background: var(--sage-dark);
  color: white;
}

.btn-calendar-icon {
  margin-right: 10px;
  font-size: 1.1em;
}

.calendar-section {
  background: white;
  padding: 40px 60px;
  border-top: 1px solid #f0ebe3;
  text-align: center;
}

.addcal-wrap {
  display: inline-block;
  position: relative;
}

.calendar-label {
  margin-bottom: 18px;
  font-family: "Poppins", serif;
  font-size: 0.8em;
  color: #d8d8d8;
  font-style: italic;
  font-weight: 400;
}

.addcal-icons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.addcal-row {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.addcal-row-top {
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.addcal-icon {
  cursor: pointer;
  padding: 0;
  outline: none;
  border: none;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
}

.addcal-button-primary {
  width: 100%;
  max-width: 276px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(253, 246, 233, 0.08);
  border: 1px solid rgba(253, 246, 233, 0.35);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  color: #e3e3e3;
  font-family: "Poppins", sans-serif;
  font-size: 0.85em;
  text-transform: none;
}

.addcal-button-primary:hover {
  background: rgba(253, 246, 233, 0.16);
}

.addcal-button-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.addcal-button-icon-img {
  width: 18px;
  height: 18px;
  display: block;
}

.addcal-button-label {
  white-space: nowrap;
}

.addcal-icon-primary {
  width: 56px;
  height: 56px;
  background-size: 40px 40px;
}

.addcal-icon-secondary {
  width: 50px;
  height: 40px;
  background-size: 28px 28px;
}
.addcal-icon-secondary:hover {
  background-color: rgba(253, 246, 233, 0.16);
  border-radius: 8px;
}

.service-icon {
  display: flex;
  align-items: center;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.service-apple {
  background-image: url("../img/apple-light.svg");
}

.service-google {
  background-image: url("../img/google.svg");
  width: 50px;
  height: 50px;
  background-size: 36px;
}

.service-office {
  background-image: url("../img/office-365.svg");
}

.service-outlook {
  background-image: url("../img/microsoft-outlook.svg");
}

.service-yahoo {
  background-image: url("../img/yahoo.svg");
}

.service-notion {
  background-image: url("../img/notion-calendar.svg");
}

.addcal-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  background: white;
  color: var(--text-dark);
  border: none;
  cursor: pointer;
  font-size: 0.9em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.addcal-item:hover {
  background: #f7f3ef;
}

.item-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.item-google {
  background-image: url("../img/google-calendar.svg");
}

.item-apple {
  background-image: url("../img/apple-maps.svg");
}

.item-outlook {
  background-image: url("../img/microsoft-outlook.svg");
}

.item-notion {
  background-image: url("../img/notion-calendar.svg");
}

.left-column-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 360px;
}

.contact-card {
  background: white;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  padding: 24px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.contact-card-header h3 {
  font-family: "Poppins", serif;
  font-size: 1.2em;
  color: var(--sage-dark);
  margin-bottom: 16px;
  font-weight: 500;
}

/* Connector styles for contact section */
.contact-connector-wrapper {
  height: 120px;
  margin: 4px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.item-contact .connector-info {
  left: 100%;
  margin-left: -10px;
  /* Same logic as item-dist */
}

.item-contact .connector-dist {
  transform: rotate(-5deg);
  /* Same logic as item-dist */
  color: #1b1b1b;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 0.9em;
  white-space: nowrap;
}

.wdc-rsvp-section {
  margin-bottom: 24px;
}

.wdc-rsvp-label {
  font-size: 0.75em;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #888;
  margin-bottom: 8px;
}

.wdc-rsvp-countdown {
  font-family: "Poppins", serif;
  font-size: 1.4em;
  color: var(--sage-dark);
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: baseline;
}

.rsvp-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rsvp-number {
  font-weight: 600;
  line-height: 1;
  color: var(--sage-dark);
}

.rsvp-text {
  font-size: 0.45em;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin-top: 4px;
  font-family: "Montserrat", sans-serif;
}

.wdc-contact-persons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.contact-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.contact-name {
  font-family: "Poppins", serif;
  font-size: 1.1em;
  color: var(--gold);
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 50px;
  color: var(--sage-dark);
  text-decoration: none;
  font-size: 0.9em;
  transition: all 0.3s ease;
  font-weight: 500;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-contact:hover {
  background: #f9f9f9;
  border-color: #d0d0d0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  width: 16px;
  height: 16px;
  stroke: var(--sage-dark);
  fill: none;
}

.footer {
  text-align: center;
  padding: 60px 60px;
  color: var(--text-light);
  font-size: 0.95em;
  background: white;
  border-top: 1px solid #f0ebe3;
  width: 100%;
}

.footer p {
  margin: 8px 0;
  font-weight: 300;
}

@media (max-width: 1200px) {
  .timeline-container {
    padding: 50px 30px;
  }
  .timeline-card.left {
    padding-right: 40px;
  }
  .timeline-card.right {
    padding-left: 40px;
  }
  .map-section {
    padding: 50px 30px;
  }
  .calendar-buttons {
    padding: 50px 30px 0 30px;
  }
  .footer {
    padding: 50px 30px;
  }
  .invitation-panels {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .timeline-container {
    padding: 40px 20px;
  }
  .timeline-line {
    left: 20px;
  }
  .timeline-card.left,
  .timeline-card.right {
    width: 100%;
    text-align: left;
    padding-left: 60px;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }
  .timeline-card.left .timeline-dot,
  .timeline-card.right .timeline-dot {
    left: 0;
    right: auto;
  }
  .calendar-buttons {
    flex-direction: row;
    padding: 40px 20px 0 20px;
  }
  .btn-calendar {
    max-width: none;
    flex: 1;
    min-width: auto;
  }
  .map-section {
    padding: 40px 20px;
  }
  .footer {
    padding: 40px 20px;
  }
  .card-image {
    height: 180px;
  }
  .timer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .timer-number {
    font-size: 2.4em;
  }
  .card-time {
    font-size: 1.4em;
  }
  .card-title {
    font-size: 1.2em;
  }
  .map-container iframe {
    height: 300px;
  }
}
@media (max-width: 900px) and (max-width: 600px) {
  .login-card {
    padding: 40px 24px;
    width: 100%;
    max-width: 360px;
  }
  .login-header h1 {
    font-size: 1.8em;
  }
  .login-header p {
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 30px;
  }
  #password-input,
  #login-btn {
    padding: 14px 16px;
    font-size: 0.9em;
  }
  .header-hero {
    padding: 30px 16px 40px 16px;
  }
  .logo {
    max-width: 260px;
    width: 70%;
  }
  .wdc-day-number {
    font-size: 2.5em;
  }
  .wedding-date-card {
    max-width: 100%;
    padding: 26px 20px 24px 20px;
    margin: 0 auto;
  }
  .wdc-countdown {
    gap: 12px;
  }
  .wdc-count-number {
    font-size: 1.9em;
  }
  .wdc-month-title {
    margin-top: 14px;
  }
  .calendar-label {
    font-size: 0.85em;
    text-align: center;
  }
  .addcal-button-primary {
    max-width: 100%;
    width: 100%;
  }
}
@media (max-width: 900px) and (max-width: 400px) {
  .logo {
    max-width: 220px;
  }
  .wedding-date-card {
    padding: 22px 16px 22px 16px;
  }
  .wdc-top {
    gap: 16px;
  }
  .wdc-day-number {
    font-size: 2.2em;
  }
  .wdc-count-number {
    font-size: 1.7em;
  }
  .wdc-count-text {
    font-size: 0.7em;
  }
  .calendar-label {
    font-size: 0.8em;
  }
}
@media (max-width: 900px) {
  .map-container iframe {
    height: 300px;
  }
  .details-grid {
    grid-template-columns: 1fr;
  }
  .schedule-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .invitation-panels {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    gap: 20px;
  }
}
@media (max-width: 480px) {
  .login-card {
    padding: 40px 25px;
  }
  .login-header h1 {
    font-size: 2em;
  }
  .timer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .timer-item {
    padding: 20px 12px;
  }
  .timer-number {
    font-size: 1.5em;
  }
  .card-content {
    padding: 25px 20px;
  }
  .map-container iframe {
    height: 250px;
  }
  .btn-calendar {
    padding: 16px 24px;
    font-size: 0.85em;
  }
  .schedule-grid {
    grid-template-columns: 1fr;
  }
  .tile-place {
    font-size: 0.85em;
    margin-bottom: 4px;
  }
  .tile-address {
    font-size: 0.75em;
  }
  .btn-location {
    width: 90px;
    font-size: 0.75em;
    padding: 6px 8px;
    gap: 6px;
  }
  .tile-header-left,
  .tile-header-right {
    top: 15px;
    padding: 6px 14px;
  }
  .location-tile h3 {
    font-size: 0.95em;
  }
  .tile-time {
    font-size: 0.8em;
    gap: 6px;
  }
  .connector-dist {
    font-size: 0.9em;
  }
  .wdc-day-number {
    font-size: 2em;
  }
  .wdc-count-number {
    font-size: 1.5em;
  }
  .wdc-month-title {
    font-size: 0.9em;
  }
  .wdc-count-text {
    font-size: 0.65em;
  }
}/*# sourceMappingURL=style.css.map */