/* AI-Driven SEO Content Brief Generator - Main Styles */

/* ===== CSS VARIABLES - 5 COLOR PALETTE ===== */
:root {
  /* Primary Pastel Colors */
  --color-primary: #857ec3;     /* Soft Purple */
  --color-secondary: #74bdd6;   /* Soft Blue */
  --color-accent: #bad9bc;      /* Soft Green */
  --color-highlight: #ffcdbe;   /* Soft Pink */
  --color-neutral: #b4c4c7;     /* Soft Gray */
  
  /* Light Shades */
  --color-primary-light: #bbb6ea;
  --color-secondary-light: #a7e2fa;
  --color-accent-light: #bccebe;
  --color-highlight-light: #fcdcdb;
  --color-neutral-light: #d8ebec;
  
  /* Dark Shades */
  --color-primary-dark: #574aaf;
  --color-secondary-dark: #50acb2;
  --color-accent-dark: #aedfa9;
  --color-highlight-dark: #ff9fa8;
  --color-neutral-dark: #9fb4b0;
  
  /* Typography */
  --font-size-base: 16px;
  --font-size-small: 14px;
  --font-size-large: 18px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 600;
  
  /* Spacing */
  --section-padding: 4rem 0;
  --element-margin: 1.5rem;
}

/* ===== GLOBAL STYLES ===== */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: 1.6;
  color: #313131;
  background-color: #fff;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--element-margin);
  color: var(--color-primary-dark);
}

h1 {
  font-size: 2.33rem;
  line-height: 1.2;
}

h2 {
  font-size: 1.97rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.62rem;
  line-height: 1.4;
}

p {
  font-size: var(--font-size-base);
  margin-bottom: 1rem;
  color: #646464;
}

/* ===== HEADER & NAVIGATION ===== */
.navbar {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  padding: 1rem 0;
  box-shadow: 0 7px 16px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 10px !important;
  font-size: 1.37rem;
  font-weight: var(--font-weight-bold);
  color: white;
}

.navbar-nav .nav-link {
    font-size: 10px !important;
  color: white;
  font-weight: var(--font-weight-medium);
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--color-accent-light);
}

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-secondary-light) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 40%;
  height: 200%;
  background: var(--color-accent-light);
  border-radius: 50%;
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 1214px;
}

.hero-title {
  font-size: 2.53rem;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.36rem;
  color: var(--color-secondary-dark);
  margin-bottom: 1.67rem;
}

.hero-desc {
  font-size: var(--font-size-large);
  color: #515151;
  margin-bottom: 2rem;
}

/* ===== SECTION STYLING ===== */
.section {
  padding: var(--section-padding);
}

.section-alt {
  background-color: #f8f9fa;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1.18rem;
  color: var(--color-secondary-dark);
  margin-bottom: 1rem;
}

.section-desc {
  text-align: center;
  font-size: var(--font-size-base);
  color: #635f5f;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== CARDS & COMPONENTS ===== */
.service-card, .feature-card, .price-card, .team-card, .review-card, .case-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 7px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--color-neutral-light);
}

.service-card:hover, .feature-card:hover, .price-card:hover, .team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.57rem;
  color: white;
}

.card-title {
  font-size: 1.31rem;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
  text-align: center;
}

.card-desc {
  color: #545454;
  text-align: center;
  margin-bottom: 1.58rem;
}

.card-price {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-highlight-dark);
  text-align: center;
  margin-bottom: 1rem;
}

/* ===== TEAM SECTION ===== */
.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: var(--color-neutral-light);
  border: 4px solid var(--color-primary-light);
}

.team-name {
  font-size: 1.25rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.66rem;
}

.team-role {
  color: var(--color-secondary-dark);
  font-size: var(--font-size-small);
}

/* ===== FAQ SECTION ===== */
.faq-card {
  background: white;
  border: 1px solid var(--color-neutral-light);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.faq-question {
  font-weight: var(--font-weight-medium);
  color: var(--color-primary-dark);
  margin-bottom: 0.87rem;
  font-size: 1.20rem;
}

.faq-answer {
  color: #787373;
  line-height: 1.6;
}

/* ===== CONTACT FORM ===== */
.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.form-control {
  border: 2px solid var(--color-neutral-light);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: var(--font-size-base);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(142, 133, 233, 0.25);
}

.form-control.is-invalid:focus {
  border-color: #eb3435;
  box-shadow: 0 0 0 0.2rem rgba(218, 59, 49, 0.25);
}

.form-control.is-valid:focus {
  border-color: #2a9c71;
  box-shadow: 0 0 0 0.2rem rgba(17, 151, 107, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border: none;
  padding: 0.75rem 2rem;
  font-weight: var(--font-weight-medium);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-secondary-dark) 100%);
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, var(--color-neutral-dark) 0%, var(--color-primary-dark) 100%);
  color: white;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--color-accent-light);
  margin-bottom: 1rem;
}

.footer p, .footer a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}

.footer a:hover {
  color: var(--color-accent-light);
}

/* ===== GALLERY ===== */
.gallery-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ===== BLOG SECTION ===== */
.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-content {
  padding: 1.5rem;
}

.blog-title {
  font-size: 1.34rem;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
}

.blog-excerpt {
  color: #514d4e;
  margin-bottom: 1rem;
}

.blog-link {
  color: var(--color-secondary-dark);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
}

/* ===== UTILITIES ===== */
.text-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-secondary-light) 100%);
}

.shadow-custom {
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ===== BREADCRUMBS ===== */
.breadcrumb-section {
  padding: 1rem 0;
  background: var(--color-neutral-light);
}

.breadcrumb-image {
  width: 24px;
  height: 24px;
  opacity: 0.7;
}

/* ===== LAZY LOADING ===== */
.lozad {
  transition: opacity 0.3s ease;
}

.lozad:not(.loaded) {
  background: var(--color-neutral-light);
  min-height: 200px;
  opacity: 0.7;
}

/* ===== NANOBAR CUSTOMIZATION ===== */
#nanobar-container .nanobar {
  position: fixed;
  z-index: 10000;
}

#nanobar-container .bar {
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

/* ===== FORM VALIDATION ENHANCEMENTS ===== */
.is-invalid {
  border-color: #ef4d51;
  box-shadow: 0 0 0 0.2rem rgba(244, 79, 96, 0.25);
}

.is-valid {
  border-color: #25966a;
  box-shadow: 0 0 0 0.2rem rgba(12, 136, 65, 0.25);
}

.invalid-feedback {
  display: block;
  width: 100%;
  margin-top: 0.45rem;
  font-size: 1.02rem;
  color: #ee273e;
}

/* ===== QUICKLINK ENHANCEMENT ===== */
[data-no-instant] {
  pointer-events: auto !important;
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
img[data-src] {
  background: var(--color-neutral-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill='%23ccc'%3E%3Cpath d='M20 30a10 10 0 1 1 0-20 10 10 0 0 1 0 20zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16z'/%3E%3Cpath d='M20 25a5 5 0 1 1 0-10 5 5 0 0 1 0 10zm0-2a3 3 0 1 0 0-6 3 3 0 0 0 0 6z'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 40px 40px;
} 


/* 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;
    }
}
