/* General Styles */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: iranyekan, sans-serif;
    background-color: #6a0dad;
    color: white;
    direction: rtl;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    width: 90%;
    max-width: 1200px;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    width: 100%;
}

.app-icon {
    height: 50px;
    width: 50px;
}

.app-info {
    flex: 1;
    padding: 0 20px;
}

.download-btn {
    padding: 10px 20px;
    background-color: #ff9900;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

/* Gallery */
.gallery {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px ;
    gap: 20px;
    width: 100%;
}

.gallery img {
    height: 300px;
    border-radius: 10px;
    cursor: zoom-in; /* Changes cursor to indicate click-to-zoom */
}

/* Sections */
.sections {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;
    padding: 20px 0;
}

.section {
    background-color: #ffffff33;
    padding: 20px;
    border-radius: 10px;
    flex: 1 1 45%;
    max-width: 500px;
}

.section p {
    line-height: 40px;
}

/* Download Section */
.download-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 80px;
    width: 100%;
}

.market-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.market-buttons a {
    text-decoration: none;
}

.button-icon {
    width: 20px;
    height: 20px;
    margin-left: 8px; /* Adds spacing between icon and text */
    vertical-align: middle;
}

/* Button styles for different app markets */
.google-play-btn,.whatsapp-btn {
    background-color: #21C15B; /* Google Play green */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.cafebazaar-btn {
    background-color: #000000; /* Cafe Bazaar green */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.myket-btn,.telegram-btn {
    background-color: #0077FF; /* Myket blue */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.direct-download-btn {
    background-color: #FF9900; /* Direct Download orange */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

/* Hover effects for consistency */
.google-play-btn:hover,
.cafebazaar-btn:hover,
.myket-btn:hover,
.direct-download-btn:hover {
    opacity: 0.9;
}

.description-icon-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.download-description {
    text-align: center;
}

.large-icon {
    height: 80px;
    width: 80px;
}

/* Customer Reviews Slider */
.reviews-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    width: 100%;
    padding: 20px 0;
}

.review {
    background-color: #ffffff33;
    padding: 20px;
    border-radius: 10px;
    min-width: 250px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.review div p {
    max-width: 250px; /* Adjust as needed */
    overflow-wrap: break-word;
    white-space: normal;
    line-height: 35px;
}

.profile-pic {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    margin-left: 10px;
}

/* Footer */
.footer {
    width: 100%;
    text-align: center;
    padding: 20px;
    background-color: #4b0082;
    color: #cccccc;
    font-size: 14px;
    margin-top: 20px;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 15px 0;
}

.contact-description {
    text-align: right;
}

.phone {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.phone a {
    color: #ff9900;
    text-decoration: none;
    font-size: 18px;
}

.contact-description p {
    text-align: center;
    line-height: 30px;
}

.contact-buttons {
    display: flex;
    gap: 10px;
}



/* Responsive */
@media (max-width: 768px) {
    .header, .download-section, .contact-container {
        flex-direction: column;
        text-align: center;
    }

    .market-buttons, .contact-buttons {
        flex-direction: column;
    }

    .description-icon-container {
        flex-direction: column;
    }

    /* Make each section take full width on small screens */
    .sections {
        flex-direction: column;
        align-items: center;
    }

    .section {
        flex: 1 1 100%;
        max-width: 100%;
    }
}


/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Black background with opacity */
    justify-content: center;
    align-items: center;
    z-index: 1000; /* On top of all other content */
}

.modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.modal .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #ff9900;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
}

