@import url("https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100..900&display=swap");
/* gesamte Steile */
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Vazirmatn", "sans-serif";
    scroll-behavior: smooth;
}

body{
    color: black;
    background-color: white;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: #636b72;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(to left, #008cff, #9735ff);
    border-radius: 2px;
}

.btn{
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

/* Header-Stile */
.site-header{
    display: flex;
    align-items: center;
    padding: 0.5rem 2rem;
    border-bottom: 1px solid #ddd; 
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.95);
}

/* Navigationsmenü */
.nav-logo{
    width: 60px;
    height:60px;
    background: url("Fotos/Amir H..png") center/cover;
    border-radius: 50%;
}
/* a Elemente */
.nav-menu{
    display: flex;
    gap: 2rem;
    flex-grow: 1;
    margin-left: 3rem;
}

.nav-menu a{
    font-size: 18px;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #4dabf7;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: #37a5ff;
    transition: all 0.3s ease;
}

.nav-menu a:hover::after{
    width: 100%;
}

.nav-menu a.aktiv {
    border-bottom: 2px solid #4dabf7;
    color: #4dabf7;
}
/* rechte Elemente */ 
.nav-aktion{
    display: flex;
    gap: 1rem;
}

.nav-aktion div{
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    font-size: 1.2rem;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-aktion div:hover {
    background-color: #4dabf7;
    color: white;
}

/* Hauptteil-Stile */
.portfolio-main > h1{
    margin: 7rem 0 0.5rem 4rem;
    font-size: 3rem;
    color: #333;
}

.c1{
    margin: 0 0 2rem 4rem;
    color: #555;
}
/* Vorstellungsteil */
.introduction {
    padding: 50px 0 50px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #aed1ff 100%);
}

.introduction-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.introduction-content {
    flex: 1;
}

.introduction-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: black;
}

.introduction-title span {
    color: #3a86ff;
}

.introduction-subtitle {
    font-size: 1.5rem;
    color: #8338ec;
    margin-bottom: 1rem;
    font-weight: 600;
}

.introduction-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #767676;
    max-width: 500px;
}

.introduction-buttons {
    display: flex;
    gap: 1rem;
}

.introduction-buttons a:hover{
    background: #37a5ff;
    transition: all 0.3s ease;
}

.introduction-image {
    flex: 1;
    text-align: center;
    margin-left: 10rem;
}

.introduction-image img {
    width: 100%;
    height: 290px;
    max-width: 320px;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Über mich-Teil */
 .about {
    padding: 50px 0;
    background-color: #ffffff;
}

.about-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-info {
    margin-top: 2rem;
}

.info-item {
    display: flex;
    margin-bottom: 1rem;
}

.info-label {
    font-weight: 600;
    width: 100px;
    color: #2c2c2c;
}

.info-value {
    color: #777777;
}

/* Fähigkeiten-Bereich */
.skills {
    padding: 60px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.skills-content {
    display: grid;
    grid-template-columns: repeat(2 , 1fr);
    gap: 35px;
}

/* ItemsStil */
.skill-item {
    display: flex;
    flex-direction: column;
    position: relative;
    background: white;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    overflow-y: auto;
    clip-path: inset(0 round 15px);
    width: 100%;
    height: 380px;
}

.skill-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.skill-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

.certificate-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f7fafc;
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.certificate-icon {
    font-size: 1.1rem;
}

.certificate-text {
    font-size: 0.9rem;
    color: #4a5568;
}
/* Fähigkeisdetails */
.skill-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 20px;
}

.topics-section h4,
.certificate-section h4 {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 15px;
    font-weight: 600;
}

.topics-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.topics-list li {
    padding: 8px 0;
    color: #718096;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
}

.topics-list li:last-child {
    border-bottom: none;
}

/* Zertifikate */
.certificate-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f7fafc;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.certificate-card:hover {
    background: #edf2f7;
    transform: translateX(5px);
}

.certificate-icon-large {
    font-size: 2rem;
    opacity: 0.8;
}

.certificate-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.certificate-info strong {
    color: #2d3748;
    font-size: 0.95rem;
}

.certificate-info span {
    color: #718096;
    font-size: 0.85rem;
}

.view-certificate {
    background: #667eea;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    align-self: flex-start;
    margin-top: 5px;
}

.view-certificate:hover {
    background: #5a67d8;
    transform: scale(1.05);
}

/* Entwicklungsbar */
.skill-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 10px;
    margin-top: auto;
    bottom: 30px;
    left: 30px;
    right: 30px;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 10px;
    position: relative;
}

/* Projekte */
.projects{
    margin : 30px 0 0 4rem;
}

.projects input[type=radio]{
    display: none;
}

.label {
    display: flex;
    margin-bottom: 2rem;
    gap: 2rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 1rem;
}

.label label{
    background: none;
    border: none;
    font-size: 17px;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.label label:hover {
    background-color: #f0f0f0;
}
/* TabSystem */
#tab1:checked ~ .label label[for="tab1"],
#tab2:checked ~ .label label[for="tab2"],
#tab3:checked ~ .label label[for="tab3"],
#tab4:checked ~ .label label[for="tab4"] {
    border-bottom: 2px solid #4dabf7;
    color: #4dabf7;
}

.tab-content {
    display: none;
}

#tab1:checked ~ .tab-container #tab1-content,
#tab2:checked ~ .tab-container #tab2-content,
#tab3:checked ~ .tab-container #tab3-content,
#tab4:checked ~ .tab-container #tab4-content {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.tab-container{
    position: relative;
    width: 100%;
}

.project-content {
    animation: fadeup 0.6s ease-out;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow:  0 4px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    width: 27rem;
    margin-right: 1rem;
    margin-bottom: 2rem;
}

.project-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    border-radius: 10px ;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.project-info {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #0f0f0f;
}

.project-description {
    color: #636b72;
    margin-bottom: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background-color: #e9ecef;
    color: #444;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: #008cff;
    font-weight: 600;
    position: relative;
    padding-bottom: 2px;
}

.project-content:nth-child(1) { animation-delay: 0.1s; }
.project-content:nth-child(2) { animation-delay: 0.2s; }
.project-content:nth-child(3) { animation-delay: 0.3s; }
.project-content:nth-child(4) { animation-delay: 0.4s; }
.project-content:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeup{
    from{
        opacity: 0;
        transform: translateY(30px);
    }
    to{
        opacity: 1;
        transform: translateY(0px);
    }
}

/* Kontakt-Teil */
.contact {
    padding: 80px 0;
    background-color: #333;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #339af0;
    background-color: rgba(58, 134, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: #444;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input[type="submit"]{
    background-color: #4caeff;
}

.form-content {
    display: flex;
    flex-direction: column;
}

.form-content input,
.form-content textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* FooterTeil */
.footer{
    background-color: #444;
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #339af0;
}

.social-links i {
    font-size: 1.2rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #4dabf7;
    color: white;
}