:root {
    /* Primary Color Palette - 5 main colors with light/dark shades */
    --primary-color: #8B4A6B;
    --primary-light: #B87691;
    --primary-dark: #6B3651;
    
    --secondary-color: #D4B5A0;
    --secondary-light: #E8D1C0;
    --secondary-dark: #B89580;
    
    --accent-color: #7A9B7E;
    --accent-light: #A1C4A5;
    --accent-dark: #5A7B5E;
    
    --neutral-color: #F5F0E8;
    --neutral-light: #FEFCF7;
    --neutral-dark: #E8DDD0;
    
    --text-color: #3A3A3A;
    --text-light: #6A6A6A;
    --text-dark: #2A2A2A;
    
    /* Typography */
    --font-family-primary: 'Georgia', 'Times New Roman', serif;
    --font-family-secondary: 'Helvetica Neue', Arial, sans-serif;
    
    /* Spacing */
    --section-padding: 4rem 0;
    --container-padding: 1rem;
}

/* Global Styles */
body {
    font-family: var(--font-family-secondary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--neutral-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-primary);
    color: var(--text-dark);
}

/* Conservative font sizes */
.navbar-brand {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

h1, .display-4 {
    font-size: 2.5rem;
}

.h3 {
    font-size: 1.5rem;
}

.h5 {
    font-size: 1rem;
}

.lead {
    font-size: 1.1rem;
}

/* Header Styles */
#header {
    background-color: var(--neutral-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1030;
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--neutral-light) 0%, var(--secondary-light) 100%);
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: var(--accent-light);
    opacity: 0.1;
    border-radius: 50%;
    transform: rotate(15deg);
}

/* Section Backgrounds */
.bg-light {
    background-color: var(--neutral-light) !important;
}

/* Card Styles */
.card {
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--neutral-light);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    background-color: var(--secondary-light);
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Form Styles */
.form-control {
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    background-color: var(--neutral-light);
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(139, 74, 107, 0.25);
    background-color: var(--neutral-light);
}

/* Icon Styles */
.fa-2x {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Team Images */
.rounded-circle {
    border: 3px solid var(--secondary-color);
    transition: border-color 0.3s ease;
}

.rounded-circle:hover {
    border-color: var(--primary-color);
}

/* Gallery Styles */
#gallery img {
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 8px;
}

#gallery img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Footer Styles */
#footer {
    background-color: var(--text-dark);
    color: var(--neutral-light);
}

#footer h5, #footer h6 {
    color: var(--secondary-light);
}

#footer .text-white-50 {
    color: var(--neutral-color) !important;
    transition: color 0.3s ease;
}

#footer .text-white-50:hover {
    color: var(--secondary-light) !important;
}

/* Price Plan Highlights */
.border-primary {
    border-color: var(--primary-color) !important;
    position: relative;
}

.border-primary::before {
    content: 'Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Text Colors */
.text-primary {
    color: var(--primary-color) !important;
}

.text-muted {
    color: var(--text-light) !important;
}

/* Breadcrumb Styles */
.breadcrumb {
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item img {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.breadcrumb-item img:hover {
    opacity: 1;
}

/* Animation Classes for Sal.js */
[data-sal] {
    transition-duration: 0.5s;
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    [data-sal] {
        transition: none !important;
    }
}

/* Letterpress Effect */
.letterpress-effect {
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
    color: var(--text-dark);
}

/* Subtle Paper Texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="4" height="4" viewBox="0 0 4 4"><circle cx="2" cy="2" r="0.5" fill="%23000" opacity="0.02"/></svg>');
    pointer-events: none;
    z-index: -1;
}

/* Custom List Styles */
.list-unstyled li {
    margin-bottom: 0.5rem;
}

/* Small Text Adjustments */
.small {
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Contact Info Icons */
#contacts .fas {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Service Item Hover Effects */
#services .card {
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

#services .card:hover {
    border-left-color: var(--primary-color);
}

/* FAQ Cards */
#faq .card {
    margin-bottom: 1rem;
    border-left: 3px solid var(--secondary-color);
}

/* Team Section Enhancements */
#team .text-center:hover img {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Review Cards */
#reviews .card {
    border-top: 3px solid var(--accent-color);
}

/* Gallery Lightbox Compatibility */
#gallery a {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

/* Spacing Utilities */
.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

/* Ensure proper spacing for fixed header */
body {
    padding-top: 76px;
}

/* Additional page specific styles */
.breadcrumb-item:not(:first-child)::before {
    display: none;
}

/* Process step indicators */
.process-step {
    position: relative;
    z-index: 1;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
    transform: translateY(-50%);
    z-index: -1;
}

.process-step:last-child::after {
    display: none;
}

/* Ensure consistent card heights */
.card.h-100 {
    display: flex;
    flex-direction: column;
}

.card.h-100 .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
} 


/* 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;
    }
}
