/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: #272223;
    background-color: #fff;
}

/* Navigation */
header {
    position: sticky; /* keeps header visible on scroll */
    top: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(39,34,34, .95); /* semi-transparent warm charcoal */
    border-bottom: none;
    backdrop-filter: blur(5px); /* subtle blur for professional look */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
}

.navbar .logo a,
.navbar ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.navbar .logo a:hover,
.navbar ul li a:hover {
    color: #b56576;
}

.navbar ul {
    display: flex;
    list-style: none;
}

.navbar ul li {
    margin-left: 1.5rem;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 35vh;
    text-align: center;
    padding: 0 2rem;
    background: radial-gradient(circle, #5F5A5A 0%, #272223 100%);
    color: #fff;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ddd;
}

html {
    scroll-behavior: smooth;
}

/* About Section */
.about {
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1400px;   /* keeps layout from stretching too wide */
    margin: 0 auto;      /* centers the entire section */
    gap: 2rem;
    align-items: center;
}

.about-image {
    flex: 1 1 300px;
    text-align: center;
}

.about-image img {
    max-width: 400px;
    border-radius: 50%;
    border: none;
}

.about-text {
    flex: 2 1 350px;      /* allows side-by-side more easily */
    max-width: 700px;     /* keeps text readable instead of stretched */
    text-align: left;
    margin-left: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #333;
    line-height: 1.6;
}

/* Projects Section */
.projects {
    padding: 4rem 2rem;
    text-align: center;
    background-color: #f5f5f5;
}

.projects h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.projects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.project-card {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 2rem;
    border-radius: 12px;
    width: 350px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: #b56576;
}

.project-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.project-card p {
    margin-bottom: 1rem;
    color: #5F5A5A;
}

.project-card .tools {
    font-style: italic;
    color: #777;
    font-size: 0.9rem;
}

.project-card a {
    text-decoration: none;
    color: #b56576;
    font-weight: 600;
}

.project-card a:hover {
    text-decoration: underline;
}

/* Contact Section */
.contact {
    padding: 4rem 2rem;
    text-align: center;
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact a {
    color: #b56576;
    text-decoration: none;
    font-weight: 600;
}

.contact a:hover {
    text-decoration: underline;
}

/* Style Section - Updated */
.style-section {
    padding: 4rem 2rem;
    background-color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.style-section::before {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(181,101,118,0.15) 0%, transparent 70%);
    top: -50px;
    right: -50px;
    border-radius: 50%;
    z-index: 0;
}

.style-section h2 {
    font-size: 2rem;       /* medium-large title */
    font-weight: 600;      /* slightly bolder */
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    color: #272223;
    position: relative;
    z-index: 1;
}

.style-section p {
    font-size: 1rem;
    font-weight: 400;
    color: #5F5A5A;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.style-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.style-button {
    background-color: #fff;
    color: #b56576;
    border: 2px solid #b56576;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.style-button:hover {
    background-color: #b56576;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.style-button a {
    text-decoration: none;
    color: inherit;
}

.style-button i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.style-button:hover i {
    transform: rotate(20deg) scale(1.1);
}

a.style-button,
a.style-button:hover,
a.style-button:visited,
a.style-button:active {
    text-decoration: none;
}

/* Recent Project Link */
    .projects-link {
        position: relative;       /* needed if you want to add any pseudo-elements later */
        display: inline-block;    /* ensures width behaves correctly */
        text-decoration: none;    /* remove underline */
        color: #272223;           /* charcoal, same as header text */
        font-weight: 600;         /* slightly bolder for emphasis */
        transition: color 0.25s ease, transform 0.25s ease; /* smooth hover effect */
}
    
    .projects-link:hover {
        color: #b56576;           /* pink accent on hover */
        transform: translateY(-2px); /* subtle lift */
}

/* Footer */
footer {
    padding: 1rem 2rem;
    text-align: center;
    color: #fff;
    font-size: 0.9rem;
    background: radial-gradient(circle at top, #5F5A5A 0%, #272223 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        align-items: center;
    }

    .about-image img {
        max-width: 400px;
        margin-bottom: 2rem;
    }

    .about-text {
        text-align: center;
        margin-left: 0;
        max-width: 100%;
    }

    .projects-grid {
        flex-direction: column;
        align-items: center;
    }

    .style-container {
        flex-direction: column;
        align-items: center;
    }
