
:root {
    --text-color: #333333;
    --app-bg-color: #9c9c9c;
    --section-bg-color: #d1cece;
    --primary-color: #c04848;
    --primary-dark: #800010;
}

body {
    font-family: "dana", sans-serif;
    font-size: 18px;
    background-color: var(--app-bg-color);
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: inherit;
    font-family: "dana";
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

 .welcome-screen {
            position: fixed; 
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #ffffff;
            display: flex; 
            justify-content: center; 
            align-items: center; 
            color: var(--text-color); 
            z-index: 9999; 
            transition: opacity 0.5s ease-out; 
            flex-direction: column;
        }

        
        .welcome-screen.hidden {
            opacity: 0;
            pointer-events: none; 
        }

        .welcome-screen.hidden + .main-content {
            display: block;
        }

/*      HEADER     */
.header {
    padding-top: 2rem;
    background:  linear-gradient(rgba(59, 55, 53, 0.5), rgba(59, 55, 53, 0.5)), url(../images/file_00000000c54c71f4ba9ef1e0143592d5.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 40rem;
    position: relative;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
}

/*       NAVBAR     */
.nav {
    background-color: rgba(120, 144, 156, 0.3);
    padding: 1rem 2.5rem;
    border-radius: 3rem;
    backdrop-filter: blur(8px);
    position: relative;
}

.nav__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.app-logo__img {
    width: 3rem;
    border-radius: 100%;
}

.menu {
    display: flex;
    align-items: center;
    z-index: 2;
}

.menu__item {
    margin-right: 2rem;
}

.menu_link {
    transition: 0.25s ease-in;
    text-shadow: 0 0 5px #800010;
    color: #f1f1f1;
}

.menu_link:hover,
.menu_link--active {
    color: var(--primary-color);
}

.menu_link--active {
    font-size: 1.4rem;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hamburger {
    display: none;
    width: 30px;
    height: 22px;
    position: relative;
    cursor: pointer;
    z-index: 150;
}

.hamburger_line,
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger_line {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger::before {
    top: 0;
}

.hamburger::after {
    bottom: 0;
}

.nav.active .hamburger_line {
    opacity: 0;
}

.nav.active .hamburger::before {
    transform: rotate(45deg) translate(5px, 5px);
    top: 50%;
}

.nav.active .hamburger::after {
    transform: rotate(-45deg) translate(5px, -5px);
    bottom: 50%;
}


/*       NAV BUTTONS      */
.btn-outline {
    padding: 8px 18px;
    border-radius: 20px;
    border: 1px solid #fff;
    color: #fff;
    transition: 0.3s;
}

.btn-outline:hover {
    background: #fff;
    color: var(--text-color);
}

.btn-filled {
    padding: 8px 22px;
    border-radius: 20px;
    background: var(--primary-color);
    color: #fff;
    transition: 0.3s;
}

.btn-filled:hover {
    background: var(--primary-dark);
}

/*       HEADER CONTENT       */
.header-content {
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-content__title {
    margin-top: 5rem;
    font-family: "Morabba Bold", sans-serif;
    font-size: 3rem;
    margin-bottom: 2rem;
}

.header-content__caption {
    font-size: 1.2rem;
}
.content__link{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

}
.content__link, .placeholder {
    color: #fff;
    z-index: 1000;
}
.placeholder{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 3rem;
}
.event-link{
    margin-top: 1.5rem;
    color: var(--text-color);
    width: 13rem;
    height: 3rem;
    background-color: var(--section-bg-color);
    transition: all 0.5s;
    border-radius: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    border: solid 1px var(--primary-dark);
}
.event-link:hover{
    background-color: var(--primary-dark);
    border: solid 1px var(--section-bg-color);
    color: #fff;
}
.header-content__link{
    width: 13rem;
    height: 3rem;
    transition: 0.5s;
}


@property --a {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.box {
    width: 100%;
    height: 100%;
    margin-top: 1rem;
  position: relative;
  background: repeating-conic-gradient( from var(--a), var(--primary-dark) 0%, var(--primary-dark) 5%, transparent 5%, transparent 40%, var(--primary-dark) 50% );
  filter: drop-shadow(0 15px 50px #000);
  border-radius: 20px;
  animation: rotating 4s linear infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s;
}

.box::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: repeating-conic-gradient(
    from var(--a),
    var(--primary-dark) 0%,
    var(--primary-dark) 5%,
    transparent 5%,
    transparent 40%,
    var(--primary-dark) 50%
  );
  filter: drop-shadow(0 15px 50px #000);
  border-radius: 20px;
  animation: rotating 4s linear infinite;
  animation-delay: -1s;
}
 @keyframes rotating {
  0% {
    --a: 0deg;
  }

  0% {
    --a: 360deg;
  }
} 

.box::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: repeating-conic-gradient(
    from var(--a),
    var(--primary-dark) 0%,
    var(--primary-dark) 5%,
    transparent 5%,
    transparent 40%,
    var(--primary-dark) 50%
  );
  filter: drop-shadow(0 15px 50px #000);
  border-radius: 20px;
  animation: rotating 4s linear infinite;
  animation-delay: -1s;
}

.box::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: var(--primary-color);
  border-radius: 15px;
}

.header-content__link:hover{
    width: 15rem;
    height: 5rem;
}


.dropdown-parent {
    position: relative;
}

.dropdown-popup {
    position: absolute;
    top: 1.5rem;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-radius: 1rem;
    width: 11rem;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: 50;
}

.dropdown-item {
    padding: 0.7rem 1.2rem;
    color: var(--text-color);
    transition: 0.25s;
}

.dropdown-item:hover {
    background: #f1f1f1;
}

/* Hover trigger */
.dropdown-parent:hover .dropdown-popup {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-widget {
    display: none;
}

.floating-widget:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.txt{
    color: var(--text-color);
    border: 1px solid var(--text-color);
    margin-left: 1rem;
}
/*        MAIN SECTIONS        */
.wrapper {
    margin-top: -6rem;
    background-color: var(--section-bg-color);
    padding: 3rem;
    border-radius: 3rem;
    box-shadow: 0px 5px 5px rgba(128, 0, 16, 0.5);
}

.mt {
    margin-top: 2rem;
}

.main_title {
    font-family: "Morabba Bold", sans-serif;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.main_content {
    line-height: 2rem;
    text-align: center;
}

.event-placeholder{
    background-color: var(--section-bg-color);
    padding: 0 1rem;
}

.none{
   width: 100%;
   height: 200px;
   display: flex;
   justify-content: center;   
   align-items: center;       
   border-radius: 10px;
}


.card-scroll {
  flex: 0 0 260px; 
  background-color: var(--app-bg-color);
  border-radius: 1.5rem;
  box-shadow: 0 4px 10px var(--primary-dark);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card-scroll:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px var(--primary-dark);
}

.img-box-scroll {
  width: 100%;
  height: 160px; 
  overflow: hidden;
  background: #eee;
}

.img-box-scroll img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-scroll {
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex-grow: 1; 
}
.description {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.5;
  margin: 0.2rem 0;
  flex-grow: 1; 
}

.scroll-container::before,
.scroll-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1rem; 
  z-index: 10;
  pointer-events: none;
}


.scroll-container::after {
  right: 0;
  background: var(--gradient-fade);
}


.scroll-container:has(> .scroll-content:not([data-scrolled="false"]))::before {
  left: 0;
  background: linear-gradient(to right, rgba(255,255,255,0), var(--card-bg) 50%);
}

.scroll-container::before {
  left: 0;
  background: linear-gradient(to right, rgba(255,255,255,0), var(--card-bg) 50%);
}

.scroll-content {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding-bottom: 0.5rem; 
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) var(--secondary-color); /* رنگ اسکرول‌بار */
  scroll-behavior: smooth; 

  position: relative;
  z-index: 1;
  padding: 1.5rem;
}

.section-title{
    font-family: "Morabba Bold", sans-serif;
}
.slider-section {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--section-bg-color);
    border-radius: 2rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.07);
}

.slider-container {
    overflow-x: auto;
    padding-bottom: 1rem;
}

.slider {
    display: flex;
    gap: 1rem;
    width: max-content;
    padding: 2rem 0;
}

.slide-item {
    width: 180px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #fff;
    border-radius: 1rem;
    transition: 0.3s;
}

.slide-item:hover {
    transform: translateY(-5px);
    background: var(--primary-dark);
}

.slide-item__content {
    text-align: center;
}


.major-card {
    background: var(--section-bg-color);
    padding: 2rem;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.major-card:hover {
    transform: translateY(-8px);
}

.major-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.major-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.major-desc {
    font-size: 1rem;
    line-height: 1.8rem;
}


.why-us {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.why-item {
    padding: 2rem;
    background: var(--section-bg-color);
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.why-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.why-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.why-desc {
    font-size: 1rem;
    line-height: 1.8rem;

}

 /*       footer        */

.footer {
    background: var(--primary-dark);
    color: #fff;
    padding: 2rem 0;
    margin-top: 5rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.footer_img {
    width: 3rem;
    border-radius: 100%;
}

.footer-title {
    font-size: 1.2rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    font-size: .9rem;
}

.footer-link {
    display: block;
    margin-bottom: 0.5rem;
    color: #fff;
    transition: 0.2s;
}

.footer-link:hover {
    color: #ecc1ce;
}

.footer-info {
    font-size: 0.9rem;
}

.footer-bottom {
    margin-top: 2rem;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.3);
}

.footer-copyright {
    font-size: 0.9rem;
}


/* shop */

.shop-section {
    margin-top: -6rem;
}

.shop-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.shop-card {
    background: var(--section-bg-color);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}

.shop-card:hover {
    transform: translateY(-5px);
}

.shop-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.shop-card__content {
    padding: 1rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.shop-card__title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.shop-card__price {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.shop-card__btn {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 1rem;
    background-color: var(--primary-color);
    color: #fff;
    transition: 0.3s;
    text-decoration: none;
}

.shop-card__btn:hover {
    background-color: var(--primary-dark);
}
/* profile */

.profile-container {
    margin-top: -6rem;
}

.profile-card {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    border-radius: 2rem;
    background: var(--section-bg-color);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    flex-wrap: wrap;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-details {
    flex: 1;
}

.tabs {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 0.7rem 1.5rem;
    border-radius: 2rem;
    border: 1px solid var(--primary-color);
    background: var(--section-bg-color);
    cursor: pointer;
    transition: 0.3s;
}

.tab-btn.active {
    background: var(--primary-color);
    color: #fff;
}

.tab-content .tab-panel {
    display: none;
}

.tab-content .tab-panel.active {
    display: block;
}

/* Orders */
.order-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-card {
    padding: 1rem;
    border-radius: 1rem;
    background: var(--section-bg-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(180px,1fr));
    gap: 1rem;
}

.product-card {
    padding: 1rem;
    border-radius: 1rem;
    background: var(--section-bg-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

/* Users */
.users-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.user-card {
    padding: 1rem;
    border-radius: 1rem;
    background: var(--section-bg-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Settings */
.settings-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
