/* ===============================================
   TI RINGS - Consolidated Styles
   =============================================== */

/* CSS Custom Properties */
:root {
  /* Color Variables */
  --primary-bg: #f8f9fa;
  --secondary-bg: #ffffff;

  --accent-blue: #007bff;
  --accent-blue-darker: #0056b3;
  --accent-blue-rgb: 0, 123, 255; /* RGB values for accent-color */

  --accent-gold: #d4af37;
  --accent-gold-darker: #a88c2c; /* Darker shade for hover states */
  --accent-gold-rgb: 212, 175, 55; /* RGB values for accent-gold */

  --accent-silver: #c0c0c0;

  --accent-color: var(--accent-gold);
  --accent-color-rgb: 0, 123, 255; /* RGB values for accent-color */
  --accent-color-darker: var(--accent-gold-darker); /* Darker shade for hover states */

  --text-primary: #1a1a1a;
  --text-secondary: #6c757d;
  --text-muted: #868e96;
  --border-color: #dee2e6;
  --error-color: #dc3545;
  --card-bg: rgba(248, 249, 250, 0.8);
  --button-primary: var(--accent-color);
  --button-secondary: transparent;
  --button-border: var(--accent-color);

  /* Layout Variables */
  --header-height: 80px;
}

/* ===============================================
   BASE STYLES & UTILITIES
   =============================================== */

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

html,
body {
   margin: 0;
   width: 100%;
   min-height: 100vh;
   font-family: 'Inter', sans-serif;
   background: var(--primary-bg);
   color: var(--text-primary);
   line-height: 1.6;
}

/* Cookie Consent Banner Adjustments */
body.cookie-banner-visible {
   padding-bottom: 120px; /* Add space for the banner */
   transition: padding-bottom 0.3s ease;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-blue-darker);
  text-decoration: underline;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===============================================
   TYPOGRAPHY
   =============================================== */

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  padding-bottom: 10px;
}

.product-name {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem; /* Slightly larger */
  font-weight: 700; /* Bolder */
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.product-price {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--accent-gold);
  margin-bottom: 0;
}

.price-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.price-banner {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d4a6f 100%);
  color: white;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  margin: 1rem 0 1.5rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border: 4px solid transparent;
  background-image:
    linear-gradient(135deg, #1e3a5f 0%, #2d4a6f 100%),
    linear-gradient(135deg, #6b6b6b 0%, #a8a8a8 25%, #d4d4d4 50%, #a8a8a8 75%, #6b6b6b 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  position: relative;
  overflow: hidden;
}

.price-banner[data-emoji]::before {
  content: attr(data-emoji);
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  opacity: 0.15;
}

.price-banner[data-emoji=""]::before {
  display: none;
}

.price-banner-title {
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.4rem;
  color: var(--accent-gold);
}

.price-banner-copy {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  max-width: 85%;
}

/* Site Banner */
.site-banner {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d4a6f 100%);
  color: white;
  padding: 1rem 0;
  text-align: center;
  background-image:
    linear-gradient(135deg, #1e3a5f 0%, #2d4a6f 100%),
    linear-gradient(135deg, #6b6b6b 0%, #a8a8a8 25%, #d4d4d4 50%, #a8a8a8 75%, #6b6b6b 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  margin-top: var(--header-height);
}

.site-banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.site-banner-title {
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-gold);
}

.site-banner-copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
}

.price-current {
  font-size: 1.25rem; /* Slightly larger */
  font-weight: 700; /* Bolder */
  color: var(--accent-color);
}

.price-was {
  font-size: 1.05rem; /* Slightly larger for better readability */
  font-weight: 400;
  color: var(--text-muted); /* Changed to muted for better distinction from current price */
  text-decoration: line-through;
  opacity: 0.8; /* Slightly less opaque */
}

.product-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

/* ===============================================
   LAYOUT STYLES
   =============================================== */

.product-page {
  min-height: 100vh;
  background: var(--primary-bg);
  padding: 120px 0 4rem;
}

.breadcrumb {
  margin-bottom: 2rem;
  align-items: start;
}

