/* Coffee Cart Template - Main Styles */

/* Color Palette */
:root {
    --primary-color: #8B4513;
    --primary-light: #CD853F;
    --primary-dark: #5D2F0A;
    
    --secondary-color: #F5E6D3;
    --secondary-light: #FFF8F0;
    --secondary-dark: #E6D7C4;
    
    --accent-color: #D2691E;
    --accent-light: #F4A460;
    --accent-dark: #A0522D;
    
    --neutral-color: #F8F9FA;
    --neutral-light: #FFFFFF;
    --neutral-dark: #6C757D;
    
    --text-color: #212529;
    --text-light: #495057;
    --text-dark: #000000;
}

/* Typography - Conservative sizes */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.navbar-brand {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

h3 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 0.6rem;
}

h4 {
    font-size: 1.2rem;
    font-weight: 500;
}

h5 {
    font-size: 1.1rem;
    font-weight: 500;
}

h6 {
    font-size: 1rem;
    font-weight: 500;
}

p, .lead {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.small {
    font-size: 0.875rem;
}

/* Custom Bootstrap color overrides */
.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);
}

.text-primary {
    color: var(--primary-color);
}

.bg-primary {
    background-color: var(--primary-color);
}

.border-primary {
    border-color: var(--primary-color);
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--neutral-color) 100%);
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 200px;
    height: 200px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 1;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 8%;
    width: 150px;
    height: 150px;
    background: var(--primary-color);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.1;
    z-index: 1;
}

#hero .container {
    position: relative;
    z-index: 2;
}

/* Section Styling */
section {
    scroll-margin-top: 80px;
}

.bg-light {
    background-color: var(--secondary-light);
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    border-radius: 12px 12px 0 0;
    height: 200px;
    object-fit: cover;
}

/* Team Images */
.rounded-circle {
    border: 3px solid var(--primary-color);
    object-fit: cover;
}

/* Forms */
.form-control {
    border-radius: 8px;
    border: 1px solid var(--neutral-dark);
    padding: 0.75rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(139, 69, 19, 0.25);
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: var(--neutral-light);
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Footer */
#footer {
    background-color: var(--text-color);
}

#footer h5, #footer h6 {
    color: var(--primary-light);
}

/* Gallery */
#gallery img {
    transition: transform 0.3s ease;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* Timeline */
#timeline .bg-secondary {
    background-color: var(--neutral-dark);
}

#timeline .bg-primary {
    background-color: var(--primary-color);
}

/* FAQ Cards */
#faq .card {
    border-left: 4px solid var(--primary-color);
}

/* Process Steps */
#process .bg-primary {
    background-color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-section {
        text-align: center;
    }
    
    #hero::before,
    #hero::after {
        display: none;
    }
}

/* Accessibility - Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
        scroll-behavior: auto;
    }
    
    .card:hover {
        transform: none;
    }
    
    #gallery img:hover {
        transform: none;
    }
}

/* Custom utilities */
.text-decoration-none {
    text-decoration: none;
}

.shadow-sm {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Icon styling */
.fas {
    color: var(--primary-color);
}

.text-success .fas {
    color: #198754;
}

.text-warning .fas {
    color: #ffc107;
}

.text-danger .fas {
    color: #dc3545;
}

.text-info .fas {
    color: #0dcaf0;
} 


/* Team Social Links - Neon Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.social-icons-grid {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    border: 2px solid;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: inherit;
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 0.7;
}

.social-link:hover {
    transform: scale(1.1);
    text-shadow: 0 0 20px currentColor;
    box-shadow: 0 0 20px currentColor;
}

.facebook-link {
    border-color: #1877f2;
    color: #1877f2;
    background: rgba(24, 119, 242, 0.1);
}

.linkedin-link {
    border-color: #0a66c2;
    color: #0a66c2;
    background: rgba(10, 102, 194, 0.1);
}

.instagram-link {
    border-color: #e4405f;
    color: #e4405f;
    background: rgba(228, 64, 95, 0.1);
}

.x-link {
    border-color: #ffffff;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 22px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}
