/* ColdBrew Express - Main Styles */

/* CSS Custom Properties for Color Palette */
:root {
    --primary-color: #8d370a;
    --primary-light: #bc4f37;
    --primary-dark: #65260c;
    --secondary-color: #e1b07a;
    --accent-color: #e0c0a3;
    --text-dark: #423122;
    --text-light: #6b4928;
    --bg-light: #FAF8F5;
    --bg-cream: #FDF9F3;
    --success-color: #85d57e;
    --success-light: #bbecae;
    --success-dark: #217e1a;
}

/* 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.28rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

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

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

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

/* Conservative navbar brand size */
.navbar-brand {
    font-size: 1.25rem !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(137, 85, 3, 0.10);
    box-shadow: 0 6px 8px rgba(139, 69, 19, 0.08);
    transition: transform 0.64s ease, box-shadow 0.85s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(162, 86, 29, 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(138, 83, 30, 0.20);
    border-radius: 8px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(138, 85, 30, 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(--success-color) !important;
}

footer a {
    transition: color 1.10s ease;
}

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

/* Gallery */
.gallery img {
    transition: transform 0.87s 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.49s ease;
}

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

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

/* Process steps styling */
.bg-primary.rounded-circle {
    transition: all 0.90s 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.70rem;
}

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

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

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

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

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

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


/* Team Social Links - Modern Style */
.team-social-links {
    margin-top: 25px;
    padding: 20px 0;
}

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

.social-link {
    display: inline-flex;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 22px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    transform: scale(0);
    border-radius: inherit;
    transition: transform 0.5s ease;
}

.social-link:hover::before {
    transform: scale(1.2);
}

.social-link:hover {
    transform: translateY(-8px) rotate(10deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #00c6ff);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #0099cc);
}

.instagram-link {
    background: linear-gradient(45deg, #e4405f, #f093fb, #f5576c);
}

.x-link {
    background: linear-gradient(45deg, #000000, #434343);
    position: relative;
}

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

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }
}
