/* Base Variables */
:root {
  --primary-color: #c0392b;
  --secondary-color: #8e44ad;
  --accent-color: #f5c46b;
  --dark-color: #3e2b23;
  --light-color: #fff8f0;
  --text-color: #333;
  --white: #fff;
  --black: #121010;
  --transition: all 0.3s ease;
  --border-radius: 12px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--light-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading-content {
  text-align: center;
}

.spinner {
  width: 80px;
  height: 80px;
  border: 4px solid rgba(192, 57, 43, 0.3);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

.loading-content h2 {
  font-family: 'Playfair Display', serif;
  color: var(--primary-color);
  font-size: 1.5rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(245, 196, 107, 0.2);
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.breadcrumb {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin: 0 0.5rem;
  color: #666;
}

.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.breadcrumb li[aria-current="page"] {
  color: #666;
  font-weight: 500;
}

/* Navigation */
.portfolio-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(245, 196, 107, 0.2);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.back-btn {
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  padding: 0.5rem;
  border-radius: 50%;
}

.back-btn:hover {
  color: var(--secondary-color);
  transform: translateX(-3px);
}

.page-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-color);
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--dark-color);
  font-weight: 600;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(245, 196, 107, 0.1), rgba(142, 68, 173, 0.1));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: bold;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--dark-color);
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.2s both;
}

/* Search Container */
.search-container {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
  animation: fadeInUp 1s ease 0.4s both;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--dark-color);
  font-size: 1.2rem;
}

.search-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 1px solid rgba(245, 196, 107, 0.3);
  border-radius: 50px;
  font-family: inherit;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

