/* ============================================
   RESPITE CARE TEMPLATE - MAIN CSS
   ============================================ */

/* Root Variables - Harmonious Pastel Palette */
:root {
    /* Primary Colors */
    --primary-lavender: #C7A2D1;
    --primary-sage: #A8C998;
    --primary-peach: #F4C2A1;
    --primary-powder: #B8D4E3;
    --primary-vanilla: #F2E8D5;
    
    /* Light/Dark Shades */
    --light-lavender: #E3D1E8;
    --dark-lavender: #9B7FA7;
    --light-sage: #C8E0BD;
    --dark-sage: #7FA16F;
    --light-peach: #F8DBC7;
    --dark-peach: #E09A72;
    --light-powder: #D6E8F0;
    --dark-powder: #8FB4CC;
    --light-vanilla: #F7F0E7;
    --dark-vanilla: #E5D4B8;
    
    /* Text Colors */
    --text-primary: #2C3E50;
    --text-secondary: #5D6D7E;
    --text-light: #85929E;
    --text-white: #FFFFFF;
    
    /* Background Colors */
    --bg-light: #FAFBFC;
    --bg-white: #FFFFFF;
    --bg-dark: #2C3E50;
    
    /* Shadows */
    --shadow-soft: 0 4px 15px rgba(0,0,0,0.08);
    --shadow-medium: 0 8px 25px rgba(0,0,0,0.12);
    --shadow-strong: 0 15px 35px rgba(0,0,0,0.15);
    
    /* Transitions */
    --transition-smooth: all 0.3s ease;
    --transition-fast: all 0.2s ease;
}

/* ============================================
   RESET & 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: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary-lavender);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--dark-lavender);
    text-decoration: none;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(199, 162, 209, 0.1);
    transition: var(--transition-smooth);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-lavender) !important;
    transition: var(--transition-fast);
}

.navbar-brand:hover {
    color: var(--dark-lavender) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-primary) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
    transition: var(--transition-fast);
}

.navbar-nav .nav-link:hover {
    background-color: var(--light-lavender);
    color: var(--dark-lavender) !important;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--light-vanilla) 0%, var(--light-powder) 100%);
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-shapes .shape-1,
.hero-bg-shapes .shape-2,
.hero-bg-shapes .shape-3 {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.hero-bg-shapes .shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-lavender);
    top: 10%;
    right: -100px;
    animation: float 6s ease-in-out infinite;
}

.hero-bg-shapes .shape-2 {
    width: 200px;
    height: 200px;
    background: var(--primary-sage);
    bottom: 20%;
    left: -50px;
    animation: float 8s ease-in-out infinite reverse;
}

.hero-bg-shapes .shape-3 {
    width: 150px;
    height: 150px;
    background: var(--primary-peach);
    top: 50%;
    left: 70%;
    animation: float 7s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.hero-content h2 {
    font-size: 1.8rem;
    color: var(--primary-lavender);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: 4rem 0;
}

.bg-light {
    background-color: var(--bg-light) !important;
}

/* ============================================
   CARDS & COMPONENTS
   ============================================ */

.feature-card,
.service-card,
.price-card,
.blog-card,
.content-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border: none;
    height: 100%;
}

.feature-card:hover,
.service-card:hover,
.content-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-lavender);
    margin-bottom: 1rem;
}

.service-card img {
    border-radius: 10px;
    margin-bottom: 1.5rem;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-sage);
    margin-top: 1rem;
}

.price-card {
    text-align: center;
    position: relative;
}

.price-card.featured {
    background: linear-gradient(135deg, var(--light-lavender) 0%, var(--light-powder) 100%);
    transform: scale(1.05);
    border: 2px solid var(--primary-lavender);
}

.price-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-lavender);
    margin: 1.5rem 0;
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.price-card ul li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.price-card ul li::before {
    content: "✓";
    color: var(--primary-sage);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* ============================================
   TEAM SECTION
   ============================================ */

.team-member {
    text-align: center;
    padding: 1rem;
}

.team-member img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 4px solid var(--light-lavender);
    transition: var(--transition-smooth);
}

.team-member:hover img {
    border-color: var(--primary-lavender);
    transform: scale(1.1);
}

