/* ==========================================================================
   SOUTHGATE JEWELERS - TIMEPIECE CRAFTSMANSHIP STYLES
   A clean, professional, and trustworthy modern style for clock shops
   ========================================================================== */

/* Global Typography and Color Reset */
* {
  box-sizing: border-box;
}

/* Force strong/b tags to inherit color from parent to prevent visibility issues */
[class*="text-"] strong,
[class*="text-"] b,
[style*="color"] strong,
[style*="color"] b,
.text-white strong, .text-white b,
.text-light strong, .text-light b {
  color: inherit;
}

/* Professional Color Palette for Clock Workshop */
:root {
  --primary-gold: #d4af37;
  --dark-navy: #1a2332;
  --charcoal: #2d3748;
  --warm-white: #faf9f7;
  --soft-gray: #f7f7f7;
  --accent-bronze: #cd7f32;
  --text-primary: #2d3748;
  --text-light: #718096;
  --text-white: #ffffff;
  --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-strong: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Base Styles */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--warm-white);
  margin: 0;
  padding: 0;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark-navy);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.1rem; }

p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Professional Button Styles */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-gold), var(--accent-bronze));
  color: var(--text-white);
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
  min-width: 160px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  background: linear-gradient(135deg, #e4c552, var(--primary-gold));
}

.btn-secondary {
  background: transparent;
  color: var(--primary-gold);
  padding: 0.875rem 2rem;
  border: 2px solid var(--primary-gold);
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  white-space: nowrap;
  min-width: 160px;
}

.btn-secondary:hover {
  background: var(--primary-gold);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* Header and Navigation */
.header-container {
  background: var(--dark-navy);
  color: var(--text-white);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: var(--shadow-medium);
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-gold);
  text-decoration: none;
  letter-spacing: 0.5px;
}

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

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

.nav-links a {
  color: var(--text-white);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-gold);
  background: rgba(212, 175, 55, 0.1);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section Styles */
.hero-section {
  background: linear-gradient(135deg, var(--dark-navy) 0%, var(--charcoal) 100%);
  color: var(--text-white);
  padding: 8rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Full screen height for hero on index.html only */
body.home .hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="gears" patternUnits="userSpaceOnUse" width="20" height="20"><circle cx="10" cy="10" r="8" fill="none" stroke="rgba(212,175,55,0.05)" stroke-width="0.5"/><circle cx="10" cy="10" r="3" fill="rgba(212,175,55,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23gears)"/></svg>');
  opacity: 0.3;
}

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

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--primary-gold);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Section Styles */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--dark-navy);
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Card Styles */
.service-card {
  background: var(--text-white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid #e2e8f0;
}

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

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-gold), var(--accent-bronze));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--text-white);
  font-size: 1.5rem;
}

.service-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--dark-navy);
}

.service-description {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

/* Team Member Card */
.team-card {
  background: var(--text-white);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--primary-gold);
  object-fit: cover;
}

.team-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--primary-gold);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-bio {
  color: var(--text-light);
  line-height: 1.6;
}

/* Testimonial Card */
.testimonial-card {
  background: var(--soft-gray);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  position: relative;
  border-left: 4px solid var(--primary-gold);
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-author {
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 0.5rem;
}

.testimonial-location {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Form Styles */
.contact-form {
  background: var(--text-white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: var(--shadow-medium);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark-navy);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: var(--warm-white);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Gallery Styles */
.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-medium);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Footer */
.footer-section {
  background: var(--dark-navy);
  color: var(--text-white);
  padding: 3rem 0 1.5rem;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  line-height: 1.6;
}

.footer-section a:hover {
  color: var(--primary-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* Cookie Banner Styles */
.cookie-consent-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  background: var(--dark-navy);
  color: var(--text-white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-strong);
  z-index: 2000;
  border: 1px solid var(--primary-gold);
}

.cookie-banner-content {
  margin-bottom: 1rem;
}

.cookie-banner-content h4 {
  color: var(--primary-gold);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.cookie-banner-content p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.cookie-banner-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-btn-accept,
.cookie-btn-decline {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: var(--primary-gold);
  color: var(--text-white);
}

.cookie-btn-accept:hover {
  background: #e4c552;
  transform: translateY(-1px);
}

.cookie-btn-decline {
  background: transparent;
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-decline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

/* Responsive Design - Mobile First */
@media (max-width: 768px) {
  .main-nav {
    padding: 0 1rem;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark-navy);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: var(--shadow-medium);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .cookie-consent-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  
  .cookie-banner-buttons {
    flex-direction: column;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
}

@media (min-width: 1025px) {
  .hero-title {
    font-size: 4rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
}

/* ==========================================================================
   MISSING COMPONENT STYLES
   ========================================================================== */

/* Container class for consistent width */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* FAQ Component Styles */
.faq-category {
  background: transparent;
  color: var(--text-primary);
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--primary-gold);
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  white-space: nowrap;
}

.faq-category.active {
  background: var(--primary-gold);
  color: var(--text-white);
  border-color: var(--primary-gold);
}

.faq-category:hover {
  background: var(--primary-gold);
  color: var(--text-white);
  border-color: var(--primary-gold);
  transform: translateY(-1px);
}

.faq-category-group {
  margin-bottom: 3rem;
}

.faq-item {
  background: var(--text-white);
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-medium);
}

.faq-question {
  padding: 2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--text-white);
  transition: background-color 0.3s ease;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-question:hover {
  background: var(--soft-gray);
}

.faq-question h4 {
  color: var(--dark-navy);
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--soft-gray);
}

.faq-answer.open {
  max-height: 500px;
}

.faq-answer > div {
  padding: 0 2rem 2rem;
  color: var(--text-light);
  line-height: 1.6;
  font-size: 1rem;
}

.faq-icon {
  color: var(--primary-gold);
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* Gallery Component Styles */
.gallery-filter {
  background: transparent;
  color: var(--text-primary);
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--primary-gold);
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  white-space: nowrap;
}

.gallery-filter.active {
  background: var(--primary-gold);
  color: var(--text-white);
  border-color: var(--primary-gold);
}

.gallery-filter:hover {
  background: var(--primary-gold);
  color: var(--text-white);
  border-color: var(--primary-gold);
  transform: translateY(-1px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  position: relative;
}

.gallery-item:hover {
  transform: scale(1.02) translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(26, 35, 50, 0.9) 0%, transparent 70%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-info h3 {
  color: var(--text-white);
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
}

.gallery-info p {
  color: var(--text-white);
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Gallery Filter Animation */
.gallery-item.hidden {
  display: none;
}

.gallery-item.show {
  animation: fadeInUp 0.5s ease;
}

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

/* Mobile Responsive for New Components */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .faq-question {
    padding: 1.5rem;
  }
  
  .faq-question h4 {
    font-size: 1.1rem;
  }
  
  .faq-answer > div {
    padding: 0 1.5rem 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .faq-category,
  .gallery-filter {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }
}