/* ==========================================
   VINTAGE POSTER GALLERY - MAIN STYLES
   Bootstrap 5 Compliant - No Overrides
   ========================================== */

/* Color Palette - Pastel High-Contrast */
:root {
  --primary-coral: #f76c74;
  --primary-sage: #91c991;
  --primary-lavender: #c07fd5;
  --primary-peach: #e6b168;
  --primary-sky: #86c8ff;
  
  /* Light Shades */
  --light-coral: #f1cdc8;
  --light-sage: #deffe2;
  --light-lavender: #efdef1;
  --light-peach: #eae6df;
  --light-sky: #dfebf1;
  
  /* Dark Shades */
  --dark-coral: #bf2428;
  --dark-sage: #2d8539;
  --dark-lavender: #730f8d;
  --dark-peach: #fa7200;
  --dark-sky: #019dcb;
  
  /* Typography */
  --font-size-base: 0.9rem;
  --font-size-sm: 0.8rem;
  --font-size-lg: 1.1rem;
  --line-height-base: 1.5;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Base Typography - Conservative Sizes */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: #3e3939;
  background-color: #fff;
}

h1 {
  font-size: 1.84rem;
  font-weight: 600;
  color: var(--dark-sage);
}

h2 {
  font-size: 1.59rem;
  font-weight: 600;
  color: var(--dark-lavender);
}

h3 {
  font-size: 1.41rem;
  font-weight: 500;
  color: var(--dark-coral);
}

h4 {
  font-size: 1.19rem;
  font-weight: 500;
  color: var(--dark-peach);
}

h5 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark-sky);
}

p {
  font-size: var(--font-size-base);
  margin-bottom: 1rem;
}

/* Header Styles */
.navbar-brand {
    font-size: 10px !important;
  font-size: 1.33rem;
  font-weight: 700;
  color: var(--dark-sage);
}

.navbar-nav .nav-link {
    font-size: 10px !important;
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--dark-lavender);
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-coral);
}

/* Navbar scroll effect */
.navbar-scrolled {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--light-sage) 0%, var(--light-lavender) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-shape {
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--primary-peach);
  border-radius: 50% 30% 70% 40%;
  opacity: 0.1;
  z-index: 1;
}

.hero-shape-1 {
  top: 10%;
  right: 10%;
}

.hero-shape-2 {
  bottom: 20%;
  left: 5%;
  background: var(--primary-sky);
}

/* Section Backgrounds */
.section-about {
  background-color: var(--light-peach);
}

.section-services {
  background-color: var(--light-sky);
}

.section-features {
  background-color: var(--light-coral);
}

.section-priceplan {
  background-color: var(--light-sage);
}

.section-team {
  background-color: var(--light-lavender);
}

.section-reviews {
  background-color: #f8f9fa;
}

.section-casestudy {
  background-color: var(--light-peach);
}

.section-process {
  background-color: var(--light-sky);
}

.section-timeline {
  background-color: var(--light-coral);
}

.section-career {
  background-color: var(--light-sage);
}

.section-coreinfo {
  background-color: var(--light-lavender);
}

.section-contact {
  background-color: #f8f9fa;
}

.section-blog {
  background-color: var(--light-peach);
}

.section-faq {
  background-color: var(--light-sky);
}

/* Card Styles */
.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 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 20px rgba(0, 0, 0, 0.15);
}

.card-header {
  background: var(--primary-sage);
  color: white;
  border-radius: 12px 12px 0 0;
  font-weight: 600;
}

/* Service Cards */
.service-card .card-body {
  padding: 1.5rem;
  text-align: center;
}

.service-price {
  font-size: 1.59rem;
  font-weight: 700;
  color: var(--dark-coral);
  margin-top: 1rem;
}

/* Team Member Cards */
.team-member-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--primary-lavender);
}

.team-member-role {
  color: var(--dark-sky);
  font-style: italic;
  font-size: var(--font-size-sm);
}

/* Price Plan Cards */
.price-card {
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-coral), var(--primary-lavender));
}

.price-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark-sage);
}

/* FAQ Cards */
.faq-card {
  margin-bottom: 1rem;
}

.faq-question {
  font-weight: 600;
  color: var(--dark-lavender);
  margin-bottom: 0.55rem;
}

.faq-answer {
  color: #646464;
  font-size: var(--font-size-sm);
}

/* Review Cards */
.review-card {
  background: linear-gradient(135deg, var(--light-lavender) 0%, var(--light-coral) 100%);
}

.review-author {
  font-weight: 600;
  color: var(--dark-sage);
  margin-top: 1rem;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* Contact Form */
.contact-form {
  background: var(--light-sage);
  padding: 2rem;
  border-radius: 12px;
}

.form-control {
  border-radius: 8px;
  border: 2px solid var(--primary-sage);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-lavender);
  box-shadow: 0 0 0 0.2rem rgba(218, 137, 219, 0.25);
}

.form-control.is-invalid {
  border-color: #e94f4a;
  box-shadow: 0 0 0 0.2rem rgba(244, 56, 53, 0.25);
}

.form-control.is-valid {
  border-color: #1c9942;
  box-shadow: 0 0 0 0.2rem rgba(42, 158, 76, 0.25);
}

.btn-primary {
  background-color: var(--primary-coral);
  border-color: var(--primary-coral);
  border-radius: 8px;
  font-weight: 600;
  padding: 0.75rem 2rem;
}

.btn-primary:hover {
  background-color: var(--dark-coral);
  border-color: var(--dark-coral);
}

/* Footer */
.footer {
  background-color: #324051;
  color: #ecf0f1;
  padding: 2rem 0;
}

.footer h5 {
  color: var(--primary-sage);
}

.footer a {
  color: #a8b8be;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-coral);
}

/* Blog Cards */
.blog-card {
  height: 100%;
}

.blog-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

/* Utility Classes */
.text-primary-coral { color: var(--primary-coral); }
.text-primary-sage { color: var(--primary-sage); }
.text-primary-lavender { color: var(--primary-lavender); }
.text-primary-peach { color: var(--primary-peach); }
.text-primary-sky { color: var(--primary-sky); }

.bg-primary-coral { background-color: var(--primary-coral); }
.bg-primary-sage { background-color: var(--primary-sage); }
.bg-primary-lavender { background-color: var(--primary-lavender); }
.bg-primary-peach { background-color: var(--primary-peach); }
.bg-primary-sky { background-color: var(--primary-sky); }

/* Section Spacing */
.section-padding {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  text-align: center;
  color: #605f5f;
  font-size: var(--font-size-lg);
  margin-bottom: 1rem;
}

.section-desc {
  text-align: center;
  color: #8a8a8a;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Animation Base - Sal.js Compatible */
[data-sal] {
  transition-duration: 0.5s;
  transition-timing-function: ease-out;
}

/* Nanobar Progress Styles */
.custom-nanobar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 10000;
}

.custom-nanobar .bar {
  background: linear-gradient(90deg, var(--primary-coral), var(--primary-lavender));
  height: 100%;
  transition: width 0.3s ease;
} 

.hero-section h1 {
    padding-top: 250px;
}


/* 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);
}

.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;
    }
}
