/* AI B-Roll Studio - Main CSS */
/* Note: Bootstrap 5 and Font Awesome are loaded via HTML head for better performance */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Variables - Color Palette */
:root {
  /* Primary Colors */
  --primary-purple: #694af6;
  --primary-blue: #5491ff;
  --primary-teal: #28c4bc;
  --primary-pink: #de4383;
  --primary-orange: #ff9223;
  
  /* Light Shades */
  --purple-light: #a09ae4;
  --blue-light: #7cacf5;
  --teal-light: #6cdbc2;
  --pink-light: #e0aac3;
  --orange-light: #ffd29d;
  
  /* Dark Shades */
  --purple-dark: #6223a7;
  --blue-dark: #1d48a2;
  --teal-dark: #097271;
  --pink-dark: #c31446;
  --orange-dark: #b31900;
  
  /* Neutral Colors */
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #ebecf1;
  --gray-300: #c4c4c4;
  --gray-400: #a2b0c4;
  --gray-500: #767981;
  --gray-600: #676c7b;
  --gray-700: #2d333a;
  --gray-800: #151920;
  --gray-900: #0e1520;
  
  /* Conservative Font Sizes */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --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', sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Header */
.navbar {
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
  padding: 1rem 0;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--white);
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--purple-light);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue), var(--primary-teal));
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-bg.webp') center/cover;
  opacity: 0.2;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
    padding-top: 275px;
}

.hero p {
  font-size: var(--font-size-lg);
  color: var(--purple-light);
  margin-bottom: 2rem;
}

/* Decorative Shapes */
.hero-shape {
  position: absolute;
  z-index: 1;
  opacity: 0.1;
}

.hero-shape-1 {
  top: 10%;
  left: 10%;
  width: 200px;
  height: 200px;
  background: var(--primary-pink);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero-shape-2 {
  bottom: 20%;
  right: 15%;
  width: 150px;
  height: 150px;
  background: var(--primary-orange);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Section Styles */
section {
  padding: 5rem 0;
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--gray-900);
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: var(--font-size-xl);
  color: var(--primary-purple);
  text-align: center;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: var(--font-size-lg);
  color: var(--gray-600);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about {
  background: var(--gray-50);
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 5px 6px rgba(0, 0, 0, 0.05);
  height: 100%;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-card i {
  font-size: 3rem;
  color: var(--primary-purple);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--gray-600);
}

/* Services Section */
.services {
  background: linear-gradient(135deg, var(--purple-light), var(--blue-light));
}

.service-card {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-body {
  padding: 1.5rem;
}

.service-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.64rem;
}

.service-card p {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.service-price {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--primary-purple);
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  padding: 0;
}

.service-features li {
  color: var(--gray-600);
  margin-bottom: 0.72rem;
  padding-left: 1.5rem;
  position: relative;
}

.service-features li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--primary-teal);
  position: absolute;
  left: 0;
}

/* Team Section */
.team {
  background: var(--white);
}

.team-card {
  text-align: center;
  padding: 1.5rem;
}

.team-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 12px solid var(--primary-purple);
}

.team-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.58rem;
}

.team-card p {
  color: var(--primary-purple);
  font-weight: 500;
}

/* Reviews Section */
.reviews {
  background: var(--gray-50);
}

.review-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 5px 6px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.review-stars {
  color: var(--primary-orange);
  margin-bottom: 1rem;
}

.review-text {
  color: var(--gray-600);
  font-style: italic;
  margin-bottom: 1rem;
}

.review-author {
  font-weight: 600;
  color: var(--gray-900);
}

/* FAQ Section */
.faq {
  background: var(--white);
}

.faq-item {
  background: var(--gray-50);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.05);
}

.faq-question {
  background: var(--primary-purple);
  color: var(--white);
  padding: 1rem;
  font-weight: 600;
  margin: 0;
  cursor: pointer;
  border: none;
  width: 100%;
  text-align: left;
  font-size: var(--font-size-base);
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--purple-dark);
}

.faq-answer {
  padding: 1rem;
  color: var(--gray-600);
  background: var(--white);
  display: none;
}

/* Gallery Section */
.gallery {
  background: var(--gray-50);
  padding: 3rem 0;
}

.gallery-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.5rem;
  position: relative;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  background: var(--gray-200); /* Fallback while loading */
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.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;
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
  color: var(--white);
}

.contact .section-title,
.contact .section-subtitle,
.contact .section-desc {
  color: var(--white);
}

.contact-form {
  background-color: #de4383;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 13px 25px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control {
  border: 2px solid var(--gray-200);
  padding: 0.75rem;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--primary-purple);
  box-shadow: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--purple-dark), var(--blue-dark));
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer a {
  color: var(--gray-300);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-purple);
}

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: 1rem;
  margin-top: 2rem;
  text-align: center;
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient {
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
}

/* Additional Page Styles */
.page-header {
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
  padding: 3rem 0;
  color: var(--white);
  text-align: center;
}

.page-section {
  padding: 4rem 0;
}

.breadcrumb {
  background: none;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item img {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

/* Navbar Toggle Icon Fix */
.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
  background: transparent;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Price Plan Styles */
.price-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  height: 100%;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.price-card:hover {
  border-color: var(--primary-purple);
  transform: translateY(-5px);
}

.price-card.featured {
  border-color: var(--primary-purple);
  transform: scale(1.05);
}

.price-value {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--primary-purple);
  margin: 1rem 0;
}

/* Blog Styles */
.blog-card {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card h3 {
  font-size: var(--font-size-xl);
  margin-bottom: 1rem;
}

.blog-link {
  color: var(--primary-purple);
  text-decoration: none;
  font-weight: 500;
}

.blog-link:hover {
  text-decoration: underline;
}

/* Features Section */
.features {
  background: var(--white);
}

/* Process Section */
.process {
  background: var(--gray-50);
}

.process-step {
  text-align: center;
  padding: 1.5rem;
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--primary-purple);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin: 0 auto 1rem;
}

/* Case Study Section */
.casestudy {
  background: var(--white);
}

.case-card {
  background: var(--gray-50);
  padding: 2rem;
  border-radius: 1rem;
  height: 100%;
}

/* Timeline Section */
.timeline {
  background: var(--gray-50);
}

.timeline-item {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--primary-purple);
}

/* Career Section */
.career {
  background: var(--white);
}

.job-card {
  background: var(--gray-50);
  padding: 2rem;
  border-radius: 1rem;
  height: 100%;
}

/* Core Info Section */
.coreinfo {
  background: var(--gray-50);
}

.info-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
  height: 100%;
}

.info-card i {
  font-size: 2rem;
  color: var(--primary-purple);
  margin-bottom: 1rem;
}

/* Image Size Specifications */
.hero img {
  max-width: 100%;
  height: auto;
  min-height: 300px;
  object-fit: contain;
}

.service-card img,
.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--gray-200);
}

.team-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  background: var(--gray-200);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  background: var(--gray-200);
}

/* Ensure all images have proper loading states */
img {
  background: var(--gray-200);
  color: var(--gray-500);
}

img::before {
  content: 'Loading...';
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}

/* Loading States */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Accessibility Improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus styles for better accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--primary-purple);
  outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-purple);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}

/* Error states */
.error-message {
  color: #f5303c;
  font-size: var(--font-size-sm);
  margin-top: 0.32rem;
}

.success-message {
  color: #2ea338;
  font-size: var(--font-size-sm);
  margin-top: 0.44rem;
} 


/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
