/**
 * Hayaoポートフォリオサイト - プロフィールページスタイル
 */

/* ページヘッダー */
.page-header {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, 
        rgba(255, 107, 107, 0.05) 0%, 
        rgba(78, 205, 196, 0.05) 100%);
}

.page-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-title i {
    margin-right: 0.5rem;
}

.page-description {
    color: var(--gray-medium);
    font-size: 1.1rem;
}

/* ABOUTコンテナ */
.about-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

/* ポートレートセクション */
.portrait-section {
    opacity: 0;
    transition: all 0.8s ease;
}

.portrait-section.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 1;
}

.portrait-wrapper {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.portrait-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.portrait-wrapper:hover .portrait-image {
    transform: scale(1.02);
}

.portrait-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--gray-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.portrait-placeholder i {
    font-size: 8rem;
    color: var(--gray-medium);
    opacity: 0.3;
}

/* ポートレート装飾 */
.portrait-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    z-index: -1;
    pointer-events: none;
}

.decoration-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
}

.shape-1 {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    top: -10px;
    right: -10px;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    bottom: 20px;
    left: -20px;
    animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    top: 50%;
    right: -30px;
    animation: float 7s ease-in-out infinite;
}

/* プロフィールセクション */
.profile-section {
    opacity: 0;
    transition: all 0.8s ease;
}

.profile-section.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 1;
}

.profile-name {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-title {
    font-size: 1.2rem;
    color: var(--gray-medium);
    margin-bottom: 2rem;
    font-weight: 300;
}

.profile-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 3rem;
}

.profile-content p {
    margin-bottom: 1rem;
}

/* 作風セクション */
.style-section {
    background: linear-gradient(135deg, 
        rgba(255, 107, 107, 0.05) 0%, 
        rgba(78, 205, 196, 0.05) 100%);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-title i {
    margin-right: 0.5rem;
}

.style-content {
    color: var(--text-color);
    line-height: 1.8;
}

.style-content p {
    margin-bottom: 1rem;
}

.style-content p:last-child {
    margin-bottom: 0;
}

/* CTAボタン */
.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    text-decoration: none;
}

.cta-button.primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.cta-button.secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* 装飾要素 */
.about-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.floating-element {
    position: absolute;
    opacity: 0.1;
    animation: float-random 20s infinite ease-in-out;
}

.floating-element i {
    font-size: 3rem;
    color: var(--primary-color);
}

.element-1 {
    top: 10%;
    right: 5%;
}

.element-2 {
    bottom: 20%;
    left: 10%;
    color: var(--secondary-color);
}

.element-3 {
    top: 50%;
    right: 15%;
}

/* アニメーション */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes float-random {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) rotate(90deg);
    }
    50% {
        transform: translate(-20px, 20px) rotate(180deg);
    }
    75% {
        transform: translate(40px, 10px) rotate(270deg);
    }
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .portrait-wrapper {
        max-width: 300px;
    }
    
    .profile-name {
        font-size: 2rem;
        text-align: center;
    }
    
    .profile-title {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .about-container {
        padding: 1.5rem;
    }
    
    .style-section {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .profile-content,
    .style-content {
        font-size: 1rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .floating-element {
        display: none;
    }
}

@media (max-width: 576px) {
    .portrait-wrapper {
        max-width: 250px;
    }
    
    .decoration-shape {
        display: none;
    }
    
    .profile-name {
        font-size: 1.8rem;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
}