* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

body {
    background-color: #1C1C1C;
    margin: 0;
    padding: 0;
    font-family: 'Raleway', sans-serif;
}

.section {
    width: 95%;
    max-width: 1400px;
    margin: 0px auto;
}

.sectionv {
    height: 100vh;
}

.header {
    background-color: #252525;
    height: 70px;
    border-radius: 11px;
    margin: 0px auto;
    position: absolute;
    z-index: 15;
    left: 50%;
    transform: translate(-50%, -100px);
    top: 20px;
}

.menu {
    width: 100%;
    padding-inline: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    height: 100%;
    margin: 0;
}

.menuLink {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 900;
    padding: 10px 3px;
    position: relative;
    letter-spacing: 2px;
    line-height: 1em;
}

.menuLink::before {
    content: attr(data-text);
    position: absolute;
    color: #fff;
    width: 0%;
    overflow: hidden;
    padding: 10px 3px;
    left: 0px;
    top: 1.2px;
    transition: 1s;
}

.menuLink:hover:before {
    width: 100%;
    filter: drop-shadow(0 0 25px white);
}


.logo {
    position: absolute;
    left: 20px;
    height: 130%;
    top: -15%;
}

.logo img {
    height: 100%;
}

.hero {
    position: relative;
    width: 100%;
    aspect-ratio: 2.4;
    overflow: hidden;
}

/* ویدیو فول اسکرین */
.bg-video {
    position: absolute;
    inset: 0;
    width: 120%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    object-position: -100px;
}

/* گرادیان برای خوانایی */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: black;
    z-index: 2;
    opacity: 0;
}

/* شیشه */
.glass {
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.18),
            rgba(255, 255, 255, 0.08));
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.glass2 {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background-color: rgba(0, 0, 0, 0.6);
}

/* محتوای Hero */
.hero-content {
    position: absolute;
    z-index: 3;
    width: 680px;
    padding: 15px;
    margin: auto;
    top: calc(50% + 44px);
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    left: 50%;
    max-width: 95%;
    text-transform: uppercase;
    opacity: 0;
}

.hero-content h1 {
    font-weight: 800;
    font-family: 'Raleway', sans-serif;
    font-size: 70px;
    margin-block: 20px;
}

.hero-content p {
    letter-spacing: 6;
}

.slideContent {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    transition: all ease-in-out 0.5s;
}

.slideContent img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 15px;
}

.slideContent span {
    color: white;
}

.slideContent:hover {
    filter: drop-shadow(0px 0px 3px white);
    scale: 1.06;
}

.swiper {
    opacity: 0;
    scale: 0.5;
    visibility: hidden;
    padding: 20px 40px !important;
}

.Title {
    position: relative;
    text-transform: uppercase;
    font-weight: 800;
    font-size: max(18px, 1.5vw);
    margin-bottom: 20px;
}

.FillText {
    -webkit-text-fill-color: #fff3;
    color: #eee;
    will-change: background-size;
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-size: 0% 100%;
    -webkit-background-clip: text;
    width: fit-content;
}

.swiper-button-next,
.swiper-button-prev {
    color: #e8e8e8 !important;
    height: 25px !important;
}

.SwiperWrapper {
    position: relative;
    margin: 0px auto;
}

.swiper-button-next {
    right: 0px !important;
}

.swiper-button-prev {
    left: 0px !important;
}

.catsArea {
    margin-block: 100px;
}

.AboutArea {
    display: flex;
    margin-block: 100px;
}

.AboutArea .part1 {
    width: 50%;
    display: flex;
    flex-direction: column;
    color: white;
    justify-content: center;
}

.AboutArea .part2 {
    width: 50%;
}

.AboutArea .part1 p {
    text-align: justify;
    margin: 0;
}

.image-stack {
    position: relative;
    width: 100%;
    height: 400px;
    /* transform: translateY(100px); */
}

.card {
    position: absolute;
    width: 260px;
    height: 280px;
    border-radius: 20px;
    object-fit: cover;
    background: #333;
    opacity: 1;
    scale: 1;
}

