:root {
    /* Color Palette - Pastel High-Contrast Colors */
    --primary-color: #8B4513;
    --secondary-color: #DEB887;
    --accent-color: #F4A460;
    --success-color: #9ACD32;
    --info-color: #87CEEB;
    
    /* Light/Dark Shades */
    --primary-light: #CD853F;
    --primary-dark: #654321;
    --secondary-light: #F5DEB3;
    --secondary-dark: #D2B48C;
    --accent-light: #FFE4B5;
    --accent-dark: #DAA520;
    
    /* Neutral Colors */
    --text-dark: #2C2C2C;
    --text-light: #666666;
    --bg-light: #FAFAFA;
    --border-color: #E0E0E0;
}

/* Bootstrap Color Override */
.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 {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}
.border-primary { border-color: var(--primary-color) !important; }

/* Typography */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text-dark);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Header Styles */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--secondary-light) 100%);
    padding-top: 100px;
}

.hero-buttons .btn {
    margin: 0.5rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
}

/* Section Styling */
section {
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Card Enhancements */
.card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.card-img-top {
    border-radius: 15px 15px 0 0;
    height: 250px;
    object-fit: cover;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Icon Styling */
.fa-3x {
    color: var(--primary-color);
}

/* Price Display */
.price-display {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Team Section */
.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.team-member:hover img {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* Gallery Section */
#gallery img {
    transition: all 0.3s ease;
    border-radius: 10px;
}

#gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Contact Form */
.form-control {
    border-radius: 10px;
    border: 2px solid var(--border-color);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(139, 69, 19, 0.25);
}

.btn {
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Footer */
footer {
    background-color: var(--text-dark) !important;
}

footer h5, footer h6 {
    color: var(--secondary-color);
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-color) !important;
}

/* Breadcrumb */
.breadcrumb {
    background: none;
    padding: 0;
}

.breadcrumb-item img {
    filter: opacity(0.7);
    transition: all 0.3s ease;
}

.breadcrumb-item img:hover {
    filter: opacity(1);
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
    .fade-in {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.6s ease;
    }
    
    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }
    
    .slide-up {
        transform: translateY(50px);
        opacity: 0;
        transition: all 0.8s ease;
    }
    
    .slide-up.visible {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Utility Classes */
.text-wood-brown { color: var(--primary-color); }
.bg-wood-light { background-color: var(--secondary-light); }
.border-wood { border-color: var(--accent-color); }

.shadow-soft {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .card-img-top {
        height: 200px;
    }
}

/* Print Styles */
@media print {
    .navbar, .breadcrumb, footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --text-dark: #000000;
        --border-color: #000000;
    }
    
    .card {
        border: 2px solid var(--border-color);
    }
}

/* Accessibility Improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Focus States */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    border: 3px solid var(--secondary-light);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 


/* Team Social Links - Modern Style */
.team-social-links {
    margin-top: 25px;
    padding: 20px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 22px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    transform: scale(0);
    border-radius: inherit;
    transition: transform 0.5s ease;
}

.social-link:hover::before {
    transform: scale(1.2);
}

.social-link:hover {
    transform: translateY(-8px) rotate(10deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #00c6ff);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #0099cc);
}

.instagram-link {
    background: linear-gradient(45deg, #e4405f, #f093fb, #f5576c);
}

.x-link {
    background: linear-gradient(45deg, #000000, #434343);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 24px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }
}
