/* CC Brain & Body Wellness Privacy Policy Custom Styles */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Privacy Policy Specific Styles */
.privacy-policy-main {
    line-height: 1.7;
}

/* Enhanced Typography */
.privacy-content-section h2 {
    scroll-margin-top: 100px;
    border-bottom: 3px solid #CBA27D;
    padding-bottom: 10px;
    margin-bottom: 2rem;
}

.privacy-content-section h3 {
    scroll-margin-top: 80px;
    margin-top: 2rem;
}

/* Navigation Links */
.privacy-header-section a {
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
}

.privacy-header-section a:hover {
    background-color: rgba(203, 162, 125, 0.1);
    transform: translateY(-2px);
}

/* Content Boxes */
.privacy-content-section .bg-red-50,
.privacy-content-section .bg-yellow-50,
.privacy-content-section .bg-blue-50 {
    transition: all 0.3s ease;
}

.privacy-content-section .bg-red-50:hover,
.privacy-content-section .bg-yellow-50:hover,
.privacy-content-section .bg-blue-50:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Lists Styling */
.privacy-content-section ul {
    margin-bottom: 1.5rem;
}

.privacy-content-section li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.privacy-content-section li strong {
    color: #272727;
}

/* Contact Section Styling */
#contact .bg-[#F2ECE4] {
    transition: all 0.3s ease;
}

#contact .bg-[#F2ECE4]:hover {
    box-shadow: 0 10px 30px rgba(203, 162, 125, 0.15);
}

/* Quick Navigation Styling */
.privacy-header-section .grid {
    gap: 1rem;
}

.privacy-header-section .grid a {
    display: block;
    text-align: center;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(203, 162, 125, 0.2);
    transition: all 0.3s ease;
}

.privacy-header-section .grid a:hover {
    border-color: #CBA27D;
    background-color: rgba(203, 162, 125, 0.1);
    transform: scale(1.05);
}

/* Prose Styling */
.prose {
    max-width: none;
}

.prose p {
    margin-bottom: 1rem;
}

.prose ul {
    margin: 1rem 0;
}

.prose li {
    margin-bottom: 0.5rem;
}

/* Back to Top Button */
.privacy-content-section a[href="#top"] {
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(203, 162, 125, 0.3);
}

.privacy-content-section a[href="#top"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(203, 162, 125, 0.4);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .privacy-header-section h1 {
        font-size: 2.5rem;
    }
    
    .privacy-header-section .grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .privacy-content-section {
        padding: 3rem 0;
    }
    
    .privacy-content-section h2 {
        font-size: 1.75rem;
    }
    
    .privacy-content-section h3 {
        font-size: 1.25rem;
    }
}

/* Print Styles */
@media print {
    .privacy-header-section {
        background: white !important;
        color: black !important;
    }
    
    .privacy-header-section .bg-white-5,
    .privacy-content-section .bg-f2ece4,
    .privacy-content-section .bg-red-50,
    .privacy-content-section .bg-yellow-50 {
        background: #f9f9f9 !important;
        border: 1px solid #ddd !important;
    }
    
    .privacy-header-section a,
    .privacy-content-section a {
        color: #272727 !important;
        text-decoration: underline !important;
    }
    
    .privacy-content-section a[href="#top"] {
        display: none !important;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .privacy-content-section h2 {
        border-bottom-width: 4px;
    }
    
    .privacy-header-section .grid a,
    .privacy-content-section .bg-[#F2ECE4],
    .privacy-content-section .bg-red-50,
    .privacy-content-section .bg-yellow-50 {
        border: 2px solid currentColor !important;
    }
}

/* Focus States */
.privacy-header-section a:focus,
.privacy-content-section a:focus {
    outline: 3px solid #CBA27D;
    outline-offset: 2px;
}

/* Table of Contents Highlighting */
.privacy-header-section .grid a.active {
    background-color: rgba(203, 162, 125, 0.2);
    border-color: #CBA27D;
    font-weight: 600;
}

/* Section Dividers */
.privacy-content-section > div:not(:last-child) {
    position: relative;
}

.privacy-content-section > div:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -2rem;
    left: 50%;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #CBA27D, transparent);
    transform: translateX(-50%);
}

/* Loading Animation for Anchor Links */
.privacy-content-section [id] {
    scroll-margin-top: 100px;
}

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

.privacy-content-section > div {
    animation: fadeInUp 0.6s ease-out;
} 