.breadcrumb-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.breadcrumb-link:hover {
  color: var(--accent-color); /* Keep hover color consistent with new accent */
}

.product-content {
  display: flex;
  flex-direction: row;
  gap: 4rem;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.product-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.product-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 2rem;
}

/* ===============================================
   COLLECTION SECTION (Index Page)
   =============================================== */

.collection-section {
  padding: 8rem 0;
  background: var(--primary-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-color);
  box-shadow: 0 20px 40px rgba(var(--accent-color-rgb), 0.15); /* Adjust shadow color */
}

.product-image-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

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

.product-card:hover .product-image {
  transform: scale(1.05);
}

.sold-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #dc3545;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.limited-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #fd7e14;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.product-info {
  padding: 1.5rem;
  position: relative;
  padding-bottom:2.7rem;
}

.product-hover-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(248, 249, 250, 0.95));
  padding: 2rem 1.5rem 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  transform: translateY(20px);
  text-align: right;
}

.product-card:hover .product-hover-overlay {
  opacity: 1;
  transform: translateY(0);
}

.view-details {
  color: var(--accent-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

/* ===============================================
   ABOUT SECTION (Index Page)
   =============================================== */

.about-section {
  padding: 5rem 0;
  background: var(--secondary-bg);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.about-feature {
  text-align: center;
  padding: 1.5rem;
  background: rgba(248, 249, 250, 0.8);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.about-feature:hover {
  border-color: var(--accent-color);
  background: rgba(0, 123, 255, 0.1); /* Adjust background color */
}

.about-feature .feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-feature h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.about-feature p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.about-image {
  position: relative;
}

.image-placeholder {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-silver)); /* Adjust gradient */
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  padding: 2rem;
}

/* ===============================================
   PRODUCT GALLERY (Product Page)
   =============================================== */

.product-gallery {
  position: sticky;
  top: 140px;
  width: 100%;
  max-width: 100%;
}

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

.main-image-container {
  position: relative;
  background: var(--secondary-bg);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.main-image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s ease;
  aspect-ratio: 1;
  object-fit: cover;
}

.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(248, 249, 250, 0.9);
  color: #1a1a1a;
  border: 2px solid var(--border-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  font-weight: bold;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-button:hover {
  background: var(--accent-color);
  color: #fff; /* Changed to white for better contrast on blue */
  border-color: var(--accent-color);
  transform: translateY(-50%) scale(1.1);
}

.nav-button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: translateY(-50%);
  background: rgba(248, 249, 250, 0.5);
  color: var(--text-muted);
}

.nav-button.prev {
  left: 1rem;
}

.nav-button.next {
  right: 1rem;
}

.thumbnail-strip {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-gold) var(--secondary-bg);
}

.thumbnail-strip::-webkit-scrollbar {
  height: 4px;
}

.thumbnail-strip::-webkit-scrollbar-track {
  background: var(--secondary-bg);
  border-radius: 2px;
}

.thumbnail-strip::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 2px;
}

.thumbnail-strip::-webkit-scrollbar-thumb:hover {
  background: #0056b3; /* Darker blue for hover */
}

.thumbnail-btn {
  flex: 0 0 80px;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.thumbnail-btn:hover {
  opacity: 1;
  border-color: var(--accent-color);
}

.thumbnail-btn.active {
  opacity: 1;
  border-color: var(--accent-color);
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.3); /* Adjust shadow color */
}

.thumbnail-btn img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  display: block;
}

/* ===============================================
   PRODUCT DETAILS (Product Page)
   =============================================== */

.status-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.status-badge.available {
  background: var(--success-color);
  color: white;
}

.status-badge.sold {
  background: var(--error-color);
  color: white;
}

.status-badge.limited {
  background: #fd7e14;
  color: white;
}

.product-description h2,
.product-features h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.product-description p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1.1rem;
  padding-bottom: 10px;
}

.product-header .price-note {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1.1rem;
}

.product-info .price-note {
  font-size: 0.8rem;
}

.product-card:hover .price-note {
  color: var(--text-secondary); /* Keep the default text color on hover */
}

