/* root.css */

/* ===== Global Styles ===== */
/* Reset default */
* {
    margin: 0;
    padding: 5px;
    box-sizing: border-box;
}


/* ===== Root Variables ===== */
:root {
    --primary-color: #0d6efd; /* Blue accent */
    --accent-color: #3bdf32;
    /* --accent-color: #38bdf8; */
    --secondary-color: #6c757d; /* Gray tone */
    --background-color: black; /* Light background */
    --text-color: white; /* Dark text */
    --highlight-color: #ffc107; /* Gold */
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
}

.nav-list {
    flex-wrap: wrap;
    justify-content: center;
}
.nav-list li{
    font-size: 10px;
}
.nav-list a {
    color: var(--background-color);

}
.nav-list a:hover {
    color: var(--text-color);
}

/* Nagiv Scrn */
@media (width > 700px) {
    .nav-list li{
    font-size: 20px;
}
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Body link color */
body a {
    color: var(--highlight-color);
}

body a:hover {
    color: var(--primary-color);

}



a {
    color: var(--background-color);
    text-decoration: none;
}

a:hover {
    color: var(--highlight-color);
    text-decoration: underline;
}

/* ===== Header ===== */
header {
    background: var(--accent-color);
    color: #fff;
    padding: 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header h1 {
    font-size: 2rem;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 5px;
}

header nav ul li {
    font-weight: bold;
}

/* ===== Sections ===== */
section {
    max-width: 1000px;
    margin: auto;
    padding: 40px 20px;
}

section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--accent-color);
}

@media (width > 500px) {
    section h2{
        text-align: left;
        font-size: xx-large;
    }
    
}


/* ===== Project Cards ===== */
.project-card {
    background: white;
    padding: 20px;
    margin: 15px 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s ease-in-out;
}

.project-card:hover {
    transform: translateY(-5px);
}

/* ===== Contact Form ===== */
form {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

form input, form textarea, form button {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}

form button {
    background: var(--primary-color);
    color: white;
    border: none;
    font-size: 1rem;
    cursor: pointer;
}

form button:hover {
    background: var(--highlight-color);
}



/* =====  Contact List ===== */
.pCenter {
    text-align: center;
}
.contact-list {
    gap: 2px;
    display: flex;
    justify-content: center;
    justify-content: space-around;
    align-items: center;
    list-style: none;
}

.contact-list a {
    color: var(--accent-color);
}

.contact-list a:hover {
    border-radius: 15%;
    color: var(--background-color);
    background-color: var(--accent-color);
}

/* ===== Footer ===== */
footer {
    text-align: center;
    padding: 15px;
    background: var(--secondary-color);
    color: white;
    margin-top: 30px;
}
