@font-face {
  font-family: 'Cinzel Decorative';
  src: url('../Fonts/cinzel/CinzelDecorative-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cinzel Decorative';
  src: url('../Fonts/cinzel/CinzelDecorative-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #561201;
    background-image: url('../Images/fonds/بطاقات\ حناء_.jpeg');
    background-position: center;
    overflow-x: hidden;
}

header {
    background-color: #561201d4;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

.site-header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    width: min(1100px, 94%);
    margin: 0 auto;
    padding: 16px 0;
}

.site-logo {
    justify-self: start;
}

.site-logo img {
    max-height: 70px;
    width: auto;
    display: block;
}

.site-nav {
    justify-self: center;
}

p {
    padding: 20px;
}

nav ul {
	display: flex;
	justify-content: flex-end;
	text-transform: uppercase;
	list-style-type: none;
	align-items: center;
    gap: 36px;
    padding: 0;
    margin: 0;
}

nav ul li a {
	text-decoration: none;
	color: white;
	text-align: center;
	padding: 10px 6px;
	font-weight: 400;
	letter-spacing: 0.08em;
}

main {
    padding-top: 120px;
}

#Histoire {
    margin-top: 40px;
}

#conteneur {
    max-width: 1030px;
    margin: 100px auto;
    padding: 20px;
    background-color: #561201d4;
    border-radius: 10px;
}

#Histoire #conteneur {
    max-width: 100%;
    margin: 0;
    padding: 20px 0;
    background-color: transparent;
    border-radius: 0;
}

.article-histoire {

    max-width: 850px;
    margin: 0 auto;
    background: linear-gradient(180deg, #ece4c88e 0%, #471b1bc4 100%);
    border: 1px solid rgba(107, 60, 26, 0.18);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.18);
    border-radius: 30px;
    padding: 28px 28px;
    color: #4a2f14;

}



.article-histoire p {
    margin-bottom: 1.35rem;
    font-size: 1.02rem;
    text-indent: 0.9rem;
    color: #000000;
    font-family: fantasy, cursive;
}

h2 {
  font-family: 'Cinzel Decorative', 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
}

#Culture, #shop h2 {
    color: antiquewhite;
}


#Histoire h2 {
  text-align: center;
  padding: 20px;
    color: #60462f;
}
    
.grille {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: minmax(150px, auto);
    gap: 30px;
    width: 100%;
    padding: 20px;
}

.item {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: rgba(227, 170, 170, 0.92);
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(101, 8, 8, 0.518);
}

#Culture .item img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
    display: block;
}

#shop .item img {
    width: 100%;
    height: auto;
    max-height: 240px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.description-produit {
    padding: 16px;
    color: #222;
}

.description-produit h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.description-produit p {
    margin: 0 0 0.8rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.description-produit strong {
    display: block;
    color: #8a1f1f;
}

.item1 {
    grid-column: span 2;
    grid-row: span 2;
}

.item2 {
    grid-column: span 3;
    grid-row: span 2;
}

.item3 {
    grid-column: span 3;
    grid-row: span 3;
}

.item4 {
    grid-column: span 2;
    grid-row: span 5;
}

.item5 {
    grid-column: span 3;
    grid-row: span 2;
}

.item6 {
    grid-column:  1;
    grid-row: span 2;
}

.item7 {
    grid-column: span 2;
    grid-row: span 2;
}

.item8 {
    grid-column: span 2;
    grid-row: span 2;
}

.video-amazigh {
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-amazigh iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;

}

footer {
    text-align: center;
}