/* Main Styles */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    color: var(--dark-color);
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #2c3e50, #34495e, #5d6d7e);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/pattern.png');
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Hero Profile Image */
.hero-profile-container {
    width: 300px;
    height: 350px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.hero-profile-container:hover {
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.hero-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 991px) {
    .hero-profile-container {
        width: 250px;
        height: 300px;
        margin: 2rem auto;
    }
}

/* Hero Recommended Sites */
.hero-recommended-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    text-align: center;
}

.hero-recommended-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-recommended-img-container {
    width: 120px;
    height: 90px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-recommended-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
}

.hero-recommended-card:hover .hero-recommended-img-container {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-recommended-card h5 {
    color: white;
    font-weight: 600;
}

.hero-recommended-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.hero-recommended-card .btn {
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    transition: all 0.3s ease;
}

.hero-recommended-card .btn:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
    transform: translateY(-2px);
}

/* Hero Skill Icons */
.hero-skills-icons {
    margin: 2rem 0;
}

.hero-skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    margin: 0 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
    min-width: 80px;
}

.hero-skill-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-skill-item i {
    font-size: 2rem;
    color: white;
    margin-bottom: 0.5rem;
}

.hero-skill-item span {
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
}

/* Responsive adjustments for skill icons */
@media (max-width: 768px) {
    .hero-skill-item {
        margin: 0.25rem;
        padding: 0.75rem;
        min-width: 70px;
    }
    
    .hero-skill-item i {
        font-size: 1.5rem;
    }
    
    .hero-skill-item span {
        font-size: 0.75rem;
    }
}

/* Profile Image */
.profile-img-container {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 10px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Skills Section */
.skill-icon {
    font-size: 3rem;
    color: var(--primary-color);
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Interest Section */
.interest-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
}

.interest-card {
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.interest-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Recommended Sites Section */
.recommended-img-container {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recommended-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recommended-img-container:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.recommended-img-container:hover .recommended-img {
    transform: scale(1.1);
}

#recommended .card {
    border-radius: 15px;
    overflow: hidden;
}

#recommended .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

#recommended .btn {
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

#recommended .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

/* Contact Section */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--dark-color);
    transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
    }
    
    .profile-img-container {
        width: 200px;
        height: 200px;
        margin: 2rem auto;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInUp {
    animation: fadeInUp 1s ease;
}

/* Fix for text-left in centered containers */
.text-left {
    text-align: left !important;
}
