/*
Theme Name: Intro CSS Work
Version: 1.2
Author: Noah Vachon
*/

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

/* Body Styling*/
body {
    background-color: #fff9f1;
}

/* General link styling */
a {
    color: #005557;
    text-decoration: none;
    border-bottom: 1px solid #005557;
}

/* Image container styling */
.image-container {
    display: flex;
    justify-content: center; /* Center the images horizontally */
    align-items: center; /* Align the images vertically */
    gap: 20px; /* Space between the images */
    margin-bottom: 10px; /* Space below the images */
}

/* Styling for images within the container */
.centered-image {
    display: block;
}

/* Specific size for logo image */
.logo-image {
    max-width: min(25.5%, 200px); /* Responsive with max size */
    width: 100%;
    height: auto;
}

/* Specific size for portrait image */
.portrait-image {
    max-width: min(6.9%, 80px); /* Responsive with max size */
    width: 100%;
    height: auto;
}

/* Circular style for specific image */
.circular--square {
    border-radius: 50%; /* Make the image round */
}

/* Navigation tabs container */
.nav-tabs {
    display: flex;
    justify-content: center;
    background-color: #fff9f1; /* Background color of the navigation bar */
    padding: 10px 0; /* Padding around the navigation tabs */
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

/* Individual tab styling */
.nav-tabs a {
    padding: 10px 20px; /* Padding inside each tab */
    margin: 0 10px; /* Space between tabs */
    background-color: #e8b47b; /* Background color of each tab */
    color: #444; /* Text color */
    text-align: center;
    border-radius: 4px; /* Rounded corners for each tab */
    text-decoration: none; /* Remove underline from text */
    font-family: Arial, sans-serif; /* Font style */
    font-size: 16px; /* Font size */
    transition: background-color 0.3s, color 0.3s; /* Smooth transition effect */
}

/* Mobile responsiveness for navigation */
@media (max-width: 768px) {
    .nav-tabs {
        flex-direction: column;
        align-items: stretch;
        padding: 10px 15px;
    }
    
    .nav-tabs a {
        margin: 5px 0;
        width: 100%;
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .image-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo-image {
        max-width: 180px;
    }
    
    .portrait-image {
        max-width: 100px;
    }
    
    h3 {
        font-size: 22px;
    }
    
    p {
        font-size: 15px;
    }
}

/* Hover effect for tabs */
.nav-tabs a:hover {
    background-color: #575757; /* Darker background on hover */
    color: #fff9f1; /* White text color on hover */
}

/* Active tab styling */
.nav-tabs a.active {
    background-color: #005557; /* Green background for active tab */
    color: white; /* White text color for active tab */
    font-weight: bold; /* Optional: Make active tab text bold for emphasis */
}

/* Skyline container */
.skyline-container {
    width: 100%;
    overflow: hidden; /* Ensures no overflow outside the container */
}

/* Skyline image styling */
.skyline-image {
    width: 100%; /* Makes the image span the full width of the screen */
    max-height: 200px; /* Set a maximum height */
    display: block; /* Ensures no extra space below the image */
    object-fit: contain; /* Ensures the whole image is visible without cropping */
    padding-top: 20px; /* Add padding to give some space if needed */
    margin-bottom: 20px;
}

/* General styling for headings */
h1, h2 {
    font-family: 'Arial', sans-serif; /* Clean sans-serif font */
    font-weight: bold; /* Bold weight for headings */
    color: #144b46; /* Dark color for text */
    text-align: center; /* Center-align the text */
    margin: 10px 0; /* Top and bottom margins */
    letter-spacing: 1px; /* Slight letter spacing */
}

/* h1 specific styling */
h1 {
    font-size: 8px; /* Large size for main title */
    text-transform: uppercase; /* Uppercase for added emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Subtle shadow for depth */
}

/* h2 specific styling */
h2 {
    font-size: 36px; /* Slightly smaller than h1 */
    text-transform: capitalize; /* Standard capitalization for subheadings */
    margin-top: 10px; /* Adds more space above */
}

/* Styling for h3 */
h3 {
    font-family: 'Arial', sans-serif; /* Clean sans-serif font */
    font-size: 28px; /* Adjusted size for h3 */
    font-weight: normal; /* Regular weight (not bold) */
    color: #144b46; /* Dark color for text */
    text-align: center; /* Center-align the text */
    margin: 10px 0; /* Space around the heading */
    letter-spacing: 1px; /* Slight spacing between letters */
    text-transform: capitalize; /* Capitalize first letter of each word */
}

/* General styling for paragraphs */
p {
    font-family: 'Arial', sans-serif; /* Clean sans-serif font */
    font-size: 16px; /* Set font size */
    color: #144b46; /* Dark color for text */
    line-height: 1.6; /* Adds space between lines for readability */
    margin: 10px 0; /* Adds space above and below paragraphs */
    text-align: center; /* Justify the text for a clean alignment */
    padding: 0 15px; /* Optional: Adds padding to the left and right for spacing */
}

/* BR (line breaks) */
br {
    line-height: 2px; /* Reduce the space between line breaks */
}

/* About Me Section */
.about-section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-section h2 {
    color: #144b46;
    font-size: 32px;
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 3px solid #e8b47b;
    padding-bottom: 10px;
}

.about-content {
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-text p {
    text-align: left;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333;
}

.about-content p {
    text-align: center;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333;
}

/* Skills Section */
.skills-section {
    margin: 40px 0;
}

.skills-section h3 {
    color: #144b46;
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.skill-item {
    padding: 15px;
    background-color: #fff9f1;
    border-radius: 8px;
    border-left: 4px solid #005557;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.skill-name {
    font-weight: bold;
    color: #144b46;
}

.skill-level {
    font-size: 14px;
    color: #666;
}

.skill-bar {
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #005557 0%, #4CAF50 100%);
    border-radius: 5px;
    transition: width 1s ease-in-out;
}

/* Education & Athletics Cards */
.education-athletics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.education-card,
.athletics-card {
    padding: 25px;
    background-color: #fff9f1;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.education-card h3,
.athletics-card h3 {
    color: #144b46;
    font-size: 22px;
    margin-bottom: 15px;
    text-align: left;
}

.education-card h4 {
    color: #005557;
    font-size: 18px;
    margin-bottom: 15px;
}

.education-card ul,
.athletics-card ul {
    list-style: none;
    padding-left: 0;
}

.education-card ul li,
.athletics-card ul li {
    padding: 8px 0;
    color: #333;
    text-align: left;
    border-bottom: 1px solid #e8b47b;
}

.education-card ul li:last-child,
.athletics-card ul li:last-child {
    border-bottom: none;
}

.athletics-card p {
    text-align: left;
    margin-bottom: 15px;
}

/* Resume Download Button */
.resume-download {
    text-align: center;
    margin: 40px 0 20px 0;
}

.resume-btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #005557 0%, #4CAF50 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border: none;
}

.resume-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Mobile responsiveness for About section */
@media (max-width: 768px) {
    .about-section {
        padding: 20px;
        margin: 20px 10px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .education-athletics {
        grid-template-columns: 1fr;
    }
}

/* Contact Form Section */
.contact-form-section {
    max-width: 700px;
    margin: 50px auto;
    padding: 40px 30px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form-section h2 {
    color: #144b46;
    font-size: 32px;
    text-align: center;
    margin-bottom: 15px;
}

.contact-intro {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: bold;
    color: #144b46;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: Arial, sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #005557;
    box-shadow: 0 0 0 3px rgba(0, 85, 87, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 40px;
    background: linear-gradient(135deg, #005557 0%, #4CAF50 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-icon {
    font-size: 20px;
}

/* Mobile responsiveness for contact form */
@media (max-width: 768px) {
    .contact-form-section {
        padding: 30px 20px;
        margin: 30px 10px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .submit-btn {
        width: 100%;
    }
}

/* BR (line breaks) */

/* HR (horizontal rules) */
hr {
    border: 0;
    border-top: 2px solid #e8b47b; /* Light orange border to match the site’s aesthetic */
    width: 50%; /* Restrict the width */
    margin: 10px auto; /* Center the line and add spacing */
    opacity: 0.6; /* Slightly transparent for a subtler look */
}

/* Table styling */
table {
    width: 100%; /* Full width for the table */
    border-collapse: collapse; /* Ensures there is no space between table cells */
    margin: 20px 0; /* Adds space around the table */
}

table, th, td {
    border: 1px solid #005557; /* Light border for the table and cells */
}

th, td {
    padding: 12px; /* Padding inside each cell */
    text-align: left; /* Align text to the left */
}

th {
    background-color: #e8b47b; /* Light orange background for table headers */
    color: #005557; /* White text for header */
}

td {
    background-color: #fff9f1; /* Light background for table rows */
}

.projects-wrapper {
    display: flex;
    justify-content: center; /* Center the grid horizontally */
    align-items: center; /* Optionally center vertically */
    margin-top: 20px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Auto adjust columns based on screen size */
    gap: 25px;
    max-width: 1200px; /* Optional: limit the maximum width of the grid */
    width: 100%;
}

.project-card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 25px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.15);
}

.project-header h3 {
    margin: 0;
    font-size: 20px;
    color: #144b46;
}

.project-header h3 a {
    color: #005557;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
    border-bottom: 2px solid transparent;
}

.project-header h3 a:hover {
    color: #4CAF50;
    border-bottom: 2px solid #4CAF50;
}

/* Project Tags */
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-python {
    background-color: #3776ab;
    color: white;
}

.tag-excel {
    background-color: #217346;
    color: white;
}

.tag-finance {
    background-color: #e8b47b;
    color: #144b46;
}

.tag-modeling {
    background-color: #005557;
    color: white;
}

.tag-analytics {
    background-color: #4CAF50;
    color: white;
}

.tag-manufacturing {
    background-color: #ff9800;
    color: white;
}

/* Project Description */
.project-description {
    color: #555;
    line-height: 1.7;
    font-size: 15px;
    margin: 0;
    flex-grow: 1;
}

/* Project Stats */
.project-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 10px;
    border-top: 1px solid #e8b47b;
    font-size: 13px;
    color: #666;
}

.project-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Mobile responsiveness for project cards */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card {
        padding: 20px;
    }
}

/* Styling for bottom navigation links */
.section-links {
    text-align: center; /* Center the links */
    margin-top: 20px; /* Add space between the content and links */
}

.section-links a {
    text-decoration: none; /* Remove underlines */
    color: #005557; /* Set a color for the links */
    font-weight: bold; /* Make the links stand out */
    margin: 0 10px; /* Space out the links */
}

.section-links a:hover {
    color: #e8b47b; /* Color change on hover */
}
