/* ========================================
   CasaCare Custom CSS - Warm Beige Theme
   ======================================== */

/* CSS Variables for Warm Beige Color Scheme */
:root {
  --color-primary: #D4A574;
  --color-primary-dark: #B8935F;
  --color-primary-light: #E8D4B8;
  --color-secondary: #8B7355;
  --color-text: #4A4A4A;
  --color-text-light: #6B6B6B;
  --color-background: #FAF8F5;
  --color-background-alt: #F5F1EB;
  --color-border: #E0D5C7;
  --color-white: #FFFFFF;
  --color-success: #7FA650;
  --color-info: #6B9AC4;
  --color-warning: #D4A574;
  --color-danger: #C17B6B;
}

/* Global Styles */
body {
  font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  color: var(--color-text);
  background-color: var(--color-background);
}

/* Navigation Styling */
.navbar-default {
  background-color: var(--color-white);
  border-bottom: 2px solid var(--color-primary);
}

.navbar-default .navbar-nav > li > a {
  color: var(--color-text);
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: var(--color-primary);
  background-color: transparent;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: var(--color-primary);
  background-color: transparent;
  border-bottom: 3px solid var(--color-primary);
}

/* Top Bar Styling */
#top {
  background-color: var(--color-primary);
  color: var(--color-white);
}

#top a {
  color: var(--color-white);
}

#top a:hover {
  color: var(--color-background);
}

/* Header and Hero Section */
.heading {
  background-color: var(--color-primary-light);
  border-bottom: 3px solid var(--color-primary);
}

.heading h1 {
  color: var(--color-text);
}

/* Button Styling */
.btn-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 500;
  transition: all 0.3s ease;
}

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

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

.btn-template-main:hover,
.btn-template-main:focus {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
}

/* Link Styling */
a {
  color: var(--color-primary);
  transition: color 0.3s ease;
}

a:hover,
a:focus {
  color: var(--color-primary-dark);
  text-decoration: none;
}

/* Feature Boxes */
.box-simple {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.box-simple:hover {
  box-shadow: 0 5px 20px rgba(212, 165, 116, 0.2);
  transform: translateY(-5px);
}

.box-simple .icon {
  color: var(--color-primary);
  font-size: 48px;
  margin-bottom: 20px;
}

.box-simple h3 {
  color: var(--color-text);
  font-weight: 600;
  margin-bottom: 15px;
}

.box-simple p {
  color: var(--color-text-light);
}

/* Pricing Cards */
.pricing-card {
  background-color: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: 10px;
  padding: 40px 30px;
  margin-bottom: 30px;
  text-align: center;
  transition: all 0.3s ease;
  min-height: 650px;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 25px rgba(212, 165, 116, 0.25);
  transform: translateY(-8px);
}

.pricing-card.featured {
  border-color: var(--color-primary);
  background-color: var(--color-primary-light);
}

.pricing-card .price-header {
  margin-bottom: 20px;
}

.pricing-card .price-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
}

.pricing-card .price-amount {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 5px;
}

.pricing-card .price-period {
  font-size: 16px;
  color: var(--color-text-light);
}

/* Service Description in Cards */
.pricing-card .service-description {
  margin-bottom: 20px;
  padding: 0 10px;
}

.pricing-card .service-description p {
  color: var(--color-text-light);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* Price Features List */
.pricing-card .price-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
  flex-grow: 1;
}

.pricing-card .price-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 14px;
}

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

.pricing-card .price-features li i {
  color: var(--color-success);
  margin-right: 10px;
}

/* Pricing Details Section */
.pricing-card .pricing-details {
  margin: 20px 0;
  padding: 15px;
  background-color: var(--color-background-alt);
  border-radius: 8px;
  text-align: left;
}

.pricing-card .pricing-details h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 10px;
  text-align: center;
}

.pricing-card .pricing-details .price-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-card .pricing-details .price-list li {
  padding: 8px 0;
  color: var(--color-text);
  font-size: 14px;
  border-bottom: 1px solid var(--color-border);
}

.pricing-card .pricing-details .price-list li:last-child {
  border-bottom: none;
}

/* Button at bottom of card */
.pricing-card .btn {
  margin-top: auto;
}

/* Service Cards */
.service-card {
  background-color: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 5px 20px rgba(212, 165, 116, 0.3);
  transform: translateY(-5px);
}

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

.service-card .service-content {
  padding: 25px;
}

.service-card h3 {
  color: var(--color-text);
  font-weight: 600;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--color-text-light);
  margin-bottom: 20px;
}

