/* Main CSS for Metal Revive - Upcycled Metal Art Sculpture Business */

/* Color Palette - 5 Primary Pastel High-Contrast Colors */
:root {
    /* Primary Pastel Colors */
    --primary-sage: #A8DADC;
    --primary-coral: #F1FAEE;
    --primary-rust: #E63946;
    --primary-navy: #457B9D;
    --primary-charcoal: #1D3557;
    
    /* Light Shades */
    --sage-light: #C4E7E9;
    --coral-light: #F8FFFE;
    --rust-light: #ED6A75;
    --navy-light: #6B9DC4;
    --charcoal-light: #456B8A;
    
    /* Dark Shades */
    --sage-dark: #8CC6C9;
    --coral-dark: #E5F2E9;
    --rust-dark: #D52030;
    --navy-dark: #3A6B8A;
    --charcoal-dark: #1A2F4A;
    
    /* Bootstrap Overrides */
    --bs-primary: var(--primary-rust);
    --bs-light: var(--coral-light);
    --bs-dark: var(--primary-charcoal);
    
    /* Font Sizes - Conservative */
    --navbar-brand-size: 1.2rem;
    --h1-size: 2.2rem;
    --h2-size: 1.8rem;
    --h3-size: 1.5rem;
    --h4-size: 1.3rem;
    --h5-size: 1.1rem;
    --p-size: 1rem;
    --small-size: 0.9rem;
}

/* Global Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: var(--p-size);
    line-height: 1.6;
    color: var(--primary-charcoal);
    overflow-x: hidden;
}

/* Respect Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Typography - Conservative Sizes */
.navbar-brand {
    font-size: var(--navbar-brand-size);
    color: var(--primary-rust);
}

h1, .h1 {
    font-size: var(--h1-size);
    color: var(--primary-charcoal);
    font-weight: 700;
}

h2, .h2 {
    font-size: var(--h2-size);
    color: var(--primary-charcoal);
}

h3, .h3 {
    font-size: var(--h3-size);
    color: var(--primary-navy);
}

h4, .h4 {
    font-size: var(--h4-size);
    color: var(--primary-charcoal);
}

h5, .h5 {
    font-size: var(--h5-size);
    color: var(--primary-navy);
}

p {
    font-size: var(--p-size);
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.1rem;
    color: var(--charcoal-light);
}

/* Header Styles */
#header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 1050;
}

#header .navbar-nav .nav-link {
    color: var(--primary-charcoal);
    font-weight: 500;
    transition: color 0.3s ease;
}

#header .navbar-nav .nav-link:hover {
    color: var(--primary-rust);
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--coral-light) 0%, var(--sage-light) 100%);
    position: relative;
    padding-top: 100px;
}

.hero-decoration {
    position: absolute;
    top: 50%;
    right: -100px;
    width: 200px;
    height: 200px;
    background: var(--primary-sage);
    border-radius: 50%;
    opacity: 0.3;
    z-index: 0;
}

/* Feature Icons */
.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--sage-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Service Cards */
.card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.price-tag {
    background: var(--sage-light);
    padding: 10px;
    border-radius: 10px;
    margin-top: 15px;
}

/* Process Section */
.process-number {
    width: 60px;
    height: 60px;
    background: var(--primary-rust);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: bold;
}

/* Timeline Section */
.timeline-year {
    font-size: 0.9rem;
    font-weight: bold;
    background: var(--primary-navy);
}

/* Contact Form */
.contact-form .form-control {
    border: 2px solid var(--sage-light);
    border-radius: 10px;
    padding: 12px 15px;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-rust);
    box-shadow: 0 0 0 0.2rem rgba(230, 57, 70, 0.25);
}

.contact-form .btn {
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Gallery */
#gallery img {
    transition: transform 0.3s ease;
    cursor: pointer;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* Footer */
#footer {
    background: var(--primary-charcoal);
    color: var(--coral-light);
}

#footer a {
    color: var(--sage-light);
    transition: color 0.3s ease;
}

#footer a:hover {
    color: var(--primary-coral);
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-rust);
    border-color: var(--primary-rust);
    color: white;
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--rust-dark);
    border-color: var(--rust-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.4);
}

.btn-outline-primary {
    color: var(--primary-rust);
    border-color: var(--primary-rust);
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-rust);
    border-color: var(--primary-rust);
    color: white;
}

/* Background Sections */
.bg-light {
    background-color: var(--coral-light);
}

/* Team Section */
#team img {
    border: 4px solid var(--sage-light);
    transition: border-color 0.3s ease;
}

#team img:hover {
    border-color: var(--primary-rust);
}

/* FAQ Cards */
#faq .card {
    border-left: 4px solid var(--primary-sage);
    transition: border-color 0.3s ease;
}

#faq .card:hover {
    border-left-color: var(--primary-rust);
}

/* Price Plan Cards */
#priceplan .card.border-primary {
    border-color: var(--primary-rust);
}

#priceplan .card-header.bg-primary {
    background-color: var(--primary-rust);
}

/* Reviews Stars */
.fas.fa-star {
    color: #ffc107;
}

/* Contact Info Icons */
.contact-info i {
    color: var(--primary-rust);
}

/* Utility Classes */
.text-primary {
    color: var(--primary-rust);
}

.text-muted {
    color: var(--charcoal-light);
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(69, 123, 157, 0.075);
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(69, 123, 157, 0.15);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    :root {
        --h1-size: 1.8rem;
        --h2-size: 1.5rem;
        --h3-size: 1.3rem;
        --navbar-brand-size: 1.1rem;
    }
    
    .hero-decoration {
        display: none;
    }
    
    #hero {
        padding-top: 80px;
    }
    
    .process-number {
        width: 50px;
        height: 50px;
        font-size: 0.9rem;
    }
}

/* Animation Classes for Sal.js */
[data-sal] {
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-sal].sal-animate {
    opacity: 1;
}

/* Additional Page Styles */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item img {
    filter: brightness(0) saturate(100%) invert(27%) sepia(85%) saturate(1123%) hue-rotate(198deg) brightness(92%) contrast(95%);
}

/* Innovation and Learning Items */
.innovation-card,
.learning-item,
.quality-card,
.material-icon,
.community-icon,
.global-vision-item {
    transition: transform 0.3s ease;
}

.innovation-card:hover,
.learning-item:hover,
.quality-card:hover,
.material-icon:hover,
.community-icon:hover,
.global-vision-item:hover {
    transform: translateY(-5px);
}

/* Additional Section Styling */
.case-study-item img {
    transition: transform 0.3s ease;
}

.case-study-item img:hover {
    transform: scale(1.02);
}

/* Services List in Contact */
.services-list ul li {
    padding: 5px 0;
    border-bottom: 1px solid var(--sage-light);
    color: var(--primary-charcoal);
}

.services-list ul li:last-child {
    border-bottom: none;
} 


/* Team Social Links - Elegant Style */
.team-social-links {
    margin-top: 24px;
    padding: 18px 0;
}

.social-icons-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.9);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 1);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.9);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 1);
    box-shadow: 0 8px 30px rgba(10, 102, 194, 0.4);
}

.instagram-link {
    background: rgba(228, 64, 95, 0.9);
}

.instagram-link:hover {
    background: rgba(228, 64, 95, 1);
    box-shadow: 0 8px 30px rgba(228, 64, 95, 0.4);
}

.x-link {
    background: rgba(0, 0, 0, 0.9);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 19px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
}
