/* Golden Hive Cooperative - Main Styles */

/* CSS Variables for Color Palette */
:root {
    /* Primary Colors */
    --honey-gold: #FFC107;
    --golden-amber: #FFB300;
    --warm-cream: #FFF8E1;
    --nature-green: #4CAF50;
    --earth-brown: #8D6E63;
    
    /* Light Variations */
    --honey-light: #FFF3C4;
    --amber-light: #FFCC33;
    --cream-light: #FFFDE7;
    --green-light: #A5D6A7;
    --brown-light: #BCAAA4;
    
    /* Dark Variations */
    --honey-dark: #E65100;
    --amber-dark: #FF8F00;
    --cream-dark: #F9A825;
    --green-dark: #2E7D32;
    --brown-dark: #5D4037;
    
    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --border-radius: 8px;
}

/* Global Styles */
body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: #333;
}

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

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
        scroll-behavior: auto;
    }
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: #2c3e50;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--honey-gold);
}

/* Button Enhancements */
.btn-warning {
    background-color: var(--honey-gold);
    border-color: var(--honey-gold);
    color: #ffffff;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background-color: var(--amber-dark);
    border-color: var(--amber-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.btn-outline-warning {
    border-color: var(--honey-gold);
    color: var(--honey-gold);
}

.btn-outline-warning:hover {
    background-color: var(--honey-gold);
    border-color: var(--honey-gold);
}

/* Card Enhancements */
.card {
    border: none;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--warm-cream) 0%, var(--honey-light) 100%);
    position: relative;
    overflow: hidden;
}

#hero::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"><polygon fill="%23FFC107" fill-opacity="0.1" points="50,5 61,35 95,35 68,57 79,91 50,69 21,91 32,57 5,35 39,35"/></svg>') repeat;
    background-size: 80px 80px;
    opacity: 0.3;
}

#hero .container {
    position: relative;
    z-index: 1;
}

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

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

/* Icon Styling */
.fas, .fab {
    transition: transform 0.3s ease;
}

.card:hover .fas,
.card:hover .fab {
    transform: scale(1.1);
}

/* Text Colors */
.text-warning {
    color: var(--honey-gold);
}

.text-success {
    color: var(--nature-green);
}

.text-primary {
    color: #007bff;
}

.text-info {
    color: #17a2b8;
}

.text-danger {
    color: #dc3545;
}

/* Navbar Enhancements */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(255, 193, 7, 0.1);
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--honey-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--honey-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Form Enhancements */
.form-control {
    border-radius: var(--border-radius);
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--honey-gold);
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

/* Footer Styling */
footer {
    background: linear-gradient(135deg, #8f979f 0%, #34495e 100%);
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--honey-gold);
}

/* Team Member Images */
.team-member img {
    border: 3px solid var(--honey-light);
    transition: all 0.3s ease;
}

.team-member:hover img {
    border-color: var(--honey-gold);
    transform: scale(1.05);
}

/* Gallery Lightbox Enhancements */
.gallery img {
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

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

/* Price Plan Cards */
.border-warning {
    border-color: var(--honey-gold);
    position: relative;
}

.border-warning::before {
    content: 'Most Popular';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--honey-gold);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Timeline Section */
.timeline-item {
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: var(--honey-light);
    transform: translateX(-50%);
}

/* Breadcrumb Styling */
.breadcrumb {
    background: transparent;
}

.breadcrumb-item img {
    filter: opacity(0.7);
    transition: filter 0.3s ease;
}

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

/* Space page styling */
#space {
    min-height: 70vh;
    background: linear-gradient(135deg, var(--warm-cream) 0%, var(--honey-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid var(--honey-light);
    border-radius: 50%;
    border-top-color: var(--honey-gold);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { 
        transform: rotate(360deg); 
    }
}

/* Utility Classes */
.text-honey {
    color: var(--honey-gold);
}

.bg-honey {
    background-color: var(--honey-gold);
}

.bg-cream {
    background-color: var(--warm-cream);
}

.border-honey {
    border-color: var(--honey-gold);
}

/* Shadow Utilities */
.shadow-honey {
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Focus States for Accessibility */
*:focus {
    outline: 2px solid var(--honey-gold);
    outline-offset: 2px;
}

/* Ensure no Bootstrap overrides */
.container,
.container-fluid,
.row,
[class*="col-"] {
    /* Maintain Bootstrap grid system integrity */
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --honey-gold: #B8860B;
        --nature-green: #006400;
    }
    
    .card {
        border: 2px solid #333;
    }
}

/* Print styles */
@media print {
    .navbar,
    footer,
    .btn {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}


/* Team Social Links - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

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

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.instagram-link {
    background: #e4405f;
    border: 2px solid #e4405f;
}

.instagram-link:hover {
    background: #d62976;
    border-color: #d62976;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

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