/* Resetting default margins and paddings */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Basic body reset */
body {
    background-color: #0F172A; /* Dark Blue/Near Black */
    color: #E2E8F0; /* Light Gray */
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; /* Use Inter first */
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Remove list styles */
ul,
ol {
    list-style: none;
}

/* Remove default anchor styles */
a {
    text-decoration: none;
    color: inherit;
}

/* Make images responsive by default */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
    font: inherit;
}

/* Add a root stacking context */
#root,
#__next {
    isolation: isolate;
}

/* Global Styles and Resets will go here */

/* Utility Classes */
.container {
    max-width: 1100px; /* Max content width */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem; /* Add some padding on the sides */
    padding-right: 1.5rem;
}

/* Button Styles (Basic - to be refined) */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin: 0.5rem; /* Add some space between buttons */
}

.btn-primary {
    background: linear-gradient(to right, #3B82F6, #8B5CF6); /* Blue to Purple gradient */
    color: #FFFFFF;
    border: none;
}

.btn-primary:hover {
    /* Slightly change gradient or add brightness */
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #E2E8F0; /* Light Gray */
    border: 1px solid #3B82F6; /* Blue border */
}

.btn-secondary:hover {
    background-color: rgba(59, 130, 246, 0.1); /* Light blue background on hover */
    transform: translateY(-2px);
}

/* Hero Section Styles */
.hero-section {
    min-height: 70vh; /* Make it take a good portion of the viewport height */
    display: flex;
    align-items: center; /* Vertically center content */
    justify-content: center; /* Horizontally center content */
    text-align: center;
    padding: 4rem 0; /* Add vertical padding */
    /* Optional: Add subtle background gradient or image later */
    /* background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)), url('path/to/background.jpg') center/cover no-repeat; */
}

.hero-section h1 {
    font-size: 3rem; /* Large headline */
    font-weight: 700;
    color: #FFFFFF; /* White headline */
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-section .subheadline {
    font-size: 1.25rem;
    color: #94A3B8; /* Lighter gray for subheadline */
    margin-bottom: 2rem;
    max-width: 600px; /* Limit width of subheadline */
    margin-left: auto;
    margin-right: auto;
}

.hero-section .cta-buttons {
    margin-top: 1.5rem;
}

/* About Me Section Styles */
.about-section {
    padding: 4rem 0; /* Add vertical padding */
    /* Maybe a slightly different background for visual separation, or keep it same */
    /* background-color: #1E293B; */
}

.about-section .container {
    /* Container already handles max-width and centering */
    /* Text can be centered or left-aligned based on preference */
    text-align: left; /* Default to left-align for readability */
}

.about-section h2 {
    font-size: 2.25rem; /* H2 size */
    font-weight: 700;
    color: #FFFFFF; /* White heading */
    margin-bottom: 2rem;
    text-align: center; /* Center the section heading */
}

.about-section p {
    font-size: 1rem;
    line-height: 1.7; /* Slightly more line height for paragraphs */
    color: #E2E8F0; /* Standard light gray text */
    max-width: 750px; /* Limit paragraph width for readability */
    margin-left: auto; /* Center the paragraph block if text-align is center */
    margin-right: auto;
    margin-bottom: 1.5rem;
}

.about-section p:last-child {
    margin-bottom: 0; /* Remove bottom margin from last paragraph */
}

/* Experience & Projects Section Styles */
.projects-section {
    padding: 4rem 0;
}

.projects-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 3rem; /* More space before the grid */
    text-align: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 2rem; /* Space between cards */
}

.project-card {
    background-color: #1E293B; /* Slightly lighter background */
    border-radius: 8px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; /* Use flexbox for internal layout */
    flex-direction: column; /* Stack content vertically */
    height: 100%; /* Make cards in the same row equal height if needed */
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Add shadow on hover */
}

.project-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.project-card p {
    font-size: 0.95rem;
    color: #CBD5E1; /* Slightly lighter than main text */
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1; /* Allow paragraph to grow and push tags down */
}

.project-card .tags {
    margin-top: auto; /* Push tags to the bottom */
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem; /* Space between tags */
}

.project-card .tags span {
    background-color: #334155; /* Darker tag background */
    color: #94A3B8; /* Lighter tag text */
    padding: 0.25rem 0.75rem;
    border-radius: 12px; /* Pill shape */
    font-size: 0.8rem;
    font-weight: 500;
}

/* Optional Link Style */
.project-card .project-link {
    margin-top: 1rem;
    color: #3B82F6; /* Blue link color */
    font-weight: bold;
    text-decoration: underline;
    align-self: flex-start; /* Align link to the left */
}

.project-card .project-link:hover {
    color: #60A5FA; /* Lighter blue on hover */
}

/* Skills Section Styles */
.skills-section {
    padding: 4rem 0;
    /* Optional: Alternate background */
    /* background-color: #0F172A; */
}

.skills-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 3rem;
    text-align: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid for categories */
    gap: 3rem; /* Space between categories */
}

.skill-category h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #3B82F6; /* Add a subtle underline */
    display: inline-block; /* Make border only as wide as text */
}

.skill-category ul {
    list-style: none; /* Already reset, but good practice */
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem; /* Space between skills */
}

.skill-category li {
    font-size: 1rem;
    color: #CBD5E1; /* Slightly lighter text */
    /* Optional: Style like tags */
    /* background-color: #334155; */
    /* padding: 0.4rem 0.8rem; */
    /* border-radius: 6px; */
    /* display: inline-block; */
}

/* Contact Section Styles */
.contact-section {
    padding: 4rem 0;
    text-align: center; /* Center align content */
    background-color: #1E293B; /* Slightly different background */
}

.contact-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.contact-section p {
    font-size: 1.1rem;
    color: #E2E8F0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem; /* Space between links */
}

.contact-link {
    font-size: 1.1rem;
    color: #60A5FA; /* Lighter blue for links */
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid #3B82F6; /* Add border */
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-link:hover {
    background-color: rgba(59, 130, 246, 0.1); /* Light blue background on hover */
    color: #93C5FD; /* Even lighter blue */
}

/* Footer Styles */
.site-footer {
    background-color: #0F172A; /* Same as main background or slightly darker */
    padding: 2rem 0;
    margin-top: 4rem; /* Space above footer */
    border-top: 1px solid #334155; /* Subtle top border */
}

.site-footer .container {
    text-align: center;
}

.site-footer p {
    font-size: 0.9rem;
    color: #94A3B8; /* Lighter gray for footer text */
}

/* Global Styles and Resets will go here */ 