/* Main CSS file for Traders at Michigan website */

/* Global Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    padding-top: 80px; /* Prevent navbar overlap on most pages */
}

/* Home page should have no padding so navbar overlaps hero image */
body.home-page {
    padding-top: 0;
}

/* Responsive navbar padding */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    body.home-page {
        padding-top: 0;
    }
}

/* Typography */
.itc-benguiat {
    font-family: 'ITC Benguiat Std', serif;
    font-weight: bold;
}

/* Image Styles */
.rounded-image-container {
    border-radius: 2rem;
    padding: 10px;
    overflow: hidden;
}

.rounded-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Drop Shadow Styles */
.drop-shadow {
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

/* Mobile Menu Styles - Fixed implementation */
#mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: white;
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-sizing: border-box;
}

#mobile-menu.show {
    display: flex;
}

.mobile-menu-header {
    position: absolute;
    top: 2rem;
    left: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-logo {
    height: 3rem;
    margin-bottom: 0.5rem;
}

.mobile-menu-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: #1f2937;
}

.mobile-close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    font-weight: 500;
    color: #1f2937;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-close-btn:hover {
    color: #6b7280;
}

.mobile-nav-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
    padding: 1rem 0;
    margin: 0.5rem 0;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.mobile-nav-link:hover {
    color: #3b82f6;
}

/* Mobile Apply Button - Sleek design */
.mobile-apply-btn {
    display: inline-block;
    background-color: #1e3a8a;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.mobile-apply-btn:hover {
    background-color: #1f2937;
}

/* Responsive behavior for mobile menu */
@media (min-width: 1024px) {
    #mobile-menu {
        display: none !important;
    }
    
    #mobile-menu.show {
        display: none !important;
    }
    
    .lg\\:hidden {
        display: none !important;
    }
    
    .lg\\:flex {
        display: flex !important;
    }
}

@media (max-width: 1023px) {
    .lg\\:flex {
        display: none !important;
    }
    
    .lg\\:hidden {
        display: block !important;
    }
}

/* Card Styles */
.card-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
}

.card {
    width: 100%;
    height: 400px;
    border-radius: 1rem;
    background-size: cover;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: end;
    background-color: white;
    color: white;
    font-size: 6xl;
    font-weight: bold;
    padding: 20px;
}

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

/* Timeline Styles */
.timeline-container {
    position: relative;
    padding: 20px 0;
}

.timeline-line {
    z-index: 1;
}

.timeline-item {
    position: relative;
    z-index: 2;
}

.timeline-content {
    position: relative;
    z-index: 3;
}

.timeline-dot {
    z-index: 4;
}

/* Ensure alternating timeline layout */
.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    margin-right: 0;
    border-left: 4px solid;
    border-right: none;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: auto;
    border-left: none;
    border-right: 4px solid;
}

/* Timeline item specific border colors */
.timeline-item:nth-child(1) .timeline-content {
    border-left-color: #3b82f6; /* blue-500 */
}

.timeline-item:nth-child(2) .timeline-content {
    border-right-color: #10b981; /* green-500 */
}

.timeline-item:nth-child(3) .timeline-content {
    border-left-color: #8b5cf6; /* purple-500 */
}

.timeline-item:nth-child(4) .timeline-content {
    border-right-color: #ef4444; /* red-500 */
}

.timeline-item:nth-child(5) .timeline-content {
    border-left-color: #f97316; /* orange-500 */
}

/* Responsive timeline adjustments */
@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
        transform: none;
    }

    .timeline-item {
        margin-left: 40px;
    }

    .timeline-content {
        width: calc(100% - 40px);
        margin-left: 0;
        margin-right: 0;
        border-left: 4px solid;
        border-right: none;
    }

    .timeline-dot {
        left: 20px;
        transform: none;
    }
    
    /* Override alternating layout on mobile - force all items to left alignment */
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 0;
        margin-right: 0;
        border-left: 4px solid;
        border-right: none;
    }
    
    /* Mobile border colors */
    .timeline-item:nth-child(1) .timeline-content {
        border-left-color: #3b82f6;
    }
    
    .timeline-item:nth-child(2) .timeline-content {
        border-left-color: #10b981;
    }
    
    .timeline-item:nth-child(3) .timeline-content {
        border-left-color: #8b5cf6;
    }
    
    .timeline-item:nth-child(4) .timeline-content {
        border-left-color: #ef4444;
    }
    
    .timeline-item:nth-child(5) .timeline-content {
        border-left-color: #f97316;
    }
}

/* Enhanced hover effects */
.timeline-content:hover {
    transform: translateY(-5px) scale(1.02);
}

.timeline-dot:hover {
    transform: scale(1.5);
}

/* Board Member Styles */
.board-member img {
    object-fit: cover;
    width: 6rem !important;
    height: 6rem !important;
}

.board-member {
    transition: transform 0.2s ease-in-out;
}

.board-member:hover {
    transform: translateY(-5px);
    cursor: pointer;
}

.linkedin-profile {
    text-decoration: none;
    color: inherit;
    display: block;
}

.linkedin-profile:hover {
    text-decoration: none;
}

/* Container padding */
.container {
    padding: 0 20px;
} 