.card-1 {
    top: 0px;
    left: calc(50% - 130px);
    z-index: 1;
}

.card-2 {
    top: 75px;
    right: 50%;
    z-index: 3;
}

.card-3 {
    bottom: 0;
    left: 40%;
    z-index: 2;
}

:root {
    --spring-easing: linear(0, 0.002, 0.01 0.9%, 0.038 1.8%, 0.156, 0.312 5.8%, 0.789 11.1%, 1.015 14.2%,
            1.096, 1.157, 1.199, 1.224 20.3%, 1.231, 1.231, 1.226, 1.214 24.6%,
            1.176 26.9%, 1.057 32.6%, 1.007 35.5%, 0.984, 0.968, 0.956, 0.949 42%,
            0.946 44.1%, 0.95 46.5%, 0.998 57.2%, 1.007, 1.011 63.3%, 1.012 68.3%,
            0.998 84%, 1);
    --spring-duration: 1.66s;
}

.ActionButton {
    --a: 0%;
    --hue: 32deg;
    --x: 50;
    --y: 50;
    --button: #D9D9D9;
    --edge: 20px;
    --size: 35px;

    background: transparent;
    color: #363636;
    font-size: 18px;
    position: relative;
    padding: calc(var(--size)) calc(var(--size)*1.5);
    animation: color 20s linear infinite both;
    transition:
        --a .5s ease-in-out,
        scale var(--spring-duration) var(--spring-easing);
    scale: 0.92;
    isolation: isolate;
    width: fit-content;
    font-weight: 500;

    &:hover {
        --a: 100%;
        transition-duration: .5s, 1s;
        box-shadow: none;
        opacity: 1;
        scale: 1;
    }


}

.ActionButton:before {
    content: "";
    position: absolute;
    inset: 0em;
    /** here's the magic. A blur and a svg filter */
    filter: blur(12px) url(#goo) drop-shadow(0 .25em .5em hsla(0deg, 0%, 0%, 0.8));
    /** followed by a radial-gradient which causes the
    gooey effect to follow mouse-position */
    background-image:
        linear-gradient(0deg, var(--button), var(--button)),
        radial-gradient(40% 70% at calc(var(--x) * 1%) calc(var(--y) * 1%),
            hsla(var(--hue), 77%, 77%, var(--a)) 0%,
            transparent 90%);
    /** and finally a background-clip so the radial-gradient
    is larger than the linear-gradient */
    background-clip: content-box, border-box;
    padding: 24px;
    z-index: -1;
    border: inherit;
    animation: color 20s linear infinite both;
}

.AboutArea .ActionButton {
    align-self: end;
    margin-top: 30px;
}

.events {
    height: 100vh;
    margin-top: 150px;
    margin-bottom: 0px;
}

.boxes {
    width: 95%;
    max-width: 1400px;
    height: 70vh;
    position: relative;
    perspective: 1400px;
    /* خیلی مهم برای 3D */
}

.box {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: #3a3a3a;
    transform-style: preserve-3d;
    will-change: transform, filter;
    background-position: center;
    background-size: cover;
}

.events .Title {
    margin-bottom: 40px;
}

.eventDetails {
    position: absolute;
    height: 65px;
    color: white;
    width: 90%;
    left: 5%;
    bottom: 30px;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: space-between;
    padding-inline: 20px;
    align-items: center;
    border-radius: 12px;
    font-weight: 700;
}

.eventMetas {
    width: 190px;
    display: flex;
    justify-content: space-between
}

.text-section {
    height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    perspective: 1400px;
    perspective-origin: center;
    color: white;
    text-align: center;
    font-weight: 900;
}

.perspective-text {
    font-size: 3rem;
    line-height: 1.7;
}

.word {
    display: inline-block;
    opacity: 0;
    transform-style: preserve-3d;
    will-change: transform, filter;
}

.text-section .describText {
    max-width: 600px;
    font-size: 20px;
}