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

body {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, #f3d42e 0%, #c4a484 100%);
    min-height: 100vh;
    padding: 1rem;
}

header {
    text-align: center;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.3);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: #2c2c2c;
    margin-bottom: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.5;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

.projects {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem;
}

.project-card {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.project-card a {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.2rem;
    background: #2c2c2c;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.project-card a:hover {
    background: #444;
}

.project-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

footer {
    text-align: center;
    margin-top: 3rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

footer p {
    color: #2c2c2c;
    font-weight: 500;
    font-size: clamp(0.9rem, 2vw, 1rem);
    hyphens: none;
}

.read-more, .read-less {
    cursor: pointer;
    color: #3b3838;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    text-decoration: none;
}

.hidden {
    display: none;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 0.8rem 1.2rem;
    background: #2c2c2c;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease, opacity 0.3s ease;
    font-size: clamp(0.9rem, 2vw, 1rem);
    opacity: 0;
    pointer-events: none;
    font-family: 'Outfit', sans-serif;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    background: #444;
}

.github-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.2rem;
    background: #2c2c2c;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-family: 'Outfit', sans-serif;
}

.github-link:hover {
    background: #444;
}

/* Media Queries */
/* Tablet */
@media screen and (min-width: 768px) {
    body {
        padding: 2rem;
    }

    header {
        padding: 3rem;
        margin: 0 2rem 2rem 2rem;
    }

    .projects {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        padding: 1.5rem;
    }

    footer {
        margin: 3rem 2rem 0 2rem;
        padding: 2rem;
    }
}

/* Desktop */
@media screen and (min-width: 1024px) {
    .projects {
        padding: 2rem;
    }
}

