/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header styles */
.main-header {
    background-color: #ffffff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #eee;
}

.image-logo {
    width: 73px;
    height: auto;
}

.image-logo-nav {
    width: 150px;
    height: auto;
}

.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0.8rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.left-section, .right-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.burger-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 20px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.burger-menu span {
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.burger-menu.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.open span:nth-child(2) {
  opacity: 0;
}

.burger-menu.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.separator {
    color: #ccc;
    font-size: 18px;
    padding: 0 0.2rem;
}

.logo a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

.login-btn, .register-btn {
    padding: 0.4rem 0.8rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-weight: bold;
    text-transform: lowercase;
    transition: all 0.3s ease;
    font-size: 18px;
    text-decoration: none;
}

.login-btn {
    color: #333;
}

.register-btn {
    color: #b50000;
}

/* Sidebar styles */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    z-index: 1001;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.sidebar.active {
    transform: translateX(0);
}

.sidebar-header {
    padding: 1rem;
    display: flex;
    justify-content: flex-end;
    border-bottom: 1px solid #eee;
}

.close-btn {
    cursor: pointer;
    font-size: 1.2rem;
    color: #333;
}

.sidebar-content {
    padding: 1rem 0;
}

.sidebar-age-selector {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
    text-align: center;
}

.sidebar-age-selector select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #eee;
    border-radius: 4px;
    background: transparent;
    color: #333;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
}

.sidebar-age-selector select:focus {
    outline: none;
    border-color: #ddd;
}

.sidebar-link {
    display: block;
    padding: 0.8rem 1.5rem;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.sidebar-link:hover {
    background-color: #f5f5f5;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.overlay.active {
    display: block;
}

/* Main content spacing */
main {
    margin-top: 60px;
    padding: 1rem;
}

.main-container {
    max-width: 94%;
    margin-left: auto;
    margin-right: auto;
}

/* Image grid styles */
.image-grid-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
    max-width: 94%;
    margin: 40px auto;
    box-sizing: border-box;
}

.image-grid-left {
    flex: 2 1 0;
    width: 66%;
}

.image-grid-right {
    flex: 1 1 0;
    width: 34%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.image-grid-left img,
.image-grid-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.image-grid-right img {
    height: calc(50% - 5px);
    min-height: 100px;
}

/* Bubble model styles */
.container.bubble-model {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  flex-wrap: nowrap;
}

/* .square-image-dimension {
  width: 100%;
  height: 400px;
  max-width: 302px;
  object-fit: cover;
  background-color: #f0f0f0; 
  transition: opacity 0.3s ease-in-out;
  opacity: 0;
} */
.square-image-dimension {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
  object-fit: cover;
  background-color: #e0e0e0;
  border-radius: 8px; /* Use the nicer radius! */
  position: relative;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.4s ease; /* Use the smoother one */
}

/* When image is loaded */
.square-image-dimension.loaded {
  opacity: 1;
}

.container.square-model {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
   
}
.model-square-card {
    width: 260px; /* or use rem, like 16.25rem */
    flex: 0 0 auto;
}

.model-card {
    flex: 0 0 auto;
    text-align: center;
    width: 149px;
}

.model-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid #b50000;
    object-fit: cover;
}
.model-name-square{
    color: #b50000;
    font-weight: bold;
    font-size: 24px;
}
.model-name {
    margin-top: 8px;
    font-weight: bold;
    color: #888;
    text-align: center;
}
/* Bubble model styles */

.banner-img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}


@media (max-width: 900px) {
    .image-grid-container {
        flex-direction: column;
        gap: 10px;
    }
    .image-grid-left,
    .image-grid-right {
        width: 100%;
    }
    .image-grid-right {
        flex-direction: row;
        gap: 10px;
    }
    .image-grid-right img {
        height: auto;
        width: 50%;
        min-width: 100px;
    }
}

@media (max-width: 600px) {
    .image-grid-container {
        flex-direction: column;
        gap: 10px;
    }
    .image-grid-left,
    .image-grid-right {
        width: 100%;
    }
    .image-grid-right {
        flex-direction: column;
    }
    .image-grid-right img {
        width: 100%;
        min-width: 0;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }

    .left-section, .right-section {
        gap: 0.8rem;
    }

    .login-btn, .register-btn {
        padding: 0.5rem 0.8rem;
        font-size: 18px;

    }

    .separator {
        font-size: 18px;
        padding: 0 0.4rem;
    }

    .sidebar {
        width: 100%;
        left: -100%;
    }

    .sidebar.active {
        left: 0;
    }

    .sidebar-header {
        padding: 1.5rem;
    }

    .sidebar-content {
        padding: 2rem;
        text-align: center;
    }

    .sidebar-age-selector {
        padding: 0 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }

    .sidebar-age-selector select {
        padding: 0.8rem;
        font-size: 20px;
    }

    .sidebar-link {
        font-size: 20px;
        padding: 1.2rem;
    }

    .close-btn {
        font-size: 24px;
    }
    .skeleton-wrapper.skeleton-landscape {
      height: auto;
      aspect-ratio: 16 / 9;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem 0.8rem;
    }

    .left-section, .right-section {
        gap: 0.6rem;
    }

    .login-btn, .register-btn {
        padding: 0.5rem 0.6rem;
        font-size: 18px;
    }

    .separator {
        padding: 0 0.3rem;
    }

    .burger-menu {
        padding: 0.5rem;
    }
}

