/* ==========================================
   ABOUT US STYLES
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Just+Me+Again+Down+Here&display=swap');

.about-hero {
    background-image: url('/CookLoop/img/about_hero_bg.png'); 
    background-position: center 20%;
}

.font-handwriting {
    font-family: 'Just Me Again Down Here', cursive;
    font-size: 4rem; 
    line-height: 1;
}

/* Section Backgrounds */
.bg-light-pink {
    background-color: #ffebeb; 
}

.bg-red-main {
    background-color: #d4090d; 
}

/* ==========================================
   TEAM SECTION
   ========================================== */
.team-member-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    margin-bottom: 1rem;
}

.team-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.team-role {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ==========================================
   IMAGE STYLING & SIZING FIXES
   ========================================== */
.about-img-rounded {
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    width: 100%;
    /* Limits the height so it doesn't leave massive white space around your text! */
    max-height: 450px; 
    object-fit: cover;
}

.recipe-showcase-img {
    width: 100%;
    /* Forces a perfect square regardless of the original image size */
    aspect-ratio: 1 / 1; 
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.3s ease; 
}

/* Optional: Adds a tiny zoom effect when you hover over the recipes */
.recipe-showcase-img:hover {
    transform: scale(1.03);
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* ==========================================
   BUTTON ANIMATIONS
   ========================================== */
.explore-btn {
    color: #d4090d;
    transition: all 0.3s ease;
}

.explore-btn:hover {
    background-color: #ffebeb !important; /* Slight pinkish tint */
    transform: translateY(-4px); /* Floats up slightly */
    box-shadow: 0 8px 20px rgba(0,0,0,0.3) !important; /* Deepens the shadow */
    color: #a8070a; /* Darkens the text slightly */
}