/* Homepage Styles */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    /*background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/bg.jpg') no-repeat center center;
    background-size: cover;*/
}

.hero {
    text-align: center;
    padding: 0 2rem;
    max-width: 800px;
    padding-bottom: 100px;
}

.profile-container {
    margin-bottom: 2rem;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--main-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.4rem;
    color: #ccc;
}

.cta-button {
    display: inline-block;
    background-color: var(--main-color);
    color: white;
    padding: 0.9rem 1.8rem;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s;
    margin-right: 1.2rem;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
}

.cta-button:hover {
    background-color: var(--hover-alt-color);
    transform: translateY(-2px);
}

.secondary-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    padding: 0.9rem 0;
    transition: color 0.3s;
}

.secondary-link:hover {
    color: var(--main-color);
}

/* About Section */
.about-section {
    padding: 4rem 0;
}

.about-card {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.about-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-card h2 {
    color: var(--main-color);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.about-text {
    flex: 2;
}

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

.skills {
    flex: 1;
}

.skills h3 {
    color: var(--main-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

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

.skill {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.skill.visible {
    opacity: 1;
    transform: translateY(0);
}

.skill:hover {
    background-color: var(--hover-color);
}

/* Responsive Styles */
@media (max-width: 900px) {
    .hero {
        padding-bottom: 50px;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    .subtitle {
        font-size: 1.3rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .profile-image {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .cta-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .about-card {
        padding: 2rem 1.5rem;
    }
}