/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

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

.logo {
  font-size: 2rem;
  font-weight: 700;
  color: #d4af37;
  letter-spacing: 2px;
  text-decoration: none;
}

.nav-menu { display: flex; list-style: none; gap: 40px; }

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}
.nav-link:hover,
.nav-link.active { color: #d4af37; }
.nav-link::after {
  content: '';
  position: absolute;
  width: 0; height: 2px; bottom: -5px; left: 0;
  background: #d4af37; transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* Mobile Navigation */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #d4af37;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px;
}
.nav-menu.mobile-active { display: flex; }

/* Containers */
.main-content { min-height: 100vh; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }

/* Shared animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ACCESSIBILITY FIX: Distinguishable links in text blocks
   - Underline inline links in running text
   - Keep nav/button styles unchanged
   - Provide non-color hover/focus indicators
*/
p a, .richtext a, .article a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

/* Keep brand color; ensure contrast to background and surrounding text.
   If adjusting later, verify 4.5:1 vs background and 3:1 vs adjacent text for non-underlined cases. */
p a, .richtext a, .article a { color: #d4af37; }

/* Hover/focus cues: device independent */
p a:hover,
.richtext a:hover,
.article a:hover {
  text-decoration: underline;
  color: #f4e4aa;
}

p a:focus, p a:focus-visible,
.richtext a:focus, .richtext a:focus-visible,
.article a:focus, .article a:focus-visible {
  outline: 2px solid #f4e4aa;
  outline-offset: 2px;
  text-decoration: underline;
}

/* Optional alternative if you ever remove underline:
   Use a non-color cue like a bottom border in text blocks.
   Keep commented until needed.

.article a, .richtext a, p a {
  text-decoration: none;
  border-bottom: 2px solid currentColor;
}
.article a:hover, .article a:focus,
.richtext a:hover, .richtext a:focus,
p a:hover, p a:focus {
  text-decoration: underline;
  outline: 2px solid #f4e4aa;
  outline-offset: 2px;
}
*/

/* ============================= */
/* Contact Page                  */
/* ============================= */

.main-content.contact { padding-top: 120px; }

.page-header {
  text-align: center;
  margin-bottom: 80px;
  animation: fadeInUp 1s ease-out;
}
.page-header h1 {
  font-size: 3.5rem; font-weight: 300; color: #ffffff; margin-bottom: 20px; letter-spacing: 2px;
}
.page-header .highlight { color: #d4af37; font-weight: 600; }
.page-header p {
  font-size: 1.2rem; color: #b8b8b8; max-width: 600px; margin: 0 auto;
}

.contact-section {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-bottom: 100px;
  animation: fadeInUp 1s ease-out 0.3s both;
}

/* Contact Info */
.contact-info h2 {
  font-size: 2.2rem; font-weight: 300; color: #ffffff; margin-bottom: 30px;
}
.contact-info p {
  font-size: 1.1rem; color: #b8b8b8; margin-bottom: 40px; line-height: 1.7;
}
.contact-details { display: flex; flex-direction: column; gap: 30px; }

.contact-item {
  background: linear-gradient(145deg, #2a2a2a, #1f1f1f);
  padding: 30px; border-radius: 15px; transition: all 0.3s ease; border: 1px solid #333;
}
.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border-color: #d4af37;
}
.contact-item h3 { font-size: 1.3rem; color: #d4af37; margin-bottom: 10px; font-weight: 600; }
.contact-item p { color: #ffffff; margin: 0; font-size: 1rem; }
.contact-item a {
  color: #ffffff; text-decoration: none; transition: color 0.3s ease;
}
.contact-item a:hover { color: #d4af37; }

/* Contact Form */
.contact-form {
  background: linear-gradient(145deg, #2a2a2a, #1f1f1f);
  padding: 50px; border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid #333;
}
.contact-form h2 { font-size: 2.2rem; font-weight: 300; color: #ffffff; margin-bottom: 15px; }
.contact-form .subtitle { color: #b8b8b8; margin-bottom: 40px; font-size: 1rem; }

.form-group { margin-bottom: 25px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group label {
  display: block; color: #d4af37; font-weight: 500; margin-bottom: 8px; font-size: 0.95rem;
}
.form-control {
  width: 100%; padding: 15px 20px; background: #1a1a1a; border: 2px solid #333;
  border-radius: 10px; color: #ffffff; font-size: 1rem; transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}
.form-control:focus {
  outline: none; border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}
.form-control::placeholder { color: #666; }
textarea.form-control { height: 120px; resize: vertical; }

.submit-btn {
  background: linear-gradient(45deg, #d4af37, #f4e4aa);
  color: #1a1a1a; padding: 18px 40px; border: none; border-radius: 50px;
  font-weight: 600; font-size: 1rem; cursor: pointer; transition: all 0.4s ease;
  text-transform: uppercase; letter-spacing: 1px; width: 100%; margin-top: 10px;
}
.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

/* Map Section */
.map-section { margin-bottom: 100px; text-align: center; animation: fadeInUp 1s ease-out 0.6s both; }
.map-section h2 { font-size: 2.5rem; font-weight: 300; color: #ffffff; margin-bottom: 30px; }
.map-container {
  background: linear-gradient(145deg, #2a2a2a, #1f1f1f);
  padding: 30px; border-radius: 20px; max-width: 1000px; margin: 0 auto;
  border: 1px solid #333; position: relative; overflow: hidden;
}
.map-responsive {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
  border-radius: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.map-responsive iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border: 0; border-radius: 15px; transition: all 0.3s ease;
}
.map-responsive:hover iframe { transform: scale(1.02); }

.map-info { margin-top: 30px; text-align: center; }
.map-info p { color: #b8b8b8; font-size: 1rem; margin-bottom: 15px; }
.directions-btn {
  display: inline-block; padding: 12px 30px; background: rgba(212, 175, 55, 0.1);
  color: #d4af37; text-decoration: none; border-radius: 25px; transition: all 0.3s ease;
  border: 2px solid #d4af37; font-weight: 500;
}
.directions-btn:hover { background: #d4af37; color: #1a1a1a; transform: translateY(-2px); }

/* ============================= */
/* About Page                    */
/* ============================= */

.main-content.about { padding-top: 100px; }

.hero-section {
  text-align: center; padding: 80px 0 120px; animation: fadeInUp 1s ease-out;
}
.hero-content h1 {
  font-size: 4rem; font-weight: 300; margin-bottom: 30px; letter-spacing: 2px;
}
.highlight { color: #d4af37; font-weight: 600; }
.hero-subtitle {
  font-size: 1.3rem; color: #b8b8b8; max-width: 700px; margin: 0 auto; font-weight: 300;
}

.story-section { padding: 100px 0; animation: fadeInUp 1s ease-out 0.2s both; }
.story-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.story-content h2 {
  font-size: 3rem; font-weight: 300; color: #d4af37; margin-bottom: 40px;
}
.large-text { font-size: 1.3rem; color: #ffffff; margin-bottom: 25px; line-height: 1.7; }
.story-content p {
  font-size: 1.1rem; color: #b8b8b8; margin-bottom: 25px; line-height: 1.8;
}
.main-image {
  width: 100%; height: 500px; object-fit: cover; border-radius: 20px; transition: transform 0.3s ease;
}
.main-image:hover { transform: scale(1.05); }

.stats-section {
  padding: 100px 0; background: linear-gradient(145deg, #2a2a2a, #1f1f1f);
  border-radius: 30px; margin: 50px 0; animation: fadeInUp 1s ease-out 0.4s both;
}
.stats-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 60px; text-align: center; }
.stat-item { padding: 40px 20px; }
.stat-number { font-size: 4rem; font-weight: 700; color: #d4af37; margin-bottom: 15px; }
.stat-label { font-size: 1.2rem; color: #b8b8b8; font-weight: 500; }

.values-section { padding: 120px 0; animation: fadeInUp 1s ease-out 0.6s both; }
.section-header { text-align: center; margin-bottom: 80px; }
.section-header h2 { font-size: 3rem; font-weight: 300; color: #ffffff; margin-bottom: 20px; }
.section-header p { font-size: 1.2rem; color: #b8b8b8; }

.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px; }
.value-card {
  background: linear-gradient(145deg, #2a2a2a, #1f1f1f);
  padding: 50px; border-radius: 20px; text-align: center; transition: all 0.4s ease; border: 1px solid #333;
}
.value-card:hover {
  transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); border-color: #d4af37;
}
.value-icon { font-size: 4rem; margin-bottom: 30px; }
.value-card h3 { font-size: 1.5rem; color: #d4af37; margin-bottom: 20px; font-weight: 600; }
.value-card p { color: #b8b8b8; line-height: 1.7; }

.team-section {
  padding: 120px 0; background: linear-gradient(135deg, #1f1f1f 0%, #2d2d2d 100%);
  border-radius: 30px; margin: 50px 0; animation: fadeInUp 1s ease-out 0.8s both;
}
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 60px; }
.team-member {
  display: flex; gap: 30px; background: rgba(26, 26, 26, 0.5);
  padding: 40px; border-radius: 20px; transition: all 0.3s ease;
}
.team-member:hover { transform: translateY(-5px); background: rgba(26, 26, 26, 0.7); }
.member-image { flex-shrink: 0; }
.member-image img {
  width: 120px; height: 120px; border-radius: 15px; object-fit: cover;
}
.member-info h3 { font-size: 1.4rem; color: #d4af37; margin-bottom: 5px; font-weight: 600; }
.member-role { font-size: 1rem; color: #ffffff; margin-bottom: 15px; font-weight: 500; }
.member-bio { color: #b8b8b8; font-size: 0.95rem; line-height: 1.6; }

.process-section { padding: 120px 0; animation: fadeInUp 1s ease-out 1s both; }
.process-timeline { max-width: 800px; margin: 0 auto; }
.timeline-item {
  display: flex; gap: 40px; margin-bottom: 60px; position: relative;
}
.timeline-item::before {
  content: ''; position: absolute; left: 35px; top: 80px; width: 2px;
  height: calc(100% + 20px); background: #333;
}
.timeline-item:last-child::before { display: none; }
.timeline-number {
  flex-shrink: 0; width: 70px; height: 70px;
  background: linear-gradient(45deg, #d4af37, #f4e4aa);
  color: #1a1a1a; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700;
}
.timeline-content h3 { font-size: 1.5rem; color: #d4af37; margin-bottom: 15px; font-weight: 600; }
.timeline-content p { color: #b8b8b8; line-height: 1.7; }

.cta-section.about {
  padding: 100px 0; text-align: center; background: linear-gradient(145deg, #2a2a2a, #1f1f1f);
  border-radius: 30px; margin: 50px 0 100px; animation: fadeInUp 1s ease-out 1.2s both;
}
.cta-content h2 { font-size: 2.5rem; color: #ffffff; margin-bottom: 20px; font-weight: 300; }
.cta-content p { font-size: 1.2rem; color: #b8b8b8; margin-bottom: 40px; }
.cta-buttons { display: flex; gap: 30px; justify-content: center; }
.cta-primary, .cta-secondary {
  padding: 18px 40px; text-decoration: none; border-radius: 50px; font-weight: 600; font-size: 1rem;
  transition: all 0.4s ease; text-transform: uppercase; letter-spacing: 1px;
}
.cta-primary {
  background: linear-gradient(45deg, #d4af37, #f4e4aa); color: #1a1a1a;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}
.cta-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4); }
.cta-secondary { background: transparent; color: #d4af37; border: 2px solid #d4af37; }
.cta-secondary:hover { background: #d4af37; color: #1a1a1a; transform: translateY(-3px); }

/* ============================= */
/* Collections Page              */
/* ============================= */

.main-content.collections { padding-top: 100px; }

.hero-section.collections { padding: 60px 0 80px; }
.hero-content.collections h1 {
  font-size: 3.5rem; font-weight: 300; margin-bottom: 20px; letter-spacing: 2px;
}
.hero-subtitle.collections {
  font-size: 1.2rem; color: #b8b8b8; max-width: 700px; margin: 0 auto; font-weight: 300;
}

.collection-categories {
  text-align: center; margin-bottom: 60px; animation: fadeInUp 1s ease-out 0.2s both;
}
.category-nav { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.category-btn {
  background: transparent; border: 2px solid #333; color: #b8b8b8; padding: 12px 25px;
  border-radius: 25px; font-weight: 500; cursor: pointer; transition: all 0.3s ease; font-size: 1rem;
}
.category-btn:hover, .category-btn.active {
  border-color: #d4af37; color: #d4af37; background: rgba(212, 175, 55, 0.1);
}

.gallery-section {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px; margin-bottom: 100px; animation: fadeInUp 1s ease-out 0.4s both;
}
.collection-item {
  background: linear-gradient(145deg, #2a2a2a, #1f1f1f); border-radius: 20px; overflow: hidden;
  transition: all 0.4s ease; border: 1px solid #333; cursor: pointer; opacity: 1; transform: scale(1);
}
.collection-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); border-color: #d4af37;
}
.collection-item.hidden { opacity: 0; transform: scale(0.8); pointer-events: none; }
.collection-image { position: relative; height: 300px; overflow: hidden; }
.collection-image img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease;
}
.collection-item:hover .collection-image img { transform: scale(1.1); }
.image-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 40px 30px 30px; transform: translateY(20px); opacity: 0; transition: all 0.4s ease;
}
.collection-item:hover .image-overlay { transform: translateY(0); opacity: 1; }
.overlay-content h3 {
  color: #ffffff; font-size: 1.5rem; font-weight: 600; text-align: center; margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Collections CTA */
.cta-section.collections {
  text-align: center; padding: 80px 0 100px; background: linear-gradient(145deg, #2a2a2a, #1f1f1f);
  border-radius: 30px; margin-bottom: 80px; animation: fadeInUp 1s ease-out 0.6s both;
}
.cta-button {
  display: inline-block; background: linear-gradient(45deg, #d4af37, #f4e4aa);
  color: #1a1a1a; text-decoration: none; padding: 18px 40px; border-radius: 50px; font-weight: 600;
  font-size: 1rem; transition: all 0.4s ease; text-transform: uppercase; letter-spacing: 1px;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}
.cta-button:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4); }

/* Animation delays for staggered effect */
.collection-item:nth-child(1) { animation-delay: 0.1s; }
.collection-item:nth-child(2) { animation-delay: 0.2s; }
.collection-item:nth-child(3) { animation-delay: 0.3s; }
.collection-item:nth-child(4) { animation-delay: 0.4s; }
.collection-item:nth-child(5) { animation-delay: 0.5s; }
.collection-item:nth-child(6) { animation-delay: 0.6s; }

/* ============================= */
/* 404 Page                      */
/* ============================= */

.main-content.error { padding-top: 100px; }

.error-section {
  text-align: center; padding: 80px 0 100px; animation: fadeInUp 1s ease-out;
}
.error-content { max-width: 800px; margin: 0 auto; }

/* Animated 404 Number */
.error-number { margin-bottom: 50px; }
.number-animation {
  display: flex; justify-content: center; align-items: center;
  gap: 30px; font-size: 8rem; font-weight: 700; color: #d4af37; letter-spacing: 10px;
}
.digit { animation: bounce 2s infinite; }
.digit:last-child { animation-delay: 0.3s; }

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-20px); }
  60% { transform: translateY(-10px); }
}

/* Rug Icon */
.rug-icon {
  width: 120px; height: 80px; background: linear-gradient(145deg, #2a2a2a, #1f1f1f);
  border-radius: 15px; display: flex; align-items: center; justify-content: center;
  border: 2px solid #d4af37; animation: float 3s ease-in-out infinite; position: relative;
}
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-15px); } }
.rug-pattern { width: 80px; height: 50px; position: relative; }
.pattern-line { width: 100%; height: 2px; background: #d4af37; margin: 8px 0; border-radius: 1px; }
.pattern-diamond {
  width: 20px; height: 20px; background: #d4af37;
  transform: translate(-50%, -50%) rotate(45deg);
  position: absolute; top: 50%; left: 50%; border-radius: 2px;
}

/* Error Text */
.error-message { margin-bottom: 50px; }
.error-message h1 {
  font-size: 3.5rem; font-weight: 300; margin-bottom: 20px; letter-spacing: 2px;
}
.error-description {
  font-size: 1.2rem; color: #b8b8b8; max-width: 600px; margin: 0 auto; line-height: 1.8;
}

/* Search */
.search-section { margin-bottom: 50px; animation: fadeInUp 1s ease-out 0.3s both; }
.search-container {
  max-width: 500px; margin: 0 auto; position: relative;
  background: linear-gradient(145deg, #2a2a2a, #1f1f1f);
  border-radius: 50px; border: 2px solid #333; transition: border-color 0.3s ease;
}
.search-container:focus-within {
  border-color: #d4af37; box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}
.search-input {
  width: calc(100% - 60px); padding: 18px 25px; background: transparent; border: none;
  color: #ffffff; font-size: 1rem; outline: none; font-family: 'Inter', sans-serif;
}
.search-input::placeholder { color: #666; }
.search-btn {
  position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; background: linear-gradient(45deg, #d4af37, #f4e4aa);
  border: none; border-radius: 50%; cursor: pointer; transition: transform 0.3s ease; font-size: 1.2rem;
}
.search-btn:hover { transform: translateY(-50%) scale(1.1); }

/* Quick Actions */
.quick-actions {
  display: flex; justify-content: center; gap: 20px; flex-wrap: wrap;
  margin-bottom: 80px; animation: fadeInUp 1s ease-out 0.6s both;
}
.action-btn {
  padding: 15px 30px; text-decoration: none; border-radius: 50px; font-weight: 600; font-size: 1rem;
  transition: all 0.4s ease; text-transform: uppercase; letter-spacing: 1px;
}
.action-btn.primary {
  background: linear-gradient(45deg, #d4af37, #f4e4aa); color: #1a1a1a;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}
.action-btn.primary:hover {
  transform: translateY(-3px); box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}
.action-btn.secondary {
  background: transparent; color: #d4af37; border: 2px solid #d4af37;
}
.action-btn.secondary:hover {
  background: #d4af37; color: #1a1a1a; transform: translateY(-2px);
}
.action-btn.tertiary {
  background: transparent; color: #b8b8b8; border: 2px solid #555;
}
.action-btn.tertiary:hover {
  border-color: #d4af37; color: #d4af37; transform: translateY(-2px);
}

/* Popular Links */
.popular-links { padding: 80px 0; animation: fadeInUp 1s ease-out 0.9s both; }
.popular-links h2 {
  font-size: 2.5rem; font-weight: 300; color: #ffffff; text-align: center; margin-bottom: 60px;
}
.links-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px;
}
.link-card {
  background: linear-gradient(145deg, #2a2a2a, #1f1f1f); padding: 40px 30px; border-radius: 20px;
  text-align: center; transition: all 0.4s ease; border: 1px solid #333;
}
.link-card:hover {
  transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); border-color: #d4af37;
}
.card-icon { font-size: 3rem; margin-bottom: 20px; }
.link-card h3 { font-size: 1.4rem; color: #d4af37; margin-bottom: 15px; font-weight: 600; }
.link-card p { color: #b8b8b8; margin-bottom: 25px; line-height: 1.6; }
.card-link {
  display: inline-block; background: transparent; color: #d4af37; text-decoration: none;
  padding: 10px 25px; border: 2px solid #d4af37; border-radius: 25px; font-weight: 500; transition: all 0.3s ease;
}
.card-link:hover { background: #d4af37; color: #1a1a1a; }

/* ============================= */
/* Home Page                     */
/* ============================= */

.hero {
  height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
}
.hero-content { max-width: 800px;
     margin: 0 auto;        
  padding: 0 40px; 
    animation: fadeInUp 1.2s ease-out; }
.hero h1 {
  font-size: 4rem; font-weight: 300; margin-bottom: 20px; color: #ffffff; letter-spacing: 3px;
}
.hero .highlight { color: #d4af37; font-weight: 600; }
.hero p { font-size: 1.3rem; margin-bottom: 40px; color: #b8b8b8; font-weight: 300; }

/* Shared CTA button (home + collections) */
.cta-button { /* defined earlier in collections section to reuse */ }

.featured { padding: 120px 0; background: #222222; }
.section-title { text-align: center; margin-bottom: 80px; }
.section-title h2 { font-size: 3rem; font-weight: 300; color: #ffffff; margin-bottom: 15px; }
.section-title p { font-size: 1.1rem; color: #999999; max-width: 600px; margin: 0 auto; }
.featured-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px; margin-top: 60px;
}
.featured-card {
  background: linear-gradient(145deg, #2a2a2a, #1f1f1f); border-radius: 20px; overflow: hidden;
  transition: all 0.4s ease; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  opacity: 0; transform: translateY(50px); animation: cardFadeIn 0.8s ease forwards;
}
@keyframes cardFadeIn { to { opacity: 1; transform: translateY(0); } }
.featured-card:nth-child(2) { animation-delay: 0.2s; }
.featured-card:nth-child(3) { animation-delay: 0.4s; }
.featured-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }
.card-image {
  height: 280px; background: linear-gradient(45deg, #3a3a3a, #2d2d2d); position: relative; overflow: hidden;
}
.card-image::before {
  content: ''; position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1506439773649-6e0eb8cfb237?auto=format&fit=crop&w=800&q=80') center/cover;
  transition: transform 0.4s ease;
}
.featured-card:nth-child(2) .card-image::before {
  background-image: url('https://images.unsplash.com/photo-1555041469-a586c61ea9bc?auto=format&fit=crop&w=800&q=80');
}
.featured-card:nth-child(3) .card-image::before {
  background-image: url('https://images.unsplash.com/photo-1617806118233-18e1de247200?auto=format&fit=crop&w=800&q=80');
}
.featured-card:hover .card-image::before { transform: scale(1.1); }
.card-content { padding: 40px 30px; }
.card-title { font-size: 1.5rem; font-weight: 600; color: #ffffff; margin-bottom: 15px; }
.card-description { color: #b8b8b8; margin-bottom: 25px; line-height: 1.6; }
.card-link { color: #d4af37; text-decoration: none; font-weight: 500; transition: color 0.3s ease; }
.card-link:hover { color: #f4e4aa; }

.about { padding: 120px 0; background: linear-gradient(135deg, #1f1f1f 0%, #2d2d2d 100%); }
.about-content { text-align: center; max-width: 900px; margin: 0 auto; }
.about h2 { font-size: 2.5rem; font-weight: 300; color: #ffffff; margin-bottom: 30px; }
.about p { font-size: 1.2rem; color: #b8b8b8; line-height: 1.8; margin-bottom: 25px; }

/* Footer (shared) */
.footer {
  background: #1a1a1a; padding: 60px 0 30px; text-align: center; border-top: 1px solid #333333;
}
.footer p { color: #888888; font-size: 0.9rem; }
.footer a { color: #d4af37; text-decoration: none; }
.footer a:hover { color: #f4e4aa; }

/* ============================= */
/* Mobile Responsive             */
/* ============================= */

@media (max-width: 768px) {
  .nav-menu { display: none; }

  .nav-container, .container { padding: 0 20px; }

  /* Contact page */
  .page-header h1 { font-size: 2.5rem; }
  .contact-section { grid-template-columns: 1fr; gap: 50px; }
  .contact-form { padding: 30px; }
  .form-row { grid-template-columns: 1fr; gap: 15px; }
  .contact-info h2, .contact-form h2 { font-size: 1.8rem; }
  .map-section h2 { font-size: 2rem; }
  .map-container { padding: 20px; }

  /* About page */
  .hero-content h1 { font-size: 2.5rem; }
  .story-grid, .team-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-container { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .values-grid { grid-template-columns: 1fr; gap: 30px; }
  .value-card { padding: 30px; }
  .team-member { flex-direction: column; text-align: center; padding: 30px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .section-header h2 { font-size: 2.2rem; }

  /* Collections page */
  .category-nav { gap: 15px; }
  .category-btn { padding: 10px 20px; font-size: 0.9rem; }
  .gallery-section { grid-template-columns: 1fr; gap: 25px; }
  .collection-image { height: 250px; }
  .cta-content h2 { font-size: 2rem; }
  .cta-content { padding: 0 20px; }

  /* 404 page */
  .number-animation { font-size: 5rem; gap: 20px; }
  .rug-icon { width: 80px; height: 60px; }
  .rug-pattern { width: 60px; height: 40px; }
  .error-message h1 { font-size: 2.5rem; }
  .quick-actions { flex-direction: column; align-items: center; }
  .action-btn { width: 200px; text-align: center; }

  /* Mobile nav expanded */
  .mobile-nav-toggle { display: block; }
  .nav-menu {
    display: none; position: fixed; top: 80px; left: 0; right: 0;
    background: rgba(26, 26, 26, 0.98); backdrop-filter: blur(10px); flex-direction: column;
    padding: 20px 0; border-top: 1px solid #333; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  }
  .nav-menu.mobile-active { display: flex; }
  .nav-menu li { margin: 0; }
  .nav-link {
    display: block; padding: 15px 40px; font-size: 1.1rem; border-bottom: 1px solid #333; transition: all 0.3s ease;
  }
  .nav-link:hover { background: rgba(212, 175, 55, 0.1); padding-left: 50px; }
  .nav-link::after { display: none; }
}
