/* =====================================================
   VINTAGE POSTER MARKETPLACE - MAIN STYLES
   ===================================================== */

/* CSS Variables - Color Palette */
:root {
    --primary-color: #8B5A3C;
    --primary-light: #A6735A;
    --primary-dark: #6B4228;
    --secondary-color: #D4A574;
    --secondary-light: #E8C49A;
    --secondary-dark: #B8925E;
    --accent-color: #4A90A4;
    --accent-light: #6AA7B8;
    --accent-dark: #367284;
    --neutral-color: #F5F2E8;
    --neutral-light: #FDFCF7;
    --neutral-dark: #E6E1D3;
    --text-color: #2C2C2C;
    --text-muted: #6C757D;
    --border-color: #E9ECEF;
    --shadow-color: rgba(139, 90, 60, 0.1);
}

/* Base Typography */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--neutral-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
    font-weight: 600;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Header Styles */
.navbar-brand {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.navbar-light .navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--neutral-light) 0%, var(--neutral-color) 100%);
    position: relative;
    overflow: hidden;
}

.hero-shapes {
    width: 200px;
    height: 200px;
    background: var(--secondary-color);
    border-radius: 50%;
    opacity: 0.1;
    top: 10%;
    right: 10%;
    z-index: 1;
}

/* Section Backgrounds */
section.bg-light {
    background-color: var(--neutral-color) !important;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.card-img-top {
    border-radius: 12px 12px 0 0;
    height: 200px;
    object-fit: cover;
}

/* Service Cards */
.services-card {
    background: var(--neutral-light);
    border: 1px solid var(--border-color);
}

/* Team Member Images */
.team-member-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid var(--secondary-color);
    transition: border-color 0.3s ease;
}

.team-member-img:hover {
    border-color: var(--primary-color);
}

/* Pricing Cards */
.border-primary {
    border-color: var(--primary-color) !important;
    border-width: 2px !important;
}

/* Process Steps */
.process-step {
    background-color: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 1rem;
}

/* FAQ Cards */
.faq-card {
    background: var(--neutral-light);
    border-left: 4px solid var(--accent-color);
}

/* Gallery */
.gallery-item img {
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Form Styles */
.form-control {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(139, 90, 60, 0.25);
}

/* Footer - Maximum Contrast Styles */
#footer {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    padding: 3rem 0 !important;
}

/* All headings in footer - maximum contrast */
#footer h1, #footer h2, #footer h3, #footer h4, #footer h5, #footer h6 {
    color: #ffffff !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
}

/* All paragraph text in footer */
#footer p {
    color: #f0f0f0 !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    margin-bottom: 0.75rem !important;
}

/* Small text - still readable */
#footer small {
    color: #e0e0e0 !important;
    font-weight: 400 !important;
}

/* Links - Light blue for maximum visibility */
#footer a {
    color: #93c5fd !important;
    text-decoration: underline !important;
    transition: all 0.3s ease !important;
}

#footer a:hover {
    color: #dbeafe !important;
    text-decoration: underline !important;
}

#footer a:focus {
    color: #dbeafe !important;
    outline: 2px solid #93c5fd !important;
    outline-offset: 2px !important;
}

/* Specific link classes */
#footer .text-white-50 {
    color: #93c5fd !important;
    text-decoration: underline !important;
}

#footer .text-white-50:hover {
    color: #dbeafe !important;
}

/* List styling */
#footer .list-unstyled {
    padding-left: 0 !important;
}

#footer .list-unstyled li {
    margin-bottom: 0.5rem !important;
    padding: 0.25rem 0 !important;
}

#footer .list-unstyled a {
    color: #93c5fd !important;
    text-decoration: underline !important;
    border-bottom: none !important;
    transition: all 0.3s ease !important;
}

#footer .list-unstyled a:hover {
    color: #dbeafe !important;
    background-color: rgba(147, 197, 253, 0.1) !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 4px !important;
}

/* HR separator */
#footer hr {
    border-color: #444444 !important;
    border-width: 1px !important;
    margin: 2rem 0 !important;
}

/* Contact information - Maximum specificity */
#footer .contact-info p,
#footer .contact-info p.small,
footer#footer .contact-info p,
footer.text-white .contact-info p {
    color: #ffffff !important;
    font-weight: 500 !important;
    margin-bottom: 0.5rem !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    background-color: transparent !important;
    text-shadow: none !important;
}

/* Contact info headings */
#footer .contact-info h6,
#footer .contact-info h5,
#footer .contact-info h4,
#footer .contact-info h3,
#footer .contact-info h2,
#footer .contact-info h1,
footer#footer .contact-info h6,
footer.text-white .contact-info h6 {
    color: #ffffff !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    background-color: transparent !important;
    text-shadow: none !important;
}

