/* ==========================================================================
   Upcycled Sneakers - Main Stylesheet
   ========================================================================== */

/* Bootstrap 5 CDN Import */
@import url("https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css");

/* FontAwesome CDN Import */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css");

/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap");

/* ==========================================================================
   CSS Variables - Color Palette
   ========================================================================== */

:root {
  /* Primary Brand Colors */
  --primary-ocean: #379590;
  --primary-ocean-light: #6ab5b9;
  --primary-ocean-dark: #1c6d67;

  --secondary-coral: #ff5d6c;
  --secondary-coral-light: #ffa3ac;
  --secondary-coral-dark: #e45151;

  --accent-sage: #98b882;
  --accent-sage-light: #97b47c;
  --accent-sage-dark: #59773b;

  --neutral-sand: #ffffff;
  --neutral-sand-light: #faf7f2;
  --neutral-sand-dark: #f8e2ca;

  --tertiary-navy: #2d4562;
  --tertiary-navy-light: #3a626a;
  --tertiary-navy-dark: #0d131c;

  /* Gradient Combinations */
  --gradient-primary: linear-gradient(
    135deg,
    var(--primary-ocean),
    var(--secondary-coral)
  );
  --gradient-secondary: linear-gradient(
    135deg,
    var(--accent-sage),
    var(--primary-ocean)
  );
  --gradient-accent: linear-gradient(
    135deg,
    var(--neutral-sand),
    var(--accent-sage-light)
  );
  --gradient-hero: linear-gradient(
    135deg,
    var(--primary-ocean-dark),
    var(--secondary-coral-dark)
  );

  /* Typography */
  --font-primary: "Inter", sans-serif;
  --font-secondary: "Poppins", sans-serif;

  /* Spacing */
  --section-padding: 80px;
  --section-padding-sm: 60px;

  /* Borders */
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 20px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition-smooth: all 0.3s ease;
  --transition-fast: all 0.2s ease;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--tertiary-navy);
  background-color: var(--neutral-sand-light);
  overflow-x: hidden;
}

/* 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-family: var(--font-secondary);
  font-weight: 600;
  line-height: 1.2;
  color: var(--tertiary-navy);
}

h1 {
  font-size: 2.65rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 0.98rem;
}

h3 {
  font-size: 1.6rem;
  margin-bottom: 0.7rem;
}

h4 {
  font-size: 1.32rem;
  margin-bottom: 0.68rem;
}

h5 {
  font-size: 1.15rem;
  margin-bottom: 0.47rem;
}

h6 {
  font-size: 1rem;
  margin-bottom: 0.55rem;
}

p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--tertiary-navy-light);
}

.text-muted {
  color: var(--tertiary-navy-light) !important;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.navbar {
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.navbar-brand {
  font-family: var(--font-secondary);
  font-size: 1.51rem;
  font-weight: 700;
  color: var(--primary-ocean) !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--tertiary-navy) !important;
  margin: 0 0.5rem;
  transition: var(--transition-fast);
  position: relative;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-fast);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

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

/* ==========================================================================
   Breadcrumb Styles
   ========================================================================== */

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  margin-bottom: 2rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item img {
  opacity: 0.7;
  transition: var(--transition-fast);
}

.breadcrumb-item img:hover {
  opacity: 1;
}

/* ==========================================================================
   Accessibility Features
   ========================================================================== */

/* Skip to content link */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-ocean);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  transition: top 0.3s;
  z-index: 1000;
}

.skip-to-content:focus {
  top: 6px;
  color: white;
  text-decoration: none;
}

/* Focus indicators */
.nav-link:focus,
.btn:focus,
.form-control:focus {
  outline: 2px solid var(--primary-ocean);
  outline-offset: 2px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../images/hero-bg.webp") center/cover;
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 175px;
}

.hero-title {
  font-size: 3.52rem;
  font-weight: 700;
  margin-bottom: 1.64rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.37rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
  padding: var(--section-padding) 0;
}

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

.section-subtitle {
  color: var(--primary-ocean);
  font-size: 1.11rem;
  font-weight: 500;
  margin-bottom: 0.66rem;
}

.section-description {
  font-size: 1.23rem;
  color: var(--tertiary-navy-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-section {
  background: var(--neutral-sand);
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-ocean);
  margin-bottom: 1rem;
}

.feature-name {
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--tertiary-navy);
}

.feature-desc {
  color: var(--tertiary-navy-light);
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services-section {
  background: white;
}

.service-card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition-smooth);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-image {
  height: 200px;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tertiary-navy);
  font-size: 4rem;
}

.service-content {
  padding: 1.5rem;
}

.service-name {
  font-size: 1.26rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
  color: var(--tertiary-navy);
}

.service-desc {
  color: var(--tertiary-navy-light);
  margin-bottom: 1rem;
}

.service-features {
  margin-bottom: 1.55rem;
}

.service-features li {
  color: var(--tertiary-navy-light);
  margin-bottom: 0.39rem;
}

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

