/**
 * Semantic CSS Classes
 * Replaces inline styles in Twig templates
 * Created: 2025-10-13
 * Purpose: Enable theming system by removing all inline styles
 */

/* ==========================================================================
   Layout & Spacing
   ========================================================================== */





.content-padding {
    padding: 10px;
}

.padding-14 {
    padding: 14px;
}

.padding-25 {
    padding: 2.5rem;
}

.padding-lr-50 {
    padding-left: 50px;
    padding-right: 50px;
}

.padding-15 {
    padding: 15px;
}

.padding-top-5 {
    padding-top: 5px;
}

.padding-bottom-20 {
    padding-bottom: 20px;
}

.vertical-spacer-25 {
    margin-top: 25px;
}

.vertical-spacer-30 {
    height: 30px;
}

.margin-top-5 {
    margin-top: 5px;
}

.margin-top-10 {
    margin-top: 10px;
}

.margin-top-15 {
    margin-top: 15px;
}

.margin-top-20 {
    margin-top: 20px;
}

.margin-top-25 {
    margin-top: 25px;
}

.margin-bottom-0 {
    margin-bottom: 0;
}

.margin-bottom-40 {
    margin-bottom: 40px;
}

.margin-40-0 {
    margin: 40px 0;
}

.margin-bottom-15 {
    margin-bottom: 15px;
}

.margin-left-8 {
    margin-left: 8px;
}

.margin-left-20 {
    margin-left: 20px;
}

.padding-0 {
    padding: 0;
}

.min-width-120 {
    min-width: 120px;
}

.max-width-400 {
    max-width: 400px;
}

.max-width-95vw {
    max-width: 95vw;
    margin: 1.75rem auto;
}

/* ==========================================================================
   Images & Media
   ========================================================================== */

.img-placeholder-sm {
    width: 100px;
    height: 100px;
}

.img-placeholder-md {
    width: 200px;
    height: 200px;
}

.img-placeholder-lg {
    width: 400px;
    height: 400px;
}

.img-height-120 {
    height: 120px;
    object-fit: cover;
}

.img-height-180 {
    height: 180px;
    object-fit: cover;
}

.img-height-150 {
    height: 150px;
    object-fit: cover;
}

.img-height-200 {
    height: 200px;
    object-fit: cover;
}

.img-featured-article {
    max-height: 400px;
    width: 100%;
    object-fit: cover;
}

.img-height-250 {
    height: 250px;
    overflow: hidden;
    background-color: #f8f9fa;
    cursor: pointer;
    position: relative;
}

.img-height-400 {
    height: 400px;
}

.img-container-120 {
    height: 120px;
}

.img-container-180 {
    height: 180px;
}

.img-container-200 {
    height: 200px;
}

.img-fit-cover {
    object-fit: cover;
}

.img-fit-contain {
    object-fit: contain;
}

.avatar-sm {
    width: 40px;
    height: 40px;
}

.avatar-md {
    width: 50px;
    height: 50px;
}

.avatar-md-cover {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.avatar-lg {
    width: 100px;
    height: 100px;
}

.width-100-percent {
    width: 100%;
}

.padding-30 {
    padding: 30px;
}

.padding-top-70 {
    padding-top: 70px;
}

.padding-10 {
    padding: 10px;
}

.padding-14 {
    padding: 14px;
}

/* ==========================================================================
   Messages & Replies
   ========================================================================== */

.reply-message-indent {
    margin-left: 20px;
    border-left: 3px solid #007bff;
    padding-left: 15px;
    margin-bottom: 20px;
}

/* ==========================================================================
   Store Product Cards
   ========================================================================== */

.store-quantity-input {
    width: 100px;
}

.store-badge-info {
    font-size: 1em;
}

/* ==========================================================================
   Member Pictures/Videos Styles
   ========================================================================== */

.member-card-rounded {
    border-radius: 15px;
    overflow: hidden;
}

.member-card-header-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 1.5rem 2rem;
}

.member-card-body-padded {
    padding: 2.5rem;
}

.member-upload-icon {
    font-size: 4rem;
    color: #667eea;
    opacity: 0.8;
}

.member-upload-text {
    font-size: 1.1rem;
}

.member-upload-badge {
    font-size: 0.95rem;
    font-weight: 500;
}

