/* ==========================================
   ABOUT PAGE
   Photo centerpiece with floating words
   ========================================== */

#about {
    padding: calc(var(--section-padding) + 80px) 0 var(--section-padding);
    min-height: 100vh;
}

/* About Hero - Photo with Floating Words */
.about-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 80px;
}

.about-image-container {
    position: relative;
    z-index: 2;
    width: 350px;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    transition: transform 0.4s ease;
}

.about-image-container:hover {
    transform: scale(1.02);
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating Words */
.floating-words {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-word {
    position: absolute;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--coffee);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
    animation: float 6s ease-in-out infinite;
}

.floating-word:hover {
    opacity: 1;
    transform: scale(1.1);
    color: var(--maple-orange);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-10px) translateX(5px);
    }
    50% {
        transform: translateY(-5px) translateX(-5px);
    }
    75% {
        transform: translateY(-15px) translateX(3px);
    }
}

/* Word Tooltip */
.word-tooltip {
    position: fixed;
    max-width: 300px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(139, 115, 85, 0.2);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--dark-coffee);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    z-index: 10000;
    display: none;
}

.word-tooltip.active {
    opacity: 1;
    visibility: visible;
    display: block;
}

/* About Content */
.about-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.about-section {
    margin-bottom: 60px;
}

.about-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--dark-coffee);
    margin-bottom: 24px;
    text-align: left;
}

.about-text:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .about-hero {
        height: 60vh;
        min-height: 450px;
    }

    .about-image-container {
        width: 280px;
        height: 280px;
    }

    .floating-word {
        font-size: 1.2rem;
    }

    .about-text {
        font-size: 1.05rem;
    }

    .word-tooltip {
        max-width: 260px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .about-image-container {
        width: 240px;
        height: 240px;
    }

    .floating-word {
        font-size: 1rem;
    }
}
