# static/css/custom.css
/* Custom styles for the social media app */

.post-card {
    transition: transform 0.2s ease-in-out;
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.like-btn {
    transition: all 0.2s ease-in-out;
}

.like-btn:hover {
    transform: scale(1.1);
}

.navbar-brand {
    font-size: 1.5rem;
}

.post-content {
    word-wrap: break-word;
}

.user-card {
    transition: transform 0.2s ease-in-out;
}

.user-card:hover {
    transform: translateY(-2px);
}



/* Force a responsive square box with black bars */
.post-image-square{
  position: relative;
  width: 100%;
  background: #000;          /* letterbox color */
  overflow: hidden;
}
/* The pseudo-element creates a square via padding trick */
.post-image-square::before{
  content: "";
  display: block;
  padding-top: 100%;         /* = height equals width */
}
/* Make the image fill the square and keep aspect ratio */
.post-image-square > img{
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;       /* show all of the image, add black bars if needed */
  display: block;
}


/* post button */
/* Full-width oval compose button */
.btn-compose{
  border-radius: 9999px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  color: #777;
  text-align: left;
  padding: 10px 16px;
}
.btn-compose:hover{ background:#eee; color:#555; }

/* Image icon “button” */
.btn-icon{
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 9999px;
  padding: 8px 12px;
  line-height: 1;
  display: inline-block;
}
.btn-icon i{ font-size: 18px; vertical-align: middle; }

.compose-toolbar{
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Utility */
.hidden{ display:none !important; }



.modal { z-index: 2000; }
.modal-backdrop { z-index: 1900; }


.burger-dropdown .dropdown-toggle::after {
  display: none !important;
}

.burger-dropdown .dropdown-menu {
  left: 50% !important;
  transform: translateX(-50%) !important;
}
#mapSection{
  width: 100%;
  height: 70vh;
  min-height: 400px;
  border-radius: 8px;
}

/* /////////////////////////////////////Categories/////////////////////////////////////////// */
.activity-box {
    background: #d9d9d9;
    padding: 22px 28px;
    border-radius: 4px;
}

.activity-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111;
}

.activity-subcats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
}

.activity-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.35rem;
    color: #111;
    cursor: pointer;
    margin: 0;
}

.activity-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
}

@media (max-width: 768px) {
    .activity-title {
        font-size: 1.5rem;
    }

    .activity-item {
        font-size: 1.05rem;
    }
}
/* .activity-preferences-box {
    background: #d9d9d9;
    padding: 24px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.category-group {
    margin-bottom: 22px;
}

.category-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #111;
}

.subcategory-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 26px;
}

.subcategory-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    color: #111;
    cursor: pointer;
    margin: 0;
}

.subcategory-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
} */
/* /////////////////////////////////////Categories/////////////////////////////////////////// */



@media (max-width: 768px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .post-card {
        margin-bottom: 15px;
    }
}
