/* www/css/style.css - Styles principaux Kiflazik */

/* Variables CSS */
:root {
	--primary-color: #e31e24;
	--primary-dark: #c41e3a;
	--secondary-color: #333;
	--accent-color: #ff6b6b;
	--light-gray: #f8f9fa;
	--medium-gray: #6c757d;
	--dark-gray: #343a40;
	--white: #ffffff;
	--black: #000000;
	--border-radius: 8px;
	--box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	--transition: all 0.3s ease;
	--max-width: 1200px;
	--header-height: 70px;
}

/* Reset et base */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: var(--secondary-color);
	background-color: var(--white);
}

/* Conteneur principal */
.container {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 20px;
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
	margin-bottom: 1rem;
	font-weight: 600;
	line-height: 1.2;
}

h1 {
	font-size: 2.5rem;
	color: var(--primary-color);
}

h2 {
	font-size: 2rem;
	color: var(--secondary-color);
}

h3 {
	font-size: 1.5rem;
}

p {
	margin-bottom: 1rem;
}

a {
	color: var(--primary-color);
	text-decoration: none;
	transition: var(--transition);
}

a:hover {
	color: var(--primary-dark);
}

/* Boutons */
.btn {
	display: inline-block;
	padding: 12px 24px;
	border: none;
	border-radius: var(--border-radius);
	font-size: 1rem;
	font-weight: 500;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: var(--transition);
	line-height: 1;
}

.btn-primary {
	background-color: var(--primary-color);
	color: var(--white);
}

.btn-primary:hover {
	background-color: var(--primary-dark);
	color: var(--white);
	transform: translateY(-2px);
}

.btn-secondary {
	background-color: transparent;
	color: var(--primary-color);
	border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
	background-color: var(--primary-color);
	color: var(--white);
}

.btn-small {
	padding: 8px 16px;
	font-size: 0.9rem;
}

.btn-youtube {
	background-color: #ff0000;
	color: var(--white);
}

.btn-youtube:hover {
	background-color: #cc0000;
	color: var(--white);
}

/* Header */
.main-header {
	background-color: var(--white);
	box-shadow: var(--box-shadow);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	height: var(--header-height);
}

.navbar {
	height: 100%;
}

.navbar .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
}

.nav-brand .logo {
	height: 40px;
	width: auto;
}

.nav-menu {
	display: flex;
	align-items: center;
}

.nav-list {
	display: flex;
	list-style: none;
	gap: 2rem;
	margin: 0;
}

.nav-list a {
	color: var(--secondary-color);
	font-weight: 500;
	padding: 8px 0;
	position: relative;
}

.nav-list a:hover,
.nav-list a.active {
	color: var(--primary-color);
}

.nav-list a.active::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	right: 0;
	height: 2px;
	background-color: var(--primary-color);
}

.nav-tools {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.lang-switcher .lang-btn {
	padding: 6px 12px;
	border: 1px solid var(--primary-color);
	border-radius: var(--border-radius);
	color: var(--primary-color);
	font-size: 0.9rem;
	font-weight: 500;
}

.lang-switcher .lang-btn:hover {
	background-color: var(--primary-color);
	color: var(--white);
}

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 4px;
	background: none;
	border: none;
	cursor: pointer;
}

.nav-toggle span {
	width: 25px;
	height: 3px;
	background-color: var(--secondary-color);
	transition: var(--transition);
}

/* Main content */
main {
	margin-top: var(--header-height);
	min-height: calc(100vh - var(--header-height));
}

/* Hero Section */
.hero {
	background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
	color: var(--white);
	padding: 80px 0;
	text-align: center;
}

.hero-content h1 {
	color: var(--white);
	font-size: 3rem;
	margin-bottom: 1rem;
}

.hero-subtitle {
	font-size: 1.2rem;
	margin-bottom: 2rem;
	opacity: 0.9;
}

.hero-buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* Page Header */
.page-header {
	background-color: var(--light-gray);
	padding: 60px 0;
	text-align: center;
}

.page-header h1 {
	margin-bottom: 1rem;
}

.page-header p {
	font-size: 1.2rem;
	color: var(--medium-gray);
	max-width: 600px;
	margin: 0 auto;
}

/* Sections */
section {
	padding: 60px 0;
}

.section-alt {
	background-color: var(--light-gray);
}

/* Grilles */
.releases-grid,
.artists-grid,
.editions-grid,
.values-grid,
.press-grid,
.testimonials-grid {
	display: grid;
	gap: 2rem;
	margin-top: 2rem;
}

