body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: white;
  color: black;
}

header {
  position: sticky;
  top: 0;
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;
  z-index: 10;
  height: 50px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: black;
  font-weight: bold;
}

.burger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.5rem;
  margin-left: auto;
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: #f5f5f5;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 1rem;
  }
  nav ul.show {
    display: flex;
    animation: slideIn 0.3s ease forwards;
  }
  .burger {
    display: block;
  }
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

html { scroll-behavior: smooth; }
section { scroll-margin-top: 50px; }

.logo {
  text-decoration: none;
  color: inherit;
}

section {
  display: flex;
  align-items: stretch;
  justify-content: center;
  height: calc(100vh - 50px);
}

.blue-section {
    background-color: rgba(16, 26, 42, 1);
}

.clear-section {
    background-color: rgba(212, 212, 212, 1);
}

.inner {
    justify-content: center;
    max-width: 800px;
    width: 90%;
    height: 100%;
}

.space-it {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /*evenly, between, around*/
}

.first-entry {
    padding-top: 1rem;
}

.last-entry {
    padding-bottom: 1rem;
}

.circle {
    border-radius: 50%;
    width: 80%;           /* make it responsive */
    max-width: 500px;      /* never grow beyond 500px */
    height: auto;          /* keep correct aspect ratio */
    aspect-ratio: 1 / 1;   /* ensures it's a square */
    object-fit: cover;
    margin: 0 auto 2rem;   /* center with space below */
    display: block;
}

.welcome {


    display: flex;
    flex-direction: column;
    justify-content: space-around;
    /*evenly, between, around*/
}

.ampersand {
  margin-top: -2rem;
  margin-bottom: -2rem;
  padding: 0;
}

/*blue header*/
.bl-header {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Pinyon Script', cursive;
    font-size: 5rem;
    color: #fff;
}

/*blue xl*/
.bl-xl {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Alike', serif;
    font-size: 2.5rem;
    color: #fff;
}

/*white header*/
.wh-header {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Pinyon Script', cursive;
    font-size: 5rem;
    color: rgba(16, 26, 42, 1);
}

/*white xl*/
.wh-xl {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Alike', serif;
    font-size: 2.5rem;
    color: rgba(16, 26, 42, 1);
}

/*white l*/
.wh-l {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Alike', serif;
    font-size: 2rem;
    color: rgba(16, 26, 42, 1);
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows:    repeat(2, minmax(0, 1fr));
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  gap: 1rem;
  padding: 1rem;
  overflow: hidden;            /* stay inside the pane */
}

.image-grid img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;           /* no stretching, crop if needed */
}

/* Corner placements */
.top-left {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  justify-self: start;
}

.top-right {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  justify-self: end;
}

.bottom-left {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  justify-self: start;
}

.bottom-right {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  justify-self: end;
}

.single-img {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}

.pane-img {
  width: 90%;        /* instead of 100% */
  height: 90%;      /* keep aspect ratio */
  display: block;
  object-fit: cover;
  border-radius: 8px;
  margin: auto;
}

/*Welcome PNG attempt*/
/* 1) Ensure a positioning context and keep content above */
#welcome .inner { position: relative; }
#grid-01 .inner { position: relative; }
#grid-02 .inner { position: relative; }
#rsvp .inner { position: relative; }
#welcome .inner > * { position: relative; z-index: 1; }
#grid-01 .inner > * { position: relative; z-index: 1; }
#grid-02 .inner > * { position: relative; z-index: 1; }
#rsvp .inner > * { position: relative; z-index: 1; }

/* White pseudo elements */
#welcome .inner::before,
#welcome .inner::after,
#grid-01 .inner::before,
#grid-01 .inner::after,
#grid-02 .inner::before,
#grid-02 .inner::after,
#rsvp .inner::before,
#rsvp .inner::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  background-repeat: no-repeat;
  opacity: var(--floral-alpha, 0.35); /* ← set opacity here */
  filter: brightness(0) invert(1) contrast(1.05);
  -webkit-filter: brightness(0) invert(1) contrast(1.05);
}

/* Top-right */
#grid-01 .inner::before {
  background-size: contain;
  background-position: right top;
  width: var(--floral-size, clamp(140px, 22vw, 260px));
  height: var(--floral-size, clamp(140px, 22vw, 260px));
  top: var(--floral-offset, 0.75rem);
  right: var(--floral-offset, 0.75rem);
  background-image: url("/images/floral-top-right.png?v=2025-08-21");
}

/* Bottom-left */
#grid-01 .inner::after {
  background-size: contain;
  background-position: left bottom;
  width: var(--floral-size, clamp(140px, 22vw, 260px));
  height: var(--floral-size, clamp(140px, 22vw, 260px));
  bottom: var(--floral-offset, 0.75rem);
  left: var(--floral-offset, 0.75rem);
  background-image: url("/images/floral-bot-left.png?v=2025-08-21");
}

