/* Custom T-Shirt Store CSS with Bootstrap 5 Integration */

/* Color Palette Variables */
:root {
  /* Primary Colors */
  --color-primary: #2c3e50;     /* Dark Blue-Gray */
  --color-secondary: #e74c3c;   /* Red */
  --color-accent: #f39c12;      /* Orange */
  --color-success: #27ae60;     /* Green */
  --color-tertiary: #8e44ad;    /* Purple */
  
  /* Light Shades */
  --color-primary-light: #34495e;
  --color-secondary-light: #ec7063;
  --color-accent-light: #f8c471;
  --color-success-light: #58d68d;
  --color-tertiary-light: #bb8fce;
  
  /* Dark Shades */
  --color-primary-dark: #1b2631;
  --color-secondary-dark: #c0392b;
  --color-accent-dark: #d68910;
  --color-success-dark: #1e8449;
  --color-tertiary-dark: #6c3483;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  --gradient-secondary: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  --gradient-hero: linear-gradient(135deg, var(--color-primary-dark), var(--color-tertiary-dark));
  
  /* Conservative Font Sizes */
  --font-size-base: 16px;
  --font-size-small: 14px;
  --font-size-large: 18px;
  --font-size-h1: 2.2rem;
  --font-size-h2: 1.8rem;
  --font-size-h3: 1.4rem;
  --font-size-h4: 1.2rem;
  --navbar-brand-size: 1.3rem;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-primary);
  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 - Conservative Sizes */
h1 { font-size: var(--font-size-h1); font-weight: 700; margin-bottom: 1rem; }
h2 { font-size: var(--font-size-h2); font-weight: 600; margin-bottom: 0.8rem; }
h3 { font-size: var(--font-size-h3); font-weight: 600; margin-bottom: 0.6rem; }
h4 { font-size: var(--font-size-h4); font-weight: 500; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }

/* Header & Navigation */
.navbar {
  background: var(--gradient-primary) !important;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-size: var(--navbar-brand-size) !important;
  font-weight: 700;
  color: white !important;
}

.navbar-nav .nav-link {
  font-size: 10px !important;
  color: rgba(255,255,255,0.9) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--color-accent) !important;
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-hero);
  position: relative;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../FIN_images/hero-bg.webp') center/cover;
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: var(--font-size-h1);
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: var(--font-size-h3);
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.hero-desc {
  font-size: var(--font-size-large);
  margin-bottom: 2rem;
  max-width: 600px;
}

/* Decorative Shapes */
.shape-blob {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  animation: float 6s ease-in-out infinite;
}

.shape-blob:nth-child(1) {
  width: 200px;
  height: 200px;
  top: 20%;
  right: 10%;
  animation-delay: 0s;
}

.shape-blob:nth-child(2) {
  width: 150px;
  height: 150px;
  bottom: 30%;
  left: 15%;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

/* Section Styling */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--color-primary);
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-secondary);
  border-radius: 2px;
}

.section-subtitle {
  color: var(--color-primary-light);
  font-size: var(--font-size-large);
  margin-bottom: 1rem;
}

.section-desc {
  color: #666;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border-color: var(--color-accent);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.service-card h4 {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.service-card .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin: 1rem 0;
}

.service-card .features {
  text-align: left;
  margin: 1rem 0;
}

.service-card .features li {
  margin-bottom: 0.5rem;
  color: #666;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  text-align: center;
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 4px solid var(--color-accent);
}

.team-card h4 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.team-card .role {
  color: var(--color-secondary);
  font-weight: 500;
}

/* Testimonials Slider */
.testimonials-slider {
  margin-top: 3rem;
  position: relative;
}

.testimonials-slider .swiper {
  position: relative;
  padding-bottom: 3rem;
}

.testimonials-slider .swiper-pagination {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.testimonials-slider .swiper-button-next,
.testimonials-slider .swiper-button-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-accent);
  background: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.testimonials-slider .swiper-button-next {
  right: -22px;
}

.testimonials-slider .swiper-button-prev {
  left: -22px;
}

.testimonials-slider .swiper-button-next:after,
.testimonials-slider .swiper-button-prev:after {
  font-size: 16px;
  font-weight: 700;
}

.testimonial-slide {
  background: white;
  padding: 3rem 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin: 0 1rem;
}

.testimonial-text {
  font-style: italic;
  font-size: var(--font-size-large);
  margin-bottom: 2rem;
  color: #555;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-primary);
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  margin-top: 3rem;
}

.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  overflow: hidden;
}

.faq-question {
  background: var(--gradient-primary);
  color: white;
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background: var(--color-primary-light);
}

.faq-answer {
  padding: 1.5rem;
  color: #666;
  display: none;
}

.faq-answer.show {
  display: block;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  margin-top: 3rem;
}

.form-group {
  margin-bottom: 2rem;
}

.form-control {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 1rem;
  font-size: var(--font-size-base);
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 0.2rem rgba(243, 156, 18, 0.25);
}

.btn-primary {
  background: var(--gradient-secondary);
  border: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: var(--font-size-base);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(231, 76, 60, 0.3);
}

/* Footer */
.footer {
  background: var(--color-primary-dark);
  color: white;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.footer a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
}

/* Breadcrumbs */
.breadcrumb-img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 5px;
}

/* Additional Page Sections */
.add-page-section {
  padding: 60px 0;
}

.add-page-section:nth-child(odd) {
  background: #f8f9fa;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.process-step {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.process-step::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--gradient-secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.process-container {
  counter-reset: step-counter;
}

/* Price Plans */
.price-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.price-card {
  background: white;
  border-radius: 15px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.price-card.featured {
  border: 3px solid var(--color-accent);
  transform: scale(1.05);
}

.price-card.featured::before {
  content: 'Popular';
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--color-accent);
  color: white;
  padding: 5px 40px;
  transform: rotate(45deg);
  font-size: 12px;
  font-weight: 600;
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin: 1rem 0;
}

.price-period {
  color: #666;
  font-size: var(--font-size-small);
}

/* Timeline */
.timeline {
  position: relative;
  margin-top: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-accent);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 3rem;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 3rem;
}

.timeline-content {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 20px;
  width: 0;
  height: 0;
  border: 10px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -20px;
  border-left-color: white;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -20px;
  border-right-color: white;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.blog-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 2rem;
}

.blog-card h4 {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.blog-card .excerpt {
  color: #666;
  margin-bottom: 1.5rem;
}

.blog-card .read-more {
  color: var(--color-secondary);
  font-weight: 600;
  text-decoration: none;
}

.blog-card .read-more:hover {
  color: var(--color-secondary-dark);
}

/* Utilities */
.text-gradient {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-primary {
  background: var(--gradient-primary);
}

.bg-gradient-secondary {
  background: var(--gradient-secondary);
}

/* Space Page */
#space {
  min-height: 70vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  text-align: center;
}