.releases-grid,
.editions-grid {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.artists-grid,
.values-grid {
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.contact-grid {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 3rem;
	margin-top: 2rem;
}

/* Cards */
.release-card,
.edition-card,
.artist-card,
.value-card,
.press-item,
.testimonial-item {
	background-color: var(--white);
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
	overflow: hidden;
	transition: var(--transition);
}

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

.release-image,
.edition-image {
	width: 100%;
	height: 200px;
	overflow: hidden;
}

.release-image img,
.edition-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--transition);
}

.release-card:hover .release-image img,
.edition-card:hover .edition-image img {
	transform: scale(1.05);
}

.release-info,
.edition-info {
	padding: 1.5rem;
}

.release-info h3,
.edition-info h3 {
	color: var(--secondary-color);
	margin-bottom: 0.5rem;
}

.release-artist,
.edition-artist,
.edition-author {
	color: var(--primary-color);
	font-weight: 500;
	margin-bottom: 0.5rem;
}

.release-year,
.edition-year {
	color: var(--medium-gray);
	font-size: 0.9rem;
	margin-bottom: 1rem;
}

.edition-description {
	color: var(--secondary-color);
	margin-bottom: 1rem;
	line-height: 1.5;
}

.edition-features ul {
	list-style: none;
	margin-bottom: 1rem;
}

.edition-features li {
	padding: 0.25rem 0;
	position: relative;
	padding-left: 1.5rem;
}

.edition-features li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: var(--primary-color);
	font-weight: bold;
}

