@font-face {
    font-family: Shabnam;
    src: url(fonts/Shabnam-FD-WOL.woff2);
}
* {
    color: #E6E6E6;
}
body {
    margin: 0;
    font-family: sans-serif, 'Shabnam';
    background: linear-gradient(135deg,#07080A 0%,#0D0F12 35%,#141821 70%,#0B0D10 100%);
    direction: rtl;
}

html {
    scroll-behavior: smooth;
}

h1 {
    text-indent: 100px;
}

h2 {
    text-indent: 50px;
    margin-bottom: 50px;
    padding-top: 50px;
}

h3 {
    text-indent: 25px;
}
a {
    color: aqua;
}
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: auto;
    background: linear-gradient(180deg,rgba(13, 15, 18, 0.8) 0%,rgba(15, 18, 22, 0.8) 45%,rgba(26, 31, 42, 0.8) 100%);
    font-family: 'sans-serif', sans-serif;
    z-index: 2;
}

nav ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
}

nav a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

nav a:hover {
    color: rgb(123, 141, 212);
}

p {
    text-align: justify;
    text-indent: 30px;
    font-size: 1rem;
    line-height: 1.65rem;
}

header {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    height: 30vh;
    align-items: center;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url(../assets/images/Lady-Macbeth/cover.jpeg);
    background-size: cover;
    background-attachment: fixed;
    background-position: center; 
}
.Theater-information {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: start;
}
.Agents {
    grid-column: 1;
    padding: 30px;
    margin-right: 50px;
}
.poster {
    grid-column: 2;
    justify-items: center; 
    
}
.poster img{
    max-width: 65%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: 0.5s;
    cursor: pointer;
    box-sizing: border-box;
    box-shadow: 0px 0px 8px 2px #2C3034;
}
.poster img:hover {
   transform: scale(1.05);
    filter: blur(2.5px);
    filter: saturate(200%);
    box-shadow: 0px 0px 20px 4px #2C3034;
    border-radius: 15px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 20px;
    max-width: 1200px;
    margin: 20px auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    background-color: #15181C;
    border-radius: 8px;
}

.gallery-item {
    overflow: hidden;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 20px;
    box-shadow: 0px 0px 8px 1px #2C3034;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    transition: 0.5s;
}

.gallery-item:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    filter: saturate(200%);
    filter: brightness(120%);
    border-radius: 15px;
}

.section-gallery{
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 40px;
  margin-top: 40px;
}

footer {
    margin-top: 50px;
    background-color: #15181C;
    justify-items: center;
    text-align: center;
    display: grid;
    grid-template-columns: repeat(3, 1fr) ;
    grid-template-rows: repeat(3, auto)
}
footer h2 {
    grid-column: 1;
    grid-area: 1;
    font-family: 'Shabnam';
}
footer h3 {
    margin-bottom: 20px;
    font-family: 'Shabnam';
}
.hr {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    content: "";
    border-top: 1px dashed rgb(123, 141, 212);
    margin-top: 87px;
    
}
.Social-media {
    width: 30%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    gap: 10px;
    align-items: center;
    grid-column: 3;
    grid-row: 1;
    margin-top: 35px;
}
.instagram {
    width: 42px;
    grid-column: 1;
}
.Youtube {
    width: 55px;
    grid-column: 2;
}
.website-sections {
    grid-column: 1;
    grid-row: 2;
    margin-right: 150px;
}
.quick-links {
    grid-column: 2;
    grid-row: 2;
    margin-right: 150px;
}
.contact {
    grid-column: 3;
    grid-row: 2;
    font-family: cursive;
}
.Email {
    width: 20px;
    height: auto;
    margin-right: 5px;
    font-family: cursive;
}
.website-sections, .quick-links, .contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-weight: bold;
    font-family: cursive;
}
.Copyright {
    grid-column: 2;
    grid-row: 3;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 50px;
    margin-bottom: 50px;
    width: 50vw;
    justify-items: center;
}
footer a {
    color: #E6E6E6;;
    text-decoration: none;
    transition: 0.3s;
}
footer a:hover{
    color: rgb(123, 141, 212);
}




