body {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  font-family: 'Segoe UI', Arial, sans-serif;
}

.navbar {
  background: linear-gradient(90deg, #1a237e 60%, #ff7043 100%) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 1.5rem;
}

/* Comparison Header */
.comparison-header {
  padding: 3rem 0;
}

.comparison-header h2 {
  color: #1a237e;
  margin-bottom: 1rem;
}

/* Comparison Table */
.comparison-table-wrapper {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(26,35,126,0.08);
  padding: 1.5rem;
  margin-bottom: 3rem;
}

.comparison-table {
  margin-bottom: 0;
}

.comparison-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #1a237e;
  border-bottom: 2px solid #e9ecef;
}

.comparison-table td {
  vertical-align: middle;
  padding: 1rem;
}

.table-product-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 0.5rem;
}

/* Product Cards */
.product-card {
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(26,35,126,0.08);
  transition: all 0.3s ease;
  background: #fff;
  border: 1px solid #e9ecef;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(26,35,126,0.12);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #ff7043;
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 1;
}

.product-image-wrapper {
  position: relative;
  padding: 1rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 0.75rem;
  overflow: hidden;
}

.product-img {
  max-height: 200px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a237e;
  margin-bottom: 1rem;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feature-tag {
  background: #e9ecef;
  color: #495057;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.875rem;
}

.product-specs {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-specs li {
  margin-bottom: 0.5rem;
  color: #495057;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rating {
  color: #ff7043;
  font-size: 1.1rem;
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(90deg, #1a237e 60%, #ff7043 100%);
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(90deg, #ff7043 60%, #1a237e 100%);
  transform: translateY(-2px);
}

.btn-outline-primary {
  border: 2px solid #1a237e;
  color: #1a237e;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: #1a237e;
  color: #fff;
  transform: translateY(-2px);
}

/* Modal Styles */
.modal-content {
  border-radius: 1rem;
  border: none;
  box-shadow: 0 10px 40px rgba(26,35,126,0.15);
}

.modal-header {
  background: linear-gradient(90deg, #1a237e 60%, #ff7043 100%);
  color: #fff;
  border-radius: 1rem 1rem 0 0;
  padding: 1.5rem;
}

.modal-title {
  color: #fff;
  font-weight: 600;
}

.modal-body {
  padding: 2rem;
}

/* Comparison Cards */
.comparison-cards-wrapper {
    padding: 1rem 0;
}

.comparison-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(26,35,126,0.08);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(26,35,126,0.12);
}

.comparison-card-header {
    padding: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #e9ecef;
    flex-shrink: 0;
}

.product-image {
    width: 100%;
    height: 250px;
    margin: 0 auto 1.5rem;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(26,35,126,0.06);
    transition: transform 0.3s ease;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.comparison-card:hover .product-image {
    transform: scale(1.05);
}

.comparison-card:hover .product-image img {
    transform: scale(1.1);
}

.product-name {
    color: #1a237e;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.stars {
    color: #ff7043;
    font-size: 1.1rem;
}

.review-count {
    color: #6c757d;
    font-size: 0.875rem;
}

.comparison-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Quick Features */
.quick-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.feature-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.feature-item i {
    color: #1a237e;
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.feature-info {
    display: flex;
    flex-direction: column;
}

.feature-label {
    font-size: 0.75rem;
    color: #6c757d;
}

.feature-value {
    font-size: 0.9rem;
    color: #1a237e;
    font-weight: 600;
}

/* Specifications Grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.spec-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.spec-item i {
    color: #1a237e;
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.spec-info {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 0.75rem;
    color: #6c757d;
}

.spec-value {
    font-size: 0.9rem;
    color: #1a237e;
    font-weight: 600;
}

/* Section Titles */
.section-title {
    color: #1a237e;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

/* Camera Features */
.camera-features {
    margin-top: 0.5rem;
}

.camera-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.camera-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.camera-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.camera-item i {
    color: #1a237e;
    font-size: 1.25rem;
}

.camera-item span {
    font-size: 0.85rem;
    color: #495057;
    text-align: center;
}

/* Package Contents */
.package-contents {
    margin-top: 0.5rem;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.package-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.package-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.package-item i {
    color: #1a237e;
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.package-item span {
    font-size: 0.85rem;
    color: #495057;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .quick-features,
    .specs-grid,
    .camera-grid,
    .package-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-item,
    .spec-item,
    .camera-item,
    .package-item {
        padding: 0.5rem;
    }

    .feature-item i,
    .spec-item i,
    .camera-item i,
    .package-item i {
        font-size: 1.1rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .product-image {
        height: 220px;
    }
}

@media (max-width: 767px) {
  .comparison-table-wrapper {
    padding: 1rem;
  }
  
  .product-img {
    max-height: 150px;
  }
  
  .product-badge {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
  }
  
  .feature-tag {
    font-size: 0.75rem;
  }
} 