/* ========================================
   ABOUT.CSS - About Page Specific Styles
   Base, Header, Footer, and Buttons moved to shared files
   ======================================== */

/* ========================================
   Bento Grid Layout - About Page
   ======================================== */
.bento-container {
    margin: 0 auto;
    padding: 0 95px;
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 30px;
    grid-template-areas:
        "who-i-am image-slider"
        "who-i-am image-slider"
        "experience experience"
        "skills skills"
        "quotes quotes";
    width: 100%;
    box-sizing: border-box;
}

/* Bento Item Override for About Page */
.bento-item {
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    width: 100%;
    box-sizing: border-box;
}

.bento-item:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.who-i-am {
    grid-area: who-i-am;
}

.image-slider {
    grid-area: image-slider;
    position: relative;
    overflow: hidden;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.slider-image {
    position: absolute;
    width: 100%;
    height: 130%;
    object-fit: cover; /* Changed from contain to cover */
    opacity: 0;
    transition: opacity 1s ease-in-out;
    border-radius: 15px;
    max-height: 150%; /* Added max-height */
}

.slider-image.active {
    opacity: 1;
}

.quotes {
    grid-area: quotes;
}

/* Section Title Override for About Page */
.section-title {
    font-weight: 400;
    font-size: 42px;
    border-bottom: 2px solid #3b342d;
    padding-bottom: 10px;
}

.whoami {
    text-align: center;
}
/* Updated Who I Am Section Styling */
.abouttext {
    font-size: 18px;
    line-height: 1.6;
}

.intro-section {
    margin-bottom: 30px;
    font-size: 20px;
    background-color: #f4f2ef;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.08);
    position: relative;
    border-left: 5px solid #3b342d;
    border-right: 5px solid #3b342d;
}

.intro-section p {
    margin-bottom: 15px;
}

.intro-section p:last-child {
    margin-bottom: 0;
}

.intro-section strong {
    color: #3b342d;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.about-card {
    background-color: #f4f2ef;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border-left: 5px solid #3b342d;
    height: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}

.about-card h3 {
    font-family: "Kavoon", serif;
    font-size: 24px;
    margin-bottom: 15px;
    color: #3b342d;
    border-bottom: 1px solid #E8D9CD;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
}

.about-card p {
    margin: 0 0 12px 0;
    color: #3b342d;
    font-size: 20px;
}

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

.about-icon {
    margin-right: 10px;
}

/* Make the layout responsive */
@media (max-width: 900px) {
    .cards-container {
        grid-template-columns: 1fr;
    }
}