/* ================================================
   PET PORTRAIT STUDIO - MAIN CSS
   Bootstrap 5 Integration with Custom Variables
   ================================================ */

/* Color Palette - 5 Primary Colors + Shades */
:root {
  /* Primary Colors - Pastel High Contrast */
  --primary-warm-pink: #f2d0cf;
  --primary-soft-blue: #aed1ff;
  --primary-mint-green: #b6e5ae;
  --primary-cream: #e5e5e4;
  --primary-lavender: #f0e6ff;
  
  /* Light Shades */
  --light-warm-pink: #e7d4d6;
  --light-soft-blue: #d3e0e9;
  --light-mint-green: #d5e2d7;
  --light-cream: #fdf9f0;
  --light-lavender: #f4efff;
  
  /* Dark Shades */
  --dark-warm-pink: #faadab;
  --dark-soft-blue: #8dddfe;
  --dark-mint-green: #8ed793;
  --dark-cream: #ded8c4;
  --dark-lavender: #bfabf2;
  
  /* Text Colors */
  --text-primary: #363636;
  --text-secondary: #737272;
  --text-muted: #766f6e;
  
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, var(--primary-warm-pink), var(--primary-soft-blue));
  --gradient-section: linear-gradient(to right, var(--light-cream), var(--light-lavender));
}

/* Base Typography - Conservative Sizes */
body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
}

/* Headings - Conservative Sizes */
h1 {
  font-size: 2.52rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.95rem;
}

h3 {
  font-size: 1.63rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.90rem;
}

h4 {
  font-size: 1.26rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.74rem;
}

h5 {
  font-size: 1.24rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.58rem;
}

h6 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.74rem;
}

/* Paragraph - Conservative Size */
p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* Links */
a {
  color: var(--primary-soft-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--dark-soft-blue);
}

/* Header Styles */
.navbar-brand {
  font-size: 1.52rem;
  font-weight: 600;
  color: var(--text-primary);
}

.navbar-nav .nav-link {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-soft-blue);
}

/* Hero Section */
.hero-section {
  background: var(--gradient-hero);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 275px;
}

/* Section Backgrounds */
.bg-primary-warm {
  background-color: var(--primary-warm-pink);
}

.bg-primary-soft {
  background-color: var(--primary-soft-blue);
}

.bg-primary-mint {
  background-color: var(--primary-mint-green);
}

.bg-primary-cream {
  background-color: var(--primary-cream);
}

.bg-primary-lavender {
  background-color: var(--primary-lavender);
}

.bg-light-warm {
  background-color: var(--light-warm-pink);
}

.bg-light-soft {
  background-color: var(--light-soft-blue);
}

.bg-light-mint {
  background-color: var(--light-mint-green);
}

.bg-light-cream {
  background-color: var(--light-cream);
}

.bg-light-lavender {
  background-color: var(--light-lavender);
}

.bg-gradient-section {
  background: var(--gradient-section);
}

/* Card Styles */
.card {
  border: none;
  border-radius: 14px;
  box-shadow: 0 7px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.29rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
}

.card-text {
  color: var(--text-secondary);
  font-size: 0.97rem;
}

/* Button Styles */
.btn-primary {
  background-color: var(--primary-soft-blue);
  border-color: var(--primary-soft-blue);
  color: white;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 9px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--dark-soft-blue);
  border-color: var(--dark-soft-blue);
  transform: translateY(-1px);
}

.btn-outline-primary {
  color: var(--primary-soft-blue);
  border-color: var(--primary-soft-blue);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--primary-soft-blue);
  border-color: var(--primary-soft-blue);
  color: white;
}

/* Section Spacing */
.section-padding {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.17rem;
  text-align: center;
  margin-bottom: 2rem;
}

/* Gallery Styles */
.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 1.69rem;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Form Styles */
.form-control {
  border-radius: 8px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--light-mint-green);
  background-color: var(--light-cream);
  color: var(--text-primary);
  font-size: 1rem;
}

.form-control:focus {
  border-color: var(--primary-soft-blue);
  box-shadow: 0 0 0 0.2rem rgba(155, 214, 243, 0.25);
  background-color: white;
}

.form-label {
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

/* Footer */
.footer {
  background-color: var(--dark-cream);
  color: var(--text-secondary);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-soft-blue);
}

/* Animations - Conservative */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Accessibility - Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Team Member Styles */
.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-member img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 9px solid var(--primary-warm-pink);
}

.team-member h5 {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.team-member p {
  color: var(--text-muted);
  font-size: 1.00rem;
  margin-bottom: 0;
}

/* Services & Pricing */
.service-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 2rem;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-price {
  font-size: 1rem !important;
  font-weight: 700;
  color: var(--primary-soft-blue);
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1.68rem;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--light-cream);
}

.service-features li:last-child {
  border-bottom: none;
}

/* Decorative Elements */
.decorative-shape {
  position: absolute;
  opacity: 0.6;
  z-index: 1;
}

.shape-1 {
  top: 10%;
  right: 10%;
  width: 100px;
  height: 100px;
  background: var(--primary-mint-green);
  border-radius: 50%;
}

.shape-2 {
  bottom: 20%;
  left: 5%;
  width: 150px;
  height: 150px;
  background: var(--primary-lavender);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.shape-3 {
  top: 50%;
  right: 5%;
  width: 80px;
  height: 80px;
  background: var(--primary-warm-pink);
  transform: rotate(45deg);
}

/* Navbar scrolled state */
.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  z-index: 1000;
  background: var(--primary-soft-blue);
  color: white;
  padding: 8px;
  border-radius: 4px;
  text-decoration: none;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 6px;
}

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--primary-soft-blue);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Image lazy loading */
.lazy {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lazy.loaded {
  opacity: 1;
}

/* Progress bar */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 1000;
  background: transparent;
}

/* Breadcrumb styles */
.breadcrumb {
  background: transparent;
  padding: 0.5rem 0;
  margin: 0;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item img {
  filter: grayscale(1);
  transition: filter 0.3s ease;
}

.breadcrumb-item img:hover {
  filter: grayscale(0);
}

/* Error states */
.error-message {
  color: #f52f34;
  font-size: 0.91rem;
  margin-top: 0.39rem;
}

/* Success states */
.success-message {
  color: #22a23c;
  font-size: 0.99rem;
  margin-top: 0.43rem;
}

/* Focus states for better accessibility */
.btn:focus,
.form-control:focus,
.form-check-input:focus {
  outline: 2px solid var(--primary-soft-blue);
  outline-offset: 2px;
}

/* Print optimizations */
@media print {
  .navbar,
  .footer,
  .btn,
  .decorative-shape,
  #progress-bar {
    display: none !important;
  }
  
  .section-padding {
    padding: 1rem 0 !important;
  }
} 


/* Team Social Links - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

.social-icons-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
