/* Tiny Home Interior Customization Template - Main CSS */

/* Color Palette Variables */
:root {
  --primary-color: #8698bd;
  --secondary-color: #a1c2cb;
  --accent-color: #e9eaeb;
  --dark-color: #3e5968;
  --light-color: #F8F9FA;
  
  /* Color Shades */
  --primary-dark: #5070ac;
  --primary-light: #95b3d0;
  --secondary-dark: #c1e2eb;
  --secondary-light: #cbd9e3;
  --accent-dark: #d3e0ff;
  --accent-light: #F3F8FF;
  --dark-light: #526180;
  --light-dark: #f7f9fa;
  
  /* Typography */
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-xxl: 1.5rem;
  --font-size-h1: 2rem;
  --font-size-h2: 1.75rem;
  --font-size-h3: 1.5rem;
  --font-size-h4: 1.25rem;
  --font-size-h5: 1.125rem;
  --font-size-h6: 1rem;
  
  /* Spacing */
  --section-padding: 4rem 0;
  --card-padding: 1.5rem;
  --border-radius: 0.5rem;
  --box-shadow: 0 6px 6px rgba(0, 0, 0, 0.1);
}

/* Global Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
  font-size: var(--font-size-base);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
h4 { font-size: var(--font-size-h4); }
h5 { font-size: var(--font-size-h5); }
h6 { font-size: var(--font-size-h6); }

p {
  margin-bottom: 1rem;
  color: var(--dark-light);
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Header Styles */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--dark-color);
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(110, 123, 179, 0.10) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

.hero-content {
  z-index: 2;
  position: relative;
    padding-top: 225px;
}

.hero-title {
  font-size: var(--font-size-h1);
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: var(--primary-color);
  margin-bottom: 1.65rem;
}

.hero-description {
  font-size: var(--font-size-base);
  color: var(--dark-light);
  margin-bottom: 2rem;
}

/* Decorative Shape */
.decorative-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  opacity: 0.1;
  animation: float 15s ease-in-out infinite;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 80%;
  animation-delay: -5s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: 5%;
  animation-delay: -10s;
}

/* Section Styles */
.section {
  padding: var(--section-padding);
}

.section-title {
  font-size: var(--font-size-h2);
  font-weight: 700;
  color: var(--dark-color);
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 1.72rem;
}

.section-description {
  font-size: var(--font-size-base);
  color: var(--dark-light);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Card Styles */
.custom-card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.custom-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 11px 25px rgba(0, 0, 0, 0.15);
}

.custom-card .card-body {
  padding: var(--card-padding);
}

.custom-card .card-title {
  font-size: var(--font-size-h5);
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.custom-card .card-text {
  color: var(--dark-light);
  margin-bottom: 1rem;
}

.price-tag {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--primary-color);
  margin-top: auto;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-item {
  text-align: center;
  padding: 2rem;
  border-radius: var(--border-radius);
  background: white;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-title {
  font-size: var(--font-size-h5);
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.service-description {
  color: var(--dark-light);
  margin-bottom: 1.70rem;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-item {
  text-align: center;
  padding: 1.5rem;
}

.feature-icon {
  font-size: 2.59rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-member {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  background: white;
  box-shadow: var(--box-shadow);
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  object-fit: cover;
  border: 4px solid var(--accent-color);
}

.team-name {
  font-size: var(--font-size-h6);
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.62rem;
}

.team-role {
  color: var(--primary-color);
  font-size: var(--font-size-sm);
}

/* Reviews Section */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.review-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  position: relative;
}

.review-text {
  font-style: italic;
  color: var(--dark-light);
  margin-bottom: 1.58rem;
}

.review-author {
  font-weight: 600;
  color: var(--dark-color);
}

/* FAQ Section */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.faq-item {
  background: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.faq-question {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.faq-answer {
  color: var(--dark-light);
  line-height: 1.6;
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 1.62rem;
}

.form-label {
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.65rem;
}

.form-control {
  border: 2px solid var(--accent-color);
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  font-size: var(--font-size-base);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(135, 145, 195, 0.25);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.75rem 2rem;
  font-size: var(--font-size-base);
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer h5 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.footer p, .footer a {
  color: var(--light-color);
  text-decoration: none;
  margin-bottom: 0.69rem;
}

.footer a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid var(--dark-light);
  padding-top: 1rem;
  margin-top: 2rem;
  text-align: center;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Utility Classes */
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-dark { color: var(--dark-color); }
.text-light { color: var(--light-color); }

.bg-primary { background-color: var(--primary-color); }
.bg-secondary { background-color: var(--secondary-color); }
.bg-accent { background-color: var(--accent-color); }
.bg-light { background-color: var(--light-color); }

.border-primary { border-color: var(--primary-color); }
.border-secondary { border-color: var(--secondary-color); }

/* Breadcrumbs */
.breadcrumb {
  background-color: transparent;
  padding: 0.5rem 0;
  margin-bottom: 1rem;
}

.breadcrumb-item img {
  width: 24px;
  height: 24px;
  object-fit: cover;
}

/* Space Page */
#space {
  min-height: 70vh;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#space::before {

  font-size: var(--font-size-xxl);
  color: var(--primary-color);
  font-weight: 600;
} 


/* 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;
    }
}