/* Contact Section */
.contact-info {
  background-color: var(--color-white);
  border-left: 4px solid var(--color-primary);
  padding: 25px;
  margin-bottom: 20px;
}

.contact-info h4 {
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 15px;
}

.contact-info p {
  color: var(--color-text);
  margin-bottom: 10px;
}

.contact-info a {
  color: var(--color-primary);
  font-weight: 500;
}

/* Form Styling */
.form-control {
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 12px 15px;
  transition: border-color 0.3s ease;
}

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

/* Footer Styling */
#footer {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

#footer a {
  color: var(--color-primary-light);
}

#footer a:hover {
  color: var(--color-white);
}

/* Footer Contact Link - Make heading clickable */
.footer-contact-link {
  color: var(--color-white) !important;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.footer-contact-link:hover {
  color: var(--color-primary-light) !important;
  transform: translateY(-2px);
  text-decoration: none;
}

#copyright {
  background-color: var(--color-text);
  color: var(--color-white);
}

/* Section Headings */
.heading-section {
  text-align: center;
  margin-bottom: 50px;
}

.heading-section h2 {
  color: var(--color-text);
  font-weight: 700;
  font-size: 36px;
  margin-bottom: 15px;
}

.heading-section p {
  color: var(--color-text-light);
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
}

.heading-section::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--color-primary);
  margin: 20px auto 0;
}

/* Carousel Styling */
.owl-carousel .owl-nav button {
  background-color: var(--color-primary) !important;
  color: var(--color-white) !important;
}

.owl-carousel .owl-nav button:hover {
  background-color: var(--color-primary-dark) !important;
}

.owl-carousel .owl-dots .owl-dot.active span {
  background-color: var(--color-primary) !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .pricing-card {
    margin-bottom: 20px;
  }
  
  .heading-section h2 {
    font-size: 28px;
  }
  
  .service-card img {
    height: 200px;
  }
}

/* Utility Classes */
.bg-beige {
  background-color: var(--color-background-alt);
}

.text-primary-custom {
  color: var(--color-primary);
}

.border-primary-custom {
  border-color: var(--color-primary);
}

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

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

/* Navbar Smart Hide/Show Animation */
.navbar-affixed-top {
  transition: transform 0.3s ease-in-out;
  transform: translate3d(0, 0, 0);
}

.navbar-affixed-top.nav-up {
  transform: translate3d(0, -100%, 0);
}

.navbar-affixed-top.nav-down {
  transform: translate3d(0, 0, 0);
}

/* Ensure smooth scrolling behavior */
html {
  scroll-behavior: smooth;
}

/* Prevent layout shift when navbar hides */
body {
  padding-top: 0;
}

/* Made with Bob */

/* ========================================
   Simple Homepage Hero - Full Screen
   ======================================== */

/* Prevent any scroll on homepage only */
body.home {
    overflow: hidden;
    margin: 0;
    padding: 0;
}

body.home #all {
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.homepage-hero {
    background-image: url('/images/homepage.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100vh;
    width: 100%;
    max-width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 !important;
    padding-bottom: 60px;
    padding-top: 100px;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: flex;
    align-items: flex-end;
    z-index: 1;
    box-sizing: border-box;
}

.homepage-hero .container {
    margin-left: auto;
    margin-right: auto;
}

/* Ensure nav and top bar are above hero and clickable */
#top {
    position: relative;
    z-index: 100;
}

.navbar, .navbar-default, .navbar-affixed-top {
    position: relative !important;
    z-index: 100 !important;
}

/* Make sure dropdown menus work */
.navbar .dropdown-menu {
    z-index: 101;
}

.homepage-hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.5) 100%);
    pointer-events: none;
}

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

.homepage-hero .feature-blocks {
    margin-top: 20px;
}

.homepage-hero .feature-item {
    text-align: center;
    padding: 20px;
}

.homepage-hero .feature-item i {
    font-size: 48px;
    color: #FFFFFF;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    margin-bottom: 15px;
    display: block;
}

.homepage-hero .feature-item h3 {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
}

.homepage-hero .feature-item:hover i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.homepage-hero .feature-item:hover h3 {
    transform: translateY(-3px);
    transition: transform 0.3s ease;
}

/* Responsive */
@media (max-width: 767px) {
    .homepage-hero {
        min-height: 100vh;
        padding-bottom: 40px;
    }
    
    .homepage-hero .feature-item {
        margin-bottom: 20px;
    }
    
    .homepage-hero .feature-item i {
        font-size: 40px;
    }
    
    .homepage-hero .feature-item h3 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .homepage-hero .feature-item i {
        font-size: 36px;
    }
    
    .homepage-hero .feature-item h3 {
        font-size: 15px;
    }
}


