/* =====================================
   CARBON-NEGATIVE CONCRETE R&D FIRM
   Main CSS - Bootstrap 5 Integration
   ===================================== */

/* CSS Variables - 5 Primary Colors + Shades */
:root {
    /* Primary Colors */
    --primary-green: #56a6a0;
    --primary-gray: #6f8990;
    --primary-blue: #556f91;
    --primary-brown: #9b8a6d;
    --primary-white: #fafafa;
    
    /* Light Shades */
    --light-green: #f2f2f2;
    --light-gray: #f1f3f4;
    --light-blue: #eef4f8;
    --light-brown: #f5f2ed;
    --light-white: #ffffff;
    
    /* Dark Shades */
    --dark-green: #2a6659;
    --dark-gray: #565d60;
    --dark-blue: #2c3e5a;
    --dark-brown: #514529;
    --dark-white: #e5e5e5;
    
    /* Typography */
    --font-size-base: 16px;
    --font-size-sm: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-h1: 2.5rem;
    --font-size-h2: 2rem;
    --font-size-h3: 1.5rem;
    --font-size-h4: 1.25rem;
    --font-size-h5: 1.125rem;
    --font-size-h6: 1rem;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 15px;
}

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--light-white);
}

/* Typography - Conservative Sizes */
h1, .h1 {
    font-size: var(--font-size-h1);
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 1rem;
}

h2, .h2 {
    font-size: var(--font-size-h2);
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 1.23rem;
}

h3, .h3 {
    font-size: var(--font-size-h3);
    font-weight: 500;
    color: var(--primary-gray);
    margin-bottom: 1.02rem;
}

h4, .h4 {
    font-size: var(--font-size-h4);
    font-weight: 500;
    color: var(--primary-gray);
    margin-bottom: 0.91rem;
}

h5, .h5 {
    font-size: var(--font-size-h5);
    font-weight: 500;
    color: var(--primary-gray);
    margin-bottom: 0.77rem;
}

h6, .h6 {
    font-size: var(--font-size-h6);
    font-weight: 500;
    color: var(--primary-gray);
    margin-bottom: 0.79rem;
}

p {
    font-size: var(--font-size-base);
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

/* Section Spacing */
section {
    padding: var(--section-padding);
}

/* Header Styles */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-green);
}

.navbar-nav .nav-link {
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--primary-gray);
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-green);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--light-blue) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: var(--light-gray);
    border-radius: 0 0 0 100px;
    z-index: 1;
}

.hero-content {
    z-index: 2;
    position: relative;
    padding-top: 275px;
}

.hero-title {
    font-size: var(--font-size-h1);
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--primary-blue);
    margin-bottom: 1.78rem;
}

.hero-desc {
    font-size: var(--font-size-base);
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    font-size: var(--font-size-base);
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
}

.btn-secondary {
    background-color: var(--primary-gray);
    border-color: var(--primary-gray);
    color: var(--light-white);
    font-size: var(--font-size-base);
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--dark-gray);
    border-color: var(--dark-gray);
}

/* Card Styles */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--light-white);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-header {
    background-color: var(--light-green);
    border-bottom: 2px solid var(--primary-green);
    border-radius: 12px 12px 0 0;
    padding: 1.5rem;
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-size: var(--font-size-h4);
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 1rem;
}

.card-text {
    font-size: var(--font-size-base);
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

/* Services Section */
.services-item {
    margin-bottom: 2rem;
}

.services-item-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.services-item-name {
    font-size: var(--font-size-h5);
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 0.73rem;
}

.services-item-desc {
    font-size: var(--font-size-sm);
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.services-item-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-green);
}

/* Team Section */
.team-member {
    text-align: center;
    margin-bottom: 2rem;
}

.team-member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid var(--light-green);
}

.team-member-name {
    font-size: var(--font-size-h6);
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 0.77rem;
}

.team-member-role {
    font-size: var(--font-size-sm);
    color: var(--primary-gray);
}

/* FAQ Section */
.faq-item {
    margin-bottom: 1.82rem;
}

.faq-question {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 0.76rem;
}

.faq-answer {
    font-size: var(--font-size-sm);
    color: var(--dark-gray);
}

/* Footer */
.footer {
    background-color: var(--dark-gray);
    color: var(--light-white);
    padding: 3rem 0 1rem;
}

.footer h5 {
    color: var(--light-white);
    margin-bottom: 1rem;
}

.footer p,
.footer a {
    color: var(--light-gray);
    font-size: var(--font-size-sm);
}

.footer a:hover {
    color: var(--primary-green);
}

/* Contact Form */
.contact-form {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
}

.form-label {
    font-weight: 500;
    color: var(--dark-gray);
    margin-bottom: 0.81rem;
}

.form-control {
    border: 2px solid var(--light-green);
    border-radius: 8px;
    padding: 0.75rem;
    font-size: var(--font-size-base);
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(83, 167, 151, 0.25);
}

/* Gallery */
.gallery-item {
    margin-bottom: 1rem;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Accessibility */
.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;
}

/* Breadcrumbs */
.breadcrumb-item img {
    width: 16px;
    height: 16px;
    margin-right: 0.5rem;
}

/* Utility Classes */
.text-primary-green {
    color: var(--primary-green);
}

.text-primary-gray {
    color: var(--primary-gray);
}

.text-primary-blue {
    color: var(--primary-blue);
}

.bg-light-green {
    background-color: var(--light-green);
}

.bg-light-gray {
    background-color: var(--light-gray);
}

.bg-light-blue {
    background-color: var(--light-blue);
}

.section-title {
    font-size: var(--font-size-h2);
    font-weight: 600;
    color: var(--dark-green);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 1.60rem;
}

.section-desc {
    font-size: var(--font-size-base);
    color: var(--dark-gray);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
} 


/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
