/* Model Portfolio Page Styles */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2d2d2d;
    --accent-color: #ff6b35;
    --text-color: #ffffff;
    --text-muted: #b0b0b0;
    --border-color: #404040;
    --hover-color: #ff8c5a;
    --card-bg: #2a2a2a;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --image-height: 550px;
}

/* Full height layout */
.site-main {
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Main Container */
.model-header {
}

.model-name {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--text-color);
    letter-spacing: 0.5px;
}




/* Filter Section */

.filter-section{
    margin-bottom: 2rem;
}


.filter-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    background: none;
    color: var(--text-color);
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: normal;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: normal;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.filter-btn:hover {
    background: none;
    transform: none;
}

.filter-btn.active {
    background: none;
    border: none;
    color: var(--text-color);
    font-weight: bold;
}

.filter-icon {
    font-size: 1.2rem;
}

/* Viewer Section */
.viewer-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.viewer-controls {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.nav-btn {
    background: var(--secondary-color);
    border: none;
    color: var(--text-color);
    width: 48px;
    height: 48px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.counter {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
    min-width: 80px;
    text-align: center;
}

.counter .separator {
    color: var(--text-muted);
}

/* Content Sections */
.content-section {
    display: none;
    flex: 1;
    overflow-y: auto;
}

.content-section.active {
    display: flex;
    flex-direction: column;
}





/* Carousel Viewer */
.viewer-content {
    position: relative;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.content-section {
    display: none;
    position: relative;
}

.content-section.active {
    display: block;
}









/* Error Message */
.error-message {
    text-align: center;
    color: var(--text-color);
}

.error-message h2 {
    font-size: 2rem;
    color: var(--accent-color);
}

.error-message p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.button {
    background: var(--accent-color);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.button:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
}

/* Mobile styles moved to mobile.css */

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Smooth Transitions */
.content-section {
    transition: opacity 0.3s ease;
}

/* Focus States for Accessibility */
.filter-btn:focus,
.nav-btn:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Image positioning classes */
.portfolio-image.img-left,
.polaroid-image.img-left {
    margin-left: auto;
}

.portfolio-image.img-right,
.polaroid-image.img-right {
    margin-right: auto;
}

/* .portfolio-image.img-center,
.polaroid-image.img-center {
    margin-left: auto;
    margin-right: auto;
} */

/* Print Styles */
@media print {
    .viewer-controls,
    .filter-section {
        display: none;
    }
    
    .content-section {
        display: block !important;
    }
    
    .model-details-card {
        break-inside: avoid;
    }
} 

@media (max-width: 400px) {
    :root {
        --image-height: 400px;
    }
    .model-details-card{
        width: 320px;
    }
}

/* Additional Model Profile Styles */
.model-profile {
  max-width: 100rem;
  margin: 0 auto;
}

.model-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  margin: 2rem 0;
}

.model-image img {
  width: 100%;
  height: auto;
  border-radius: 0.8rem;
}

.model-specs {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 0.8rem;
  margin-bottom: 2rem;
}

.model-specs h3 {
  margin-bottom: 1rem;
  color: #333;
  font-size: 1.2rem;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 1rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 0.1rem solid #eee;
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-label {
  font-weight: 600;
  color: #666;
}

.spec-value {
  color: #333;
}

.model-info {
  margin-bottom: 2rem;
}

.info-item {
  margin-bottom: 1.5rem;
}

.info-item h4 {
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.info-item p {
  color: #666;
  line-height: 1.6;
}

.hourly-rate {
  font-size: 1.5rem;
  font-weight: bold;
  color: #0073aa;
}

.model-description {
  margin-bottom: 2rem;
}

.model-description h3 {
  margin-bottom: 1rem;
  color: #333;
}

.model-contact {
  background: #0073aa;
  color: white;
  padding: 2rem;
  border-radius: 0.8rem;
  text-align: center;
}

.model-contact h3 {
  margin-bottom: 1rem;
}

.model-contact p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.button-primary {
  background: white;
  color: #0073aa;
  padding: 1.2rem 2.4rem;
  text-decoration: none;
  border-radius: 0.4rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.button-primary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.model-categories {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 0.1rem solid #eee;
  color: #666;
}

.model-categories a {
  color: #0073aa;
  text-decoration: none;
}

.model-categories a:hover {
  text-decoration: underline;
}

.portfolio-info-bar {
  background: #f0f0f1;
  border: 1px solid #c3c4c7;
  border-radius: 4px;
  padding: 12px;
  margin: 10px 0;
  display: none;
}

.info-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.info-filename {
  font-family: monospace;
  font-size: 13px;
  color: #1d2327;
  background: #fff;
  padding: 6px 10px;
  border: 1px solid #c3c4c7;
  border-radius: 3px;
  flex: 1;
  margin-right: 10px;
  word-break: break-all;
}

#portfolio-copy-filename {
  white-space: nowrap;
  min-width: 80px;
}

.copy-icon {
  margin-right: 4px;
}

/* Portfolio image clickable cursor */
.portfolio-image-item img {
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.portfolio-image-item img:hover {
  opacity: 0.8;
}

/* Polaroid Info Bar Styles */
.polaroid-info-bar {
  background: #f0f0f1;
  border: 1px solid #c3c4c7;
  border-radius: 4px;
  padding: 12px;
  margin: 10px 0;
  display: none;
}

/* Collections Info Bar Styles */
.collections-info-bar {
  background: #f0f0f1;
  border: 1px solid #c3c4c7;
  border-radius: 4px;
  padding: 12px;
  margin: 10px 0;
  display: none;
}

/* Polaroid and Collections image clickable cursor */
.polaroid-image-item img,
.collection-image-item img {
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.polaroid-image-item img:hover,
.collection-image-item img:hover {
  opacity: 0.8;
}

/* Video poster styles */
.video-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.video-thumbnail {
  position: relative;
  width: 80px;
  height: 60px;
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-icon {
  font-size: 24px;
  color: #666;
}