.features-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.features-list li {
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.5rem;
}

.features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

/* ===============================================
   PURCHASE SECTION (Product Page)
   =============================================== */

.purchase-section {
  background: var(--secondary-bg);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-methods {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  font-size: 1.5rem;
  width: 40px;
  text-align: center;
}

.contact-details strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.25rem;
}

.contact-details p {
  color: var(--text-secondary);
  margin: 0;
}

.cta-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.cta-button {
  display: block;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button.primary {
  background: var(--accent-color);
  color: #fff; /* Changed to white for better contrast on blue */
  border: 2px solid var(--accent-color);
}

.cta-button.primary:hover {
  background: var(--accent-color-darker); /* Darker blue for hover */
  border-color: var(--accent-color-darker);
  transform: translateY(-2px);
}

.cta-button.secondary {
  background: var(--secondary-bg); /* Use a light background for better contrast */
  color: var(--text-primary); /* Darker text for readability */
  border: 2px solid var(--border-color); /* Subtle border */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* Add a subtle shadow */
}

.cta-button.secondary:hover {
  background: var(--accent-color);
  color: #fff; /* Changed to white for better contrast on blue */
  border-color: var(--accent-color); /* Match border to background on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2); /* Enhanced shadow on hover */
}

/* ===============================================
   HEADER & NAVIGATION STYLES
   =============================================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  box-sizing: border-box;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
  width: 100%;
  box-sizing: border-box;
}

.logo h1 {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 2px;
}

.logo a {
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links a:hover {
  color: var(--accent-color);
}

/* ===============================================
   FOOTER STYLES
   =============================================== */

footer {
  background: var(--secondary-bg);
  border-top: 1px solid var(--border-color);
  margin-top: auto;
  color: var(--text-primary);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  font-family: 'Cinzel', serif;
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.footer-section h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-section p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.address {
  margin-left: 1.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 1.5rem 2rem;
  text-align: center;
  background: var(--secondary-bg);
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */

/* Tablet Styles */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .collection-section,
  .about-section {
    padding: 8rem 0;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .product-page {
    padding: 120px 0 2rem;
  }

  .product-content {
    flex-direction: column;
    gap: 2rem;
  }

  .product-gallery {
    position: static;
  }

  .cta-section {
    grid-template-columns: 1fr;
  }

  .contact-methods {
    gap: 1rem;
  }

  /* Tablet-specific improvements */
  .product-description h2,
  .product-features h3 {
    font-size: 1.4rem;
  }

  .contact-info h3 {
    font-size: 1.4rem;
  }

  .cta-button {
    padding: 0.9rem 1.75rem;
    font-size: 0.95rem;
  }

  /* Mobile Header Styles */
  :root {
    --header-height: auto;
  }

  nav {
    padding: 0 1rem;
    flex-direction: column;
    height: auto;
    padding: 1rem;
  }

  .site-banner {
    margin-top: 0;
    padding-top: 130px; /* Add padding to push banner below mobile header */
  }

  .nav-links {
    margin-top: 1rem;
    gap: 1.5rem;
  }

  .logo h1 {
    font-size: 1.5rem;
  }

  .footer-content {
    padding: 2rem 1rem;
    grid-template-columns: 1fr;
  }
}

/* Mobile Styles */
@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .section-title,
  .product-title {
    font-size: 1.75rem;
    line-height: 1.3;
    letter-spacing: 0.5px;
  }

  .section-subtitle {
    font-size: 1rem;
    line-height: 1.5;
  }

  .product-name {
    font-size: 1.1rem;
  }

  .product-price {
    font-size: 1rem;
  }

  .purchase-section {
    padding: 1.5rem;
  }

  /* Enhanced mobile typography for product pages */
  .product-description p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .product-description h2,
  .product-features h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }

  .contact-info h3 {
    font-size: 1.25rem;
  }

  .contact-info > p {
    font-size: 0.95rem;
  }

  /* Better mobile button sizing */
  .cta-button {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
  }

  /* Improved mobile gallery */
  .nav-button {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .thumbnail-btn {
    flex: 0 0 70px;
  }

  .thumbnail-btn img {
    height: 70px;
  }

  /* Better mobile spacing */
  .product-content {
    gap: 1.5rem;
    flex-direction: column;
  }

  .product-details {
    gap: 1.5rem;
  }

  .product-header {
    padding-bottom: 1.5rem;
  }

  /* Mobile-optimized contact methods */
  .contact-method {
    gap: 0.75rem;
  }

  .contact-icon {
    font-size: 1.25rem;
    width: 35px;
  }

  .contact-details p {
    font-size: 0.9rem;
  }

  /* Better mobile features list */
  .features-list {
    gap: 0.5rem;
  }

  .features-list li {
    font-size: 0.95rem;
    padding-left: 1.25rem;
  }

  .features-list li::before {
    font-size: 0.9rem;
  }
}

/* Extra Small Mobile Styles */
@media (max-width: 360px) {
  .container {
    padding: 0 0.75rem;
  }

  .product-title {
    font-size: 1.5rem;
  }

  .purchase-section {
    padding: 1.25rem;
  }

  .cta-button {
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
  }

  .nav-button {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .thumbnail-btn {
    flex: 0 0 60px;
  }

  .thumbnail-btn img {
    height: 60px;
  }

  /* Better touch targets for mobile */
  .thumbnail-btn,
  .nav-button {
    min-width: 44px;
    min-height: 44px;
  }

  .cta-button {
    min-height: 44px;
  }
}
/* ===============================================
   WELCOME COMPONENT STYLES
   =============================================== */

#background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  filter: blur(100px);
  opacity: 0.1;
}

#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 2rem 4rem;
  position: relative;
}

.hero-content {
  max-width: 1200px;
  width: 100%;
  text-align: center;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
}

.hero-text {
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.8rem, 5.5vw, 4.5rem); /* Slightly larger */
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  line-height: 1.1; /* Tighter line height */
  letter-spacing: 2px;
}

