/* --- VARIABLES & RESET --- */
/* Variables removed to satisfy Hostinger's outdated linter */

/* Replaced universal selector (*) with specific tags */
html, body, div, span, h1, h2, h3, p, a, img, ul, li, header, nav, section, footer {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #f8fafc; /* Main text */
    background: linear-gradient(
        180deg,
        #0f172a 0%,
        #111827 50%,
        #0f172a 100%
    );
    line-height: 1.6;
}

/* --- UTILITY CLASSES --- */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: #1e293b; /* Card Background */
}

.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
    color: #f8fafc; /* Main text */
}

.text-center {
    text-align: center;
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background-color: #3b82f6; /* Bright Blue */
    color: #fff;
}

.btn-primary:hover {
    background-color: #2563eb; /* Hover Blue */
}

.btn-secondary {
    background-color: transparent;
    color: #3b82f6; /* Bright Blue */
    border: 2px solid #3b82f6;
}

.btn-secondary:hover {
    background-color: #3b82f6; /* Bright Blue */
    color: #fff;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
    background-color: #3b82f6; /* Bright Blue */
    color: #fff;
    margin-top: 15px;
}

/* --- NAVIGATION --- */
.navbar {
    background-color: #0f172a; /* Dark Navy */
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b82f6; /* Bright Blue */
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #f8fafc; /* Main text */
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #3b82f6; /* Bright Blue */
}

/* --- HERO SECTION --- */
.hero {
    background-image:
        linear-gradient(
            rgba(15, 23, 42, 0.8),
            rgba(15, 23, 42, 0.8)
        ),
        url("assets/banner.jpeg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    min-height: 70vh;
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    color: #94a3b8; /* Secondary text */
    margin-bottom: 30px;
}
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img  {
    max-width: 100%;
    max-height: 250px;
    clip-path: circle(50%);
}
.hero-buttons {
    display: flex;
    gap: 15px;
}

/* --- ABOUT SECTION --- */
.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    color: #94a3b8; /* Secondary text */
}

/* --- TECH STACK --- */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.skill-card {
    background-color: #1e293b; /* Card Background */
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid #eaeaea;
    transition: all 0.3s ease;
}
.skill-card:hover {
    transform: translateY(-4px);
    border-color: #3b82f6; /* Bright Blue */
}

/* --- PROJECTS --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: #0f172a; /* Dark Navy */
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #334155; /* Border Color */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: #3b82f6; /* Bright Blue */
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    margin-bottom: 10px;
}

.project-info p {
    color: #94a3b8; /* Secondary text */
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.tags span {
    background-color: #e6f0fa;
    color: #2563eb; /* Hover Blue */
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* --- FOOTER / CONTACT --- */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 30px;
}

.footer h2 {
    color: #fff;
}

.contact-links {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.copyright {
    color: #888;
    font-size: 0.9rem;
    margin-top: 40px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    .nav-links {
        display: none; 
    }
    
    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
}