/* Main CSS for GreenGrind Coffee Ground Bio-Fertilizer Website */

/* Root Variables - Pastel High-Contrast Color Palette */
:root {
    --primary-color: #4ea053;
    --primary-light: #85be8d;
    --primary-dark: #3b7b43;
    
    --secondary-color: #2998ff;
    --secondary-light: #549eea;
    --secondary-dark: #1f8ec9;
    
    --success-color: #96ca5a;
    --success-light: #b2e87c;
    --success-dark: #63913d;
    
    --warning-color: #ffb202;
    --warning-light: #efae3a;
    --warning-dark: #ff9010;
    
    --info-color: #009bc6;
    --info-light: #39cfe6;
    --info-dark: #007e8c;
    
    --light-bg: #F8F9FA;
    --dark-bg: #0f1114;
    --text-primary: #343333;
    --text-muted: #56626f;
    --text-light: #F8F9FA;
    
    --font-family-primary: 'Roboto', system-ui, -apple-system, sans-serif;
    --font-family-headings: 'Roboto', system-ui, -apple-system, sans-serif;
    
    --border-radius: 0.5rem;
    --box-shadow: 0 7px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Typography - Conservative Font Sizes */
body {
    font-family: var(--font-family-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 { font-size: 2.57rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.84rem; }
h4 { font-size: 1.58rem; }
h5 { font-size: 1.29rem; }
h6 { font-size: 1.20rem; }

.display-1 { font-size: 4rem; }
.display-2 { font-size: 3.62rem; }
.display-3 { font-size: 3rem; }
.display-4 { font-size: 2.58rem; }

/* Conservative navbar-brand size */
.navbar-brand {
    font-size: 1.52rem !important;
    font-weight: 700;
    color: var(--primary-color);
}

/* Lead text styling */
.lead {
    font-size: 1.15rem;
    font-weight: 300;
    margin-bottom: 1.67rem;
}

/* Text utilities */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-success { color: var(--success-color) !important; }
.text-warning { color: var(--warning-color) !important; }
.text-info { color: var(--info-color) !important; }
.text-muted { color: var(--text-muted) !important; }

/* Background utilities */
.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.bg-success { background-color: var(--success-color) !important; }
.bg-warning { background-color: var(--warning-color) !important; }
.bg-info { background-color: var(--info-color) !important; }

/* Button styling */
.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1.5rem;
}

.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);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Header styling */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.navbar {
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.navbar-scrolled .navbar {
    padding: 0.5rem 0;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.navbar-nav .nav-link:focus {
    color: var(--primary-color);
    outline: none;
}

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, #c5e2c8 100%);
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: linear-gradient(45deg, var(--primary-light), transparent);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Card styling */
.card {
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: none;
    box-shadow: var(--box-shadow);
}

.card:hover {
    transform: translateY(-11px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    height: 200px;
    object-fit: cover;
}

/* Section spacing */
section {
    position: relative;
}

.py-5 {
    padding: 4rem 0;
}

/* Background variants */
.bg-light {
    background-color: var(--light-bg) !important;
}

/* Form styling */
.form-control {
    border-radius: var(--border-radius);
    border: 1px solid #e6f0ff;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(84, 196, 95, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.72rem;
}

/* Icon styling */
.fa {
    transition: var(--transition);
}

/* Team member images */
.card-img-top.rounded-circle {
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin: 0 auto;
}

/* Gallery styling */
#Gallery img {
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--border-radius);
    height: 250px;
    object-fit: cover;
    width: 100%;
}

#Gallery img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

#Gallery a {
    display: block;
    overflow: hidden;
    border-radius: var(--border-radius);
}

/* Breadcrumb styling */
.breadcrumb-img {
    opacity: 0.6;
    filter: grayscale(50%);
}

/* Footer styling */
footer {
    background-color: var(--dark-bg) !important;
}

footer .text-light {
    color: var(--text-light) !important;
}

footer a {
    transition: var(--transition);
}

footer a:hover {
    color: var(--primary-light) !important;
}

/* Animation respect for reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Utility classes */
.rounded-3 {
    border-radius: 1rem;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.shadow {
    box-shadow: var(--box-shadow);
}

/* Process steps styling */
.process-step {
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -50px;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    transform: translateY(-50%);
}

.process-step:last-child::after {
    display: none;
}

/* Custom background opacity utilities */
.bg-opacity-10 {
    background-color: rgba(61, 176, 64, 0.10) !important;
}

.bg-primary.bg-opacity-10 {
    background-color: rgba(79, 177, 92, 0.10) !important;
}

.bg-secondary.bg-opacity-10 {
    background-color: rgba(45, 127, 238, 0.10) !important;
}

.bg-success.bg-opacity-10 {
    background-color: rgba(118, 175, 78, 0.10) !important;
}

.bg-warning.bg-opacity-10 {
    background-color: rgba(255, 166, 31, 0.10) !important;
}

.bg-info.bg-opacity-10 {
    background-color: rgba(18, 185, 204, 0.10) !important;
}

/* Ensure proper spacing */
.mb-4 { margin-bottom: 1.65rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-5 { margin-top: 3rem; }
.py-3 { padding: 1rem 0; }

/* Team section styling */
.team-member {
    max-width: 200px;
    margin: 0 auto;
}

/* Space page specific styling */
#space {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    color: white;
}

/* Border utilities */
.border-4 {
    border-width: 4px !important;
}

.border-start {
    border-left: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.border-success {
    border-color: var(--success-color) !important;
}

.border-warning {
    border-color: var(--warning-color) !important;
}

.border-info {
    border-color: var(--info-color) !important;
}

.border-secondary {
    border-color: var(--secondary-color) !important;
} 

.hero-section h1 {
    padding-top: 200px;
}


/* 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;
    }
}