.member-upload-note {
    font-size: 0.9rem;
}

.member-alert-info {
    background: #f0f4ff;
    border-radius: 10px;
}

.member-label-icon {
    font-size: 1rem;
}

.member-icon-color {
    color: #667eea;
}

.member-input-rounded {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.875rem 1.25rem;
}

.member-textarea-rounded {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.875rem 1.25rem;
    resize: none;
}

.member-btn-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    border: none;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.member-card-text-overflow {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ==========================================================================
   Modal Styles (Image Lightbox)
   ========================================================================== */

.modal-dark-content {
    background: #000;
}

.modal-dark-header {
    background: rgba(0,0,0,0.8);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
}

.modal-image-body {
    position: relative;
    min-height: 400px;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1051;
    opacity: 0.8;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.modal-nav-prev {
    left: 20px;
}

.modal-nav-next {
    right: 20px;
}

.modal-image-full {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.modal-image-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.modal-dark-footer {
    background: rgba(0,0,0,0.8);
    justify-content: space-between;
}

/* ==========================================================================
   Text & Typography
   ========================================================================== */

.text-overflow-hidden {
    max-height: 100px;
    overflow: hidden;
}

.text-white-space-pre {
    white-space: pre-wrap;
}

.text-color-white {
    color: #fff;
}

.text-color-gray {
    color: #888;
}

.text-font-size-1rem {
    font-size: 1rem;
}

.text-font-size-4rem {
    font-size: 4rem;
}

/* ==========================================================================
   Progress & Status Indicators
   ========================================================================== */

.progress-bar-height {
    height: 3px;
}

.progress-bar-height-25 {
    height: 25px;
}

.status-indicator {
    top: 20px;
}

.upload-progress-hidden {
    display: none;
}

/* ==========================================================================
   Video Player Styles
   ========================================================================== */

.video-modal-dialog-wide {
    max-width: 95vw;
    margin: 1rem;
}

.video-modal-body-dark {
    background: #000;
}

.video-modal-footer-light {
    background: #fff;
}

.video-container-16-9 {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-player-absolute {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-unmute-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    display: none;
    z-index: 10;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-max-width-400 {
    max-width: 400px;
}

/* ==========================================================================
   Checkout & Invoices
   ========================================================================== */

.checkout-step-circle {
    width: 40px;
    height: 40px;
}

.checkout-summary-sticky {
    top: 20px;
}

.checkout-product-thumb {
    width: 50px;
    height: 50px;
}

.invoice-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.invoice-total-row {
    font-size: 1.2rem;
    font-weight: bold;
}

/* ==========================================================================
   Verification Pages
   ========================================================================== */

.verification-icon {
    font-size: 4rem;
    color: #0d6efd;
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.rounded-15 {
    border-radius: 15px;
}

.rounded-10 {
    border-radius: 10px;
}

.rounded-20 {
    border-radius: 20px;
}

.border-0 {
    border: none;
}

.overflow-hidden {
    overflow: hidden;
}

.cursor-pointer {
    cursor: pointer;
}

.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

/* ==========================================================================
   Footer Styles - Match Navbar Dark Theme in BOTH Modes
   ========================================================================== */

/* Footer always matches navbar (dark background, light text) */
footer {
    margin-top: 3rem;
    padding: 2rem 0;
    background-color: #171e2a !important;
    color: #ffffff !important;
    border-top: 1px solid #404040 !important;
}

.footer-text {
    padding: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.85) !important;
}

.footer-text:last-child {
    margin-bottom: 0;
}

/* Footer strong tags - always light blue to stand out on dark background */
footer strong {
    color: #6ea8fe !important;
    font-weight: 600;
}

/* Footer em tags */
footer em {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* Dark Mode Toggle Button in Footer - Light styling since footer is dark */
#color-mode-toggle-footer {
    transition: all 0.3s ease;
    border-width: 2px;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: rgba(255, 255, 255, 0.75) !important;
}

#color-mode-toggle-footer:hover {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: #ffffff !important;
}

/* ==========================================================================
   Performance Metrics (Development Only)
   ========================================================================== */

.perf-metrics-container {
    position: fixed;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.85);
    color: #0f0;
    padding: 10px 15px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    border-top-left-radius: 5px;
    z-index: 9999;
    max-width: 400px;
}

.perf-metrics-title {
    font-weight: bold;
    margin-bottom: 5px;
    color: #0f0;
}

.perf-metrics-row {
    color: #fff;
}

.perf-metrics-gray {
    color: #888;
}

/* ==========================================================================
   Pagination & Page Navigation
   ========================================================================== */

.page-link-active-green {
    background-color: #6B8E23;
    border-color: #6B8E23;
}

.bg-light-gray {
    background-color: #f8f9fa;
}

.bg-white {
    background-color: #ffffff;
}

.hr-thick-gray {
    border-top: 2px solid #ddd;
}

/* ==========================================================================
   Typography
   ========================================================================== */

.font-size-1-2rem {
    font-size: 1.2rem;
}

.font-weight-600 {
    font-weight: 600;
}

.panel-title-faq {
    font-size: 1.2rem;
    font-weight: 600;
}

.icon-4rem {
    font-size: 4rem;
}

.text-success-green {
    color: #28a745;
}

.text-danger-red {
    color: #dc3545;
}

.text-primary-blue {
    color: #0d6efd;
}

/* ==========================================================================
   Checkout & Progress Indicators
   ========================================================================== */

.progress-thin {
    height: 3px;
}

.progress-width-66 {
    width: 66%;
}

.sticky-offset-20 {
    top: 20px;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 767px) {
    .padding-lr-50 {
        padding-left: 20px;
        padding-right: 20px;
    }

    .member-card-body-padded {
        padding: 1.5rem;
    }
}

/* ==========================================================================
   Full-Width Layout Overrides
   ========================================================================== */

/* Override legacy Bootstrap 3 margins/padding for full-width layout */
body {
    margin: 0 !important;
    padding: 0 !important;
}

.container-fluid {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

#headerContainer {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.contentContainer {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-top: 20px !important;
}

/* Ensure rows don't add negative margins */
.row.g-0 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* ==========================================================================
   Header Background - Full Width Stretch
   ========================================================================== */

/* Header background - mobile shows full width, fills height */
#headerContainer {
    background-size: auto 100% !important;
    background-position: left center !important;
    background-repeat: repeat-x !important;
}

/* Desktop/tablet - stretch to show full width including wolf */
@media (min-width: 768px) {
    #headerContainer {
        background-size: 100% 100% !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }
}

/* Use larger header image for wider screens */
@media (min-width: 1600px) {
    #headerContainer {
        /* background-image: url(/assets/images/header2000.jpg) !important; */ /* Disabled for header concepts */
        /* background-size: 100% 100% !important; */ /* Disabled for header concepts */
    }
}

