/* Basic styles for the invitation page */
:root{--bg:#0f0f10;--card:#1b1b1b;--text:#f3f3f3;--accent:#ff6a00;--accent-2:#cc4a00;--muted:#bdbdbd}
*{box-sizing:border-box}
body{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;margin:0;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}
.container{max-width:680px;margin:0 auto;padding:18px;text-align:center}

.hero{display:flex;justify-content:center;padding:18px 0}

/* inner hero box that matches other card widths and is cropped using background-size:cover */
.hero-inner{
	width:100%;
	max-width:680px; /* same as .container max-width */
	aspect-ratio: 1 / 1.3; /* height roughly 2x the width (taller) */
	min-height:48vw; /* fallback for small screens */
	background-image:url('../photos/Atmosphere.png');
	background-size:cover;
	background-position:center center;
	position:relative;
	border-radius:12px; /* match card rounding */
	overflow:hidden;
}

.hero-inner:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,15,16,0.25),rgba(27,27,27,0.35));}
.hero-overlay{position:relative;z-index:2;padding:12px 10px;color:#fff;width:100%;max-width:100%;display:flex;flex-direction:column;align-items:stretch;justify-content:center;text-align:left}
.container{max-width:680px;margin:0 auto;padding:18px;text-align:center}

/* Slightly larger, more readable text in content cards for phone friendliness */
.invite, .rsvp, .stats, .program, .cadeau, .location-map, .core-values, .quotes, .songs, .photos{
	font-size:1.05rem;
}

/* increase caption and song title sizing */
.photo-row .caption, .song-title, .location-map p, .core-values .value p{font-size:1rem}
.hero-title{margin:0;color:var(--accent);line-height:1.02;text-align:center;padding:0}
.hero-sub{margin:8px 0 0;color:var(--muted);font-size:0.95rem;text-align:center}
.hero-title{ /* responsive scaling so the title fills available hero area without overflowing */
	font-size: clamp(28px, 9vw, 64px);
	font-weight:800;
	line-height:1.02;
	margin:0;
}
.hero-sub{font-size: clamp(16px, 4.5vw, 22px);font-weight:700;color:#fff}
.hero-overlay .big-time{margin-top:10px;font-weight:700;color:var(--accent-2)}

/* hero details (date & location) centered and scaled to fit */
.hero-details{margin-top:10px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:6px}
.hero-details .big-time{font-size:clamp(18px,6vw,30px);margin:0;color:#fff}
.location-text{font-size:clamp(14px,4vw,18px);margin:0;color:#fff}
/* extra line on hero (details paragraph) */
.hero-extra{font-size:clamp(13px,3.8vw,17px);color:#fff;margin-top:8px;max-width:94%}
/* CMO quote styling */
.hero-quote{margin-top:10px;color:#fff;font-style:italic;font-size:clamp(13px,3.4vw,16px);max-width:94%;text-align:center}
.hero-quote strong{font-style:normal;display:block;margin-bottom:6px;color:#fff;font-size:clamp(13px,3.6vw,15px)}

/* Ensure hero text aligns close to photo edges with small margin */
.hero-overlay{padding-left:14px;padding-right:14px}
.hero-title, .hero-sub, .hero-details{max-width:100%;overflow-wrap:break-word}

/* Top title bar */
/* removed top-title in favor of hero-overlay title */

/* Content cards - mobile-first and centered */
.invite, .rsvp, .stats, .program, .cadeau, .location-map, .core-values{background:var(--card);padding:16px;border-radius:12px;margin:16px auto;box-shadow:0 6px 18px rgba(0,0,0,0.35);max-width:92%;text-align:center}
.invite h2,.rsvp h2,.stats h2,.program h2,.cadeau h2,.location-map h2,.core-values h2{margin:0 0 8px 0}
.btn{display:inline-block;padding:12px 18px;background:var(--accent);color:#fff;border-radius:999px;text-decoration:none;border:none;cursor:pointer;font-weight:700}
.btn.large{padding:14px 22px;font-size:1rem}
.btn:hover{opacity:0.95}

#simple-chart{display:flex;gap:8px;margin-top:12px}
.bar{height:18px;background:#2a2a2a;border-radius:6px;flex:1;position:relative;overflow:hidden}
.bar > span{display:block;height:100%;width:0%;border-radius:6px}
.muted{color:var(--muted);font-size:0.9rem}
.footer{color:var(--muted);font-size:0.9rem;text-align:center;margin:28px 0}
code{background:#151515;padding:2px 6px;border-radius:4px;color:var(--muted)}

/* map styling */
.map-wrap{border-radius:8px;overflow:hidden;border:1px solid rgba(255,106,0,0.08)}

/* core values */
.core-values .values{display:flex;flex-direction:column;gap:10px}
.core-values .value{padding:12px;border-radius:10px;background:linear-gradient(180deg,rgba(255,106,0,0.06),rgba(0,0,0,0.02));border:1px solid rgba(255,106,0,0.06)}
.core-values .value strong{display:block;margin-bottom:6px;color:var(--accent)}

/* small screens adjustments */
@media (min-width:420px){
	.core-values .values{flex-direction:row}
	.container{padding:20px}
}

/* Gallery styles */
.gallery{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.photo-row{display:flex;align-items:center;gap:12px;justify-content:center;margin-bottom:14px;width:100%}
.photo-row .photo-wrap{flex:1;max-width:48%}
.photo-row .photo-wrap img{width:100%;height:auto;border-radius:8px;display:block}
.photo-row .photo-text{flex:1;max-width:48%;text-align:left}
.photo-row.image-right .photo-text{text-align:right}
.photo-row .caption{padding:8px;color:var(--muted);font-size:0.96rem;white-space:normal;word-break:break-word}

@media (min-width:540px){
	.photo-card{width:calc(33.333% - 12px)}
}

/* for very small screens stack vertically for legibility */
@media (max-width:420px){
	.photo-row{flex-direction:column}
	.photo-row .photo-text{text-align:left}
	.photo-row.image-right .photo-text{text-align:left}
	.photo-row .photo-wrap, .photo-row .photo-text{max-width:100%}
}

/* Quotes section */
.quotes{background:var(--card);padding:14px;border-radius:12px;margin:12px auto;box-shadow:0 6px 18px rgba(0,0,0,0.35);max-width:92%;text-align:center}
.quotes h2{margin:0 0 8px 0;text-align:center}
.quote-item{padding:10px 6px;border-top:1px dashed rgba(255,106,0,0.06)}
.quote-item:first-of-type{border-top:none}
.quote-item strong{display:block;color:var(--accent);margin-bottom:6px;text-align:center}
.quote{margin:0;color:var(--muted);font-style:italic;text-align:center}

/* Songs/player */
.songs{background:var(--card);padding:14px;border-radius:12px;margin:12px auto;box-shadow:0 6px 18px rgba(0,0,0,0.35);max-width:92%;text-align:center}
.player{margin-top:8px}
.song-list{display:flex;flex-direction:column;gap:10px;margin-top:12px}
.song-row{display:flex;justify-content:space-between;align-items:center;gap:10px}
.song-title{flex:1;text-align:left;color:var(--text);font-weight:600}
.play-btn{padding:8px 12px;border-radius:8px}

