/* Reset and Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Cal Sans', system-ui, -apple-system, sans-serif;
	line-height: 1.6;
	color: #333;
	background-color: #fff;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Navigation */
.nav {
	position: fixed;
	top: 0;
	width: 100%;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid #eee;
	z-index: 1000;
}

.nav-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 70px;
}

.nav-logo {
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Space Mono', monospace;
	font-size: 1.2rem;
	font-weight: 700;
	text-decoration: none;
	color: #333;
}

.nav-logo img {
	height: 40px;
	width: auto;
	object-fit: contain;
}

.nav-menu {
	display: flex;
	gap: 30px;
}

.mobile-menu-toggle {
	display: none;
	flex-direction: column;
	cursor: pointer;
	padding: 5px;
	gap: 4px;
}

.mobile-menu-toggle span {
	width: 25px;
	height: 3px;
	background: #333;
	transition: all 0.3s ease;
	border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
	transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
	opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
	transform: rotate(-45deg) translate(6px, -6px);
}

.nav-link {
	text-decoration: none;
	color: #666;
	font-weight: 500;
	transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
	color: #333;
}

/* Hero Section */
.hero {
	padding: 150px 0 100px;
	text-align: center;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero h1 {
	font-size: 3.5rem;
	margin-bottom: 20px;
	font-weight: 600;
}

.hero p {
	font-size: 1.2rem;
	color: #666;
	max-width: 600px;
	margin: 0 auto 40px;
}

.cta-button {
	display: inline-block;
	padding: 15px 30px;
	background: #333;
	color: white;
	text-decoration: none;
	border-radius: 8px;
	font-weight: 600;
	transition: background 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
	background: #555;
	transform: translateY(-2px);
}

/* Stories Section */
.featured-stories {
	padding: 100px 0;
}

.featured-stories h2 {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 60px;
}

.stories-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 40px;
}