/* For ultra-wide screens, stretch to fill */
@media (min-width: 2400px) {
    #headerContainer {
        background-size: 100% 100% !important;
    }
}

/* ==========================================================================
   Header Text Styling - White Text Towards Bottom
   ========================================================================== */

/* Position text towards the bottom of header */
.siteNameContainer {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 10px !important;
    padding-bottom: 30px !important;
    height: 200px;
}

/* On mobile, keep the same approach */
@media (max-width: 767px) {
    .siteNameContainer {
        height: 200px;
        padding-top: 10px !important;
        padding-bottom: 25px !important;
    }
}

/* All header text should be white */
#site,
#site a,
#slogan,
.call {
    color: #ffffff !important;
}

/* Site name styling */
#site {
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Slogan styling */
#slogan {
    font-size: 1.1rem !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
    margin-top: 0.25rem !important;
}

/* Links white with underline on hover */
#site a {
    text-decoration: none;
}

#site a:hover {
    text-decoration: underline;
    color: #ffffff !important;
}

/* Phone number styled as link - large and prominent */
.call {
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-size: 1.4rem !important;
    font-weight: 500;
    color: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    margin-top: 0.25rem !important;
    line-height: 1.2 !important;
}

.call:hover {
    text-decoration: underline;
    color: #ffffff !important;
}

/* Mobile - slightly smaller but still prominent */
@media (max-width: 767px) {
    .call {
        font-size: 1.2rem !important;
    }

    #site {
        font-size: 1.3rem !important;
    }

    #slogan {
        font-size: 1rem !important;
    }
}