/* Filter Section */
.filter-section {
  padding: 2rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Advanced Filters */
.advanced-filters {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: var(--border-radius);
  border: 1px solid #e9ecef;
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-group label {
  font-weight: 600;
  color: var(--text-color);
  font-size: 0.9rem;
}

.filter-select {
  padding: 0.75rem;
  border: 2px solid #e9ecef;
  border-radius: var(--border-radius);
  background: var(--white);
  font-size: 0.9rem;
  transition: var(--transition);
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

/* Price Range */
.price-range {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.range-input {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #ddd;
  outline: none;
  -webkit-appearance: none;
}

.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.range-input::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.price-display {
  text-align: center;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.9rem;
}

/* View Options */
.view-options {
  display: flex;
  gap: 0.5rem;
}

.view-btn {
  padding: 0.75rem;
  border: 2px solid #e9ecef;
  background: var(--white);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-color);
}

.view-btn:hover,
.view-btn.active {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: var(--white);
}

/* Advanced Search */
.advanced-search {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
}

.search-filters {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.clear-btn {
  padding: 0.75rem 1.5rem;
  background: #6c757d;
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.clear-btn:hover {
  background: #5a6268;
  transform: translateY(-2px);
}

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

.filter-btn {
  padding: 0.8rem 1.5rem;
  border: 1px solid rgba(245, 196, 107, 0.3);
  border-radius: 50px;
  background: var(--white);
  color: var(--dark-color);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background: rgba(245, 196, 107, 0.2);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 5px 20px rgba(192, 57, 43, 0.3);
}

/* Portfolio Section */
.portfolio-section {
  padding: 4rem 0;
}

/* Comparison Bar */
.comparison-bar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 50px;
  box-shadow: var(--shadow-hover);
  z-index: 1000;
  animation: slideUp 0.3s ease;
}

.comparison-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.comparison-actions {
  display: flex;
  gap: 0.5rem;
}

.compare-btn, .clear-compare-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.compare-btn {
  background: var(--white);
  color: var(--primary-color);
}

.compare-btn:disabled {
  background: #ccc;
  color: #666;
  cursor: not-allowed;
}

.clear-compare-btn {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.compare-btn:hover:not(:disabled) {
  transform: translateY(-2px);
}

.clear-compare-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

@keyframes slideUp {
  from {
    transform: translateX(-50%) translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

/* Masonry Layout */
.portfolio-grid.masonry {
  column-count: 3;
  column-gap: 2rem;
  column-fill: balance;
}

.portfolio-grid.masonry .portfolio-card {
  break-inside: avoid;
  margin-bottom: 2rem;
  display: inline-block;
  width: 100%;
}

/* List Layout */
.portfolio-grid.list {
  grid-template-columns: 1fr;
  gap: 1rem;
}

.portfolio-grid.list .portfolio-card {
  display: flex;
  flex-direction: row;
  max-width: none;
}

.portfolio-grid.list .card-image-container {
  width: 200px;
  height: 150px;
  flex-shrink: 0;
}

.portfolio-grid.list .card-content {
  flex: 1;
  padding: 1rem;
}

/* Load More */
.load-more-container {
  text-align: center;
  padding: 2rem 0;
}

.load-more-btn {
  padding: 1rem 2rem;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto;
}

.load-more-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid var(--white);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Portfolio Card */
.portfolio-card {
  position: relative;
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.portfolio-card.selected {
  border: 3px solid var(--primary-color);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.2);
}

.portfolio-card .compare-checkbox {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 20px;
  height: 20px;
  background: var(--white);
  border: 2px solid var(--primary-color);
  border-radius: 4px;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.portfolio-card .compare-checkbox.checked {
  background: var(--primary-color);
}

.portfolio-card .compare-checkbox.checked::after {
  content: '✓';
  color: var(--white);
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
}
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
  cursor: pointer;
  transform: translateY(0);
  animation: fadeInUp 0.8s ease both;
}

.portfolio-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.card-image-container {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.portfolio-card:hover .card-image {
  transform: scale(1.1);
}

/* Card Overlay */
.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.portfolio-card:hover .card-overlay {
  opacity: 1;
}

.overlay-content {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 1rem;
  width: 100%;
  transform: translateY(20px);
  transition: transform 0.5s ease;
}

.portfolio-card:hover .overlay-content {
  transform: translateY(0);
}

.overlay-artist {
  color: var(--dark-color);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.overlay-details {
  color: var(--text-color);
  font-size: 0.8rem;
}

/* Card Badges */
.category-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--accent-color), #ffd700);
  color: var(--dark-color);
  font-size: 0.75rem;
  font-weight: bold;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.heart-icon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s ease;
}

.portfolio-card:hover .heart-icon {
  opacity: 1;
}

.heart-icon:hover {
  background: var(--white);
  transform: scale(1.1);
}

/* Card Content */
.card-content {
  padding: 1.5rem;
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--dark-color);
  margin-bottom: 0.8rem;
  transition: color 0.3s ease;
}

.portfolio-card:hover .card-title {
  color: var(--primary-color);
}

.card-description {
  color: var(--dark-color);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* No Results */
.no-results {
  text-align: center;
  padding: 4rem 0;
}

.no-results-emoji {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.no-results h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.no-results p {
  color: var(--dark-color);
  opacity: 0.7;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: scaleIn 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--white);
  transform: scale(1.1);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* Modal Image Section */
.modal-image-section {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.modal-image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
}

.nav-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

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

.image-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.indicator.active,
.indicator:hover {
  background: var(--white);
  transform: scale(1.2);
}

/* Modal Details */
.modal-details {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 600px;
  overflow-y: auto;
}

.modal-category {
  background: linear-gradient(135deg, var(--accent-color), #ffd700);
  color: var(--dark-color);
  font-size: 0.9rem;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  display: inline-block;
  width: fit-content;
  margin-bottom: 1rem;
}

.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: bold;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.modal-description {
  color: var(--dark-color);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.details-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--light-color);
  border-radius: 10px;
}

.detail-label {
  font-weight: 600;
  color: var(--dark-color);
}

.detail-value {
  font-weight: 500;
}

.detail-value.artist {
  color: var(--primary-color);
}

.detail-value.duration {
  color: var(--secondary-color);
}

.detail-value.price {
  color: var(--accent-color);
  font-weight: bold;
}

.book-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  border: none;
  padding: 1rem;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: auto;
}

.book-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(192, 57, 43, 0.3);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    padding: 1rem;
  }
  
  .hero-section {
    padding: 100px 0 60px;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .portfolio-grid.masonry {
    column-count: 2;
  }
  
  .modal-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-image-section {
    height: 400px;
  }
  
  .modal-details {
    height: auto;
    max-height: 400px;
  }
  
  .filter-buttons {
    gap: 0.5rem;
  }
  
  .filter-btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}

/* Portfolio FAQ Section */
.portfolio-faq-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(245, 196, 107, 0.05), rgba(142, 68, 173, 0.05));
}

.portfolio-faq-section h2 {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--dark-color);
  margin-bottom: 3rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.faq-item {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.faq-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.faq-item p {
  color: var(--text-color);
  line-height: 1.6;
}

/* Comparison Modal */
.comparison-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 2rem;
}

.comparison-content-modal {
  background: var(--white);
  border-radius: var(--border-radius);
  max-width: 1200px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-hover);
}

.comparison-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
}

.comparison-header h2 {
  margin: 0;
  color: var(--text-color);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 1.5rem;
}

.comparison-item {
  border: 1px solid #eee;
  border-radius: var(--border-radius);
  overflow: hidden;
  background: var(--white);
}

.comparison-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.comparison-item-content {
  padding: 1rem;
}

.comparison-item h3 {
  margin: 0 0 0.5rem 0;
  color: var(--text-color);
}

.comparison-item p {
  margin: 0.25rem 0;
  color: #666;
  font-size: 0.9rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-hover);
  border-left: 4px solid var(--primary-color);
  min-width: 300px;
  animation: slideInRight 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.toast.success {
  border-left-color: #27ae60;
}

.toast.error {
  border-left-color: #e74c3c;
}

.toast.warning {
  border-left-color: #f39c12;
}

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

.toast.success .toast-icon {
  color: #27ae60;
}

.toast.error .toast-icon {
  color: #e74c3c;
}

.toast.warning .toast-icon {
  color: #f39c12;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  margin: 0 0 0.25rem 0;
  color: var(--text-color);
}

.toast-message {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

.toast-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #999;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-close:hover {
  color: var(--text-color);
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Enhanced Social Features */
.heart-icon.liked {
  color: #e74c3c;
  background: var(--white);
}

.heart-icon.liked i {
  animation: heartBeat 0.6s ease;
}

@keyframes heartBeat {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.social-actions {
  position: absolute;
  top: 1rem;
  right: 4rem;
  display: flex;
  gap: 0.5rem;
  opacity: 0;
  transform: translateX(20px);
  transition: var(--transition);
}

.portfolio-card:hover .social-actions {
  opacity: 1;
  transform: translateX(0);
}

.social-btn {
  width: 35px;
  height: 35px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 0.9rem;
}

.social-btn:hover {
  background: var(--white);
  transform: scale(1.1);
}

.social-btn.share:hover {
  background: #1877f2;
  color: var(--white);
}

.social-btn.bookmark:hover {
  background: var(--accent-color);
  color: var(--white);
}

/* Card Stats */
.card-stats {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #eee;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: #666;
}

.stat-item i {
  color: var(--primary-color);
}

/* Enhanced Card Hover Effects */
.portfolio-card:hover .card-overlay {
  opacity: 1;
}

.portfolio-card:hover .category-badge {
  transform: translateY(0);
}

.portfolio-card:hover .heart-icon {
  opacity: 1;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .filter-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .search-filters {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .comparison-content {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  
  .comparison-actions {
    justify-content: center;
  }
  
  .portfolio-grid.masonry {
    column-count: 1;
  }
  
  .social-actions {
    right: 1rem;
    opacity: 1;
    transform: translateX(0);
  }
  
  .heart-icon {
    opacity: 1;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .search-container {
    margin: 0 1rem;
  }
  
  .modal-overlay {
    padding: 1rem;
  }
  
  .modal-details {
    padding: 1.5rem;
  }
  
  .modal-title {
    font-size: 1.5rem;
  }
}