/* Disclaimer text */
#footer .disclaimer-text {
    font-size: 0.8rem !important;
    color: #e0e0e0 !important;
    line-height: 1.5 !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    padding: 1rem !important;
    border-radius: 6px !important;
    border-left: 3px solid #93c5fd !important;
}

#footer .disclaimer-text p {
    color: #e0e0e0 !important;
    margin-bottom: 0.75rem !important;
}

#footer .disclaimer-text p:last-child {
    margin-bottom: 0 !important;
}

/* Force visibility for all text elements */
#footer * {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ultra-specific Contact Info Override */
body footer#footer div.contact-info h6,
body footer#footer div.contact-info p {
    color: #ffffff !important;
    background: transparent !important;
    text-shadow: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

/* Bootstrap override for footer text */
.text-white .contact-info p,
.text-white .contact-info h6 {
    color: #ffffff !important;
}

/* Media queries for high contrast mode */
@media (prefers-contrast: high) {
    #footer {
        background-color: #000000 !important;
    }
    
    #footer h1, #footer h2, #footer h3, #footer h4, #footer h5, #footer h6 {
        color: #ffffff !important;
    }
    
    #footer p {
        color: #ffffff !important;
    }
    
    #footer a {
        color: #ffffff !important;
        background-color: #0066cc !important;
        padding: 0.25rem 0.5rem !important;
        border-radius: 4px !important;
    }
}

/* Utilities */
.shadow-custom {
    box-shadow: 0 4px 15px var(--shadow-color);
}

.rounded-custom {
    border-radius: 12px;
}

/* Animation Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Sal.js Animations */
[data-sal] {
    transition-duration: 0.8s;
    transition-timing-function: ease-out;
}

[data-sal="fade"] {
    opacity: 0;
    transition-property: opacity;
}

[data-sal="fade"].sal-animate {
    opacity: 1;
}

[data-sal="slide-up"] {
    transform: translateY(50px);
    opacity: 0;
    transition-property: transform, opacity;
}

[data-sal="slide-up"].sal-animate {
    transform: translateY(0);
    opacity: 1;
}

[data-sal="slide-left"] {
    transform: translateX(50px);
    opacity: 0;
    transition-property: transform, opacity;
}

[data-sal="slide-left"].sal-animate {
    transform: translateX(0);
    opacity: 1;
}

/* Custom Icon Styles */
.icon-primary {
    color: var(--primary-color);
}

.icon-secondary {
    color: var(--secondary-color);
}

.icon-accent {
    color: var(--accent-color);
}

/* Service Item Specific Styles */
#services .card-body {
    padding: 2rem 1.5rem;
}

/* Timeline Styles */
.timeline-item {
    position: relative;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

/* Breadcrumb Styles */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item img {
    filter: opacity(0.7);
    transition: filter 0.3s ease;
}

.breadcrumb-item img:hover {
    filter: opacity(1);
}

/* Reviews Section */
.blockquote-footer {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Career Cards */
.career-card {
    border-left: 4px solid var(--secondary-color);
    background: var(--neutral-light);
}

/* Core Info Icons */
.core-info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Blog Cards */
.blog-card img {
    height: 200px;
    object-fit: cover;
}

/* Contact Info */
.contact-info {
    background: var(--neutral-color);
    border-radius: 12px;
    padding: 2rem;
}

/* Additional Page Styles */
.add-page-section {
    padding: 4rem 0;
}

.add-page-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px var(--shadow-color);
    margin-bottom: 2rem;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Spacing Utilities */
.section-padding {
    padding: 5rem 0;
}

.section-padding-sm {
    padding: 3rem 0;
}

/* Text Sizes - Conservative Approach */
.display-5 {
    font-size: 2.5rem;
}

.h3 {
    font-size: 1.75rem;
}

.h5 {
    font-size: 1.125rem;
}

.h6 {
    font-size: 1rem;
}

.lead {
    font-size: 1.125rem;
}

.small {
    font-size: 0.875rem;
} 


/* Team Social Links - Minimal Style */
.team-social-links {
    margin-top: 16px;
    padding: 10px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background: white;
}

.social-link:hover {
    transform: translateY(-1px);
    color: white;
}

.facebook-link:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.linkedin-link:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: white;
}

.instagram-link:hover {
    background: #e4405f;
    border-color: #e4405f;
    color: white;
}

.x-link {
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 18px;
    color: inherit;
}

.x-link:hover {
    background: #000000;
    border-color: #000000;
    color: white;
}

.x-link:hover::after {
    color: white;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