/* ==========================================================================
   Team Section
   ========================================================================== */

.team-section {
  background: var(--neutral-sand);
}

.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

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

.team-name {
  font-size: 1.33rem;
  font-weight: 600;
  margin-bottom: 0.62rem;
  color: var(--tertiary-navy);
}

.team-role {
  color: var(--primary-ocean);
  font-weight: 500;
}

/* ==========================================================================
   Reviews Section
   ========================================================================== */

.reviews-section {
  background: white;
}

.review-card {
  background: var(--neutral-sand);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-ocean);
}

.review-text {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--tertiary-navy-light);
}

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

.review-stars {
  color: var(--secondary-coral);
  margin-bottom: 1rem;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-section {
  background: var(--neutral-sand);
}

.faq-section .card {
  border: 1px solid #e0e0e0;
  box-shadow: none;
  margin-bottom: 1rem;
}

.faq-section .card-header {
  background-color: #f8f9fa;
  font-weight: 600;
  color: var(--tertiary-navy);
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */

.gallery-section {
  background: white;
}

.gallery-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-section {
  background: var(--neutral-sand);
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.form-control {
  border: 2px solid var(--neutral-sand);
  border-radius: var(--border-radius-sm);
  padding: 0.8rem 1rem;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-ocean);
  box-shadow: 0 0 0 0.2rem rgba(39, 116, 117, 0.25);
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  background: var(--gradient-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-info {
  margin-top: 2rem;
}

.contact-info p {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-info i {
  margin-right: 0.5rem;
  color: var(--primary-ocean);
  width: 20px;
}

/* Form Validation Styles */
.form-control.is-invalid {
  border-color: var(--secondary-coral);
  box-shadow: 0 0 0 0.2rem rgba(234, 108, 127, 0.25);
}

.form-control.is-valid {
  border-color: var(--accent-sage);
  box-shadow: 0 0 0 0.2rem rgba(135, 174, 94, 0.25);
}

.invalid-feedback {
  display: block;
  color: var(--secondary-coral);
  font-size: 0.95rem;
  margin-top: 0.37rem;
}

.valid-feedback {
  display: block;
  color: var(--accent-sage);
  font-size: 0.99rem;
  margin-top: 0.35rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--tertiary-navy);
  color: white;
  padding: 2rem 0 1rem;
}

.footer h5 {
  color: white;
  margin-bottom: 1rem;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.8);
}

.footer a:hover {
  color: var(--secondary-coral);
  text-decoration: none;
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  margin-top: 1rem;
  text-align: center;
}

/* ==========================================================================
   Additional Section Backgrounds
   ========================================================================== */

.features-section {
  background: var(--neutral-sand);
}

.priceplan-section {
  background: white;
}

.casestudy-section {
  background: var(--neutral-sand);
}

.process-section {
  background: white;
}

.timeline-section {
  background: var(--neutral-sand);
}

.career-section {
  background: white;
}

.coreinfo-section {
  background: var(--neutral-sand);
}

.blog-section {
  background: white;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-primary {
  color: var(--primary-ocean) !important;
}

.text-secondary {
  color: var(--secondary-coral) !important;
}

.bg-primary {
  background: var(--gradient-primary) !important;
}

.bg-secondary {
  background: var(--gradient-secondary) !important;
}

.bg-light {
  background: var(--neutral-sand) !important;
}

.rounded-lg {
  border-radius: var(--border-radius-lg) !important;
}

.shadow-custom {
  box-shadow: var(--shadow-lg) !important;
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-right {
  animation: slideInRight 0.6s ease-out;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }

  .hero-title {
    font-size: 2.56rem;
  }

  .hero-subtitle {
    font-size: 1.15rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.55rem;
  }

  .navbar-brand {
    font-size: 1.34rem;
  }

  .service-card {
    margin-bottom: 2rem;
  }

  .team-photo {
    width: 120px;
    height: 120px;
  }

  .gallery-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title h2 {
    font-size: 1.88rem;
  }

  .feature-card,
  .service-card {
    margin-bottom: 1.65rem;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

/* Team Social Links - Minimal Style */
.team-social-links {
  margin-top: 16px;
  padding: 10px 0;
}

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

.social-link {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  align-items: center;
  justify-content: center;
  color: #666;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid #e0e0e0;
  background: white;
}

.social-link:hover {
  transform: translateY(-1px);
  color: white;
}

.facebook-link:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: white;
}

.linkedin-link:hover {
  background: #0a66c2;
  border-color: #0a66c2;
  color: white;
}

.x-link {
  position: relative;
}

.x-link::after {
  content: "𝕏";
  font-weight: bold;
  font-size: 18px;
  color: inherit;
}

.x-link:hover {
  background: #000000;
  border-color: #000000;
  color: white;
}

.x-link:hover::after {
  color: white;
}

.x-link i {
  display: none;
}

@media (max-width: 768px) {
  .social-icons-grid {
    gap: 15px;
  }

  .social-link {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
}
