/* ModularSpace Main CSS */

/* Color Variables */
:root {
    --primary-blue: #5b9fd8;
    --primary-green: #66dc12;
    --primary-purple: #ad09fa;
    --primary-orange: #fcb200;
    --primary-pink: #ea6486;
    
    --light-blue: #cce6f1;
    --light-green: #eef3e8;
    --light-purple: #e3cfea;
    --light-orange: #f9f0e7;
    --light-pink: #ffe5ed;
    
    --dark-blue: #224b85;
    --dark-green: #3dab7c;
    --dark-purple: #5e52ac;
    --dark-orange: #ce5518;
    --dark-pink: #a12d71;
    
    --transition-base: all 0.3s ease;
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Conservative Typography */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #495760;
}

h1 { font-size: 2.37rem; font-weight: 700; color: #373e45; }
h2 { font-size: 1.90rem; font-weight: 600; color: #373c40; }
h3 { font-size: 1.63rem; font-weight: 600; color: #3f4247; }
h4 { font-size: 1.36rem; font-weight: 500; color: #535c6b; }
h5 { font-size: 1.23rem; font-weight: 500; color: #31373e; }

.navbar-brand {
    font-size: 1.56rem;
    font-weight: 600;
    color: var(--primary-blue);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-purple) 100%);
    padding-top: 120px;
    position: relative;
}

.hero-buttons .btn {
    padding: 110px 30px;
    font-weight: 500;
    border-radius: 5px;
    transition: var(--transition-base);
}

/* Cards */
.feature-card, .info-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition-base);
    height: 100%;
}

.feature-card:hover, .info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition-base);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.price {
    font-size: 1.52rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-top: 1rem;
}

/* Feature Items */
.feature-item {
    padding: 1.5rem;
    border-radius: 8px;
    background: white;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition-base);
}

.feature-item:hover {
    background: var(--light-blue);
    transform: translateY(-3px);
}

/* Team */
.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition-base);
}

.team-member img:hover {
    transform: scale(1.05);
}

/* Process Steps */
.process-step {
    position: relative;
    padding: 1.5rem;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.32rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-blue);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 7px 10px rgba(0, 0, 0, 0.1);
    margin-left: 50%;
    width: 45%;
}

.timeline-item:nth-child(even) {
    margin-left: 0;
    margin-right: 50%;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 15px;
    height: 15px;
    background: var(--primary-blue);
    border-radius: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd)::before {
    left: -45px;
}

.timeline-item:nth-child(even)::before {
    right: -45px;
}

.timeline-date {
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.61rem;
}

/* Contact */
.contact-info {
    background: var(--light-blue);
    padding: 2rem;
    border-radius: 8px;
    height: 100%;
}

.contact-info h5 {
    color: var(--primary-blue);
    margin-bottom: 1.75rem;
}

.contact-info i {
    color: var(--primary-blue);
    margin-right: 0.5rem;
    width: 20px;
}

/* Gallery */
.gallery-image {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition-base);
    cursor: pointer;
}

.gallery-image:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Breadcrumb */
.breadcrumb-section {
    margin-top: 76px;
    background: var(--light-blue);
}

.breadcrumb {
    margin-bottom: 0;
    background: transparent;
}

/* Component Items */
.planning-item, .selection-item, .installation-item, .maintenance-item, 
.partnership-item, .industry-item, .rental-item, .quality-item, 
.tech-item, .environmental-item {
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition-base);
    height: 100%;
}

.planning-item:hover, .selection-item:hover, .installation-item:hover, 
.maintenance-item:hover, .partnership-item:hover, .industry-item:hover, 
.rental-item:hover, .quality-item:hover, .tech-item:hover, 
.environmental-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Custom Bootstrap Overrides */
.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
}

.btn-outline-primary {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-outline-primary:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(56, 159, 222, 0.25);
}

.text-primary {
    color: var(--primary-blue);
}

.bg-primary {
    background-color: var(--primary-blue);
}

.border-primary {
    border-color: var(--primary-blue);
}

/* Footer */
footer {
    background-color: #454a4e;
}

footer h5 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

footer p {
    color: #a9b3b7;
    margin-bottom: 0.61rem;
}

footer a {
    color: #b7c4d5;
    text-decoration: none;
    transition: var(--transition-base);
}

footer a:hover {
    color: var(--primary-blue);
}

footer i {
    color: var(--primary-blue);
    margin-right: 0.5rem;
}

/* Reviewer */
.reviewer {
    color: var(--primary-blue);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 100px;
        text-align: center;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        margin-left: 60px;
        margin-right: 0;
        width: calc(100% - 60px);
    }
    
    .timeline-item:nth-child(even) {
        margin-left: 60px;
        margin-right: 0;
    }
    
    .timeline-item::before {
        left: -45px;
    }
    
    .timeline-item:nth-child(even)::before {
        left: -45px;
        right: auto;
    }
    
    h1 { font-size: 2.02rem; }
    h2 { font-size: 1.62rem; }
    h3 { font-size: 1.29rem; }
}



/* 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;
}

.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;
    }
}
