/* Global Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-color: #38bdf8;
    --accent-hover: #0ea5e9;
     --font-main: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}
body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
}
/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    z-index: 1000;
    border-bottom: 1px solid #334155;
}
.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: var(--accent-color);
}
/* Hero Section Layout */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}
/* Hero Section Layout */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}
.hero-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2rem;
}
/* Hero Image Styling */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 50%; /* Makes the image a perfect circle */
    border: 4px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.2);
}
/* Responsive adjustment for Mobile */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column-reverse; /* Puts the text below the picture on mobile */
        justify-content: center;
        padding-top: 8rem;
        gap: 2rem;
    }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content h2 { font-size: 1.5rem; }
    .hero-image img {
        width: 250px;
        height: 250px;
    }
    .nav-links { display: none; }
}
/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}
.primary-btn {
    background-color: var(--accent-color);
    color: #000;
    margin-right: 1rem;
}
.primary-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}
.secondary-btn {
    border: 2px solid var(--text-secondary);
    color: var(--text-primary);
}

.secondary-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
}
/* Common Section Layout */
.projects-section, .skills-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 6rem 2rem;
}
.section-title {
    font-size: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #334155;
    transition: transform 0.3s, border-color 0.3s;
}
.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.project-info {
    padding: 2rem;
}

.project-info h3 {
    margin-bottom: 0.5rem;
}
.project-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.project-tags span {
    background-color: rgba(56, 189, 248, 0.1);
    color: var(--accent-color);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}
.project-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}
/* Skills Badges */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.skill-badge {
    background-color: var(--card-bg);
    border: 1px solid #334155;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
}
/* Footer / Contact */
footer {
    background-color: #0b0f19;
    border-top: 1px solid #334155;
    padding: 5rem 2rem 2rem 2rem;
    text-align: center;
}
.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}
.footer-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}
.email-link {
    display: inline-block;
    font-size: 1.5rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2.5rem;
}
.phone-link {
    display: inline-block;
    font-size: 1.5rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2.5rem;
}
.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}
.social-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent-color);
}
.copyright {
    font-size: 0.85rem;
    color: #475569 !important;
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content h2 { font-size: 1.5rem; }
    .nav-links { display: none; } /* Standard implementation hides menu on mobile unless toggled */
}