/* Main CSS for Sanatorium for Pensioners Template */

:root {
  /* Primary color palette */
  --primary-color-1: #85B8CB; /* Soft blue - primary brand color */
  --primary-color-2: #D6BC9E; /* Warm sand - accent color */
  --primary-color-3: #A0C1A7; /* Sage green - calming color */
  --primary-color-4: #E8D4C5; /* Soft beige - background color */
  --primary-color-5: #B88E8D; /* Dusty rose - highlight color */
  
  /* Light and dark shades */
  --primary-color-1-light: #A7CFE0;
  --primary-color-1-dark: #5A8B9E;
  --primary-color-2-light: #ECD9C1;
  --primary-color-2-dark: #B39777;
  --primary-color-3-light: #C2DCC6;
  --primary-color-3-dark: #7A9B80;
  --primary-color-4-light: #F7EBE1;
  --primary-color-4-dark: #C9B5A7;
  --primary-color-5-light: #D5B1AF;
  --primary-color-5-dark: #96686A;
  
  /* Text colors */
  --text-dark: #3A4A4D;
  --text-medium: #6B7F83;
  --text-light: #F7F8F9;
  
  /* Common values */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --transition-speed: 0.3s;
}

/* Base styling */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background-color: #FCFCFC;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color-1);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

a:hover {
  color: var(--primary-color-1-dark);
}

/* Button styles */
.btn {
  border-radius: var(--border-radius-md);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: all var(--transition-speed) ease;
}

.btn-primary {
  background-color: var(--primary-color-1);
  border-color: var(--primary-color-1);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-color-1-dark);
  border-color: var(--primary-color-1-dark);
}

.btn-secondary {
  background-color: var(--primary-color-2);
  border-color: var(--primary-color-2);
  color: var(--text-dark);
}

.btn-secondary:hover {
  background-color: var(--primary-color-2-dark);
  border-color: var(--primary-color-2-dark);
}

.btn-outline-primary {
  border-color: var(--primary-color-1);
  color: var(--primary-color-1);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color-1);
  color: white;
}

/* Section styling */
.section {
  padding: 5rem 0;
}

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

.section-subtitle {
  text-align: center;
  color: var(--text-medium);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.section-desc {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

/* Card styling */
.card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  margin-bottom: 2rem;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.card-text {
  color: var(--text-medium);
}

/* Header styling */
header {
  padding: 1rem 0;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color-1);
}

.navbar-nav .nav-link {
  font-weight: 600;
  padding: 0.5rem 1rem !important;
  color: var(--text-dark);
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color-1);
}

.navbar-nav .nav-link.active {
  color: var(--primary-color-1);
}

/* Hero section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 800px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slider {
  height: 100%;
  width: 100%;
}

.hero-slide {
  position: relative;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: white;
}

.hero-content h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color-4-light);
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* About section */
.about-section {
  background-color: var(--primary-color-4-light);
  padding: 5rem 0;
}

.about-feature {
  text-align: center;
  margin-bottom: 2rem;
}

.about-feature i {
  font-size: 2.5rem;
  color: var(--primary-color-1);
  margin-bottom: 1rem;
}

.about-feature h4 {
  margin-bottom: 0.75rem;
}

/* Services section */
.services-section {
  padding: 5rem 0;
}

.service-item {
  height: 100%;
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-speed) ease;
  text-align: center;
  margin-bottom: 2rem;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background-color: var(--primary-color-3-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon i {
  font-size: 2rem;
  color: var(--primary-color-3-dark);
}

.service-name {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color-5);
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.service-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.service-features li:last-child {
  border-bottom: none;
}

/* Features section */
.features-section {
  background-color: var(--primary-color-2-light);
  padding: 5rem 0;
}

.feature-item {
  display: flex;
  margin-bottom: 2rem;
}

.feature-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background-color: white;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-icon i {
  font-size: 1.5rem;
  color: var(--primary-color-1);
}

.feature-content h4 {
  margin-bottom: 0.5rem;
}

/* Price plans section */
.priceplan-section {
  padding: 5rem 0;
}

.price-card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-speed) ease;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  height: 100%;
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.price-header {
  background-color: var(--primary-color-1);
  color: white;
  padding: 2rem 1.5rem;
}

.price-name {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.price-value {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0;
}

.price-body {
  padding: 2rem 1.5rem;
}

.price-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.price-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.price-features li:last-child {
  border-bottom: none;
}

/* Team section */
.team-section {
  background-color: var(--primary-color-3-light);
  padding: 5rem 0;
}

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

.team-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--text-medium);
  margin-bottom: 1rem;
}

/* Reviews section */
.reviews-section {
  padding: 5rem 0;
}

.review-slider {
  padding-bottom: 3rem;
}

.review-item {
  padding: 2rem;
  background-color: white;
  border-radius: var(--border-radius-md);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  margin: 1rem;
}

.review-text {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.review-author {
  font-weight: 700;
  color: var(--primary-color-1);
}

/* Core info section */
.coreinfo-section {
  background-color: var(--primary-color-1-light);
  padding: 5rem 0;
}

.coreinfo-item {
  text-align: center;
  margin-bottom: 2rem;
}

.coreinfo-icon {
  font-size: 2.5rem;
  color: var(--primary-color-1-dark);
  margin-bottom: 1rem;
}

.coreinfo-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

/* Contact section */
.contact-section {
  padding: 5rem 0;
}

.contact-form {
  padding: 2rem;
  background-color: white;
  border-radius: var(--border-radius-md);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-control {
  border-radius: var(--border-radius-md);
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.form-control:focus {
  box-shadow: none;
  border-color: var(--primary-color-1);
}

.form-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-option {
  padding: 0.5rem 1rem;
  background-color: var(--primary-color-4-light);
  border-radius: var(--border-radius-sm);
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  display: inline-block;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.service-option:hover, .service-option.active {
  background-color: var(--primary-color-1);
  color: white;
}

/* Blog section */
.blog-section {
  padding: 5rem 0;
  background-color: var(--primary-color-4-light);
}

.blog-card {
  height: 100%;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-speed) ease;
  margin-bottom: 2rem;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-img {
  height: 200px;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

.blog-card:hover .blog-img img {
  transform: scale(1.1);
}

.blog-body {
  padding: 1.5rem;
}

.blog-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.blog-excerpt {
  color: var(--text-medium);
  margin-bottom: 1.5rem;
}

.blog-link {
  font-weight: 600;
  color: var(--primary-color-1);
}

/* Footer */
footer {
  background-color: var(--primary-color-1-dark);
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer-heading {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-text {
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-speed) ease;
}

.footer-links a:hover {
  color: white;
}

.contact-info {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
}

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

.contact-info a {
  color: rgba(255, 255, 255, 0.8);
}

.contact-info a:hover {
  color: white;
}

.copyright {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Shape decorations */
.shape {
  position: absolute;
  z-index: -1;
}

.shape-top-right {
  top: -100px;
  right: -100px;
}

.shape-bottom-left {
  bottom: -100px;
  left: -100px;
}

/* Index Space Page */
#space {
  min-height: 500px;
  width: 100%;
} 