/* Style sheet for the Social Media Assignment */


body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #FE8663;
}



/* Navigation Bar */

.navbar {
    margin: 0;
    border-radius: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.home_button img{
    width: 50px; 
    height: auto;
    cursor: pointer; /* Indiacates to user that it is a button */
    transition: transform 0.2s; 
    }


.home_button img:hover {
    transform: scale(1.1); /* If users mouse hovers over the image, it will increase in size */
    }


.divider:after,
.divider:before {
content: "";
flex: 1;
height: 1px;
background: #eee;
}


/* Centered white box for the form container */
.container-box {
    background-color: #ffffff; /* White background for the container */
    border-radius: 25px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional shadow for depth */
    padding: 2rem;
    margin: auto;
}


/* For index.php */
.container {
    display: flex;
    gap: 20px;
    max-width: 80%;
    margin: auto;
}

.main-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 90%;
    margin: 20px auto;
    gap: 20px;
}

/* For the roaster images */
.image-slider {
    position: relative;
    flex: 1;
    height: 600px;
    overflow: hidden;
    border-radius: 10px;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.image-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%; 
    width: 100%;
}

.image-container img {
    width: 100%;
    height: 100%;
    margin: auto;
    object-fit: cover;
    border-radius: 10px;
}

/* Arrows to move through images */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 2;
    font-size: 20px;
}

#prev {
    left: 10px;
}

#next {
    right: 10px;
}

.about {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


/* Adaptability for devices, screen size.
/* Basic styling for large screens */


nav ul {
    display: flex;
    justify-content: space-around;
}

/* Media query for small screens (e.g., mobile) */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    .main-content {
        flex-direction: column;
        align-items: center;
    }

    .image-slider,
    .about {
        width: 100%;
    }
}

/* Leaflet icons css */
.roaster-marker .leaflet-marker-icon {
    border: 2px solid #050c50; /* Change the border color as needed */
    border-radius: 50%; /* Optional: make the border round */
}

.review-map {
    margin: 10px 0;
    border: 1px solid #ddd;
}

/* roasters pages */
/* reviews and comments */
.review {
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
}
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.comments-section {
    margin-top: 10px;
    padding-left: 20px;
    border-left: 2px solid #ccc;
}
.existing-comments {
    margin-bottom: 10px;
}

/* images */
.review-images {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.review-image {
    max-width: 150px;
    height: auto;
    border-radius: 5px;
    object-fit: cover;
}

/* likes */
.like-button {
    background: none;
    border: none;
    color: #333;
    font-size: 1.2em;
    cursor: pointer;
}
.like-button.liked {
    color: red;
}

/* reports */
#report-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

#report-modal textarea {
    width: 100%;
    height: 100px;
    margin-bottom: 10px;
}

/* Account Page - User Messages */

 /* Accordion styling */
.accordion {
    background-color: #FE8663;
    color: white;
    cursor: pointer;
    padding: 10px;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    width: 100%;
}

.panel {
    display: none;
    background-color: #f1f1f1;
    padding: 10px;
}

.blocked-users {
    margin-top: 10px;
}