@media screen and (max-width: 775px){
    .Theater-information {
        margin-top: 100px;
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: repeat(2, auto);
        
    }
    .Agents {
        grid-column: 1;
        grid-row: 1;
        display: block;
        margin: 0 auto;
    }
    .poster {
        grid-column: 1;
        grid-row: 2;    
    }
    .poster img{
        width: 65%;
        height: auto;
        display: block;
        margin: 0 auto; 
        border-radius: 20px;
        transition: 0.5s;
        cursor: pointer;
        box-sizing: border-box;
        box-shadow: 0px 0px 8px 2px #2C3034;
    }
}

@media screen and (max-width: 806px){
    footer {
        grid-template-columns: repeat(2, 1fr) ;
        grid-template-rows: repeat(4, auto);
        justify-content: center;
    }
    footer h2 {
        grid-column: 1;
        grid-area: 1;
    }
    .Social-media {
        grid-column: 2;
        grid-row: 1;
    }
    .instagram {
        width: 35px;
    }
    .Youtube {
        width: 47px;
    }
    .website-sections {
        grid-column: 1;
        grid-row: 2;
        align-items: start;
        margin: 0;;
    }
    .quick-links {
        grid-column: 2;
        grid-row: 2;
        align-items: end;
        margin: 0;;
    }
    .contact {
        grid-column: 1;
        grid-row: 3;
        align-items: start;
        margin: 0;;
    }
    .Email {
        width: 15px;
    }
    .Copyright {
        grid-column: 1 / 3;
        grid-row: 4;
        width: 60%;
    }
    .hr{
        visibility: hidden;
    }
}

@media screen and (max-width: 494px){
   
    h1 {
    text-indent: 20px;
    }
    h2 {
        text-indent: 20px;
        margin-bottom: 30px;
        padding-top: 30px;
    }

    h3 {
        text-indent: 10px;
    }
    p {
        text-indent: 20px;
    }
    footer {
        grid-template-columns: repeat(1, 1fr) ;
        grid-template-rows: repeat(7, auto);
    }
    footer h2 {
        grid-column: 1;
        grid-area: 1;
        text-align: start;
        border-bottom: 1px dashed rgb(123, 141, 212);
        width: 90%;
    }
    footer h3 {
        margin: 0;
    }
    .hr{
        grid-column: 1;
        grid-row: 2;
        width: 100%;
        content: "";
        border-top: 1px dashed rgb(123, 141, 212);
        margin-top: 8px;
    }
    .Social-media {
        grid-column: 1;
        grid-row: 2;
        display: inline;
        margin: 0 0;
        gap: 0px;
        transform: translate(0px, -20px);  
    }
    .instagram {
        width: 30px;
    }
    .Youtube {
        width: 42px;
    }
    .website-sections {   
        grid-column: 1;
        grid-row: 4;
    }
    .quick-links {
        grid-column: 1;
        grid-row: 5;
    }
    .contact {
        grid-column: 1;
        grid-row: 6;    
    }
    .website-sections, .quick-links, .contact {
        border: 1px solid rgb(123, 141, 212);
        box-shadow: 0px 0px 5px 1px #2C3034;
        border-radius: 5px;
        width: 80%;
        padding: 10px;
        margin: 10px auto;
        align-items: center;
    }
    .Email {
        width: 15px;
    }
    .Copyright {
        grid-column: 1;
        grid-row: 7;
        width: 80%;
    }
}
@media screen and (max-width: 540px) {
    .Copyright {
    width: 90vw;
    }
}
@media screen and (max-width: 412px) {
    .Copyright {
    width: 90vw;
    }
}
@media screen and (max-width: 375px) {
    h1 {
        text-indent: 13px;
    }
}