/* Top-left */
#grid-02 .inner::before {
  background-size: contain;
  background-position: left top;
  width: var(--floral-size, clamp(140px, 22vw, 260px));
  height: var(--floral-size, clamp(140px, 22vw, 260px));
  top: var(--floral-offset, 0.75rem);
  left: var(--floral-offset, 0.75rem);
  background-image: url("/images/floral-top-left.png?v=2025-08-21");
}

/* Bottom-right */
#grid-02 .inner::after {
  background-size: contain;
  background-position: right bottom;
  width: var(--floral-size, clamp(140px, 22vw, 260px));
  height: var(--floral-size, clamp(140px, 22vw, 260px));
  bottom: var(--floral-offset, 0.75rem);
  right: var(--floral-offset, 0.75rem);
  background-image: url("/images/floral-bot-right.png?v=2025-08-21");
}

/* Top-left & Top-right */
#welcome .inner::before {
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: var(--floral-size, clamp(140px, 22vw, 260px));
    background-image:
        url("/images/floral-top-left.png?v=2025-08-21"),
        url("/images/floral-top-right.png?v=2025-08-21");
    background-repeat: no-repeat, no-repeat;
    background-position:
        left  var(--floral-offset, 0.75rem) bottom var(--floral-offset, 0.75rem),
        right var(--floral-offset, 0.75rem) bottom var(--floral-offset, 0.75rem);
    background-size:
        var(--floral-size, clamp(140px, 22vw, 260px)) auto,
        var(--floral-size, clamp(140px, 22vw, 260px)) auto;
}


/* Bottom-left & Bottom-right */
#welcome .inner::after,
#rsvp .inner::after {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: var(--floral-size, clamp(140px, 22vw, 260px));
    background-image:
        url("/images/floral-bot-left.png?v=2025-08-21"),
        url("/images/floral-bot-right.png?v=2025-08-21");
    background-repeat: no-repeat, no-repeat;
    background-position:
        left  var(--floral-offset, 0.75rem) bottom var(--floral-offset, 0.75rem),
        right var(--floral-offset, 0.75rem) bottom var(--floral-offset, 0.75rem);
    background-size:
        var(--floral-size, clamp(140px, 22vw, 260px)) auto,
        var(--floral-size, clamp(140px, 22vw, 260px)) auto;
}

/*Adjust FLORAL size here*/
#welcome .inner,
#grid-01 .inner,
#grid-02 .inner {
  --floral-size: 220px;
  --floral-alpha: 1;
  --floral-offset: 0rem;
}

#rsvp .inner {
  --floral-size: 300px;
  --floral-alpha: 1;
  --floral-offset: 0rem;
}


/* For blue: filter: invert(9%) sepia(10%) saturate(3137%) hue-rotate(178deg) brightness(92%) contrast(96%); */
/* For white: filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%); */


/* container */
.date-card {
  text-align: center;
}

/* the row with left | 01 | right */
.date-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

/* left and right columns */
.date-side { line-height: 1.1; text-align: center; }
.date-label {
    font-weight: 600;
    font-size: 2.5rem;
    font-family: 'Alike', serif;
}
.date-sub   {
    font-weight: 600;
    font-size: 2.25rem;
    font-family: 'Alike', serif;
}

/* big day number with vertical bars */
.date-center {
  position: relative;
  padding: 0 clamp(1rem, 3vw, 2rem);
}
.date-center::before,
.date-center::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 1.6em;
  background: #111827; /* dark gray bar */
  opacity: .45;
}
.date-center::before { left: 0; }
.date-center::after  { right: 0; }

.date-day {
  font-weight: 800;
  font-size: 4.5rem;
  line-height: 1;
  font-family: 'Alike', serif;
}

/* lines below the date */
.date-venue {
  margin-top: clamp(.75rem, 2vw, 1rem);
  font-weight: 700;
}
.date-dress {
  margin-top: clamp(.5rem, 2vw, .8rem);
  font-weight: 600;
}

/* tighten on narrow screens if needed */



/* MEDIA SHOULD BE THE ELEMENT IN CSS*/
@media (max-width: 800px) {
    .inner { width: 100%; }
    .bl-header { font-size: 3.5rem; }
    .bl-xl { font-size: 1.5rem; }
    .wh-header { font-size: 3.5rem; }
    .wh-xl { font-size: 1.5rem; }
    .wh-l { font-size: 1.4rem; }

    .date-row { gap: 1rem; }
    .date-center { padding: 0 1rem; }
    .date-label { font-size: 1.5rem; }
    .date-sub { font-size: 1.25rem; }
    .date-day { font-size: 2.75rem; }

    .culien-header { font-size: 2.7rem; }
     #welcome .inner { --floral-size: 150px; }
     #grid-01 .inner { --floral-size: 150px; }
     #grid-02 .inner { --floral-size: 150px; }
     #rsvp .inner { --floral-size: 175px; }
}