.story-card {
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.story-image {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.story-content {
	padding: 30px;
}

.story-content h3 {
	font-size: 1.4rem;
	margin-bottom: 15px;
}

.story-content p {
	color: #666;
	margin-bottom: 20px;
	line-height: 1.7;
}

.read-more {
	color: #333;
	text-decoration: none;
	font-weight: 600;
	border-bottom: 2px solid #333;
	transition: border-color 0.3s ease;
}

.read-more:hover {
	border-color: #666;
}

/* About Section */
.about {
	padding: 100px 0;
	background: #f8f9fa;
}

.about-content {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 60px;
	align-items: center;
}

.about h2 {
	font-size: 2.5rem;
	margin-bottom: 30px;
}

.about p {
	font-size: 1.1rem;
	color: #666;
	margin-bottom: 25px;
	line-height: 1.7;
}

.about-stats {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.stat {
	text-align: center;
}

.stat-number {
	display: block;
	font-family: 'Space Mono', monospace;
	font-size: 3rem;
	font-weight: 700;
	color: #333;
}

.stat-label {
	color: #666;
	font-weight: 500;
}

/* FAQ Section */
.faq {
	padding: 100px 0;
}

.faq h2 {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 60px;
}

.faq-grid {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	border-bottom: 1px solid #eee;
	padding: 30px 0;
}

.faq-question {
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	transition: color 0.3s ease;
}

.faq-question:hover {
	color: #666;
}

.faq-question h3 {
	font-size: 1.2rem;
	font-weight: 600;
}

.faq-toggle {
	font-size: 1.5rem;
	transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
	transform: rotate(180deg);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
	max-height: 200px;
	padding-top: 20px;
}

.faq-answer p {
	color: #666;
	line-height: 1.7;
}

/* Contact Section */
.contact {
	padding: 100px 0;
	background: #f8f9fa;
}

.contact h2 {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 60px;
}

.contact-content {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 60px;
}

.contact-info h3 {
	font-size: 1.4rem;
	margin-bottom: 20px;
}

.contact-info p {
	color: #666;
	margin-bottom: 20px;
	line-height: 1.7;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.form-group {
	display: flex;
	flex-direction: column;
}

.form-group label {
	font-weight: 600;
	margin-bottom: 8px;
	color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
	padding: 12px 15px;
	border: 2px solid #eee;
	border-radius: 8px;
	font-size: 1rem;
	transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #333;
}

.submit-button {
	padding: 15px 30px;
	background: #333;
	color: white;
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s ease, transform 0.2s ease;
}

.submit-button:hover {
	background: #555;
	transform: translateY(-2px);
}

/* Stories Page Specific */
.stories-hero {
	padding: 120px 0 80px;
	text-align: center;
	background: #f8f9fa;
}

.stories-hero h1 {
	font-size: 3rem;
	margin-bottom: 20px;
}

.stories-hero p {
	font-size: 1.2rem;
	color: #666;
	max-width: 600px;
	margin: 0 auto;
}

.story-categories {
	padding: 80px 0;
}

.story-categories h2 {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 60px;
}

.category-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
}

.category-card {
	text-align: center;
	padding: 40px 20px;
	background: white;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
}

.category-card:hover {
	transform: translateY(-5px);
}

.category-emoji {
	font-size: 3rem;
	display: block;
	margin-bottom: 20px;
}

.category-card h3 {
	font-size: 1.3rem;
	margin-bottom: 15px;
}

.category-card p {
	color: #666;
	line-height: 1.6;
}

.featured-collection {
	padding: 80px 0;
	background: #f8f9fa;
}

.featured-collection h2 {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 60px;
}

.story-collection {
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 60px;
}

.story-full {
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.story-hero-image {
	width: 100%;
	height: 300px;
	object-fit: cover;
}

.story-full .story-content {
	padding: 40px;
}

.story-full h3 {
	font-size: 2rem;
	margin-bottom: 10px;
}

.story-meta {
	color: #888;
	font-style: italic;
	margin-bottom: 25px;
	font-size: 0.9rem;
}

.story-full p {
	font-size: 1.1rem;
	line-height: 1.8;
	margin-bottom: 20px;
	color: #444;
}

/* Footer */
.footer {
	background: #333;
	color: white;
	padding: 60px 0 20px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	margin-bottom: 40px;
}

.footer-section h4 {
	font-size: 1.2rem;
	margin-bottom: 20px;
}

.footer-section p {
	color: #ccc;
	line-height: 1.6;
}

.footer-section ul {
	list-style: none;
}

.footer-section ul li {
	margin-bottom: 8px;
}

.footer-section ul li a {
	color: #ccc;
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-section ul li a:hover {
	color: white;
}

.footer-bottom {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid #555;
	color: #ccc;
}

/* Legal Pages */
.legal-page {
	padding: 120px 0 60px;
	max-width: 800px;
	margin: 0 auto;
}

.legal-page h1 {
	font-size: 1.5rem;
	margin-bottom: 10px;
}

.last-updated {
	color: #666;
	font-style: italic;
	margin-bottom: 40px;
}

.legal-page section {
	margin-bottom: 40px;
}

.legal-page h2 {
	font-size: 1.5rem;
	margin-bottom: 15px;
	color: #333;
}

.legal-page h3 {
	font-size: 1.3rem;
	margin-bottom: 10px;
	margin-top: 20px;
	color: #333;
}

.legal-page p {
	margin-bottom: 15px;
	line-height: 1.7;
	color: #555;
}

.legal-page ul {
	margin-bottom: 15px;
	padding-left: 20px;
}

.legal-page li {
	margin-bottom: 8px;
	line-height: 1.6;
	color: #555;
}

.legal-page a {
	color: #333;
	text-decoration: underline;
}

/* Cookie Modal */
.cookie-modal {
	display: none;
	position: fixed;
	bottom: 20px;
	left: 20px;
	right: 20px;
	background: white;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
	z-index: 2000;
	max-width: 500px;
	margin: 0 auto;
	transform: translateY(100px);
	opacity: 0;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-modal.show {
	display: block;
	transform: translateY(0);
	opacity: 1;
}

.cookie-content {
	padding: 30px;
}

.cookie-content h3 {
	font-size: 1.3rem;
	margin-bottom: 15px;
}

.cookie-content p {
	color: #666;
	margin-bottom: 20px;
	line-height: 1.6;
}

.cookie-buttons {
	display: flex;
	gap: 15px;
	margin-bottom: 15px;
}

.cookie-accept,
.cookie-decline {
	padding: 10px 20px;
	border: none;
	border-radius: 6px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s ease;
}

.cookie-accept {
	background: #333;
	color: white;
}

.cookie-accept:hover {
	background: #555;
}

.cookie-decline {
	background: #eee;
	color: #333;
}

.cookie-decline:hover {
	background: #ddd;
}

.cookie-policy-link {
	color: #666;
	font-size: 0.9rem;
	text-decoration: underline;
}

/* Success Modal */
.success-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 3000;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.success-modal.show {
	opacity: 1;
	visibility: visible;
}

.success-modal-content {
	background: white;
	border-radius: 12px;
	padding: 40px;
	max-width: 400px;
	width: 90%;
	text-align: center;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	transform: translateY(-20px);
	transition: transform 0.3s ease;
}

.success-modal.show .success-modal-content {
	transform: translateY(0);
}

.loading-spinner {
	width: 40px;
	height: 40px;
	border: 4px solid #f3f3f3;
	border-top: 4px solid #333;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin: 0 auto 20px;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

.success-icon {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: #4caf50;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 auto 20px;
	color: white;
	font-size: 24px;
	font-weight: bold;
}

.success-modal h3 {
	font-size: 1.4rem;
	margin-bottom: 15px;
	color: #333;
}

.success-modal p {
	color: #666;
	line-height: 1.6;
	margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
	.mobile-menu-toggle {
		display: flex;
	}

	.nav-menu {
		position: fixed;
		top: 70px;
		left: 0;
		width: 100%;
		background: rgba(255, 255, 255, 0.98);
		backdrop-filter: blur(10px);
		flex-direction: column;
		padding: 20px;
		gap: 20px;
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
		transform: translateX(-100%);
		transition: transform 0.3s ease;
		z-index: 999;
	}

	.nav-menu.active {
		transform: translateX(0);
	}

	.nav-link {
		font-size: 1.1rem;
		padding: 10px 0;
		border-bottom: 1px solid #eee;
	}

	.nav-link:last-child {
		border-bottom: none;
	}

	.hero h1 {
		font-size: 2.5rem;
	}

	.hero p {
		font-size: 1.1rem;
	}

	.stories-grid {
		grid-template-columns: 1fr;
	}

	.about-content {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.about-stats {
		justify-content: space-around;
	}

	.contact-content {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.category-grid {
		grid-template-columns: 1fr;
	}

	.cookie-modal {
		left: 10px;
		right: 10px;
		bottom: 10px;
	}

	.success-message {
		display: none;
	}

	.success-message.show {
		transform: translateX(0);
	}
}

@media (max-width: 480px) {
	.container {
		padding: 0 15px;
	}

	.hero {
		padding: 120px 0 80px;
	}

	.hero h1 {
		font-size: 2rem;
	}

	.story-card,
	.category-card {
		margin: 0 10px;
	}

	.legal-page {
		padding: 100px 0 40px;
	}
}
