/* ===================================
   AUTHOR PROFILE STYLES - BRANDED DESIGN
   QuickPlateRecipe.com - GeneratePress Child Theme
   Brand Colors: Purple #6B2F5F, Green #4A7156, Orange #D4840A, Cream #F5F3E9
   ================================== */

/* Reset and base styles */
.author-profile-container {
    width: 100%;
    overflow-x: hidden;
}

/* ===== AUTHOR HERO SECTION ===== */
.author-hero-section {
    background: linear-gradient(135deg, #4A7156 0%, #5A8666 50%, #4A7156 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.author-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.author-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 113, 86, 0.95) 0%, rgba(90, 134, 102, 0.9) 100%);
}

.author-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(245, 243, 233, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 132, 10, 0.1) 0%, transparent 50%);
    opacity: 0.6;
}

.author-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Author Image */
.author-hero-image {
    position: relative;
}

.author-image-frame {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid #D4840A;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
}

.author-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.author-image-frame:hover img {
    transform: scale(1.05);
}

.author-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #D4840A 0%, #FFA042 100%);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 6px 20px rgba(212, 132, 10, 0.4);
    white-space: nowrap;
}

/* Author Hero Text */
.author-hero-text {
    color: white;
}

.author-name {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.author-tagline {
    font-size: 1.5rem;
    color: #D4840A;
    margin-bottom: 20px;
    font-weight: 600;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

.author-bio-short {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.95);
}

/* Author Stats */
.author-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.author-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #D4840A;
    margin-bottom: 5px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Social Links */
.author-social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.social-icon {
    font-size: 1.2rem;
}

/* ===== ABOUT AUTHOR SECTION ===== */
.author-about-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #F5F3E9 0%, #FAF5F0 100%);
}

.author-about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.author-about-text h2 {
    font-size: 2.5rem;
    color: #6B2F5F;
    margin-bottom: 25px;
}

.author-bio-long {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #5A5A5A;
    margin-bottom: 30px;
}

.author-signature-quote {
    background: rgba(212, 132, 10, 0.1);
    border-left: 4px solid #D4840A;
    padding: 25px 30px;
    margin: 30px 0;
    font-style: italic;
    font-size: 1.3rem;
    color: #6B2F5F;
    position: relative;
    border-radius: 10px;
}

.quote-icon {
    font-size: 4rem;
    color: #D4840A;
    opacity: 0.3;
    position: absolute;
    top: -10px;
    left: 10px;
}

/* Expertise Box */
.author-expertise-box {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid #D4840A;
}

.author-expertise-box h3 {
    font-size: 1.5rem;
    color: #6B2F5F;
    margin-bottom: 20px;
}

.expertise-list {
    list-style: none;
    padding: 0;
}

.expertise-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(212, 132, 10, 0.2);
    color: #5A5A5A;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.expertise-list li:last-child {
    border-bottom: none;
}

.check-icon {
    color: #D4840A;
    font-weight: bold;
    font-size: 1.2rem;
}

/* ===== SPECIALTIES SECTION ===== */
.author-specialties-section {
    padding: 70px 0;
    text-align: center;
    background: linear-gradient(135deg, #6B2F5F 0%, #8B4A7A 100%);
    position: relative;
}

.author-specialties-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(245, 243, 233, 0.08) 0%, transparent 50%);
    opacity: 0.5;
}

.author-specialties-section h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
}

.specialties-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.specialty-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid rgba(212, 132, 10, 0.3);
}

.specialty-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    border-color: #D4840A;
}

.specialty-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.specialty-card h3 {
    font-size: 1.5rem;
    color: #6B2F5F;
    margin-bottom: 15px;
}

.specialty-card p {
    color: #5A5A5A;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ===== FUN FACTS SECTION ===== */
.author-fun-facts-section {
    padding: 70px 0;
    text-align: center;
    background: linear-gradient(135deg, #F5F3E9 0%, #FAF5F0 100%);
}

.author-fun-facts-section h2 {
    font-size: 2.5rem;
    color: #4A7156;
    margin-bottom: 50px;
}

.fun-facts-grid {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.fun-fact-item {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.fun-fact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(212, 132, 10, 0.2);
    border-color: #D4840A;
}

.fact-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.fun-fact-item p {
    color: #5A5A5A;
    font-size: 1.05rem;
    line-height: 1.5;
    margin: 0;
}

/* ===== CATEGORIES SECTION ===== */
.author-categories-section {
    padding: 70px 0;
    text-align: center;
    background: linear-gradient(135deg, #4A7156 0%, #5A8666 100%);
    position: relative;
}

.author-categories-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(245, 243, 233, 0.08) 0%, transparent 50%);
    opacity: 0.5;
}

.author-categories-section h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
}

.author-categories-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.author-category-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.author-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    border-color: #D4840A;
}

