:root {
    --primary: #2A5C82;
    --secondary: #4CAF50;
    --accent: #FF6B6B;
    --dark: #1A1A1A;
    --light: #FFFFFF;
    --text: #333333;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Ubuntu', sans-serif;
}



body {
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 16c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm0-2c3.314 0 6-2.686 6-6s-2.686-6-6-6-6 2.686-6 6 2.686 6 6 6zm33.414-6l5.95-5.95L45.95.636 40 6.586 34.05.636 32.636 2.05 38.586 8l-5.95 5.95 1.414 1.414L40 9.414l5.95 5.95 1.414-1.414L41.414 8zM40 48c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm0-2c3.314 0 6-2.686 6-6s-2.686-6-6-6-6 2.686-6 6 2.686 6 6 6zM9.414 40l5.95-5.95-1.414-1.414L8 38.586l-5.95-5.95L.636 34.05 6.586 40l-5.95 5.95 1.414 1.414L8 41.414l5.95 5.95 1.414-1.414L9.414 40z' fill='%235dbc77' fill-opacity='0.13' fill-rule='evenodd'/%3E%3C/svg%3E");
    line-height: 1.6;
    color: #000;
}

/* Header */
header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                    url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?q=80&w=2072&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 8rem 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Tagesschrift', sans-serif;
}

header p {
    font-size: 1.75rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    margin: 0 auto;
}

/* Navigation */
nav {
    background-color: var(--dark);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1.1rem;
}

nav a:hover {
    color: var(--secondary);
}

/* Sections */
section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.projects-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin-top: 2rem;
}

.project-card {
background: white;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.image-container {
height: 200px;
overflow: hidden;
position: relative;
}

.image-container img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
}

.project-card:hover img {
transform: scale(1.1);
}

.project-content {
padding: 1.5rem;
}

.project-content h3 {
margin-bottom: 0.75rem;
color: #2c3e50;
}

.project-content p {
margin-bottom: 1rem;
color: #666;
line-height: 1.6;
}

.project-link {
display: inline-block;
color: #3498db;
text-decoration: none;
font-weight: 600;
transition: color 0.3s ease;
}

.project-link:hover {
color: #2980b9;
}

#learning-journey {
background-color: #f9f9f9;
padding: 4rem 2rem;
}

.section-subtitle {
text-align: center;
color: #666;
margin-bottom: 3rem;
}

.learning-projects-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1.5rem;
max-width: 1200px;
margin: 0 auto;
}

.learning-project-card {
background: white;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
transition: transform 0.2s ease;
}

.learning-project-card:hover {
transform: translateY(-3px);
}

.learning-image-container {
position: relative;
height: 180px;
}

.learning-image-container img {
width: 100%;
height: 100%;
object-fit: cover;
}

.tech-stack {
position: absolute;
bottom: 10px;
left: 10px;
display: flex;
gap: 5px;
}

.tech {
padding: 4px 8px;
border-radius: 3px;
font-size: 0.8rem;
font-weight: 600;
}

.tech.html { background-color: #e34c26; color: white; }
.tech.css { background-color: #264de4; color: white; }
.tech.js { background-color: #f0db4f; color: black; }
.tech.api { background-color: #4CAF50; color: white; }

.learning-content {
padding: 1rem;
}

.learning-content h3 {
color: #333;
margin-bottom: 0.5rem;
font-size: 1.1rem;
}

.learning-content p {
color: #666;
font-size: 0.9rem;
line-height: 1.4;
}

.learned {
margin-top: 1rem;
padding-top: 1rem;
border-top: 1px solid #eee;
}

.learned p {
font-weight: 600;
margin-bottom: 0.5rem;
}

.learned ul {
list-style: none;
padding-left: 0;
}

.learned li {
font-size: 0.8rem;
margin-bottom: 0.3rem;
padding-left: 1em;
position: relative;
}

.learned li::before {
content: "▹";
position: absolute;
left: 0;
color: #3498db;
}

/* Contact Section */
#contact {
    background-color: #f8f9fa;
    padding: 4rem 2rem;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.contact-subtitle {
    color: #666;
    margin-bottom: 2rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-card i {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: white;
}

/* Color Coding for Different Methods */
.phone i { background-color: #25d366; }
.email i { background-color: #ea4335; }
.github i { background-color: #333; }
.linkedin i { background-color: #0a66c2; }

.contact-details {
    text-align: left;
}

.contact-type {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.contact-value {
    display: block;
    color: #333;
    font-weight: 600;
}

@media (max-width: 768px) {
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 1rem;
    }
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects-container {
        grid-template-columns: 1fr;
    }
}

/* cv section */

#cv {
    background-color: #2c3e50;
    color: white;
    padding: 4rem 2rem;
}

.cv-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.cv-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.cv-description p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.cv-highlights {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 8px;
}

.highlight-item i {
    font-size: 1.2rem;
}

.cv-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cv-btn {
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.download-btn {
    background-color: #3498db;
    color: white;
}

.view-btn {
    background-color: #34495e;
    color: white;
    border: 2px solid #3498db;
}

.cv-btn:hover {
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .cv-actions {
        flex-direction: column;
    }
    
    .cv-btn {
        justify-content: center;
    }
}

/* youtube page */
#youtube-projects {
    background-color: #1a1a1a;
    color: white;
    padding: 4rem 2rem;
    margin-top: 5rem;
}

.youtube-container {
    max-width: 1200px;
    margin: 0 auto;
}

.youtube-subtitle {
    text-align: center;
    color: #cccccc;
    margin-bottom: 2rem;
}

.youtube-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.youtube-preview {
    flex: 1;
    max-width: 400px;
    transition: transform 0.3s ease;
}

.youtube-thumbnail {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.youtube-description {
    flex: 1;
}

.youtube-features {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.youtube-features li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.youtube-features i {
    position: absolute;
    left: 0;
    top: 0.2em;
    color: #ff0000;
    font-size: 1.2em;
}

.youtube-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background-color: #ff0000;
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.youtube-link:hover {
    background-color: #cc0000;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .youtube-content {
        flex-direction: column;
    }
    
    .youtube-preview {
        max-width: 100%;
    }
    
    .youtube-link {
        width: 100%;
        justify-content: center;
    }
}