
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: Poppins;
}

:root {
     --bg-color: #fdfdfd;
    --text-color: #333;
    --main-color: #3B1C0A;
    --white-color: #fdfdfd;
    --shadow-color: rgba(0, 0, 0, .2);
    --accent-color: #ffb300;
}

body {
    background: var(--bg-color);
    font-family: Poppins;
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.6;
}

a{
    text-decoration: none;
}

.container {
    width: 90%;
    margin: 0 auto;
}

header{
    width: 90%;
    display: flex;
    justify-content: space-between;
    margin: auto;
    height: 50px;
    align-items: center;
}
header .logo{
    font-size: 1rem;
    color: var(--main-color);
    font-weight: 600;
    cursor: default;
    text-decoration: none;
    margin-right: auto;
}
header nav a{
    position: relative;
    text-decoration: none;
    color: var(--main-color);
    font-weight: 500;
    margin-left: 2rem;
}

.navbar a.active::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: .2rem;
    background: var(--main-color);
}


.toggle-icon{
	display: flex;
	margin-left: 2rem;
	font-size: 1rem;
    color: var(--main-color);
	cursor: pointer;
	background: transparent;
}

.toggle-icon i {
    transition: transform 0.5s ease;
}

.bx-sun {
    transform: rotate(180deg);
}

.bx-moon {
    transform: rotate(0);
}
#cover-wrapper {
    position: relative;
    width: 100%;
    height: 90vh;
    background-image: url('images/c5ee9349-96f3-40e6-a4cd-ed6ea32942ae.jpg');
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: flex-start;
    padding-left: 5%;
}

.home-content {
    width: 100%;
    z-index: 2;
    padding: 20px;
    padding: 30px; /* Un peu plus d'espace autour du texte */
    position: relative;
}

.home-content h1 {
    color: var(--main-color);
    margin-top: 7%;
    letter-spacing: 3px;
    font-size: 5rem; /* Réduction de la taille du titre */
    font-weight: 700;
}

.home-content p {
    color: var(--bg-color);
    font-size: 1rem;
    line-height: 1.6;
    width: 45%;
}

.paragraphe i {
    color: #A76726;
}
.home-content .social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    background: transparent;
    border: .2rem solid transparent;
    border-radius: 50%;
    box-shadow: 0 .2rem .5rem transparent;
    font-size: 2rem;
    color: var(--main-color);
    margin: 1rem 0.5rem 2rem 0;
    transition: .5s ease;
}

.home-content .social-media a:hover {
    background: var(--main-color);
    color: var(--white-color);
}

.home-content .btn {
    position: absolute;
    left: 2,9%;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 2px solid var(--white-color);
    color: var(--white-color);
    font-size: 1rem;
    text-transform: uppercase;
    border-radius: 2px;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: 0.3s ease;
}

.home-content .btn:hover{
	background-color: transparent;
	color: var(--white-color);
	border: 2px solid var(--white-color);
	box-shadow: 0 0 50px transparent;
}


/* Musique Section */
.page-section.releases {
    padding: 4rem 5%; /* Ajuste l'espace pour rapprocher les sections */
    text-align: center;
}

.playlist-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 5rem; /* Réduit l'espace entre la playlist et la description */
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-right: 5rem;
    margin-left: 3%;
    margin-top: 17%;
    color: var(--main-color);
    letter-spacing: 0.05rem;
}

.section-description {
    margin-right: 5rem;

}

.playlist-item {
    width: 50%;
    border-radius: 12px;
    text-align: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.playlist-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.playlist-image {
    width: 100%;
    overflow: hidden;
}

.playlist-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-btn {
    display: inline-block;
    background-color: transparent;
    border: 3px solid var(--main-color);
    color: var(--bg-color);
    font-size: 1rem;
    border-radius: 25px;
    margin-right: 5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
    transition: 0.3s ease;
    text-decoration: none;
}

.cta-btn:hover {
    background-color: var(--);
}

/* Livres Section */
.page-section.books {
    padding: 4rem; /* Réduit l'espace entre les sections */
    margin-top: -2rem;
}

.section-titles {
    font-size: 2.5rem;
    font-weight: 700;
    margin-right: 30px;
    margin-right: 7%;
    text-align: end;
    margin-top: 3rem;
    color: var(--main-color);
    letter-spacing: 0.05rem;
}

.section-descriptions {
    text-align: end;
    margin-left: 70%;
    margin-bottom: 3rem;

}

.books-container {
    display: grid;
    margin-left: 7%;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    justify-items: center;
    margin-top: 2rem;
}

.book-card {
    background-color: var(--bg-color);
    border-radius: 12px;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.book-image {
    overflow: hidden;
}

.book-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: var(--main-color);
    font-size: 1rem;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.cta-btn:hover {
    background-color: var(--main-color);
    color: var(--bg-color);
}

/* Voir plus de livres */
.link-underline {
    display: inline-block;  /* Change from absolute to inline-block */
    background: transparent;
    margin-top: 2%;
    border: 1px solid var(--main-color);
    color: var(--main-color);  /* Set the text color to match your design */
    text-align: center;
    font-size: 0.7rem;
    text-transform: uppercase;
    padding: 0.5rem 1rem;  /* Add some padding for better button size */
    border-radius: 2px;   /* Slightly round the corners for a button look */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);  /* Subtle shadow */
    transition: background-color 0.3s ease, color 0.3s ease;  /* Transition for hover effect */
}

.link-underline:hover {
    background-color: var(--main-color); /* Background on hover */
    color: var(--white-color);  /* Text color on hover */
}
/* Footer Section */
.footer {
    padding: 4rem 5%;
    background-color: #121212;
    color: var(--white-color);
    text-align: center;
}

/* Banner */
.footer-banner {
    margin-bottom: 2rem;
}

.footer-banner-img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 10px;
}

/* Footer content */
.footer-content {
    text-align: center;
}

.footer .social-media a {
    margin: 0 1rem;
    font-size: 2rem;
    color: var(--white-color);
    transition: color 0.3s ease;
}

.footer .social-media a:hover {
    color: var(--accent-color);
}


/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    .hero-image {
        margin-top: 2rem;
        width: 100%;
    }
    .music-featured,
    .video-featured {
        flex-direction: column;
        text-align: center;
    }
}