/* ====================================
   DIGITAL PLANNERS MARKETPLACE - MAIN CSS
   Bootstrap 5 Integration & Core Styles
   ==================================== */

/* CSS Variables - Color Palette */
:root {
  --primary-color: #a6ccd1;
  --secondary-color: #ffb2a6;
  --accent-color: #efd5ff;
  --success-color: #9bddbb;
  --warning-color: #fff82e;
  
  /* Shades */
  --primary-light: #bcdaec;
  --primary-dark: #88c8e9;
  --secondary-light: #f2b3a9;
  --secondary-dark: #f19d7e;
  --accent-light: #d1b9f0;
  --accent-dark: #e1acf5;
  
  /* Neutral colors */
  --text-primary: #2e3d47;
  --text-secondary: #859798;
  --background-light: #f8f9fa;
  --white: #ffffff;
  --border-color: #f8f8f8;
}

/* Global Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--white);
}

/* Conservative Font Sizes */
.navbar-brand {
  font-size: 1.1rem !important;
  font-weight: 600;
}

h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* Header Styles */
.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 1rem 0;
}

.navbar-brand {
  color: var(--primary-color);
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--text-primary);
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 2rem 0;
}

.hero-content {
  z-index: 2;
    padding-top: 225px;
}

.hero-title {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.hero-desc {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

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

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

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 3rem;
}

/* Card Styles */
.custom-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;
  height: 100%;
}

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

.card-header {
  background-color: var(--primary-light);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  padding: 1.5rem;
}

.card-body {
  padding: 1.5rem;
}

/* Services Cards */
.service-card {
  background-color: var(--white);
  margin-bottom: 2rem;
}

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

.service-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.service-features li {
  padding: 0.3rem 0;
  color: var(--text-secondary);
}

.service-features li:before {
  content: "âœ“ ";
  color: var(--success-color);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Price Plan Cards */
.price-card {
  background-color: var(--white);
  text-align: center;
  margin-bottom: 2rem;
}

.price-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 1rem 0;
}

/* Team Cards */
.team-card {
  background-color: var(--white);
  text-align: center;
  margin-bottom: 2rem;
}

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

.team-name {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--text-secondary);
  font-style: italic;
}

/* Reviews/Testimonials */
.review-card {
  background-color: var(--background-light);
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-color);
}

.review-text {
  font-style: italic;
  margin-bottom: 1rem;
}

.review-author {
  font-weight: 600;
  color: var(--primary-color);
}

/* FAQ Cards */
.faq-card {
  background-color: var(--white);
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--accent-color);
}

.faq-question {
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

.faq-answer {
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Contact Form */
.contact-form {
  background-color: var(--background-light);
  padding: 2rem;
  border-radius: 12px;
}

.form-control {
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(161, 213, 225, 0.25);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-primary);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

/* Gallery */
.gallery-item {
  margin-bottom: 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

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

/* Footer */
.footer {
  background-color: var(--text-primary);
  color: var(--white);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

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

.footer p,
.footer a {
  color: #a9b7c6;
  text-decoration: none;
}

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

.footer-bottom {
  border-top: 1px solid #435771;
  padding-top: 1rem;
  margin-top: 2rem;
  text-align: center;
}

/* Blog Cards */
.blog-card {
  background-color: var(--white);
  margin-bottom: 2rem;
  overflow: hidden;
}

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

.blog-meta {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* Breadcrumb */
.breadcrumb {
  background-color: transparent;
  padding: 1rem 0;
  margin-bottom: 2rem;
}

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

/* Decorative Elements */
.decorative-shape {
  position: absolute;
  opacity: 0.1;
  z-index: 1;
}

.shape-1 {
  top: 10%;
  right: 10%;
  width: 100px;
  height: 100px;
  background-color: var(--accent-color);
  border-radius: 50%;
}

.shape-2 {
  bottom: 20%;
  left: 5%;
  width: 80px;
  height: 80px;
  background-color: var(--secondary-color);
  transform: rotate(45deg);
}

/* Animation Reset for Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Utilities */
.text-primary-custom {
  color: var(--primary-color) !important;
}

.bg-light-custom {
  background-color: var(--background-light) !important;
}

.border-radius-custom {
  border-radius: 12px !important;
} 


/* Team Social Links - Gradient Style */
.team-social-links {
    margin-top: 20px;
    padding: 18px 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-radius: 20px;
}

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

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 24px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.social-link::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: inherit;
    border-radius: inherit;
    z-index: -1;
}

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

.facebook-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.linkedin-link {
    background: linear-gradient(135deg, #2196f3 0%, #21cbf3 100%);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #21cbf3 0%, #2196f3 100%);
}

.instagram-link {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.instagram-link:hover {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
}

.x-link {
    background: linear-gradient(135deg, #232526 0%, #414345 100%);
    position: relative;
}

.x-link::after {
    content: '✦';
    font-weight: bold;
    font-size: 22px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: linear-gradient(135deg, #414345 0%, #232526 100%);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}
