/* ColdBrew Express - Main Styles */

/* CSS Custom Properties for Color Palette */
:root {
    --primary-color: #784612;
    --primary-light: #c79336;
    --primary-dark: #603a19;
    --secondary-color: #e6ce9c;
    --accent-color: #f3e1a5;
    --text-dark: #0c0704;
    --text-light: #745024;
    --bg-light: #FAF8F5;
    --bg-cream: #FDF9F3;
    --success-color: #8ed391;
    --success-light: #abe69d;
    --success-dark: #257322;
}

/* Base Typography - Conservative Sizes */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

/* Headings */
h1 {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.93rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.99rem;
}

h3 {
    font-size: 1.44rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 0.71rem;
}

h4, h5, h6 {
    font-weight: 500;
    color: var(--text-dark);
}

/* Conservative navbar brand size */
.navbar-brand {
    font-size: 1.17rem !important;
    font-weight: 600;
    color: var(--primary-color);
}

/* Primary color overrides for Bootstrap components */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.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);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--accent-color) 100%);
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23CD853F" opacity="0.1"/><circle cx="80" cy="80" r="3" fill="%238B4513" opacity="0.1"/><circle cx="50" cy="50" r="1.5" fill="%23DEB887" opacity="0.15"/></svg>');
    pointer-events: none;
}

/* Section Styling */
section {
    padding: 4rem 0;
}

.bg-light {
    background-color: var(--bg-cream) !important;
}

/* Card Enhancements */
.card {
    border: 1px solid rgba(128, 82, 30, 0.10);
    box-shadow: 0 8px 8px rgba(139, 69, 19, 0.08);
    transition: transform 0.71s ease, box-shadow 1.13s ease;
}

.card:hover {
    transform: translateY(-7px);
    box-shadow: 0 4px 16px rgba(147, 71, 2, 0.12);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Team member images */
.rounded-circle {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

/* Form Styling */
.form-control {
    border: 1px solid rgba(170, 122, 22, 0.20);
    border-radius: 8px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(132, 68, 31, 0.25);
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

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

footer a {
    transition: color 0.77s ease;
}

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

/* Gallery */
.gallery img {
    transition: transform 0.81s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Breadcrumb styling */
.breadcrumb {
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item img {
    opacity: 0.7;
    transition: opacity 0.88s ease;
}

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

/* Animation for cards and elements */
.card, .text-center > div, .d-flex {
    transition: all 0.90s ease;
}

/* Process steps styling */
.bg-primary.rounded-circle {
    transition: all 0.45s ease;
}

.bg-primary.rounded-circle:hover {
    transform: scale(1.1);
    background-color: var(--primary-dark) !important;
}

/* Responsive image adjustments */
img {
    max-width: 100%;
    height: auto;
}

/* Prefers reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Additional utility classes */
.text-coffee {
    color: var(--primary-color);
}

.bg-coffee {
    background-color: var(--primary-color);
}

.border-coffee {
    border-color: var(--primary-color);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

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

/* High contrast for better readability */
.bg-dark {
    background-color: var(--text-dark) !important;
}

.text-light {
    color: var(--bg-light) !important;
}

/* Consistent spacing for sections */
.py-5 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

/* Badge styling */
.badge {
    font-weight: 500;
}

.bg-primary.badge {
    background-color: var(--primary-color) !important;
}

/* Timeline styling */
.text-primary.h6 {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* Blockquote styling for reviews */
.blockquote-footer {
    color: var(--text-light);
    font-style: italic;
}

/* FAQ cards */
.card h6 {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.62rem;
}

/* Services and pricing cards */
.card .text-primary {
    font-weight: 600;
    font-size: 1.30rem;
}

/* Contact info styling */
.card-body i {
    color: var(--primary-color);
}

/* List styling */
.list-unstyled li {
    margin-bottom: 0.52rem;
}

/* Custom spacing */
.mt-5 {
    margin-top: 3rem !important;
}

.mb-4 {
    margin-bottom: 1.59rem !important;
} 

.hero-section h1 {
    padding-top: 250px;
}


/* Team Social Links - Gradient Style */
.team-social-links {
    margin-top: 20px;
    padding: 18px 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-radius: 20px;
}

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

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 24px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.social-link::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: inherit;
    border-radius: inherit;
    z-index: -1;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.linkedin-link {
    background: linear-gradient(135deg, #2196f3 0%, #21cbf3 100%);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #21cbf3 0%, #2196f3 100%);
}

.instagram-link {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.instagram-link:hover {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
}

.x-link {
    background: linear-gradient(135deg, #232526 0%, #414345 100%);
    position: relative;
}

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

.x-link:hover {
    background: linear-gradient(135deg, #414345 0%, #232526 100%);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}
