/* ===== POTTERY MARKETPLACE TEMPLATE - MAIN STYLES ===== */
/* Bootstrap 5 Integration - NO OVERRIDES ALLOWED */

:root {
  /* Color Palette - 5 primary colors + shades for pottery marketplace */
  --primary-terracotta: #e28628;
  --primary-cream: #f9ffd7;
  --primary-sage: #9dab91;
  --primary-clay: #834906;
  --primary-stone: #67788e;
  
  /* Light shades */
  --light-terracotta: #d49a56;
  --light-cream: #fafaf7;
  --light-sage: #cdd5b7;
  --light-clay: #a64830;
  --light-stone: #9fbac9;
  
  /* Dark shades */
  --dark-terracotta: #ac4e2d;
  --dark-cream: #cfd4b1;
  --dark-sage: #7d886c;
  --dark-clay: #634a1f;
  --dark-stone: #506569;
  
  /* Typography */
  --font-family-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-size-base: 16px;
  --font-size-small: 14px;
  --line-height-base: 1.6;
  
  /* Conservative font sizes */
  --font-size-h1: 2rem;
  --font-size-h2: 1.75rem;
  --font-size-h3: 1.5rem;
  --font-size-h4: 1.25rem;
  --font-size-navbar-brand: 1.25rem;
  
  /* Spacing */
  --section-padding: 4rem 0;
  --container-max-width: 1200px;
}

/* ===== GLOBAL STYLES ===== */
body {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--dark-clay);
  background-color: var(--light-cream);
}

/* Conservative typography */
h1 {
  font-size: var(--font-size-h1);
  color: var(--primary-clay);
  font-weight: 600;
  margin-bottom: 1rem;
}

h2 {
  font-size: var(--font-size-h2);
  color: var(--primary-clay);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: var(--font-size-h3);
  color: var(--dark-terracotta);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

h4 {
  font-size: var(--font-size-h4);
  color: var(--dark-terracotta);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

p {
  color: var(--dark-stone);
  margin-bottom: 1rem;
}

/* Conservative navbar brand */
.navbar-brand {
  font-size: var(--font-size-navbar-brand);
  font-weight: 600;
  color: var(--primary-clay);
}

/* ===== HEADER STYLES ===== */
.header {
  background-color: var(--primary-cream);
  border-bottom: 1px solid var(--light-sage);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-nav .nav-link {
  color: var(--dark-clay);
  font-weight: 500;
  padding: 0.75rem 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-terracotta);
}

/* ===== SECTION STYLES ===== */
.section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  color: var(--primary-sage);
  text-align: center;
  margin-bottom: 1rem;
}

.section-description {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--dark-stone);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--light-cream) 0%, var(--primary-cream) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 40%;
  height: 200%;
  background: var(--light-sage);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 125px;
}

.hero-title {
  font-size: var(--font-size-h1);
  color: var(--primary-clay);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--primary-terracotta);
  margin-bottom: 1rem;
}

.hero-description {
  font-size: var(--font-size-base);
  color: var(--dark-stone);
  margin-bottom: 2rem;
}

/* ===== CARD STYLES ===== */
.card {
  border: 1px solid var(--light-sage);
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: white;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-header {
  background-color: var(--light-cream);
  border-bottom: 1px solid var(--light-sage);
  padding: 1.25rem;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  color: var(--primary-clay);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.card-text {
  color: var(--dark-stone);
  line-height: 1.6;
}

/* ===== SERVICES STYLES ===== */
.service-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--light-sage);
  height: 100%;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

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

.service-features {
  color: var(--primary-sage);
  font-size: var(--font-size-small);
  margin-top: 0.5rem;
}

/* ===== TEAM STYLES ===== */
.team-member {
  text-align: center;
  padding: 1.5rem;
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--light-sage);
}

.team-name {
  font-weight: 600;
  color: var(--primary-clay);
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--primary-sage);
  font-style: italic;
}

/* ===== CONTACT FORM STYLES ===== */
.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--light-sage);
}

.form-control {
  border: 1px solid var(--light-sage);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  font-size: var(--font-size-base);
}

.form-control:focus {
  border-color: var(--primary-terracotta);
  box-shadow: 0 0 0 0.2rem rgba(186, 62, 16, 0.25);
}

.btn-primary {
  background-color: var(--primary-terracotta);
  border-color: var(--primary-terracotta);
  padding: 0.75rem 2rem;
  font-weight: 500;
  border-radius: 4px;
}

.btn-primary:hover {
  background-color: var(--dark-terracotta);
  border-color: var(--dark-terracotta);
}

.contact-info {
  background: var(--light-cream);
  padding: 2rem;
  border-radius: 8px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--dark-clay);
}

.contact-info-item i {
  color: var(--primary-terracotta);
  width: 20px;
  margin-right: 1rem;
}

/* ===== FAQ STYLES ===== */
.faq-card {
  margin-bottom: 1rem;
  border: 1px solid var(--light-sage);
  border-radius: 8px;
}

.faq-question {
  background: var(--light-cream);
  padding: 1.25rem;
  font-weight: 600;
  color: var(--primary-clay);
  margin: 0;
  border-radius: 8px 8px 0 0;
}

.faq-answer {
  padding: 1.25rem;
  color: var(--dark-stone);
  background: white;
  margin: 0;
  border-radius: 0 0 8px 8px;
}

/* ===== GALLERY STYLES ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  padding: 2rem 0;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

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

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

/* ===== FOOTER STYLES ===== */
.footer {
  background-color: var(--primary-clay);
  color: white;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--light-cream);
  margin-bottom: 1rem;
}

.footer p, .footer a {
  color: var(--light-cream);
  text-decoration: none;
}

.footer a:hover {
  color: white;
  text-decoration: underline;
}

.footer-copyright {
  background-color: var(--dark-clay);
  padding: 1rem 0;
  text-align: center;
  margin-top: 2rem;
}

/* ===== BREADCRUMB STYLES ===== */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
}

.breadcrumb-item img {
  height: 20px;
  width: auto;
}

/* ===== UTILITY CLASSES ===== */
.text-pottery-primary {
  color: var(--primary-terracotta);
}

.text-pottery-secondary {
  color: var(--primary-sage);
}

.bg-pottery-light {
  background-color: var(--light-cream);
}

.bg-pottery-accent {
  background-color: var(--light-sage);
}

/* ===== ACCESSIBILITY & PERFORMANCE ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-terracotta);
  outline-offset: 2px;
}

/* Image loading optimization */
img {
  max-width: 100%;
  height: auto;
  display: block; /* Ensure block display */
}

.img-lazy {
  opacity: 1; /* Make images visible by default */
  transition: opacity 0.3s;
}

.img-lazy.loaded {
  opacity: 1;
} 


/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.instagram-link {
    background: linear-gradient(45deg, #e4405f, #f77737, #fcaf45, #ffdc80);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