/* Footer styles */
.site-footer {
  background-color: #111;
  color: #ccc;
  font-size: 14px;
  padding: 40px 20px;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: #eee;
  text-decoration: none;
  font-weight: bold;
  font-size: 13px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-social {
  margin-bottom: 1.5rem;
}

.icon-button {
  background: #fff;
  border: none;
  border-radius: 6px;
  margin-left: 5px;
  padding: 6px 10px;
  font-size: 18px;
  cursor: pointer;
}

.footer-divider {
  border-top: 1px solid #444;
  margin: 1.5rem 0;
}

.footer-legal,
.footer-badges,
.footer-company {
  margin-bottom: 1rem;
}

.footer-legal a {
  color: #fff;
  text-decoration: underline;
}

.footer-badges img {
  height: 30px;
  margin: 8px;
}

.site-footer .footer-social span {
    font-family: 'Oswald', Arial, Helvetica, sans-serif;
    font-weight: 500;
    font-size: 27px;
    letter-spacing: 0.005em;
    color: #ffffff;
    padding-right: 18px;
}




@media (max-width: 768px) {
  .footer-links {
    justify-content: center;
  }
  .footer-social {
    justify-content: center !important;
  }
}

.footerNav {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: #111;
  
  flex-wrap: wrap;
}

.footerNav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 150px;
  display: flex;
  flex-direction: column;
 
}

.footerNav a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s;
}

.footerNav a:hover {
  color: #ff69b4;
  text-decoration: underline;
}

@media (max-width: 700px) {
  .footerNav {
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 24px 0 8px 0;
  }
  .footerNav ul {
    min-width: 0;
    width: 100%;
    align-items: center;
  }
}

/* Model image hover effect */
.model-img-wrapper {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #ff69b4;
}

.model-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: all 0.3s ease;
}

.hover-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.hover-text {
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 16px;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  gap: 6px;
}

.model-img-wrapper:hover .hover-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 1;
}

/* square hover */

.square-image-wrapper {
  position: relative;
  width: 100%;
  /* aspect-ratio: 1 / 1; Keeps it square */
  overflow: hidden;
  border-radius: 8px;
}

.square-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.square-image-wrapper .hover-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  border-radius: 0; /* <-- important: remove any rounding */
}

.square-image-wrapper:hover .hover-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 1;
}

.square-image-wrapper .hover-text {
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 16px;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  gap: 6px;
}
.square-image-wrapper,
.square-image-wrapper img {
  border-radius: 8px; /* Or 0 if you want sharp corners */
}

.square-image-dimension {
  background-color: #e0e0e0;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

/* Show image when loaded */
.square-image-dimension.loaded {
  opacity: 1;
}

/* Shimmer effect */
.square-image-dimension::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150px;
  width: 150px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Wrapper handles shimmer */
.skeleton-wrapper {
  position: relative;
  background-color: #e0e0e0;
  overflow: hidden;
  border-radius: 8px;
  /* aspect-ratio: 1 / 1; */
}

/* Add shimmer */
.skeleton-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150px;
  width: 150px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 1.2s infinite;
}

/* Hide shimmer when image is loaded */
.skeleton-wrapper.loaded::after {
  display: none;
}

/* Image fades in */
/* .square-image-dimension {
  opacity: 0;
  transition: opacity 0.4s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.square-image-dimension {
  background-color: #e0e0e0;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
} */
/* Show image */
.skeleton-wrapper.loaded .square-image-dimension {
  opacity: 1;
}

.skeleton-wrapper.skeleton-landscape {
  width: 100%;
  height: 684px;
  max-height: 527px;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background-color: #e0e0e0;
}
.skeleton-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
/* Once loaded */
.skeleton-wrapper.loaded .skeleton-img {
  opacity: 1;
}
.skeleton-wrapper.skeleton-landscape::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150px;
  width: 150px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 1.2s infinite;
}

.skeleton-wrapper.loaded::after {
  display: none;
}

.skeleton-wrapper.loaded img {
  opacity: 1;
}

.skeleton-wrapper img {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
  /* height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 1.2s infinite;
} */

.skeleton-wrapper.loaded::after {
  display: none;
}

.skeleton-wrapper.loaded img {
  opacity: 1;
}

.skeleton-wrapper img {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Reduce font size on medium screens, revert on mobile */
@media (max-width: 991.98px) and (min-width: 576px) {
  .model-name-square {
    font-size: 18px;
  }
}
@media (max-width: 575.98px)  {
  .model-name-square {
    font-size: 24px;
  }
}

@media (max-width: 1400px) {
  .skeleton-wrapper.skeleton-landscape {
    height: 119vh;
  }
}

@media (max-width: 1200px) {
  .skeleton-wrapper.skeleton-landscape {
    height: 101vh;
  }
}

@media (max-width: 1000px) {
  .skeleton-wrapper.skeleton-landscape {
    height: 346px;
  }
}

