/**
 * Styles communs pour le contenu des pages
 * Thème: Mariage RSVP
 */

/* ============================================
   CONTENT LAYOUT
   ============================================ */

.hero-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 40px 20px;
	position: relative;
	z-index: 5;
}

/* Styles pour le contenu direct (sans boîte) */
.hero-content h1 {
	color: #fbbf24;
	font-size: 3rem;
	font-weight: 700;
	margin-bottom: 30px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	text-align: center;
}

.hero-content h2 {
	color: #fbbf24;
	font-size: 2rem;
	font-weight: 600;
	margin-bottom: 15px;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
	text-align: center;
}

.hero-content p {
	color: #fff;
	font-size: 1.1rem;
	line-height: 1.6;
	margin-bottom: 15px;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
	text-align: center;
}

.hero-content a {
	color: #fbbf24;
	text-decoration: none;
	font-weight: 600;
	transition: color 0.3s ease;
}

.hero-content a:hover {
	color: #f59e0b;
}

/* ============================================
   CONTENT CARD (pour les autres pages)
   ============================================ */

.content-card {
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(20px);
	border-radius: 20px;
	padding: 40px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	max-width: 800px;
	width: 100%;
	margin: 0 auto;
}

.content-card h1 {
	color: #fbbf24;
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 20px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.content-card h2 {
	color: #fbbf24;
	font-size: 2rem;
	font-weight: 600;
	margin-bottom: 15px;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.content-card p {
	color: #ffffff;
	font-size: 1.1rem;
	line-height: 1.6;
	margin-bottom: 15px;
}

.content-card a {
	color: #fbbf24;
	text-decoration: none;
	font-weight: 600;
	transition: color 0.3s ease;
}

.content-card a:hover {
	color: #f59e0b;
}

/* ============================================
   COUNTDOWN STYLES
   ============================================ */

.countdown-title {
	color: #fbbf24;
	font-size: 1.5rem;
	font-weight: 600;
	margin-top: 20px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	text-align: center;
}

.countdown-display {
	display: grid;
	grid-template-columns: auto auto auto;
	grid-template-areas:
		". days ."
		"hours minutes seconds";
	justify-content: center;
	gap: 20px;
}

.countdown-row {
	display: contents;
}

.countdown-item {
	text-align: center;
}

.days-item {
	grid-area: days;
	justify-self: center;
}

.countdown-row .countdown-item:nth-child(1) { grid-area: hours; }
.countdown-row .countdown-item:nth-child(2) { grid-area: minutes; }
.countdown-row .countdown-item:nth-child(3) { grid-area: seconds; }

.days-item .countdown-number {
	font-size: 4.5rem;
	font-weight: 800;
	color: #ffffff;
	display: block;
	text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
	margin-bottom: 8px;
}

.days-item .countdown-label {
	font-size: 1.2rem;
	color: #ffffff;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.countdown-number {
	font-size: 3rem;
	font-weight: 700;
	color: #fff;
	display: block;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
	margin-bottom: 5px;
}

.countdown-label {
	font-size: 1rem;
	color: #fff;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* ============================================
   POSTS AND ARCHIVES
   ============================================ */

.posts-list {
	margin-top: 20px;
}

.post-item {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	padding: 20px;
	margin-bottom: 20px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.post-item h2 {
	margin-bottom: 10px;
}

.post-item h2 a {
	color: #fbbf24;
	text-decoration: none;
	transition: color 0.3s ease;
}

.post-item h2 a:hover {
	color: #f59e0b;
}

.post-meta {
	color: #6b7280;
	font-size: 0.9rem;
	margin-bottom: 10px;
}

.post-meta time,
.post-meta span {
	margin-right: 15px;
}

.post-excerpt {
	color: #2d3748;
	line-height: 1.6;
}

.entry-meta {
	color: #6b7280;
	font-size: 0.9rem;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.entry-meta time,
.entry-meta span {
	margin-right: 15px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
	.hero-content {
		padding: 20px 15px;
	}
	
	.content-card {
		padding: 30px 20px;
	}
	
	.content-card h1 {
		font-size: 2rem;
	}
	
	.content-card h2 {
		font-size: 1.5rem;
	}
	
	.countdown-container {
		padding: 20px;
	}
	
	.countdown-display {
		gap: 15px;
	}
	
	.countdown-item {
		padding: 12px 15px;
		min-width: 70px;
	}
	
	.countdown-number {
		font-size: 1.5rem;
	}
}

@media (max-width: 480px) {
	.content-card {
		padding: 20px 15px;
	}
	
	.content-card h1 {
		font-size: 1.5rem;
	}
	
	.countdown-display {
		flex-direction: column;
		align-items: center;
		gap: 10px;
	}
	
	.countdown-item {
		width: 100%;
		max-width: 200px;
	}
}
