/* ==========================================================================
   1. Imports
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

/* ==========================================================================
   2. Global Styles
   ========================================================================== */

body {
    font-family: 'Inter', sans-serif;
    background-color: #fdf6ff; /* Lavender blush */
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* ==========================================================================
   3. Typography
   ========================================================================== */

h1, h2, h3 {
    color: #6a1b9a; /* Regal purple */
    font-weight: 600;
    text-align: center;
    text-shadow: 0.5px 0.5px 2px #e0d7f5;
}

p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: auto;
}

a {
    color: #007bff;
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    color: #5A0000;
}

/* ==========================================================================
   4. Layout
   ========================================================================== */

.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.section {
    padding: 40px 20px;
    margin: 20px auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(160, 135, 197, 0.1);
}

/* ==========================================================================
   5. Components
   ========================================================================== */

/* Hero Section */
.hero {
    background-color: #e0d7f5;
    padding: 100px 20px;
    text-align: center;
    color: #333;
}

/* About Section */
.about-me {
    background-color: #fffafc;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.about-me h2 {
    color: #6a1b9a;
}

.about-me strong {
    color: #007bff;
}

/* Skills Section */
.skills {
    background-color: #e6ffee;
}

.skills ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.skills ul li {
    display: inline-block;
    background-color: #dff6ec;
    color: #00695c;
    padding: 8px 14px;
    margin: 6px;
    border-radius: 20px;
    font-size: 0.95rem;
}

/* Project Section */
.project {
    background: #f0f8ff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.project:hover {
    transform: scale(1.02);
}

.project-category {
    background-color: #ffffff;
    padding: 20px;
    border-left: 5px solid #6c63ff;
    border-radius: 10px;
    margin-bottom: 20px;
}

.project-category h3 {
    color: #6c63ff;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.project-category ul li {
    font-size: 1rem;
    margin-bottom: 6px;
}

/* Contact Section */
.contact {
    background-color: #fef6e4;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.contact input,
.contact textarea {
    width: 90%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

/* Buttons */
button {
    background-color: #6c63ff;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.3s ease;
}

button:hover {
    background-color: #5a55d4;
}

/* Footer */
footer {
    background-color: #e0d7f5;
    text-align: center;
    padding: 20px;
    color: #6a1b9a;
    font-size: 0.9rem;
}

/* ==========================================================================
   6. Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    .section {
        padding: 20px;
    }

    h2 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }

    .skills ul li {
        display: block;
        margin: 6px auto;
    }
}