.team-member h5 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--primary-lavender);
    font-size: 0.9rem;
}

/* ============================================
   REVIEWS SLIDER
   ============================================ */

.reviews-swiper {
    padding: 2rem 0;
}

.review-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    margin: 1rem;
}

.review-card p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.review-card h5 {
    color: var(--primary-lavender);
    font-weight: 600;
}

.swiper-pagination-bullet {
    background: var(--primary-lavender);
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-lavender);
}

/* ============================================
   FORM STYLES
   ============================================ */

.contact-form {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
}

.form-control {
    border: 2px solid var(--light-powder);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary-lavender);
    box-shadow: 0 0 0 0.2rem rgba(199, 162, 209, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-lavender) 0%, var(--primary-sage) 100%);
    border: none;
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background: linear-gradient(135deg, var(--dark-lavender) 0%, var(--dark-sage) 100%);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.accordion-button {
    background: var(--bg-white);
    border: none;
    color: var(--text-primary);
    font-weight: 600;
    padding: 1.25rem 1.5rem;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button:not(.collapsed) {
    background: var(--light-lavender);
    color: var(--dark-lavender);
}

.accordion-body {
overflow-x: hidden;
    background: var(--bg-white);
    color: var(--text-secondary);
    padding: 1.5rem;
}

/* ============================================
   GALLERY
   ============================================ */

.gallery-img {
    border-radius: 10px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

/* ============================================
   FEATURE ITEMS
   ============================================ */

.feature-item,
.service-highlight,
.quality-metric,
.info-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    height: 100%;
}

.feature-item:hover,
.service-highlight:hover,
.quality-metric:hover,
.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.feature-item i,
.service-highlight i,
.quality-metric i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-item i { color: var(--primary-sage); }
.service-highlight i { color: var(--primary-peach); }
.quality-metric i { color: var(--primary-powder); }

/* ============================================
   BLOG CARDS
   ============================================ */

.blog-card {
    overflow: hidden;
    transition: var(--transition-smooth);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.blog-card .card-content {
    padding: 1.5rem;
}

.blog-card a {
    color: var(--primary-lavender);
    font-weight: 600;
    text-decoration: none;
}

.blog-card a:hover {
    color: var(--dark-lavender);
}

/* ============================================
   BREADCRUMB
   ============================================ */

.breadcrumb-section {
    padding: 6rem 0 2rem;
    background: linear-gradient(135deg, var(--light-vanilla) 0%, var(--light-powder) 100%);
}

.breadcrumb-bg {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    opacity: 0.3;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: var(--bg-dark) !important;
    color: var(--text-white) !important;
}

footer h5, footer h6 {
    color: var(--primary-lavender) !important;
    margin-bottom: 1rem;
}

footer p, footer li {
    color: var(--text-light) !important;
}

footer a {
    color: var(--text-light) !important;
    transition: var(--transition-fast);
}

footer a:hover {
    color: var(--primary-lavender) !important;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0 1rem;
}

/* ============================================
   ADDITIONAL PAGE SPECIFIC STYLES
   ============================================ */

.planning-step,
.tech-feature,
.matching-factor,
.resource-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    height: 100%;
}

.planning-step:hover,
.tech-feature:hover,
.matching-factor:hover,
.resource-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.planning-step img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.tech-feature i,
.matching-factor i,
.resource-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-lavender);
}

/* ============================================
   SPACE PAGE STYLES
   ============================================ */

#space {
    min-height: 400px;
    background: linear-gradient(135deg, var(--light-vanilla) 0%, var(--light-peach) 100%);
    border-radius: 15px;
    margin: 4rem 0;
    position: relative;
}

#space::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--primary-lavender);
    border-radius: 50%;
    opacity: 0.1;
}

/* ============================================
   UTILITIES
   ============================================ */

.text-primary { color: var(--text-primary) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-light { color: var(--text-light) !important; }

.bg-primary { background-color: var(--primary-lavender) !important; }
.bg-secondary { background-color: var(--primary-sage) !important; }

.shadow-sm { box-shadow: var(--shadow-soft) !important; }
.shadow { box-shadow: var(--shadow-medium) !important; }
.shadow-lg { box-shadow: var(--shadow-strong) !important; } 