@font-face {
	font-family: iransansdn;
	font-style: normal;
	font-weight: bold;
	src: url('./../fonts/eot/iransansdnbold.eot');
	src: url('./../fonts/eot/iransansdnbold.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('./../fonts/woff2/iransansdnbold.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
		 url('./../fonts/woff/iransansdnbold.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
		 url('./../fonts/ttf/iransansdnbold.ttf') format('truetype');
}

@font-face {
	font-family: iransansdn;
	font-style: normal;
	font-weight: 300;
	src: url('./../fonts/eot/iransansdnlight.eot');
	src: url('./../fonts/eot/iransansdnlight.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('./../fonts/woff2/iransansdnlight.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
		 url('./../fonts/woff/iransansdnlight.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
		 url('./../fonts/ttf/iransansdnlight.ttf') format('truetype');
}

@font-face {
	font-family: iransansdn;
	font-style: normal;
	font-weight: normal;
	src: url('./../fonts/eot/iransansdn.eot');
	src: url('./../fonts/eot/iransansdn.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('./../fonts/woff2/iransansdn.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
		 url('./../fonts/woff/iransansdn.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
		 url('./../fonts/ttf/iransansdn.ttf') format('truetype');
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: iransansdn;
}

/* تنظیمات اپلیکیشن مانند */
body {
    height: 100vh;
    overflow: hidden;
    background-color: #f8f8f8; /* رنگ پس زمینه خارج از اپلیکیشن */
}

.layoutContainer {
    width: 100%;
    height: 100%;
    overflow: hidden;
    max-width: 600px; /* حداکثر عرض برای حالت اپلیکیشن */
    margin: 0 auto; /* وسط چین کردن */
    background-color: #eeeeee; /* رنگ پس زمینه برای ویدیو */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15); /* سایه برای حالت اپلیکیشن */
    position: relative;
}

.main {
    width: 100%;
    height: 100%;
}

.main__wrapper {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.main__cover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.main__cover video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.main__cover__shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
}

.main__bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: white;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    padding: 60px 20px 55px;
    z-index: 5;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2); /* سایه بیشتر برای جلوه بهتر */
    animation: slideUp 0.6s ease-out; /* انیمیشن برای ورود جعبه از پایین */
}

.resturan-logo {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.25); /* سایه بیشتر برای لوگو */
    border: 4px solid white;
    transition: transform 0.3s ease; /* انیمیشن هاور */
}

.resturan-logo:hover {
    transform: translateX(-50%) scale(1.05);
}

.resturan-logo img {
    width: 90%;
    height: auto;
}
.logotype {
    height: 50px;
    margin: auto;
    display: block;
    text-align: center;
    margin-bottom: 15px;
}

.title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 25px;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}

.title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: #966a5b; /* رنگ قهوه‌ای برای هماهنگی با صفحه اطلاعات */
    border-radius: 2px;
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 15px;
    background: #f9f9f9;
    border-radius: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.row:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.row a {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.right img {
    width: 24px;
    height: 24px;
    opacity: 0.8;
}

.right div {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.main__arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
    opacity: 0.7;
}

.row:hover .main__arrow {
    transform: translateX(-5px);
    opacity: 1;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    cursor: pointer;
    z-index: 2;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #555;
    transition: all 0.3s ease;
}

.play-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

/* انیمیشن‌های جدید */
@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (min-width: 768px) {
    .layoutContainer {
        border-radius: 20px; /* گرد کردن گوشه‌ها در دسکتاپ */
        margin-top: 20px;
        margin-bottom: 20px;
        height: calc(100vh - 40px); /* ارتفاع کمتر در دسکتاپ */
    }
}
