/* ==========================================================================
   FLYWITHPEGGS.COM — Unified Stylesheet
   Altidor Wellness LLC / flywithpeggs
   ========================================================================== */

/* ==========================================================================
   1. BRAND PALETTE & CSS VARIABLES
   ========================================================================== */
:root {
    --royal: #4A00E0;
    --velvet: #5D3FD3;
    --amethyst: #9966CC;
    --gold: #FFD700;
    --text-light: #F8F8FF;
    --text-dark: #2E2E2E;
    --card-bg: #FAF5FF;
    --header-bg: #1A0033;
    --page-bg: #FFFFFF;
}

/* ==========================================================================
   2. BASE / RESET
   ========================================================================== */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--page-bg);
    color: var(--text-dark);
}

/* ==========================================================================
   3. HEADER & NAVIGATION
   ========================================================================== */
header {
    background-color: var(--header-bg);
}

.brand-logo {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 2rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

header nav a,
header nav button {
    color: var(--amethyst);
}

header nav a:hover,
header nav button:hover {
    color: var(--gold);
}

header nav a.active,
header nav button.active {
    color: var(--gold);
    font-weight: 600;
}

/* Mobile menu */
#mobile-menu a {
    color: var(--amethyst);
    display: block;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

#mobile-menu a:hover {
    background-color: var(--velvet);
    color: var(--gold);
}

#mobile-menu a.active {
    background-color: var(--royal);
    color: var(--gold);
    font-weight: 600;
}

/* ==========================================================================
   4. FOOTER
   ========================================================================== */
footer {
    background-color: var(--header-bg);
    color: var(--text-light);
}

footer a {
    color: var(--amethyst);
}

footer a:hover {
    color: var(--gold);
}

footer .brand-name {
    color: var(--text-light);
}

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition-property: color, background-color, border-color, box-shadow;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
    display: inline-block;
}

.btn-primary {
    background-color: var(--royal);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--velvet);
}

.btn-accent {
    background-color: var(--gold);
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

.btn-accent:hover {
    background-color: #e6c200;
}

.btn-outline {
    border: 2px solid var(--royal);
    color: var(--royal);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--royal);
    color: var(--text-light);
}

.btn-outline-white {
    border: 2px solid var(--text-light);
    color: var(--text-light);
    background-color: transparent;
}

.btn-outline-white:hover {
    background-color: var(--text-light);
    color: var(--royal);
}

/* ==========================================================================
   6. SECTION TITLES & LAYOUT HELPERS
   ========================================================================== */
.section-title {
    color: var(--royal);
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
}

.section-subtitle {
    font-size: 1.125rem;
    line-height: 1.75rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--velvet);
}

.page-header-bg {
    background-color: var(--card-bg);
}

/* ==========================================================================
   7. CARDS (General)
   ========================================================================== */
.card {
    background-color: var(--card-bg);
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    transition: box-shadow 300ms ease, transform 300ms ease;
}

.card:hover {
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    transform: translateY(-0.25rem);
}

/* ==========================================================================
   8. BLOG STYLES
   ========================================================================== */
.blog-card {
    background-color: var(--card-bg);
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    overflow: hidden;
    transition: box-shadow 300ms ease, transform 300ms ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    transform: translateY(-0.25rem);
}

.blog-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card h2 a {
    color: var(--text-dark);
}

.blog-card h2 a:hover {
    color: var(--royal);
}

.blog-card-meta {
    color: var(--amethyst);
}

.blog-card-read-more {
    color: var(--velvet);
}

.blog-card-read-more:hover {
    color: var(--royal);
}

/* Category filter buttons */
.category-button {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    border: 2px solid var(--amethyst);
    color: var(--velvet);
    background-color: transparent;
    cursor: pointer;
    transition: background-color 300ms ease, color 300ms ease, border-color 300ms ease;
}

.category-button:hover,
.category-button.active {
    background-color: var(--velvet);
    color: var(--text-light);
    border-color: var(--velvet);
}

/* ==========================================================================
   9. NEWS STYLES
   ========================================================================== */
.news-item {
    background-color: var(--card-bg);
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    transition: box-shadow 300ms ease;
}

@media (min-width: 768px) {
    .news-item {
        flex-direction: row;
    }
}

