/* About Page Styles */

/* Hero Section */
.about-hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 60px;
}

.hero-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text-wrapper {
    z-index: 2;
}

.hero-label {
    display: inline-block;
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    color: #999;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.hero-title span {
    display: block;
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-nav {
    display: flex;
    gap: 20px;
}

.hero-nav-link {
    display: inline-block;
    padding: 15px 40px;
    background: #1a1a1a;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid #1a1a1a;
}

.hero-nav-link:hover {
    background: white;
    color: #1a1a1a;
    border-color: #1a1a1a;
}

.hero-visual {
    position: relative;
    height: 600px;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    animation: float 10s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    bottom: 20%;
    left: 20%;
    animation-delay: 3s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    top: 40%;
    right: 30%;
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
    }
    25% {
        transform: translateY(-30px) translateX(20px) scale(1.1);
    }
    50% {
        transform: translateY(20px) translateX(-20px) scale(0.9);
    }
    75% {
        transform: translateY(-20px) translateX(30px) scale(1.05);
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Title */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
    color: #1a1a1a;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #1a1a1a;
}

/* Greeting Section */
.greeting-section {
    padding: 100px 0;
    background: #f8f8f8;
}

.greeting-wrapper {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: start;
}

.greeting-image {
    position: sticky;
    top: 100px;
}

.greeting-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-caption {
    margin-top: 20px;
    text-align: center;
}

.caption-title {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.caption-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.greeting-content {
    padding-top: 0;
}

.greeting-content .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.greeting-content .section-title::after {
    left: 0;
    transform: none;
}

.greeting-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #333;
}

.greeting-text {
    line-height: 1.8;
    color: #444;
}

.greeting-text p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.greeting-text p:first-child {
    font-size: 1.2rem;
    font-weight: 500;
    color: #222;
}

/* Introduction Section */
.intro-section {
    padding: 100px 0;
    background: white;
}

.intro-content {
    display: grid;
    gap: 60px;
}

.intro-text h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #222;
}

.intro-text p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
    color: #444;
}

.intro-text.english {
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.english-text {
    font-style: italic;
    color: #666;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background: #f8f8f8;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 400px;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Footer */
.about-footer {
    background: #1a1a1a;
    color: white;
    padding: 40px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .greeting-wrapper {
        grid-template-columns: 350px 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .about-hero-section {
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-nav {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-nav-link {
        width: 100%;
        text-align: center;
    }
    
    .greeting-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .greeting-image {
        position: static;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .greeting-title {
        font-size: 1.5rem;
    }
    
    .greeting-text p {
        font-size: 1rem;
    }
    
    .gallery-item.wide {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 40vh;
    }
    
    .greeting-section,
    .intro-section,
    .gallery-section {
        padding: 60px 0;
    }
    
    .greeting-text p {
        font-size: 0.95rem;
        text-align: left;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 300px;
    }
}