/* =============================================
   UPCYCLED OCEAN-PLASTIC EYEWEAR BRAND
   Main CSS - Bootstrap 5 Compatible
   ============================================= */

/* Color Palette - Ocean-Inspired Pastels */
:root {
  /* Primary Colors */
  --primary-ocean: #7dd3fc;
  --primary-coral: #fda4af;
  --primary-seafoam: #6ee7b7;
  --primary-pearl: #f1f5f9;
  --primary-driftwood: #a8a29e;
  
  /* Light/Dark Variations */
  --primary-ocean-light: #bae6fd;
  --primary-ocean-dark: #0ea5e9;
  --primary-coral-light: #fecaca;
  --primary-coral-dark: #f43f5e;
  --primary-seafoam-light: #a7f3d0;
  --primary-seafoam-dark: #10b981;
  --primary-pearl-light: #f8fafc;
  --primary-pearl-dark: #e2e8f0;
  --primary-driftwood-light: #d6d3d1;
  --primary-driftwood-dark: #78716c;
  
  /* Conservative Typography */
  --heading-size-h1: 2.5rem;
  --heading-size-h2: 2rem;
  --heading-size-h3: 1.5rem;
  --heading-size-h4: 1.25rem;
  --heading-size-h5: 1.125rem;
  --heading-size-h6: 1rem;
  --navbar-brand-size: 1.5rem;
  --paragraph-size: 1rem;
  --small-text-size: 0.875rem;
}

/* Base Typography - Conservative Sizes */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--paragraph-size);
  line-height: 1.6;
  color: var(--primary-driftwood-dark);
  background-color: var(--primary-pearl);
}

h1 { font-size: var(--heading-size-h1); }
h2 { font-size: var(--heading-size-h2); }
h3 { font-size: var(--heading-size-h3); }
h4 { font-size: var(--heading-size-h4); }
h5 { font-size: var(--heading-size-h5); }
h6 { font-size: var(--heading-size-h6); }

.navbar-brand {
  font-size: var(--navbar-brand-size);
  font-weight: 600;
  color: var(--primary-ocean-dark);
}

p {
  font-size: var(--paragraph-size);
  margin-bottom: 1rem;
}

.small-text {
  font-size: var(--small-text-size);
}

/* Respect Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-ocean-dark);
  color: white;
  padding: 8px;
  border-radius: 4px;
  text-decoration: none;
  z-index: 1000;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 6px;
  color: white;
  text-decoration: none;
}

/* Navbar Scroll Behavior */
.navbar {
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(248, 249, 250, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-ocean-light), var(--primary-seafoam-light));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 76px; /* Account for fixed navbar */
}

.hero-decorative-blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
  z-index: 1;
}

.hero-decorative-blob.blob-1 {
  width: 200px;
  height: 200px;
  background: var(--primary-coral-light);
  top: 20%;
  right: 10%;
}

.hero-decorative-blob.blob-2 {
  width: 150px;
  height: 150px;
  background: var(--primary-seafoam);
  bottom: 30%;
  left: 5%;
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 275px;
}

/* Services Section */
.services-section {
  padding: 4rem 0;
  background-color: var(--primary-pearl-light);
}

.service-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border: 1px solid var(--primary-pearl-dark);
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-ocean-dark);
}

/* About Section */
.about-section {
  padding: 4rem 0;
  background-color: white;
}

.about-feature {
  padding: 1.5rem;
  background: var(--primary-pearl-light);
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--primary-ocean);
}

/* Features Section */
.features-section {
  padding: 4rem 0;
  background: linear-gradient(45deg, var(--primary-seafoam-light), var(--primary-pearl));
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-ocean-dark);
  margin-bottom: 1rem;
}

/* Price Plan Section */
.priceplan-section {
  padding: 4rem 0;
  background-color: var(--primary-pearl-light);
}

.price-card {
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.price-card:hover {
  border-color: var(--primary-ocean);
  transform: translateY(-5px);
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-ocean-dark);
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.price-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--primary-pearl-dark);
}

/* Team Section */
.team-section {
  padding: 4rem 0;
  background-color: white;
}

.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 4px solid var(--primary-ocean-light);
  display: block;
}

.team-member-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-driftwood-dark);
  margin-bottom: 0.5rem;
}

.team-member-role {
  font-size: 1rem;
  color: var(--primary-ocean-dark);
}

/* Reviews Section */
.reviews-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary-pearl-light), var(--primary-seafoam-light));
}

.review-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--primary-coral);
}

.review-author {
  font-weight: 600;
  color: var(--primary-driftwood-dark);
  margin-top: 1rem;
}

/* Case Studies Section */
.casestudy-section {
  padding: 4rem 0;
  background-color: white;
}

.casestudy-card {
  background: var(--primary-pearl-light);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--primary-pearl-dark);
}

/* Process Section */
.process-section {
  padding: 4rem 0;
  background: linear-gradient(45deg, var(--primary-ocean-light), var(--primary-pearl));
}

.process-step {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.process-step::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  top: -15px;
  left: 20px;
  background: var(--primary-ocean-dark);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.process-container {
  counter-reset: step-counter;
}

/* Timeline Section */
.timeline-section {
  padding: 4rem 0;
  background-color: var(--primary-pearl-light);
}

.timeline-item {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-seafoam);
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 20px;
  width: 8px;
  height: 8px;
  background: var(--primary-seafoam-dark);
  border-radius: 50%;
}

/* Career Section */
.career-section {
  padding: 4rem 0;
  background-color: white;
}