.category-image {
    height: 200px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.author-category-card:hover .category-image img {
    transform: scale(1.05);
}

.author-category-card h3 {
    font-size: 1.5rem;
    color: #6B2F5F;
    margin: 20px 20px 10px;
}

.view-recipes {
    display: inline-block;
    margin: 0 20px 20px;
    color: #D4840A;
    font-weight: 600;
    transition: all 0.3s ease;
}

.author-category-card:hover .view-recipes {
    color: #4A7156;
    transform: translateX(5px);
}

/* ===== RECIPES SECTION ===== */
.author-recipes-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #F5F3E9 0%, #FAF5F0 100%);
}

.author-recipes-section h2 {
    font-size: 2.5rem;
    color: #6B2F5F;
    text-align: center;
    margin-bottom: 50px;
}

.author-recipes-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.recipe-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.recipe-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #D4840A;
}

.recipe-link {
    text-decoration: none;
    display: block;
}

.recipe-image {
    height: 220px;
    overflow: hidden;
}

.recipe-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recipe-card:hover .recipe-image img {
    transform: scale(1.05);
}

.recipe-content {
    padding: 25px;
}

.recipe-content h3 {
    font-size: 1.4rem;
    color: #6B2F5F;
    margin-bottom: 12px;
    line-height: 1.3;
}

.recipe-excerpt {
    color: #5A5A5A;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: #D4840A;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.recipe-card:hover .read-more {
    color: #4A7156;
    transform: translateX(5px);
}

/* View All Button */
.view-all-recipes {
    text-align: center;
    margin-top: 50px;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #6B2F5F 0%, #8B4A7A 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(107, 47, 95, 0.3);
}

.btn-view-all:hover {
    background: linear-gradient(135deg, #8B4A7A 0%, #6B2F5F 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(107, 47, 95, 0.4);
}

/* ===== CONNECT SECTION ===== */
.author-connect-section {
    padding: 70px 0;
    text-align: center;
    background: linear-gradient(135deg, #D4840A 0%, #FFA042 100%);
    position: relative;
}

.author-connect-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0.5;
}

.connect-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

.connect-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 15px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
}

.connect-content>p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 50px;
}

.connect-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.connect-social,
.connect-newsletter {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.connect-social h3,
.connect-newsletter h3 {
    font-size: 1.8rem;
    color: #6B2F5F;
    margin-bottom: 20px;
}

.connect-newsletter p {
    color: #5A5A5A;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    background: linear-gradient(135deg, #4A7156 0%, #5A8666 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 113, 86, 0.3);
}

.social-button:hover {
    background: linear-gradient(135deg, #5A8666 0%, #4A7156 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 113, 86, 0.4);
}

.btn-newsletter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #6B2F5F 0%, #8B4A7A 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(107, 47, 95, 0.3);
}

.btn-newsletter:hover {
    background: linear-gradient(135deg, #8B4A7A 0%, #6B2F5F 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(107, 47, 95, 0.4);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .author-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .author-name {
        font-size: 3rem;
    }

    .author-stats {
        justify-content: center;
    }

    .author-social-links {
        justify-content: center;
    }

    .author-about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .connect-options {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .author-hero-section {
        padding: 60px 0;
    }

    .author-image-frame {
        width: 250px;
        height: 250px;
    }

    .author-name {
        font-size: 2.5rem;
    }

    .author-tagline {
        font-size: 1.3rem;
    }

    .author-bio-short {
        font-size: 1.1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .author-about-section,
    .author-specialties-section,
    .author-fun-facts-section,
    .author-categories-section,
    .author-recipes-section,
    .author-connect-section {
        padding: 50px 0;
    }

    .specialties-grid,
    .fun-facts-grid,
    .author-categories-grid,
    .author-recipes-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .author-about-content h2,
    .author-specialties-section h2,
    .author-fun-facts-section h2,
    .author-categories-section h2,
    .author-recipes-section h2,
    .connect-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .author-hero-content {
        padding: 0 20px;
    }

    .author-image-frame {
        width: 200px;
        height: 200px;
    }

    .author-name {
        font-size: 2rem;
    }

    .author-tagline {
        font-size: 1.1rem;
    }

    .author-bio-short {
        font-size: 1rem;
    }

    .author-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .author-badge {
        font-size: 0.8rem;
        padding: 8px 20px;
    }

    .social-link {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}