.gold-text {
  color: var(--accent-color); /* Changed to blue for emphasis */
  font-weight: 700; /* Made bolder */
}

/* Removed the ::after pseudo-element for the underline */

.secondary-title {
  color: inherit;
  position: relative;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.primary-button,
.secondary-button {
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  min-width: 160px;
  text-align: center;
}

.primary-button {
  background: var(--button-primary);
  color: #fff; /* Changed to white for better contrast on blue */
  border: 2px solid var(--button-primary);
  box-shadow: 0 4px 15px rgba(var(--accent-color-rgb), 0.3); /* Adjust shadow color */
}

.primary-button:hover {
  background: var(--accent-color-darker);
  border-color: var(--accent-color-darker);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--accent-color-rgb), 0.4); /* Enhanced shadow on hover */
}

.secondary-button {
  background: var(--secondary-bg); /* Use a light background for better contrast */
  color: var(--text-primary); /* Darker text for readability */
  border: 2px solid var(--border-color); /* Subtle border */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* Add a subtle shadow */
}

.secondary-button:hover {
  background: var(--accent-gold);
  color: #fff;
  border-color: var(--accent-gold); /* Match border to background on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2); /* Enhanced shadow on hover */
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(var(--accent-color-rgb), 0.2); /* Adjust border color */
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  background: rgba(0, 123, 255, 0.1); /* Adjust background color */
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.feature-text {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  #hero {
    padding: 100px 1rem 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .primary-button,
.secondary-button {
    width: 100%;
    max-width: 300px;
  }

  .hero-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature {
    flex-direction: row;
    text-align: left;
    padding: 1rem;
  }

  .feature-icon {
    margin-bottom: 0;
    margin-right: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}
/* Image Overlay Text Styles */
.image-overlay-text {
  position: absolute;
  bottom: 10px; /* Aligned to the bottom */
  left: 50%;
  transform: translateX(-50%); /* Center horizontally only */
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px; /* Smaller padding */
  border-radius: 5px; /* Smaller border-radius */
  font-size: 1em; /* Smaller font size */
  font-weight: bold;
  text-align: center;
  display: none;
  z-index: 10;
  white-space: nowrap;
  pointer-events: none;
}
