/* ========================================
   DETAIL PAGES STYLES
   ======================================== */

:root {
    --section-spacing-top: 4rem;
    --section-spacing-bottom: 4rem;
}

/* Breadcrumb Styles */
.breadcrumb {
    background: var(--gray-light);
    padding: 1.5rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.breadcrumb-content {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.95rem;
}

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

.breadcrumb a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.breadcrumb-separator {
    color: var(--gray);
    margin: 0 0.25rem;
}

/* Section Backgrounds */
.section-white {
    background-color: var(--light);
}

.section-light {
    background-color: var(--gray-light);
    padding: var(--section-spacing-top) 0 var(--section-spacing-bottom);
}

.section-dark {
    background-color: var(--dark);
    color: var(--light);
    padding: var(--section-spacing-top) 0 var(--section-spacing-bottom);
}

.section-dark h2,
.section-dark h3 {
    color: var(--light);
}

.section-dark a {
    color: var(--secondary-color);
}

.section-dark a:hover {
    color: var(--light);
}

/* Button Variations */
.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-light {
    background-color: var(--light);
    color: var(--dark);
    border: 2px solid var(--light);
}

.btn-light:hover {
    background-color: var(--gray-light);
    border-color: var(--gray-light);
}

.btn-outline {
    background-color: transparent;
    color: var(--light);
    border: 2px solid var(--light);
}

.btn-outline:hover {
    background-color: var(--light);
    color: var(--dark);
}

/* Grid Utilities */
.grid {
    display: grid;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }
}

/* Text Utilities */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-lead {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.6;
}

.text-muted {
    color: var(--gray);
}

/* Spacing Utilities */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

.img-responsive {
    width: 100%;
    height: auto;
    display: block;
}

.img-rounded {
    border-radius: var(--border-radius);
}

/* Badge Styles */
.badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-primary {
    background-color: var(--primary-color);
    color: white;
}

.badge-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.badge-success {
    background-color: var(--success-color);
    color: white;
}

/* List Styles */
.list-unstyled {
    list-style: none;
    padding: 0;
}

.list-checked li {
    list-style: none;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.list-checked li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Card Styles */
.card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card-header {
    border-bottom: 1px solid var(--gray-light);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.card-body {
    padding: 0;
}

.card-footer {
    border-top: 1px solid var(--gray-light);
    padding-top: 1rem;
    margin-top: 1rem;
}

/* Highlight Box */
.highlight-box {
    background: var(--primary-color);
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    margin: 2rem 0;
}

.highlight-text {
    background: linear-gradient(120deg, rgba(255, 107, 53, 0.2), rgba(0, 102, 204, 0.2));
    padding: 1.5rem;
    border-left: 4px solid var(--secondary-color);
    border-radius: 4px;
    font-style: italic;
}

/* 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-width: 0;
}

.sr-only.focus-visible:focus {
    position: static;
    width: auto;
    height: auto;
    padding: inherit;
    margin: inherit;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

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

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-up {
    animation: slideInUp 0.6s ease-out;
}

.animate-slide-left {
    animation: slideInLeft 0.6s ease-out;
}

/* Responsive Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .text-lead {
        font-size: 1.1rem;
    }
    
    .grid-cols-2,
    .grid-cols-3 {
        grid-template-columns: 1fr;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none;
    }
}