.edition-links,
.release-links {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

/* Artist Cards */
.artist-card,
.value-card {
	padding: 2rem;
	text-align: left;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.artist-card h3,
.value-card h3 {
	color: var(--primary-color);
	margin-bottom: 1rem;
}

.artist-image {
	width: 100%;
	height: 200px;
	border-radius: var(--border-radius);
	overflow: hidden;
}

.artist-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.artist-links {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.artist-links a {
	color: var(--primary-color);
	font-weight: 600;
	text-decoration: none;
}

.artist-releases {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.artist-releases li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.artist-releases a {
	color: var(--primary-color);
	font-weight: 600;
	text-decoration: none;
}

.release-type {
	background: #f0f0f0;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 12px;
	color: #555;
}

/* Newsletter */
.newsletter {
	background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
	color: var(--white);
	text-align: center;
}

.newsletter h2 {
	color: var(--white);
	margin-bottom: 1rem;
}

.newsletter-description {
	font-size: 1.1rem;
	margin-bottom: 2rem;
	opacity: 0.9;
}

.newsletter-form {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	max-width: 500px;
	margin: 0 auto;
	gap: 0.75rem;
}

.newsletter-form input {
	width: 100%;
	padding: 12px 16px;
	border: none;
	border-radius: var(--border-radius);
	font-size: 1rem;
}

.newsletter-form input:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	flex-wrap: nowrap;
}

.newsletter-actions .checkbox-label {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1 1 auto;
	min-width: 220px;
	margin: 0;
}

.newsletter-actions .btn {
	white-space: nowrap;
	flex: 0 0 auto;
}

@media (max-width: 640px) {
	.newsletter-actions {
		flex-direction: column;
		align-items: flex-start;
	}
	.newsletter-actions .btn {
		width: 100%;
	}
}

/* About Page */
.about-content {
	max-width: 800px;
	margin: 0 auto;
}

.about-intro,
.about-history,
.about-team {
	margin-bottom: 3rem;
}

.famous-artists {
	margin-top: 2rem;
}

.artists-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1rem;
}

.artist-tag {
	background-color: var(--primary-color);
	color: var(--white);
	padding: 0.5rem 1rem;
	border-radius: 20px;
	font-size: 0.9rem;
	font-weight: 500;
}

/* Forms */
.form-wrapper,
.contact-form-wrapper {
	background-color: var(--white);
	padding: 2rem;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 500;
	color: var(--secondary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
	width: 100%;
	padding: 12px 16px;
	border: 2px solid #e9ecef;
	border-radius: var(--border-radius);
	font-size: 1rem;
	transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.1);
}

.form-group small {
	display: block;
	margin-top: 0.5rem;
	color: var(--medium-gray);
	font-size: 0.9rem;
}

.checkbox-group {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
}

.checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	cursor: pointer;
	line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
	width: auto;
	margin: 0;
}

.checkmark {
	width: 20px;
	height: 20px;
	border: 2px solid #e9ecef;
	border-radius: 4px;
	position: relative;
	flex-shrink: 0;
	margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
	content: '✓';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: var(--white);
	font-size: 12px;
	font-weight: bold;
}

/* Alerts */
.alert {
	padding: 1rem 1.5rem;
	border-radius: var(--border-radius);
	margin-bottom: 1.5rem;
	font-weight: 500;
}

.alert-success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.alert-error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

/* Contact Info */
.contact-info {
	background-color: var(--light-gray);
	padding: 2rem;
	border-radius: var(--border-radius);
}

.contact-item {
	margin-bottom: 2rem;
}

.contact-item h3 {
	color: var(--primary-color);
	margin-bottom: 0.5rem;
	font-size: 1.1rem;
}

.contact-item p {
	margin-bottom: 0;
	line-height: 1.6;
}

.contact-item a {
	color: var(--primary-color);
	font-weight: 500;
}

/* Press & Testimonials */
.press-item,
.testimonial-item {
	padding: 2rem;
}

.testimonial-item blockquote {
	font-style: italic;
	font-size: 1.1rem;
	line-height: 1.6;
	margin-bottom: 1rem;
}

.testimonial-item cite {
	color: var(--primary-color);
	font-weight: 500;
	font-style: normal;
}

/* Legal Pages */
.legal-content {
	max-width: 800px;
	margin: 0 auto;
}

.legal-section {
	margin-bottom: 3rem;
}

.legal-section h2 {
	color: var(--primary-color);
	margin-bottom: 1.5rem;
}

.legal-section p {
	margin-bottom: 0.5rem;
}

/* Footer */
.main-footer {
	background-color: var(--dark-gray);
	color: var(--white);
	padding: 3rem 0 1rem;
	margin-top: 4rem;
}

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

.footer-section h3,
.footer-section h4 {
	color: var(--white);
	margin-bottom: 1rem;
}

.footer-section p {
	opacity: 0.8;
	line-height: 1.6;
}

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

.footer-section ul li {
	margin-bottom: 0.5rem;
}

.footer-section ul li a {
	color: var(--white);
	opacity: 0.8;
	transition: var(--transition);
}

.footer-section ul li a:hover {
	opacity: 1;
	color: var(--accent-color);
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}

.footer-legal p {
	margin-bottom: 0.5rem;
	opacity: 0.7;
	font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
	:root {
		--header-height: 60px;
	}
	
	.container {
		padding: 0 15px;
	}
	
	/* Navigation mobile */
	.nav-list {
		position: fixed;
		top: var(--header-height);
		left: 0;
		right: 0;
		background-color: var(--white);
		flex-direction: column;
		padding: 2rem;
		box-shadow: var(--box-shadow);
		transform: translateY(-100%);
		transition: var(--transition);
		opacity: 0;
		visibility: hidden;
	}
	
	.nav-list.active {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
	}
	
	.nav-toggle {
		display: flex;
	}
	
	.nav-toggle.active span:nth-child(1) {
		transform: rotate(45deg) translate(5px, 5px);
	}
	
	.nav-toggle.active span:nth-child(2) {
		opacity: 0;
	}
	
	.nav-toggle.active span:nth-child(3) {
		transform: rotate(-45deg) translate(7px, -6px);
	}
	
	/* Hero */
	.hero-content h1 {
		font-size: 2rem;
	}
	
	.hero-buttons {
		flex-direction: column;
		align-items: center;
	}
	
	.hero-buttons .btn {
		width: 100%;
		max-width: 300px;
	}
	
	/* Newsletter */
	.newsletter-form {
		flex-direction: column;
	}
	
	/* Contact Grid */
	.contact-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	
	/* Footer */
	.footer-bottom {
		flex-direction: column;
		text-align: center;
	}
	
	/* Grilles responsive */
	.releases-grid,
	.editions-grid {
		grid-template-columns: 1fr;
	}
	
	.artists-grid,
	.values-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	h1 {
		font-size: 2rem;
	}
	
	h2 {
		font-size: 1.5rem;
	}
	
	section {
		padding: 40px 0;
	}
	
	.hero {
		padding: 60px 0;
	}
	
	.page-header {
		padding: 40px 0;
	}
	
	.form-wrapper,
	.contact-form-wrapper {
		padding: 1.5rem;
	}
	
	.btn {
		padding: 10px 20px;
		font-size: 0.9rem;
	}
}

/* Animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fade-in-up {
	animation: fadeInUp 0.6s ease-out;
}

/* Utilities */
.text-center {
	text-align: center;
}

.text-left {
	text-align: left;
}

.text-right {
	text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.hidden {
	display: none;
}

.visible {
	display: block;
}

/* Print styles */
@media print {
	.main-header,
	.main-footer,
	.newsletter,
	.btn {
		display: none;
	}
	
	main {
		margin-top: 0;
	}
	
	* {
		background: white !important;
		color: black !important;
	}
}
