/* Ethical Influencer Management Agency - Main Styles */

/* Color Variables */
:root {
  --primary-color: #6366f1;
  --primary-light: #a5b4fc;
  --primary-dark: #4338ca;
  --secondary-color: #f59e0b;
  --secondary-light: #fbbf24;
  --secondary-dark: #d97706;
  --accent-color: #10b981;
  --accent-light: #34d399;
  --accent-dark: #059669;
  --neutral-color: #6b7280;
  --neutral-light: #f3f4f6;
  --neutral-dark: #374151;
  --highlight-color: #ec4899;
  --highlight-light: #f9a8d4;
  --highlight-dark: #db2777;
  --text-primary: #111827;
  --text-secondary: #6b7280;
  --text-light: #ffffff;
  --background-light: #ffffff;
  --background-dark: #f9fafb;
  --border-color: #e5e7eb;
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
  --gradient-hero: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 50%, var(--accent-dark) 100%);
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background-light);
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }
h5 { font-size: var(--font-size-base); }
h6 { font-size: var(--font-size-sm); }

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

/* Header */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.5rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--text-primary);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-hero);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-background.webp') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.7;
  animation: float 6s ease-in-out infinite;
}

.blob-1 {
  width: 200px;
  height: 200px;
  background: var(--accent-color);
  top: 20%;
  right: 20%;
  animation-delay: 0s;
}

.blob-2 {
  width: 150px;
  height: 150px;
  background: var(--highlight-color);
  bottom: 30%;
  left: 10%;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-title {
  font-size: var(--font-size-3xl);
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: var(--font-size-xl);
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  font-weight: 500;
}

.section-desc {
  font-size: var(--font-size-lg);
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Cards */
.card {
  background: var(--background-light);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-title {
  font-size: var(--font-size-xl);
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.card-desc {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.card-price {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.card-features {
  list-style: none;
  padding: 0;
}

.card-features li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.5rem;
}

.card-features li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

/* Team Cards */
.team-card {
  text-align: center;
  background: var(--background-light);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: scale(1.05);
}

.team-photo {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: var(--gradient-secondary);
}

.team-info {
  padding: 1.5rem;
}

.team-name {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.team-role {
  color: var(--primary-color);
  font-weight: 500;
}

/* Testimonials */
.testimonial-card {
  background: var(--background-light);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border-color);
  margin: 1rem 0;
}

.testimonial-text {
  font-style: italic;
  font-size: var(--font-size-lg);
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.testimonial-author {
  font-weight: 600;
  color: var(--text-primary);
}



/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Contact Form */
.contact-form {
  background: var(--background-light);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: var(--font-size-base);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: var(--font-size-base);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-light);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

/* Footer */
.footer {
  background: var(--neutral-dark);
  color: var(--text-light);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
  color: var(--neutral-light);
  text-decoration: none;
  line-height: 1.6;
}

.footer-section a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid var(--neutral-color);
  padding-top: 1rem;
  text-align: center;
}

/* Image Sizing */
.hero-image { width: 500px; height: 400px; object-fit: cover; border-radius: 12px; }
.service-image { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; margin-bottom: 1rem; }
.feature-image { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; margin-bottom: 1rem; }
.about-image { width: 100%; height: 300px; object-fit: cover; border-radius: 12px; }
.gallery-image { width: 100%; height: 250px; object-fit: cover; }
.testimonial-image { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; }
.case-study-image { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; margin-bottom: 1rem; }
.process-icon { width: 60px; height: 60px; object-fit: contain; margin: 0 auto 1rem; }
.timeline-image { width: 100%; height: 150px; object-fit: cover; border-radius: 8px; margin-bottom: 1rem; }
.career-icon { width: 50px; height: 50px; object-fit: contain; margin-bottom: 1rem; }
.coreinfo-icon { width: 40px; height: 40px; object-fit: contain; margin-bottom: 1rem; }

/* Blog Content Styles */
.blog-content {
  padding: 1.5rem;
}

.blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card .service-image {
  flex-shrink: 0;
}

.blog-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-content .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Notification Styles */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  min-width: 300px;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
}

.notification.show {
  opacity: 1;
  transform: translateX(0);
}

.notification-content {
  background: var(--background-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.notification-success .notification-content {
  border-left: 4px solid var(--accent-color);
}

.notification-error .notification-content {
  border-left: 4px solid #dc3545;
}

.notification-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: auto;
  color: var(--text-secondary);
}

.notification-close:hover {
  color: var(--text-primary);
}



/* Gallery Hover Effects */
.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.gallery-item:hover::before {
  opacity: 1;
}



/* Loading States */
.loading {
  position: relative;
  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-light);
  border-top: 2px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Breadcrumb Styles */
.breadcrumb {
  background: var(--background-dark);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  margin-top: 70px;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Additional responsive improvements */
@media (max-width: 576px) {
  .blog-content {
    padding: 1rem;
  }
  
  .notification {
    left: 10px;
    right: 10px;
    min-width: auto;
  }
}
