/* =====================================================
   SLOW LIVING COMMUNITY - MAIN STYLES
   Template: 281 - Online community for slow living enthusiasts
   ===================================================== */

/* Color Palette Variables */
:root {
    --primary-pastel: #A8D5BA;
    --secondary-pastel: #F4D8AE;
    --accent-pastel: #E6B3CC;
    --neutral-pastel: #C8D6E5;
    --warm-pastel: #F7D794;
    
    /* Light/Dark variations */
    --primary-light: #D1E8D9;
    --primary-dark: #7FB093;
    --secondary-light: #F9E5C7;
    --secondary-dark: #E6C485;
    --accent-light: #F0C9E0;
    --accent-dark: #D896B8;
    --neutral-light: #E1E8F0;
    --neutral-dark: #A5B4C7;
    --warm-light: #FAE3B3;
    --warm-dark: #F0CB75;
    
    /* Semantic colors */
    --text-primary: #2C3E50;
    --text-secondary: #34495E;
    --text-muted: #7F8C8D;
    --bg-soft: #FAFBFC;
    --border-light: #E9ECEF;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    padding-top: 76px;
    overflow-x: hidden;
}

/* Typography - Conservative sizing */
h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.lead {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Custom utility classes */
.text-primary { color: var(--primary-dark) !important; }
.bg-primary { background-color: var(--primary-pastel) !important; }
.btn-primary {
    background-color: var(--primary-pastel);
    border-color: var(--primary-dark);
    color: var(--text-primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
}

.btn-outline-primary {
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary:hover {
    background-color: var(--primary-pastel);
    border-color: var(--primary-dark);
    color: var(--text-primary);
}

/* Header Styles */
.navbar {
    background-color: var(--bg-soft);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-nav .nav-link {
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-dark);
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><pattern id="circles" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="20" fill="url(%23circles)"/></svg>');
    z-index: 1;
}

#hero .container {
    position: relative;
    z-index: 2;
}

/* Section Styles */
section {
    position: relative;
}

.bg-light {
    background-color: var(--bg-soft) !important;
}

/* Card Enhancements */
.card {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.card-title {
    color: var(--text-primary);
    font-weight: 600;
}

.card-text {
    color: var(--text-secondary);
}

/* Services Section */
#services .card-img-top {
    height: 200px;
    object-fit: cover;
}

#services .text-primary {
    font-size: 1.2rem;
}

/* Team Section */
.rounded-circle {
    border: 3px solid var(--primary-light);
    transition: border-color 0.3s ease;
}

.rounded-circle:hover {
    border-color: var(--primary-dark);
}

/* Footer */
#footer {
    background-color: var(--text-primary) !important;
}

#footer h5, #footer h6 {
    color: var(--primary-light);
}

#footer a {
    transition: color 0.3s ease;
}

#footer a:hover {
    color: var(--primary-light) !important;
}

/* Contact Form */
.form-control {
    border: 2px solid var(--border-light);
    border-radius: 6px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-pastel);
    box-shadow: 0 0 0 0.2rem rgba(168, 213, 186, 0.25);
}

/* Gallery Section */
#gallery img {
    transition: transform 0.3s ease;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* FAQ Section - Static cards only */
#faq .card {
    margin-bottom: 1rem;
}

#faq .card-title {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

/* Animation classes for Sal.js */
.sal-animate {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Contact info styling */
.contact-info i {
    display: block;
    margin-bottom: 0.5rem;
}

/* Breadcrumb styling */
.breadcrumb {
    background-color: transparent;
    padding: 0.5rem 0;
}

.breadcrumb-item img {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.breadcrumb-item img:hover {
    opacity: 1;
}

/* Price plan highlighting */
.border-primary {
    border-color: var(--primary-dark) !important;
    position: relative;
}

.border-primary::before {
    content: 'Popular';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-dark);
    color: white;
    padding: 2px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Process section step styling */
#process .rounded-circle {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Blog section */
#blog_grid .card {
    height: 100%;
}

/* Decorative elements */
.decorative-blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    z-index: 1;
}

/* Responsive text sizing */
@media (max-width: 768px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    .display-4 { font-size: 2rem; }
    .lead { font-size: 1rem; }
    .navbar-brand { font-size: 1.3rem; }
}

/* Accessibility - Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .sal-animate {
        transition: none !important;
    }
    
    .card:hover {
        transform: none !important;
    }
    
    #gallery img:hover {
        transform: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .card {
        border-width: 2px;
    }
    
    .btn {
        border-width: 2px;
    }
} 


/* Team Social Links - Neon Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.social-icons-grid {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    border: 2px solid;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: inherit;
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 0.7;
}

.social-link:hover {
    transform: scale(1.1);
    text-shadow: 0 0 20px currentColor;
    box-shadow: 0 0 20px currentColor;
}

.facebook-link {
    border-color: #1877f2;
    color: #1877f2;
    background: rgba(24, 119, 242, 0.1);
}

.linkedin-link {
    border-color: #0a66c2;
    color: #0a66c2;
    background: rgba(10, 102, 194, 0.1);
}

.instagram-link {
    border-color: #e4405f;
    color: #e4405f;
    background: rgba(228, 64, 95, 0.1);
}

.x-link {
    border-color: #ffffff;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 22px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}
