/* Body Care Guides - Main Styles */

/* CSS Variables for consistent theming */
:root {
    --primary-blue: #5b21b6;
    --primary-green: #f59e0b;
    --accent-blue: #db2777;
    --accent-green: #ea580c;
    --light-blue: #f5f3ff;
    --light-green: #fff7ed;
    --text-dark: #0f172a;
    --text-light: #475569;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --border-color: #e2e8f0;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 18px 48px rgba(15, 23, 42, 0.16);
    --surface: rgba(255, 255, 255, 0.9);
    --surface-solid: #ffffff;
    --radius-lg: 18px;
    --radius-md: 14px;
    --radius-sm: 12px;
    --ring: 0 0 0 0.25rem rgba(91, 33, 182, 0.18);

    --bs-primary: var(--primary-blue);
    --bs-success: #10b981;
    --bs-info: #0ea5e9;
    --bs-warning: #f59e0b;
    --bs-danger: #ef4444;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: radial-gradient(1200px 600px at 10% -10%, rgba(91, 33, 182, 0.12), transparent 60%),
        radial-gradient(900px 500px at 110% 10%, rgba(219, 39, 119, 0.12), transparent 55%),
        var(--surface-solid);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Open Sans', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: var(--primary-blue);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-blue);
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border: none;
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, var(--accent-blue), var(--primary-blue));
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    border: none;
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, var(--accent-green), var(--primary-green));
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(91, 33, 182, 0.35);
    color: var(--primary-blue);
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Navigation Styles */
.navbar {
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
    backdrop-filter: saturate(140%) blur(10px);
}

.navbar.navbar-scrolled {
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(150%) blur(12px);
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 10px;
    padding: 8px 16px !important;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-blue) !important;
    background: rgba(91, 33, 182, 0.08);
}

.navbar-nav .nav-link.active {
    color: var(--white) !important;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    box-shadow: 0 10px 22px rgba(91, 33, 182, 0.22);
}

.navbar-cta {
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    font-size: 0.82rem;
    box-shadow: 0 12px 26px rgba(91, 33, 182, 0.18);
}

.navbar-cta.btn-primary {
    padding: 10px 18px;
}

.dropdown-menu {
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.14);
    border-radius: var(--radius-md);
    padding: 10px;
}

.dropdown-item {
    border-radius: 10px;
    padding: 10px 12px;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(91, 33, 182, 0.08);
    color: var(--primary-blue);
}

/* Hero Section */
.hero-section {
    background: radial-gradient(1200px 700px at 20% 15%, rgba(91, 33, 182, 0.18), transparent 55%),
        radial-gradient(900px 600px at 90% 35%, rgba(219, 39, 119, 0.14), transparent 55%),
        linear-gradient(135deg, var(--light-blue) 0%, var(--light-green) 100%);
    padding: 160px 0 105px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/wellness-background.jpg') center/cover;
    opacity: 0.06;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: -40% -20% auto auto;
    width: 640px;
    height: 640px;
    background: radial-gradient(circle at 35% 35%, rgba(234, 88, 12, 0.22), transparent 60%);
    filter: blur(2px);
    transform: rotate(18deg);
    z-index: 1;
    pointer-events: none;
}

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

.hero-breadcrumb {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    font-size: 0.92rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.hero-breadcrumb a {
    color: var(--primary-blue);
}

.hero-breadcrumb .separator {
    opacity: 0.6;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
    max-width: 42rem;
}

.hero-cta {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-section.hero-section--cta {
    padding: 120px 0 90px;
}

.hero-section.hero-section--cta::before {
    opacity: 0.03;
}

.hero-section.hero-section--cta .hero-title {
    font-size: 3rem;
}

.hero-section.hero-section--cta .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* Card Styles */
.service-card {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(226, 232, 240, 0.85);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.service-card.text-center .service-icon {
    margin-left: auto;
    margin-right: auto;
}

.category-card .service-icon {
    margin-left: auto;
    margin-right: auto;
}

.category-card ul {
    padding-left: 1.15rem;
    margin-bottom: 1.25rem;
}

.category-card li {
    color: var(--text-light);
    margin-bottom: 0.4rem;
}

.service-card h3,
.service-card h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* Section Styles */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-blue);
    letter-spacing: -0.01em;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Trust Section */
.trust-section {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.8), rgba(248, 250, 252, 0.9));
}

.trust-item {
    text-align: center;
    padding: 2rem;
}

.trust-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
    font-size: 1.5rem;
}

/* Testimonial Styles */
.testimonial-card {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    margin: 1rem;
    text-align: center;
    border: 1px solid rgba(226, 232, 240, 0.85);
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-blue);
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Footer Styles */
.footer {
    background: radial-gradient(900px 500px at 10% 10%, rgba(91, 33, 182, 0.22), transparent 60%),
        radial-gradient(900px 500px at 90% 35%, rgba(219, 39, 119, 0.22), transparent 60%),
        #070b1a;
    color: var(--white);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(226, 232, 240, 0.12);
}

.footer h5 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer a {
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    color: #bdc3c7;
}

/* Form Styles */
.form-control {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Search input */
.site-search {
    max-width: 320px;
}

.site-search .form-control {
    border-radius: 24px;
    padding-left: 42px;
    background: rgba(255, 255, 255, 0.85);
}

.site-search .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

/* Tag filter chips */
.tag-filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tag-chip {
    border: 1.5px solid var(--border-color);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 0.9rem;
    color: var(--text-dark);
    background: var(--white);
    cursor: pointer;
    transition: all 0.2s ease;
}

.tag-chip:hover,
.tag-chip.active {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: rgba(91, 33, 182, 0.08);
}

.tag-badge {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--primary-blue);
    background: rgba(91, 33, 182, 0.08);
    border-radius: 14px;
    padding: 4px 10px;
    margin-top: 8px;
}

/* Accessibility contrast helpers */
.bg-accessible {
    background-color: #0f172a;
    color: #ffffff;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --shadow: 0 2px 10px rgba(0,0,0,0.3);
        --shadow-hover: 0 4px 20px rgba(0,0,0,0.4);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