/* ========================================
   Services Page Styles
   ======================================== */
.services-wrapper {
    background-color: #FAF8F5;
    padding: 60px 0;
}
.services-content {
    background: #FFFFFF;
    padding: 60px 80px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(139, 115, 85, 0.08);
    max-width: 1000px;
    margin: 0 auto;
}
.services-content h2 {
    color: #D4A574;
    font-size: 2.6rem;
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 15px;
    display: block;
}
.services-content h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: #D4A574;
    border-radius: 2px;
}
.services-content > *:first-child {
    margin-top: 0;
}
.services-content p {
    font-size: 1.25rem;
    color: #4A4A4A;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 2rem;
}
.services-content h3 {
    color: #8B7355;
    font-size: 1.6rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 5px solid #E8D4B8;
    padding-left: 20px;
    font-weight: 500;
}
.services-content h2:nth-of-type(1)::before {
    content: "";
    display: inline-block;
    width: 36px; height: 36px;
    margin-right: 15px;
    vertical-align: middle;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4A574' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 12h.01'/%3E%3Cpath d='M15 12h.01'/%3E%3Cpath d='M10 16c.5.3 1.2.5 2 .5s1.5-.2 2-.5'/%3E%3Cpath d='M19 6.3a9 9 0 0 1 1.8 3.9 2 2 0 0 1 0 3.6 9 9 0 0 1-17.6 0 2 2 0 0 1 0-3.6A9 9 0 0 1 12 3c2 0 3.5 1.1 3.5 2.5s-.9 1.5-2 1.5c-1.25 0-2.5.5-3.5 1.5'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    margin-bottom: 5px;
}
.services-content h2:nth-of-type(2)::before {
    content: "";
    display: inline-block;
    width: 36px; height: 36px;
    margin-right: 15px;
    vertical-align: middle;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4A574' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.937A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .962 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.582a.5.5 0 0 1 0 .962l-6.135 1.582a2 2 0 0 0-1.437 1.438l-1.582 6.135a.5.5 0 0 1-.962 0z'/%3E%3Cpath d='M20 3v4'/%3E%3Cpath d='M22 5h-4'/%3E%3Cpath d='M4 17v2'/%3E%3Cpath d='M5 18H3'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    margin-bottom: 5px;
}
.services-content h2:nth-of-type(3)::before {
    content: "";
    display: inline-block;
    width: 36px; height: 36px;
    margin-right: 15px;
    vertical-align: middle;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-2 -2 28 28' fill='none' stroke='%23D4A574' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-4a2 2 0 0 0-2-2h-6a2 2 0 0 0-2 2v4'/%3E%3Cpath d='M12 15V8'/%3E%3Cpath d='M16 8a4 4 0 0 0-3-7.5 4 4 0 0 0-6 0A4 4 0 0 0 8 8a4 4 0 0 0-1 7.7V21h10v-5.3A4 4 0 0 0 16 8z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    margin-bottom: 5px;
}
.services-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 3rem;
    margin-top: 1rem;
}
.services-content li {
    position: relative;
    color: #4A4A4A;
    font-size: 1.15rem;
    line-height: 1.8;
    padding-left: 35px;
    margin-bottom: 12px;
}
.services-content li:before {
    content: "✦";
    position: absolute;
    left: 0;
    color: #D4A574;
    font-size: 1.3rem;
    top: -2px;
}
.services-content hr {
    border-top: 2px dashed #E0D5C7;
    margin: 4.5rem 0;
}
.services-content strong {
    color: #8B7355;
    font-weight: bold;
}
.services-content em {
    font-size: 1.1rem;
    color: #6B6B6B;
    display: block;
    text-align: center;
    margin-top: 3rem;
}
.cta-section {
    background: linear-gradient(135deg, #D4A574 0%, #8B7355 100%);
    border-radius: 16px;
    padding: 50px;
    color: white;
    box-shadow: 0 15px 30px rgba(139, 115, 85, 0.2);
    margin-top: 40px;
}
.cta-section h3 {
    color: white;
}
.cta-section p {
    color: rgba(255, 255, 255, 0.9);
}
.cta-section .btn {
    background: white;
    color: #8B7355;
    border: none;
    font-weight: bold;
    padding: 15px 35px;
    font-size: 1.2rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.cta-section .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
@media (max-width: 768px) {
    .services-content {
        padding: 30px 20px;
    }
    .services-content h2 {
        font-size: 2rem;
    }
    .services-content ul {
        grid-template-columns: 1fr;
    }
}