.news-item:hover {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* ==========================================================================
   10. PROSE / ARTICLE TYPOGRAPHY
   ========================================================================== */
.prose h2,
.prose h3 {
    color: var(--royal);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.prose p {
    margin-bottom: 1.5rem;
    line-height: 1.625;
}

.prose a {
    color: var(--velvet);
    font-weight: 600;
    text-decoration: underline;
}

.prose a:hover {
    color: var(--amethyst);
}

.prose img {
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* ==========================================================================
   11. MEET THE TEAM STYLES
   ========================================================================== */
.agent-card {
    background-color: var(--card-bg);
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    overflow: hidden;
    transition: box-shadow 300ms ease, transform 300ms ease;
}

.agent-card:hover {
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    transform: translateY(-0.25rem);
}

.agent-card .agent-image {
    width: 100%;
    height: 16rem;
    object-fit: cover;
}

.agent-card .agent-body {
    padding: 1.5rem;
}

.agent-card .agent-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--royal);
    margin-bottom: 0.25rem;
}

.agent-card .agent-role {
    font-size: 0.875rem;
    color: var(--amethyst);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.agent-card .agent-signature {
    font-style: italic;
    color: var(--velvet);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.agent-card .agent-bio {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.agent-card .agent-strengths {
    list-style: none;
    padding: 0;
}

.agent-card .agent-strengths li {
    font-size: 0.85rem;
    padding: 0.25rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.agent-card .agent-strengths li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* Small agent cards (behind-the-scenes team) */
.agent-card-small .agent-image {
    height: 12rem;
}

.agent-card-small .agent-body {
    padding: 1.25rem;
}

/* ==========================================================================
   12. FAVORITES / AFFILIATE STYLES
   ========================================================================== */
.fav-card {
    background-color: var(--card-bg);
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    overflow: hidden;
    transition: box-shadow 300ms ease, transform 300ms ease;
    display: flex;
    flex-direction: column;
}

.fav-card:hover {
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    transform: translateY(-0.25rem);
}

.fav-card-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.fav-card .fav-category-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    background-color: var(--velvet);
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.affiliate-disclosure {
    background-color: var(--card-bg);
    border-left: 4px solid var(--gold);
    padding: 1rem 1.5rem;
    font-size: 0.8rem;
    color: var(--amethyst);
    border-radius: 0 0.5rem 0.5rem 0;
}

/* ==========================================================================
   13. AI CONSULTING STYLES
   ========================================================================== */
.service-feature {
    background-color: var(--card-bg);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    transition: box-shadow 300ms ease, transform 300ms ease;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.service-feature:hover {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    transform: translateY(-0.125rem);
}

.service-feature .feature-icon {
    font-size: 2.5rem;
    color: var(--velvet);
    margin-bottom: 1rem;
}

.service-feature h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--royal);
    margin-bottom: 0.75rem;
}

/* ==========================================================================
   14. HERO BACKGROUNDS
   ========================================================================== */
.hero-bg {
    background: linear-gradient(135deg, var(--header-bg) 0%, var(--royal) 50%, var(--velvet) 100%);
}

.hero-bg-travel {
    background-image: linear-gradient(rgba(26, 0, 51, 0.7), rgba(26, 0, 51, 0.7)),
        url('https://placehold.co/1600x600/5D3FD3/F8F8FF?text=Travel+With+Peggens');
    background-size: cover;
    background-position: center;
}

.hero-bg-wellness {
    background: linear-gradient(135deg, var(--velvet) 0%, var(--amethyst) 100%);
}

.hero-bg-ai {
    background: linear-gradient(135deg, var(--header-bg) 0%, #1a0050 50%, var(--royal) 100%);
}

.hero-bg-team {
    background: linear-gradient(135deg, var(--royal) 0%, var(--velvet) 50%, var(--amethyst) 100%);
}

.hero-bg-news {
    background-image: linear-gradient(rgba(26, 0, 51, 0.6), rgba(26, 0, 51, 0.6)),
        url('https://placehold.co/1600x500/5D3FD3/F8F8FF?text=Latest+News');
    background-size: cover;
    background-position: center;
}

/* ==========================================================================
   15. ACCESSIBILITY
   ========================================================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
    border-radius: 2px;
}

/* ==========================================================================
   16. ANIMATIONS
   ========================================================================== */
@keyframes shine {
    0% { transform: translateX(-100%) skewX(-25deg); }
    100% { transform: translateX(100%) skewX(-25deg); }
}

.brand-logo:hover::after,
.btn-accent:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine 1.2s ease;
}

/* Coming soon badge */
.badge-coming-soon {
    display: inline-block;
    background-color: var(--gold);
    color: var(--header-bg);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

/* ==========================================================================
   17. FORM STYLES
   ========================================================================== */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 2px solid var(--amethyst);
    background-color: var(--page-bg);
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: border-color 200ms ease;
}

.form-input:focus {
    border-color: var(--royal);
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 0, 224, 0.15);
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--velvet);
    font-size: 0.9rem;
}

/* ==========================================================================
   18. PARTNER LOGO GRID
   ========================================================================== */
.partner-logo-card {
    background-color: var(--card-bg);
    border-radius: 0.75rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    transition: box-shadow 300ms ease;
}

.partner-logo-card:hover {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.partner-logo-card img {
    max-height: 6rem;
    object-fit: contain;
    margin-bottom: 1rem;
}
