/* Family Heirloom Authentication Template - Main CSS */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* === CUSTOM PROPERTIES === */
:root {
  /* Primary Color Palette - 5 Colors */
  --primary-burgundy: #8B1538;
  --primary-gold: #D4AF37;
  --primary-charcoal: #2C3E50;
  --primary-cream: #F8F6F0;
  --primary-sage: #9CAF88;
  
  /* Light Variations */
  --light-burgundy: #A64B66;
  --light-gold: #E6C866;
  --light-charcoal: #4A5A6B;
  --light-cream: #FDFCF8;
  --light-sage: #B8C9A7;
  
  /* Dark Variations */
  --dark-burgundy: #6B0F2A;
  --dark-gold: #B8941F;
  --dark-charcoal: #1A252F;
  --dark-cream: #E8E4DA;
  --dark-sage: #7A8F69;
  
  /* Typography */
  --font-primary: 'Playfair Display', serif;
  --font-secondary: 'Inter', sans-serif;
  
  /* Conservative Sizes */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 1.875rem;
  --fs-4xl: 2.25rem;
  
  /* Spacing */
  --section-padding: 5rem 0;
  --container-padding: 1.5rem;
}

/* === BASE STYLES === */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-secondary);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--primary-charcoal);
  background: var(--primary-cream);
  overflow-x: hidden;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--primary-charcoal);
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
h5 { font-size: var(--fs-base); }
h6 { font-size: var(--fs-sm); }

p {
  margin-bottom: 1rem;
  color: var(--primary-charcoal);
}

.lead {
  font-size: var(--fs-lg);
  font-weight: 400;
}

/* === HEADER & NAVIGATION === */
.navbar {
  background: linear-gradient(135deg, var(--primary-cream) 0%, var(--light-cream) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--light-gold);
  box-shadow: 0 2px 20px rgba(139, 21, 56, 0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-family: var(--font-primary);
  color: var(--primary-burgundy) !important;
}

.navbar-nav .nav-link {
  font-family: var(--font-secondary);
  color: var(--primary-charcoal) !important;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--primary-burgundy) !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-burgundy), var(--primary-gold));
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 80%;
}

/* === HERO SECTION === */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-cream) 0%, var(--light-sage) 50%, var(--primary-burgundy) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-bg.webp') center/cover no-repeat;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-decorative-blob {
  position: absolute;
  width: 300px;
  height: 300px;
  background: linear-gradient(45deg, var(--primary-gold), var(--light-gold));
  border-radius: 50% 30% 60% 40%;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.hero-decorative-blob:nth-child(2) {
  top: 20%;
  right: 10%;
  animation-delay: -2s;
}

.hero-decorative-blob:nth-child(3) {
  bottom: 20%;
  left: 10%;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* === SECTIONS === */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-charcoal);
}

.section-subtitle {
  text-align: center;
  color: var(--primary-burgundy);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.section-desc {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  color: var(--primary-charcoal);
}

/* === CARDS & ITEMS === */
.service-card,
.feature-card,
.price-card,
.team-card,
.review-card {
  background: linear-gradient(145deg, var(--primary-cream), var(--light-cream));
  border: 1px solid var(--light-gold);
  border-radius: 15px;
  padding: 1.5rem;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(139, 21, 56, 0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before,
.feature-card::before,
.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-burgundy), var(--primary-gold), var(--primary-sage));
}

.service-card:hover,
.feature-card:hover,
.price-card:hover,
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(139, 21, 56, 0.15);
}

.service-price,
.price-value {
  font-family: var(--font-primary);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--primary-burgundy);
  margin: 1rem 0;
}

/* Card content alignment */
.service-card.text-center,
.feature-card.text-center,
.price-card.text-center,
.team-card.text-center,
.review-card.text-center {
  text-align: center;
  align-items: center;
}

/* Card image styles */
.service-card .img-fluid,
.feature-card .img-fluid,
.price-card .img-fluid,
.team-card .img-fluid,
.review-card .img-fluid {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

/* Card typography */
.service-card h4,
.feature-card h4,
.price-card h4,
.team-card h4,
.review-card h4 {
  margin-bottom: 1rem;
  color: var(--primary-charcoal);
}

.service-card p,
.feature-card p,
.price-card p,
.team-card p,
.review-card p {
  margin-bottom: 1rem;
  flex-grow: 1;
}

/* === TEAM SECTION === */
.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-gold);
  margin: 0 auto 1rem;
  display: block;
}

/* === FORMS === */
.form-control {
  border: 2px solid var(--light-gold);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: var(--fs-base);
  background: var(--primary-cream);
  color: var(--primary-charcoal);
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-burgundy);
  box-shadow: 0 0 0 0.2rem rgba(139, 21, 56, 0.25);
  background: var(--light-cream);
}

.btn {
  font-weight: 500;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: var(--fs-base);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-burgundy), var(--dark-burgundy));
  border: none;
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--dark-burgundy), var(--primary-burgundy));
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(139, 21, 56, 0.3);
}

.btn-outline-primary {
  border: 2px solid var(--primary-burgundy);
  color: var(--primary-burgundy);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--primary-burgundy);
  color: white;
}

/* === FAQ === */
.accordion-item {
  border: 1px solid var(--light-gold);
  margin-bottom: 0.5rem;
  border-radius: 8px;
  overflow: hidden;
}

.accordion-button {
  background: var(--primary-cream);
  color: var(--primary-charcoal);
  border: none;
  font-weight: 500;
}

.accordion-button:not(.collapsed) {
  background: var(--primary-burgundy);
  color: white;
}

.accordion-body {
  background: var(--light-cream);
  color: var(--primary-charcoal);
}

/* === FOOTER === */
.footer {
  background: linear-gradient(135deg, var(--primary-charcoal) 0%, var(--dark-charcoal) 100%);
  color: var(--primary-cream);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

.footer a {
  color: var(--light-cream);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-gold);
}

.footer .copyright {
  border-top: 1px solid var(--light-charcoal);
  padding-top: 1rem;
  margin-top: 2rem;
  text-align: center;
  color: var(--light-cream);
  font-size: var(--fs-sm);
}

/* === BREADCRUMBS === */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* === GALLERY === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* === UTILITIES === */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-burgundy), var(--primary-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary-cream), var(--light-sage));
}

.bg-gradient-secondary {
  background: linear-gradient(135deg, var(--light-cream), var(--primary-cream));
}

/* === ANIMATIONS === */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
  }
  
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === MEDIA QUERIES === */
@media (max-width: 767.98px) {
  .hero-section {
    min-height: 90vh;
    text-align: center;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .hero-decorative-blob {
    display: none;
  }
  
  h1 { font-size: var(--fs-2xl); }
  h2 { font-size: var(--fs-xl); }
  
  .service-card,
  .feature-card,
  .price-card,
  .team-card,
  .review-card {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 12px !important;
    font-size: var(--fs-lg);
  }
  
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .hero-section {
    min-height: 80vh;
  }
} 