/* استایل‌های مربوط به صفحه اطلاعات کافه */

/* اصلاح استایل کلی */
body {
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100vh;
    background-color: #f8f8f8;
    color: #333;
}

.layoutContainer {
    height: auto;
    overflow: visible;
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 1px 10px rgba(0,0,0,0.05);
}

.information {
    background-color: #fff;
    min-height: 100vh;
    position: relative;
    overflow-y: visible;
}

/* هدر زیباسازی شده */
.header {
    display: flex;
    align-items: center;
    height: 60px;
    padding: 0 16px;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header .arrow {
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: transform 0.2s;
    padding: 3px;
    border-radius: 50%;
    fill: black;
}

.header .arrow:hover {
    background-color: #f5f5f5;
    transform: translateX(3px);
}

.information__wrapper {
    padding: 20px 16px 30px;
    height: auto;
    overflow: visible;
}

/* بخش نام و لوگو */
.information__name {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    animation: fadeDown 0.6s ease-out;
}

.information__name .logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 4px solid white;
    transition: transform 0.3s;
}

.information__name .logo:hover {
    transform: scale(1.05);
}

.information__name .logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.information__name .title {
    font-size: 28px;
    font-weight: bold;
    color: #222;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
    position: relative;
    padding-bottom: 8px;
}

.information__name .title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: #966a5b;
    border-radius: 2px;
}

/* گالری تصاویر زیباسازی شده */
.information__images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 30px;
    animation: fadeIn 0.8s ease-out;
}

.information__images .item {
    border-radius: 16px;
    overflow: hidden;
    height: 130px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.information__images .item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.information__images .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.information__images .item:hover img {
    transform: scale(1.1);
}

/* استایل مشترک برای بخش‌ها */
.information__category,
.information__call {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    animation: fadeIn 0.8s ease-out;
    transition: background-color 0.2s;
}

.information__category:hover,
.information__call:hover {
    background-color: #fafafa;
}

.information__category img,
.information__call img {
    width: 24px;
    height: 24px;
    margin-left: 16px;
    opacity: 0.85;
    filter: brightness(0.9);
}

.information__category .list,
.information__call a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.information__call a {
    transition: color 0.2s;
}

.information__call a:hover {
    color: #966a5b;
}

/* بخش آدرس زیباسازی شده */
.address-section {
    width: 100%;
    margin: 20px 0;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    animation: fadeIn 1s ease-out;
}

.address-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.address-header img {
    width: 24px;
    height: 24px;
    margin-left: 16px;
    opacity: 0.85;
    filter: brightness(0.9);
}

.address-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin: 0;
}

.address-content {
    padding: 0 0 15px 0;
}

.address-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin: 0;
}

.address-map {
    width: 100%;
    height: auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transition: transform 0.3s;
}

.address-map:hover {
    transform: translateY(-3px);
}

.address-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* بخش ساعات کاری زیباسازی شده */
.hours-section {
    width: 100%;
    margin: 20px 0;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    overflow: visible;
    animation: fadeIn 1.2s ease-out;
}

.hours-header {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    cursor: pointer;
    position: relative;
    border-radius: 12px;
    transition: background-color 0.2s, transform 0.2s;
}

.hours-header:hover {
    background-color: #f9f9f9;
    transform: translateY(-2px);
}

.hours-header img {
    width: 24px;
    height: 24px;
    margin-left: 16px;
    opacity: 0.85;
    filter: brightness(0.9);
}

.hours-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin: 0;
    margin-left: 10px;
}

.status-indicator {
    display: flex;
    align-items: center;
    margin-left: 12px;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #07bc0c;
    border-radius: 50%;
    margin-left: 6px;
    animation: pulse 2s infinite;
}

.status {
    font-size: 14px;
    color: #07bc0c;
    font-weight: 500;
}

.today-hours {
    margin-right: auto;
    font-size: 15px;
    color: #555;
}

.toggle-arrow {
    width: 18px;
    height: 18px;
    transform: rotate(90deg);
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.weekly-hours {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    background-color: #fbfbfb;
    border-radius: 12px;
    margin: 10px 0;
}

.weekly-hours.show {
    max-height: 500px; /* ارتفاع بزرگ برای اطمینان از نمایش کامل */
    padding: 15px;
    overflow: visible;
    box-shadow: 0 3px 12px rgba(0,0,0,0.07);
}

.day-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 8px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.day-row:hover {
    background-color: #f5f5f5;
}

.day-row:last-child {
    border-bottom: none;
}

.day-row.active-day {
    background-color: #f8f4f2;
    border-radius: 8px;
}

.day {
    color: #555;
    width: 80px;
    font-size: 15px;
    font-weight: 500;
}

.hours {
    color: #333;
    font-size: 15px;
    font-weight: 500;
}

/* انیمیشن‌های جدید */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(7, 188, 12, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(7, 188, 12, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(7, 188, 12, 0);
    }
}

/* برخی از استایل‌های قبلی که ممکن است تداخل ایجاد کنند را غیرفعال می‌کنیم */
.information__address, 
.information__time, 
.information__days {
    display: none !important;
    color: #999;    
    font-size: 13px;
}    
.copyright {
    border-top: 1px solid #f0f0f0;    
    text-align: center;    
    padding-top: 20px;    
    margin-top: 40px;
}    

.cafe-footer {/* بخش فوتر جدید */}

.wrapper.displayNone {
    display: none !important;
}
