/* Add this to your /assets/css/style2.css file */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.color-bar {
    height: 6px;
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.col1 {
    flex: 1;
    background-color: #95a5a6;
}

.col2 {
    flex: 1;
    background-color: #34495e;
}

.col3 {
    flex: 1;
    background-color: #bdc3c7;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    margin-top: 6px; /* Account for color bar */
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intro-section {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.intro-section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #444;
}

.intro-section p:last-child {
    margin-bottom: 0;
}

.links-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.links-grid {
    display: grid;
    gap: 0.75rem;
}

.link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.link {
    color: #2c3e50;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    font-weight: 500;
}

.link:hover {
    background: #e9ecef;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.link.primary {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.link.primary:hover {
    background: #2980b9;
    border-color: #2980b9;
}

.separator {
    color: #bdc3c7;
    margin: 0 0.25rem;
}

/* Hover effect for the entire cards */
.intro-section {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.intro-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.links-section {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.links-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Footer styles */
.footer {
    margin-top: auto;
    padding: 1.5rem 0;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
}

.footer-content p {
    margin: 0.25rem 0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 2rem 1rem;
    }
    
    .intro-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .intro-section p {
        font-size: 1rem;
    }
    
    .links-section {
        padding: 1.5rem;
    }
    
    .link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .link-row {
        justify-content: center;
        text-align: center;
    }
    
    .separator {
        display: none;
    }
    
    .footer {
        padding: 1rem 0;
    }
    
    .footer-content {
        padding: 0 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1.5rem 0.75rem;
    }
    
    .intro-section {
        padding: 1.25rem;
    }
    
    .links-section {
        padding: 1.25rem;
    }
    
    .link-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .link {
        text-align: center;
        width: 100%;
    }
}