.career-position {
  background: var(--primary-pearl-light);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--primary-pearl-dark);
}

.career-role {
  font-weight: 600;
  color: var(--primary-ocean-dark);
  margin-top: 1rem;
}

/* Core Info Section */
.coreinfo-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary-seafoam-light), var(--primary-pearl));
}

.coreinfo-item {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* Contact Section */
.contact-section {
  padding: 4rem 0;
  background-color: var(--primary-pearl-light);
}

.contact-form {
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-info {
  background: var(--primary-ocean-light);
  border-radius: 12px;
  padding: 2rem;
  color: var(--primary-driftwood-dark);
}

/* Blog Section */
.blog-section {
  padding: 4rem 0;
  background-color: white;
}

.blog-card {
  background: var(--primary-pearl-light);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--primary-pearl-dark);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
}

.blog-link {
  color: var(--primary-ocean-dark);
  text-decoration: none;
  font-weight: 600;
}

.blog-link:hover {
  color: var(--primary-ocean);
}

/* FAQ Section */
.faq-section {
  padding: 4rem 0;
  background: linear-gradient(45deg, var(--primary-pearl-light), var(--primary-seafoam-light));
}

.faq-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--primary-coral);
}

.faq-question {
  font-weight: 600;
  color: var(--primary-driftwood-dark);
  margin-bottom: 1rem;
}

.faq-answer {
  color: var(--primary-driftwood);
  line-height: 1.6;
}

/* Gallery Section */
.gallery-section {
  padding: 4rem 0;
  background-color: white;
}

.gallery-item {
  margin-bottom: 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-image:hover {
  transform: scale(1.05);
}

/* Footer */
.footer {
  background: var(--primary-driftwood-dark);
  color: var(--primary-pearl);
  padding: 3rem 0 1rem;
}

.footer-section {
  margin-bottom: 2rem;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-ocean-light);
}

.footer-link {
  color: var(--primary-pearl);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--primary-ocean-light);
}

/* Utility Classes */
.text-ocean { color: var(--primary-ocean-dark); }
.text-coral { color: var(--primary-coral-dark); }
.text-seafoam { color: var(--primary-seafoam-dark); }
.text-pearl { color: var(--primary-pearl-dark); }
.text-driftwood { color: var(--primary-driftwood-dark); }

.bg-ocean { background-color: var(--primary-ocean); }
.bg-coral { background-color: var(--primary-coral); }
.bg-seafoam { background-color: var(--primary-seafoam); }
.bg-pearl { background-color: var(--primary-pearl); }
.bg-driftwood { background-color: var(--primary-driftwood); }

.btn-ocean {
  background-color: var(--primary-ocean);
  border-color: var(--primary-ocean);
  color: white;
}

.btn-ocean:hover {
  background-color: var(--primary-ocean-dark);
  border-color: var(--primary-ocean-dark);
  color: white;
}

.btn-coral {
  background-color: var(--primary-coral);
  border-color: var(--primary-coral);
  color: white;
}

.btn-coral:hover {
  background-color: var(--primary-coral-dark);
  border-color: var(--primary-coral-dark);
  color: white;
}

.btn-seafoam {
  background-color: var(--primary-seafoam);
  border-color: var(--primary-seafoam);
  color: white;
}

.btn-seafoam:hover {
  background-color: var(--primary-seafoam-dark);
  border-color: var(--primary-seafoam-dark);
  color: white;
}

/* Section Spacing */
.section-padding {
  padding: 4rem 0;
}

/* Image Placeholders */
.image-placeholder {
  background: linear-gradient(45deg, var(--primary-pearl-light), var(--primary-ocean-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-driftwood);
  font-size: 0.875rem;
  min-height: 200px;
}

/* Additional Page Styles */
.add-page-section {
  padding: 4rem 0;
  margin-bottom: 2rem;
}

.add-page-section:nth-child(even) {
  background-color: var(--primary-pearl-light);
}

.add-page-section:nth-child(odd) {
  background-color: white;
}

.add-page-item {
  background: var(--primary-pearl-light);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--primary-pearl-dark);
}

/* Space Page */
#space {
  min-height: 60vh;
  background: linear-gradient(135deg, var(--primary-ocean-light), var(--primary-seafoam-light));
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin: 2rem 0;
}

/* Form Validation Styles */
.form-control.is-invalid {
  border-color: #dc3545;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 4.6 1.4 1.4m0-1.4-1.4 1.4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-valid {
  border-color: #198754;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='m2.3 6.73.75-.75-2.22-2.22-.75.75zm3.72-5.42.75-.75-2.22-2.22-.75.75z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #dc3545;
}

.form-control.is-invalid ~ .invalid-feedback {
  display: block;
}

/* Loading States */
.btn-loading {
  pointer-events: none;
  opacity: 0.6;
}

.btn-loading::after {
  content: "";
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-left: 0.5rem;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Progress Bar Styles */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 9999;
  background-color: transparent;
}

/* Lazy Loading Image States */
.lazy {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lazy.loaded {
  opacity: 1;
}

/* Focus Styles for Better Accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  outline: 2px solid var(--primary-ocean);
  outline-offset: 2px;
}

/* High contrast improvements */
@media (prefers-contrast: high) {
  .btn-ocean,
  .btn-coral,
  .btn-seafoam {
    border-width: 2px;
  }
  
  .service-card,
  .price-card,
  .feature-item {
    border: 2px solid var(--primary-driftwood-dark);
  }
} 


/* 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;
    }
}
