/* Base reset and variables */ * { box-sizing: border-box; } :root { --bg: #fffdf9; --text: #1f2937; --muted: #6b7280; --brand: #c09fa2; --brand_dark: #9b7d80; --card: #ffffff; --soft: #faf5f2; --ring: rgba(192,159,162,0.45); } /* Typography */ html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; line-height: 1.6; } h1, h2, h3, h4, h5 { font-family: "Playfair Display", Georgia, serif; margin: 0 0 0.5rem 0; line-height: 1.25; color: #151922; } p { margin: 0 0 1rem 0; color: var(--text); } a { color: var(--brand_dark); text-decoration: none; } a:hover { text-decoration: underline; } /* Layout helpers */ .container { width: min(1100px, 92vw); margin: 0 auto; } .section_pad { padding: 4rem 0; } .soft_bg { background: var(--soft); border-top: 1px solid #eee; border-bottom: 1px solid #eee; } /* Skip link for a11y */ .skip_link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; } .skip_link:focus { position: fixed; left: 1rem; top: 1rem; width: auto; height: auto; padding: 0.5rem 0.75rem; background: #000; color: #fff; border-radius: 0.375rem; z-index: 999; } /* Header */ .site_header { position: sticky; top: 0; background: rgba(255,255,255,0.85); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(0,0,0,0.06); z-index: 50; } .site_header .container { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 0; } .brand { display: flex; gap: 0.75rem; align-items: center; } .brand_mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; background: var(--brand); color: white; font-size: 1.1rem; box-shadow: 0 4px 14px rgba(0,0,0,0.1); } .brand_title { font-size: 1.25rem; letter-spacing: 0.5px; } .brand_subtitle { color: var(--muted); font-size: 0.9rem; margin-top: 0.15rem; } .site_nav { position: relative; } .nav_toggle { display: none; border: 1px solid rgba(0,0,0,0.12); background: white; padding: 0.5rem 0.75rem; border-radius: 0.5rem; cursor: pointer; } .nav_list { display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0; } .nav_list a { padding: 0.5rem 0.25rem; border-radius: 0.375rem; } .nav_list a:hover { background: rgba(0,0,0,0.05); text-decoration: none; } /* Hero */ .hero_section { padding: 5.5rem 0 4rem 0; background: radial-gradient(900px 300px at 10% 0%, rgba(192,159,162,0.10), transparent), radial-gradient(700px 300px at 90% 10%, rgba(192,159,162,0.10), transparent); } .hero_grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center; } .eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; color: var(--muted); margin-bottom: 0.5rem; } .hero_title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.5rem; } .hero_subtitle { color: var(--muted); margin-bottom: 1.25rem; } .hero_card { background: white; border-radius: 1rem; padding: 0.75rem; box-shadow: 0 10px 30px rgba(0,0,0,0.08); } .hero_photo { height: 360px; border-radius: 0.75rem; background-image: linear-gradient(135deg, rgba(192,159,162,0.28), rgba(255,255,255,0.9)), url('https://images.unsplash.com/photo-1522673607200-164d1b6ce486?q=80&w=1200&auto=format&fit=crop'); background-size: cover; background-position: center; } /* Buttons */ .button { display: inline-block; padding: 0.75rem 1rem; border-radius: 0.75rem; border: 1px solid transparent; font-weight: 600; text-align: center; transition: transform 0.05s ease, box-shadow 0.15s ease; box-shadow: 0 6px 14px rgba(192,159,162,0.18); } .button:active { transform: translateY(1px); box-shadow: 0 2px 8px rgba(192,159,162,0.18); } .primary_button { background: var(--brand); color: white; } .primary_button:hover { background: var(--brand_dark); text-decoration: none; } .outline_button { background: transparent; border: 1px solid var(--brand); color: var(--brand_dark); } .small_button { padding: 0.5rem 0.75rem; font-size: 0.9rem; } /* Cards and grids */ .card { background: var(--card); border: 1px solid rgba(0,0,0,0.06); border-radius: 1rem; padding: 1.25rem; box-shadow: 0 6px 16px rgba(0,0,0,0.04); } .grid_two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; } .grid_three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } /* Detail items */ .detail_item { background: var(--card); border: 1px solid rgba(0,0,0,0.06); border-radius: 1rem; padding: 1rem; text-align: center; } .detail_icon { font-size: 1.5rem; margin-bottom: 0.5rem; } /* Timeline */ .timeline { display: grid; gap: 1rem; margin-top: 0.75rem; } .time_row { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; align-items: start; padding: 1rem; border: 1px solid rgba(0,0,0,0.06); border-radius: 0.75rem; background: var(--card); } .time { font-weight: 700; color: var(--brand_dark); } .info h5 { margin: 0 0 0.25rem 0; font-size: 1.05rem; } /* Gallery */ .gallery_grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 110px; gap: 0.5rem; } .gallery_item { background: #eae2df; border-radius: 0.75rem; background-image: url('https://images.unsplash.com/photo-1519741497674-611481863552?q=80&w=1200&auto=format&fit=crop'); background-size: cover; background-position: center; } .gallery_item:nth-child(2) { background-image: url('https://images.unsplash.com/photo-1519225421980-715cb0215aed?q=80&w=1200&auto=format&fit=crop');} .gallery_item:nth-child(3) { background-image: url('https://images.unsplash.com/photo-1521510895919-46920266ddb7?q=80&w=1200&auto=format&fit=crop');} .gallery_item:nth-child(4) { background-image: url('https://images.unsplash.com/photo-1537633552985-df8429e8048b?q=80&w=1200&auto=format&fit=crop');} .gallery_item:nth-child(5) { background-image: url('https://images.unsplash.com/photo-1524231757912-21f4fe3a7200?q=80&w=1200&auto=format&fit=crop');} .gallery_item:nth-child(6) { background-image: url('https://images.unsplash.com/photo-1507120410856-1f35574c3b45?q=80&w=1200&auto=format&fit=crop');} .gallery_item.wide { grid-column: span 2; } .gallery_item.tall { grid-row: span 2; } /* RSVP form */ .rsvp_form { display: grid; gap: 0.75rem; } .rsvp_form input, .rsvp_form select, .rsvp_form textarea { width: 100%; padding: 0.75rem; border: 1px solid rgba(0,0,0,0.12); border-radius: 0.5rem; outline: none; background: #fff; transition: box-shadow 0.15s ease, border-color 0.15s ease; } .rsvp_form input:focus, .rsvp_form select:focus, .rsvp_form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--ring); } /* Map placeholder */ .map_placeholder { height: 260px; border-radius: 1rem; background: linear-gradient(to right, rgba(192,159,162,0.15) 0 25%, transparent 25% 50%, rgba(192,159,162,0.15) 50% 75%, transparent 75% 100%), linear-gradient(to bottom, rgba(192,159,162,0.15) 0 25%, transparent 25% 50%, rgba(192,159,162,0.15) 50% 75%, transparent 75% 100%); background-size: 22px 22px, 22px 22px; border: 1px solid rgba(0,0,0,0.06); } /* Footer */ .site_footer { padding: 2rem 0; border-top: 1px solid rgba(0,0,0,0.06); background: #fff; } .footer_grid { display: flex; align-items: center; justify-content: space-between; } /* Responsive rules */ @media (max-width: 900px) { .hero_grid { grid-template-columns: 1fr; } .grid_three { grid-template-columns: 1fr; } .grid_two { grid-template-columns: 1fr; } .gallery_grid { grid-template-columns: repeat(3, 1fr); } .time_row { grid-template-columns: 70px 1fr; } .nav_toggle { display: inline-block; } .nav_list { position: absolute; right: 0; top: 44px; flex-direction: column; background: #fff; padding: 0.5rem; border-radius: 0.75rem; border: 1px solid rgba(0,0,0,0.06); display: none; width: max(200px, 50vw); } .nav_list.open { display: flex; } } @media (max-width: 520px) { .hero_photo { height: 240px; } .gallery_grid { grid-template-columns: repeat(2, 1fr); } .footer_grid { flex-direction: column; gap: 0.75rem; } }