/* Profile Image styles */
.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--secondary-color);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.profile-image:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-md);
}

/* Button styles */
.btn {
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-base);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.btn-text {
    padding: var(--spacing-xs) 0;
    color: var(--text-color);
    font-weight: var(--font-weight-medium);
    transition: transform var(--transition-base);
    text-decoration: none;
}

.btn-text:hover {
    transform: translateX(4px);
    color: var(--primary-color);
}

/* Card styles */
.card {
    background-color: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), background-color var(--transition-base);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Navigation styles */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
    position: sticky;
    top: 0;
    background: var(--bg-color);
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.nav-logo h1 {
    font-size: var(--font-xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-color);
    margin: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    z-index: 101;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all var(--transition-base);
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.nav-toggle.active .hamburger {
    background-color: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

.nav-list {
    display: flex;
    gap: var(--spacing-md);
    list-style: none;
    margin: 0;
}

.nav-link {
    position: relative;
    font-weight: var(--font-weight-medium);
    padding: var(--spacing-xs) 0;
    transition: color var(--transition-base);
}

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

.nav-link.active {
    color: var(--secondary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width var(--transition-base);
}

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

/* Grid system */
.grid {
    display: grid;
    gap: var(--spacing-md);
}

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

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .profile-image {
        width: 220px;
        height: 220px;
    }
    
    .nav {
        padding: var(--spacing-sm) 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-list {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 60px);
        background: var(--bg-color);
        flex-direction: column;
        padding: var(--spacing-lg) 0;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right var(--transition-base);
        gap: 0;
        z-index: 99;
        overflow-y: auto;
    }
    
    .nav-list.active {
        right: 0;
    }
    
    .nav-list.active::before {
        content: '';
        position: fixed;
        top: 60px;
        left: 0;
        width: calc(100vw - 280px);
        height: calc(100vh - 60px);
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }
    
    .nav-list li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-list li:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        display: block;
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: var(--font-base);
        width: 100%;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: rgba(var(--primary-color-rgb), 0.08);
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .card {
        padding: var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .profile-image {
        width: 180px;
        height: 180px;
    }
    
    .nav-list {
        width: 70%;
        max-width: 250px;
    }
    
    .nav-list.active::before {
        width: calc(100vw - 70%);
    }
    
    .nav-link {
        padding: 0.9rem var(--spacing-md);
    }
    
    .btn {
        padding: var(--spacing-xs) var(--spacing-sm);
    }
}

/* Section styles */
.section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-size: var(--font-3xl);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

/* Form styles */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: var(--font-weight-medium);
}

.form-input {
    width: 100%;
    padding: var(--spacing-xs);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    transition: border-color var(--transition-base);
}

.form-input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

/* Animation utilities */
.fade-in {
    animation: fadeIn var(--transition-slow);
}

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