/* Personal Time Capsule - Main Styles */
:root {
  /* Primary Color Palette - 5 colors plus shades */
  --color-primary: #734877;     /* Deep purple for elegance */
  --color-secondary: #d49a66;   /* Warm gold for vintage feel */
  --color-accent: #5c7573;      /* Sage green for nostalgia */
  --color-highlight: #bb8990;   /* Dusty rose for warmth */
  --color-neutral: #555c70;     /* Cool gray for balance */
  
  /* Light shades */
  --color-primary-light: #bd90c0;
  --color-secondary-light: #eabe99;
  --color-accent-light: #90a7a5;
  --color-highlight-light: #edcccf;
  --color-neutral-light: #a9abb3;
  
  /* Dark shades */
  --color-primary-dark: #4f2c4c;
  --color-secondary-dark: #967a4f;
  --color-accent-dark: #456060;
  --color-highlight-dark: #795351;
  --color-neutral-dark: #556475;
  
  /* Background and text */
  --bg-primary: #FEFEFE;
  --bg-secondary: #F8F9FA;
  --text-primary: #2e3951;
  --text-secondary: #576478;
  --text-light: #FFFFFF;
  
  /* Conservative font sizes */
  --font-size-base: 16px;
  --font-size-sm: 14px;
  --font-size-lg: 12px;
  --font-size-xl: 20px;
  --font-size-2xl: 24px;
  --font-size-3xl: 28px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Header */
.navbar {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  box-shadow: 0 4px 12px rgba(162, 81, 154, 0.10);
}

.navbar-brand {
  font-size: var(--font-size-lg) !important;
  font-weight: 600;
  color: var(--text-light) !important;
}

.navbar-nav .nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--color-secondary-light) !important;
}

/* Hero Section */
.hero-section {
  padding-top: 50px;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../MUH_images/hero-bg.webp') center/cover;
  opacity: 0.2;
  z-index: 1;
}

.hero-content {
  padding-top: 100px !important;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1.10rem;
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  color: var(--color-secondary-light);
  margin-bottom: 1.63rem;
}

.hero-desc {
  font-size: var(--font-size-lg);
  color: var(--text-light);
  opacity: 0.9;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.10rem;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  text-align: center;
  margin-bottom: 1.63rem;
  color: var(--color-primary);
}

.section-desc {
  text-align: center;
  margin-bottom: 3.22rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about-section {
  background: var(--bg-secondary);
}

.feature-card {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 7px 19px rgba(0,0,0,0.08);
  text-align: center;
  margin-bottom: 2.15rem;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
}

.feature-card .icon {
  font-size: 2.63rem;
  color: var(--color-primary);
  margin-bottom: 1.10rem;
}

.feature-name {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 1.10rem;
  color: var(--text-primary);
}

.feature-desc {
  color: var(--text-secondary);
}

/* Services Section */
.services-section {
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-highlight-light));
}

.service-card {
  background: var(--bg-primary);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2.15rem;
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.63rem;
}

.service-name {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 1.10rem;
  color: var(--text-primary);
}

.service-desc {
  color: var(--text-secondary);
  margin-bottom: 1.63rem;
}

.service-price {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.10rem;
}

.service-features {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
}

/* Team Section */
.team-section {
  background: var(--bg-secondary);
}

.team-member {
  text-align: center;
  margin-bottom: 2.15rem;
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--color-secondary);
}

.team-name {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 0.74rem;
  color: var(--text-primary);
}

.team-role {
  color: var(--color-primary);
  font-weight: 500;
}

/* Reviews Section */
.reviews-section {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-secondary-light));
  color: var(--text-light);
}

.review-card {
  background: rgba(255,255,255,0.1);
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  margin-bottom: 2.15rem;
}

.review-text {
  font-style: italic;
  margin-bottom: 1.63rem;
  font-size: var(--font-size-lg);
}

.review-author {
  font-weight: 600;
  color: var(--color-secondary-light);
}

/* Contact Section */
.contact-section {
  background: var(--bg-secondary);
}

.contact-form {
  background: var(--bg-primary);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-control {
  border: 2px solid var(--color-neutral-light);
  border-radius: 8px;
  padding: 12px 15px;
  margin-bottom: 1.10rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(161, 100, 154, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
}

/* Blog Section */
.blog-section {
  background: var(--bg-primary);
}

.blog-card {
  background: var(--bg-secondary);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  margin-bottom: 2.15rem;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

.blog-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 1.10rem;
  color: var(--text-primary);
}

.blog-excerpt {
  color: var(--text-secondary);
  margin-bottom: 1.10rem;
}

.blog-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.blog-link:hover {
  color: var(--color-primary-dark);
}

/* FAQ Section */
.faq-section {
  background: var(--bg-secondary);
}

.faq-item {
  background: var(--bg-primary);
  border-radius: 10px;
  margin-bottom: 1.10rem;
  overflow: hidden;
}

.faq-question {
  background: var(--color-primary);
  color: var(--text-light);
  padding: 1.5rem;
  font-weight: 600;
  margin: 0;
  cursor: pointer;
}

.faq-answer {
  padding: 1.5rem;
  color: var(--text-secondary);
  display: none;
}

/* Gallery Section */
.gallery-section {
  background: var(--bg-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--text-primary));
  color: var(--text-light);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--color-secondary-light);
  margin-bottom: 1.10rem;
}

.footer p, .footer a {
  color: var(--text-light);
  opacity: 0.8;
}

.footer a:hover {
  opacity: 1;
  color: var(--color-secondary-light);
}

/* Breadcrumbs */
.breadcrumb {
  background: var(--bg-secondary);
  padding: 1rem 0;
}

.breadcrumb-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

/* Utilities */
.text-center { text-align: center; }
.mb-3 { margin-bottom: 1.10rem; }
.mb-4 { margin-bottom: 1.63rem; }
.mb-5 { margin-bottom: 3.22rem; }
.py-5 { padding: 3rem 0; }

/* Space page */
#space {
  min-height: 80vh;
  background: linear-gradient(135deg, var(--color-accent), var(--color-highlight));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-2xl);
  color: var(--text-light);
  text-align: center;
} 


/* Team Social Links - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

.social-icons-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
