/* Base page styling */
body {
    margin: 0;
    padding: 0 0 60px;
    background: linear-gradient(45deg, #2c3e50, #3498db);
    color: white;
    font-family: Arial, sans-serif;
    min-height: 100vh;
}

/* Header styling */
.header {
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

/* Navigation styling */
.nav {
    background: #2c3e50;
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.nav-list {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 0;
    list-style: none;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-link:hover {
    background: rgba(255,255,255,0.1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Index Page - Button Container */
.button-container {
    max-width: 650px;
    margin: 2rem auto;
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 0 1rem;
}

/* Index Page - Button Styles */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    color: white;
    flex: 0 1 auto;
    min-width: 110px;
    text-align: center;
    white-space: nowrap;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.btn-Immich { background: #3498db; }
.btn-AI { background: #2ecc71; }
.btn-RadioTheory { background: #e67e22; }

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Shared Content Container (For About/Contact) */
.content-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* About Page Styles */
.about-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-content h2 {
    margin-top: 0;
    color: #fff;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

.about-content h3 {
    color: #2ecc71;
    margin: 1.5rem 0 1rem;
}

.features-list {
    padding-left: 1.5rem;
}

.features-list li {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.features-list strong {
    color: #3498db;
}

/* Contact Page Styles */
.contact-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-method {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: inline-block;
}

.email-link {
    display: block;
    font-size: 1.2rem;
    color: #2ecc71;
    text-decoration: none;
    margin: 1rem 0;
    transition: all 0.3s ease;
}

.email-link:hover {
    color: #3498db;
    transform: scale(1.05);
}

.contact-notes {
    margin-top: 2rem;
    color: #ddd;
    line-height: 1.6;
    text-align: center;
}

.contact-notes em {
    color: #3498db;
    font-style: normal;
    font-weight: bold;
}

/* Footer styling */
.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 1rem;
    background: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

.footer p {
    margin: 0;
}

/* Projects page specific styles */
.projects-list {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.project-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card h2 {
    margin-top: 0;
    color: #fff;
    border-bottom: 2px solid #e67e22;
    padding-bottom: 0.5rem;
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-details {
    margin: 1.5rem 0;
}

.project-actions {
    text-align: center;
    margin-top: 2rem;
}

.coming-soon {
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.05);
}

.coming-soon button {
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .projects-list {
        grid-template-columns: 1fr;
    }
}
/* Mobile-Specific Adjustments (393px and below) */
@media (max-width: 393px) {
    /* Navigation adjustments */
    .nav-list {
        gap: 0.75rem;
        padding: 0 0.5rem;
    }

    .nav-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
        white-space: nowrap;
    }

    /* Button container adjustments */
    .button-container {
        max-width: 100%;
        padding: 0 0.5rem;
        gap: 0.5rem;
    }

    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        min-width: auto;
        flex: 1 1 auto;
    }

    /* Header adjustment */
    .header {
        font-size: 1.8rem;
        padding: 1.5rem 0.5rem;
    }
}