:root {
    /* Color Palette - 5 primary colors with light/dark shades */
    --primary-color: #8B4B8C;
    --primary-light: #B76FB8;
    --primary-dark: #5F2F60;
    
    --secondary-color: #6B9BD2;
    --secondary-light: #9BB8E0;
    --secondary-dark: #4A6FA3;
    
    --accent-color: #A8D8A8;
    --accent-light: #C4E4C4;
    --accent-dark: #7CB07C;
    
    --warm-color: #E8B4A0;
    --warm-light: #F0C7B8;
    --warm-dark: #D49478;
    
    --neutral-color: #B8B8B8;
    --neutral-light: #D4D4D4;
    --neutral-dark: #8C8C8C;
    
    /* Additional shades */
    --light-bg: #FAFAFA;
    --dark-bg: #2C2C2C;
    --text-muted: #6C757D;
}

/* Override Bootstrap primary color */
.btn-primary,
.bg-primary,
.text-primary,
.border-primary {
    --bs-primary: var(--primary-color);
}

/* Typography - Conservative font sizes */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.navbar-brand {
    font-size: 1.25rem !important; /* Conservative logo size */
    font-weight: 600;
    color: var(--primary-color);
}

h1, .h1 {
    font-size: 2rem; /* Conservative h1 size */
    font-weight: 700;
    color: var(--primary-dark);
}

h2, .h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-color);
}

h3, .h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--secondary-color);
}

h4, .h4 {
    font-size: 1.25rem;
    font-weight: 500;
}

h5, .h5 {
    font-size: 1.1rem;
    font-weight: 500;
}

p, .lead {
    font-size: 1rem; /* Conservative paragraph size */
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.1rem;
    font-weight: 400;
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--neutral-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    z-index: 1;
}

.hero-shapes .shape-1 {
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    top: 20%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.hero-shapes .shape-2 {
    width: 150px;
    height: 150px;
    background: var(--secondary-color);
    bottom: 20%;
    left: 10%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
}

/* Buttons */
.btn {
    border-radius: 6px;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: white;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-dark);
}

/* Sections */
section {
    padding: 4rem 0;
}

.bg-light {
    background-color: var(--light-bg);
}

/* Team images */
.team img,
img[src*="team_"] {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

/* Gallery */
#gallery img {
    transition: transform 0.3s ease;
    border-radius: 8px;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* Form */
.form-control {
    border-radius: 6px;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(139, 75, 140, 0.25);
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--neutral-light);
}

footer h5 {
    color: white;
    font-weight: 600;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-light);
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb img {
    filter: opacity(0.7);
    transition: opacity 0.3s ease;
}

.breadcrumb img:hover {
    filter: opacity(1);
}

/* Timeline */
.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

/* Stars for reviews */
.fas.fa-star {
    color: #ffc107;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-shapes .shape {
        display: none; /* Hide decorative shapes on mobile */
    }
    
    .timeline::before {
        display: none;
    }
}

/* Accessibility - Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
        scroll-behavior: auto;
    }
    
    .hero-shapes .shape {
        animation: none;
    }
    
    .card:hover {
        transform: none;
    }
    
    .btn-primary:hover {
        transform: none;
    }
    
    #gallery img:hover {
        transform: none;
    }
}

/* Utility classes */
.text-muted {
    color: var(--text-muted);
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* High contrast colors for footer - Maximum contrast setup */
footer {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
}

footer h5, footer h6 {
    color: #ffffff !important;
    font-weight: 600;
}

footer p {
    color: #f0f0f0 !important;
}

footer .text-muted, footer small {
    color: #e0e0e0 !important;
}

footer a {
    color: #93c5fd !important;
    text-decoration: underline !important;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #dbeafe !important;
    text-decoration: underline !important;
}

/* Focus styles for accessibility */
footer a:focus {
    outline: 2px solid #93c5fd;
    outline-offset: 2px;
}

/* List spacing for better readability */
footer ul li {
    margin-bottom: 8px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    footer {
        background-color: #000000 !important;
        color: #ffffff !important;
    }
    
    footer a {
        color: #ffffff !important;
        text-decoration: underline !important;
    }
} 


/* Team Social Links - Retro Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 0;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 3px solid;
    background: transparent;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
}

.social-link:hover {
    transform: translateX(3px) translateY(-3px);
    box-shadow: -3px 3px 0px currentColor;
    color: white;
}

.facebook-link {
    border-color: #1877f2;
    background: #1877f2;
}

.facebook-link:hover {
    background: transparent;
    color: #1877f2;
}

.linkedin-link {
    border-color: #0a66c2;
    background: #0a66c2;
}

.linkedin-link:hover {
    background: transparent;
    color: #0a66c2;
}

.instagram-link {
    border-color: #e4405f;
    background: #e4405f;
}

.instagram-link:hover {
    background: transparent;
    color: #e4405f;
}

.x-link {
    border-color: #000000;
    background: #000000;
    position: relative;
}

.x-link::after {
    content: 'X';
    font-weight: bold;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: transparent;
    color: #000000;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Contact information styling in footer */
.contact-info {
    background: transparent !important;
    color: #ffffff !important;
}

.contact-info p {
    color: #ffffff !important;
}

.contact-info i {
    color: #93c5fd !important;
    margin-right: 8px;
}

/* Forced visibility for all footer elements */
footer * {
    visibility: visible !important;
    opacity: 1 !important;
    display: inherit !important;
}

footer p,
footer h5,
footer h6,
footer a,
footer li,
footer small {
    color: inherit !important;
}

/* Additional contrast improvements */
footer hr {
    border-color: #444444 !important;
    opacity: 0.7;
}

/* Ensure footer is always visible */
footer {
    position: relative !important;
    z-index: 1 !important;
}
