:root {
    --primary-color: #4169e1;
    --light-color: #dae7ff;
    --dark-color: #2a4491;
    --white: #ffffff;
    --black: #333333;
    --heading-font: 'Space Grotesk', sans-serif;
    --body-font: 'Outfit', 'Arial', sans-serif; /* Outfit as a fallback for Proxima Nova */
    --github-color: #24292e;
    --github-hover: #2c3238;
    --x-color: #000000;
    --x-hover: #333333;
    --linkedin-color: #0A66C2;
    --linkedin-hover: #0952a0;
    --discord-color: #5865F2;
    --discord-hover: #4752c4;
    --bluesky-color: #1185FE;
    --bluesky-hover: #0e6fd0;
    --website-color: #0A36BD;
    --website-hover: #0829A0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white) 100%);
    color: var(--black);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    text-align: center;
}

.logo-container {
    margin-bottom: 3rem;
    animation: fadeIn 1.5s ease-in-out;
}

.main-logo {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(65, 105, 225, 0.2));
}

.message {
    max-width: 600px;
    animation: slideUp 1s ease-out forwards;
}

.message h1 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
    font-size: 2.5rem;
    letter-spacing: -0.05em; /* -40% tracking */
}

.message p {
    font-family: var(--body-font);
    color: var(--black);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2rem;
    text-align: center;
    margin-top: auto;
    border-radius: 10px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-img {
    max-width: 150px;
    height: auto;
}

footer p {
    font-family: var(--body-font);
    font-size: 0.9rem;
    opacity: 0.9;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.personal-section {
    margin-top: 5rem;
    max-width: 800px;
    width: 100%;
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    animation: fadeIn 1.5s ease-in-out;
    text-align: left;
}

.personal-section h2 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
    letter-spacing: -0.05em;
}

.personal-section h3 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
    letter-spacing: -0.05em;
}

.personal-section p {
    font-family: var(--body-font);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
    justify-content: center;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-family: var(--body-font);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 200px !important;
    width: 200px !important;
    text-align: center;
}

.social-btn i {
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.social-btn:hover, .social-btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.social-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.social-btn.github-btn {
    background-color: var(--github-color);
}

.social-btn.github-btn:hover, .social-btn.github-btn:focus {
    background-color: var(--github-hover);
}

.social-btn.x-btn {
    background-color: var(--x-color);
}

.social-btn.x-btn:hover, .social-btn.x-btn:focus {
    background-color: var(--x-hover);
}

.social-btn.linkedin-btn {
    background-color: var(--linkedin-color);
}

.social-btn.linkedin-btn:hover, .social-btn.linkedin-btn:focus {
    background-color: var(--linkedin-hover);
}

.social-btn.discord-btn {
    background-color: var(--discord-color);
}

.social-btn.discord-btn:hover, .social-btn.discord-btn:focus {
    background-color: var(--discord-hover);
}

.social-btn.bluesky-btn {
    background-color: var(--bluesky-color);
}

.social-btn.bluesky-btn:hover, .social-btn.bluesky-btn:focus {
    background-color: var(--bluesky-hover);
}

.social-btn.website-btn {
    background-color: var(--website-color);
}

.social-btn.website-btn:hover, .social-btn.website-btn:focus {
    background-color: var(--website-hover);
}

.projects {
    margin-top: 1rem;
}

.project-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.project-card {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.project-card h4 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    letter-spacing: -0.05em;
}

.project-card p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.project-card a {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    padding-bottom: 2px;
}

.project-card a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.project-card a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Styles for the main GitHub button */
.message .social-btn {
    margin-top: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }
    
    .main-logo {
        max-width: 220px;
    }
    
    .message h1 {
        font-size: 2rem;
    }
    
    .message p {
        font-size: 1rem;
    }
    
    .social-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
        min-width: 180px !important;
        width: 180px !important;
    }
    
    .personal-section {
        padding: 2rem;
        margin-top: 3rem;
    }
    
    .personal-section h2 {
        font-size: 1.75rem;
    }
    
    .personal-section h3 {
        font-size: 1.3rem;
    }
    
    .social-buttons {
        gap: 0.75rem;
    }
    
    .project-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    .main-logo {
        max-width: 180px;
    }
    
    .message h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .message p {
        font-size: 0.9rem;
    }
    
    .footer-logo-img {
        max-width: 120px;
    }
    
    .social-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        min-width: 160px !important;
        width: 160px !important;
    }
    
    .social-btn i {
        margin-right: 0.5rem;
        font-size: 1.1rem;
    }
    
    .personal-section {
        padding: 1.5rem;
        margin-top: 2.5rem;
    }
    
    .personal-section h2 {
        font-size: 1.5rem;
    }
    
    .personal-section h3 {
        font-size: 1.2rem;
    }
    
    .project-card {
        padding: 1.25rem;
    }
    
    .project-card h4 {
        font-size: 1.1rem;
    }
}

/* Modal Styles - moved from index.html */
.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    z-index: 1000;
    overflow-y: auto;
}

.project-modal-content {
    background-color: var(--white);
    margin: 5% auto;
    width: 90%;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    position: relative;
}

.project-modal-header {
    padding: 20px 25px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--black);
    font-family: var(--heading-font);
}

.project-modal-close {
    font-size: 28px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: color 0.2s;
}

.project-modal-close:hover {
    color: var(--black);
}

.project-modal-body {
    padding: 25px;
}

.project-image-container {
    margin-bottom: 20px;
    border-radius: 6px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.image-zoom-container {
    position: relative;
    text-align: center;
    overflow: hidden;
    max-height: 400px; /* Smaller initial image size */
}

.zoomable-image {
    display: block;
    max-width: 70%;  /* Smaller image size */
    height: auto;
    margin: 0 auto;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

/* Zoom controls */
.zoom-controls {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 8px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.zoom-controls:hover {
    opacity: 1;
}

.zoom-btn {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.2s;
}

.zoom-btn:hover {
    background-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.zoom-btn i {
    font-size: 14px;
    color: var(--black);
}

.project-description {
    margin-top: 20px;
    line-height: 1.6;
    color: #555;
    font-family: var(--body-font);
}

.project-modal-footer {
    padding: 15px 25px;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

/* GitHub button for modal - using variables from root for consistency */
.github-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--github-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: normal; /* Matching other GitHub buttons */
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: var(--body-font);
}

.github-button:hover {
    background-color: var(--github-color); /* Keep consistent branding */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: var(--white);
    text-decoration: none;
}

.github-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.github-button i {
    margin-right: 10px;
    font-size: 1.1em;
}

/* Media queries - merged with existing responsive styles */
@media (max-width: 768px) {
    /* Existing media query rules... */
    
    /* Modal styles for medium screens */
    .project-modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .project-modal-header h3 {
        font-size: 1.3rem;
    }
    
    .project-modal-body {
        padding: 15px;
    }
    
    .zoomable-image {
        max-width: 85%;
    }
    
    .zoom-btn {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    /* Existing media query rules... */
    
    /* Modal styles for small screens */
    .project-modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 90vh;
    }
    
    .project-modal-header h3 {
        font-size: 1.2rem;
    }
    
    .zoom-controls {
        bottom: 5px;
        right: 5px;
        gap: 5px;
    }
    
    .zoom-btn {
        width: 30px;
        height: 30px;
    }
    
    .github-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
} 