/**
 * ENNU Peptides - Contact, About, FAQ Page Styling
 *
 * Luxury Gold/Navy design system for static pages
 * Matches the retail shop and header/footer branding
 *
 * @package ENNUPeptides
 * @version 1.0.0
 * @date 2026-03-09
 */

/* ============================================
   PEPTIDES DESIGN TOKENS
   ============================================ */
:root {
    /* Light Color Palette */
    --peptides-cream: #faf8f5;
    --peptides-cream-dark: #f5f2ed;
    --peptides-white: #ffffff;
    --peptides-navy: #1a2744;
    --peptides-navy-light: #2a3644;

    --peptides-gold: #C9A962;
    --peptides-gold-light: #d4af37;
    --peptides-gold-dark: #B8974F;

    /* Text Colors */
    --peptides-text-dark: #1a2744;
    --peptides-text-medium: #4a5568;
    --peptides-text-light: #6b7280;

    /* Typography */
    --peptides-font: 'Josefin Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --peptides-section-padding: clamp(60px, 8vw, 120px);
    --peptides-content-max-width: 1200px;
    --peptides-text-max-width: 800px;
}

/* ============================================
   PAGE CONTAINER STYLING
   ============================================ */

/* Target pages using Contact, About, FAQ templates */
.page-template-template-contact .site-main,
.page-template-default .site-main,
body.page-id-3 .site-main,  /* Contact page ID */
body.page-id-2 .site-main,  /* About page ID */
body.page-id-5 .site-main {  /* FAQ page ID - adjust as needed */
    min-height: 100vh;
    padding: var(--peptides-section-padding) 0;
}

/* ============================================
   CONTENT WRAPPER
   ============================================ */

.page-template-template-contact .entry-content,
.page-template-default .entry-content,
body.page-id-3 .entry-content,
body.page-id-2 .entry-content,
body.page-id-5 .entry-content {
    max-width: var(--peptides-content-max-width);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

/* Page Title */
.page-template-template-contact .entry-title,
.page-template-default .entry-title,
body.page-id-3 .entry-title,
body.page-id-2 .entry-title,
body.page-id-5 .entry-title {
    font-family: var(--peptides-font);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--peptides-navy);
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 80px);
    letter-spacing: -0.02em;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--peptides-navy) 0%, var(--peptides-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Body Text */
.page-template-template-contact .entry-content p,
.page-template-default .entry-content p,
body.page-id-3 .entry-content p,
body.page-id-2 .entry-content p,
body.page-id-5 .entry-content p {
    font-family: var(--peptides-font);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.8;
    color: var(--peptides-text-medium);
    max-width: var(--peptides-text-max-width);
    margin: 0 auto 1.5rem;
}

/* Headings */
.page-template-template-contact .entry-content h2,
.page-template-default .entry-content h2,
body.page-id-3 .entry-content h2,
body.page-id-2 .entry-content h2,
body.page-id-5 .entry-content h2 {
    font-family: var(--peptides-font);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--peptides-gold);
    margin-top: clamp(40px, 5vw, 60px);
    margin-bottom: clamp(20px, 3vw, 30px);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.page-template-template-contact .entry-content h3,
.page-template-default .entry-content h3,
body.page-id-3 .entry-content h3,
body.page-id-2 .entry-content h3,
body.page-id-5 .entry-content h3 {
    font-family: var(--peptides-font);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 600;
    color: var(--peptides-navy);
    margin-top: clamp(30px, 4vw, 50px);
    margin-bottom: clamp(15px, 2vw, 20px);
    letter-spacing: -0.01em;
}

/* Links */
.page-template-template-contact .entry-content a,
.page-template-default .entry-content a,
body.page-id-3 .entry-content a,
body.page-id-2 .entry-content a,
body.page-id-5 .entry-content a {
    color: var(--peptides-gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(201, 169, 98, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-template-template-contact .entry-content a:hover,
.page-template-default .entry-content a:hover,
body.page-id-3 .entry-content a:hover,
body.page-id-2 .entry-content a:hover,
body.page-id-5 .entry-content a:hover {
    color: var(--peptides-gold-light);
    border-bottom-color: var(--peptides-gold-light);
}

/* ============================================
   CONTENT BLOCKS
   ============================================ */

/* Text blocks with background cards */
.page-template-template-contact .entry-content > div,
.page-template-default .entry-content > div,
body.page-id-3 .entry-content > div,
body.page-id-2 .entry-content > div,
body.page-id-5 .entry-content > div {
    background: var(--peptides-white);
    border: 1px solid rgba(201, 169, 98, 0.2);
    border-radius: 16px;
    padding: clamp(30px, 5vw, 50px);
    margin-bottom: clamp(30px, 4vw, 40px);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.06),
        0 2px 8px rgba(201, 169, 98, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-template-template-contact .entry-content > div:hover,
.page-template-default .entry-content > div:hover,
body.page-id-3 .entry-content > div:hover,
body.page-id-2 .entry-content > div:hover,
body.page-id-5 .entry-content > div:hover {
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 4px 16px rgba(201, 169, 98, 0.12);
    border-color: rgba(201, 169, 98, 0.3);
}

/* ============================================
   LISTS
   ============================================ */

.page-template-template-contact .entry-content ul,
.page-template-default .entry-content ul,
body.page-id-3 .entry-content ul,
body.page-id-2 .entry-content ul,
body.page-id-5 .entry-content ul {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem auto;
    max-width: var(--peptides-text-max-width);
}

.page-template-template-contact .entry-content ul li,
.page-template-default .entry-content ul li,
body.page-id-3 .entry-content ul li,
body.page-id-2 .entry-content ul li,
body.page-id-5 .entry-content ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 1rem;
    font-family: var(--peptides-font);
    color: var(--peptides-text-medium);
    line-height: 1.6;
}

.page-template-template-contact .entry-content ul li::before,
.page-template-default .entry-content ul li::before,
body.page-id-3 .entry-content ul li::before,
body.page-id-2 .entry-content ul li::before,
body.page-id-5 .entry-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--peptides-gold);
    font-weight: 600;
}

/* ============================================
   FAQ ACCORDION (if using accordion plugin)
   ============================================ */

.peptides-faq-item {
    background: var(--peptides-white);
    border: 1px solid rgba(201, 169, 98, 0.2);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.peptides-faq-item:hover {
    border-color: rgba(201, 169, 98, 0.4);
    box-shadow: 0 4px 16px rgba(201, 169, 98, 0.15);
}

.peptides-faq-question {
    font-family: var(--peptides-font);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--peptides-navy);
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.peptides-faq-question:hover {
    color: var(--peptides-gold);
}

.peptides-faq-answer {
    font-family: var(--peptides-font);
    color: var(--peptides-text-medium);
    padding: 0 24px 24px;
    line-height: 1.7;
    display: none;
}

.peptides-faq-item.active .peptides-faq-answer {
    display: block;
}

/* ============================================
   CONTACT FORM STYLING
   ============================================ */

.peptides-contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.peptides-contact-form input[type="text"],
.peptides-contact-form input[type="email"],
.peptides-contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    margin-bottom: 20px;
    font-family: var(--peptides-font);
    font-size: 1rem;
    color: var(--peptides-navy);
    background: var(--peptides-white);
    border: 1px solid rgba(201, 169, 98, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.peptides-contact-form input[type="text"]:focus,
.peptides-contact-form input[type="email"]:focus,
.peptides-contact-form textarea:focus {
    outline: none;
    border-color: var(--peptides-gold);
    background: var(--peptides-white);
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.15);
}

.peptides-contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.peptides-contact-form button[type="submit"] {
    width: 100%;
    padding: 18px 32px;
    font-family: var(--peptides-font);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--peptides-white);
    background: linear-gradient(135deg, var(--peptides-gold) 0%, var(--peptides-gold-light) 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(201, 169, 98, 0.3);
}

.peptides-contact-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 169, 98, 0.4);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
    .page-template-template-contact .entry-title,
    .page-template-default .entry-title,
    body.page-id-3 .entry-title,
    body.page-id-2 .entry-title,
    body.page-id-5 .entry-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .page-template-template-contact .entry-content > div,
    .page-template-default .entry-content > div,
    body.page-id-3 .entry-content > div,
    body.page-id-2 .entry-content > div,
    body.page-id-5 .entry-content > div {
        padding: 24px;
        margin-bottom: 24px;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.page-template-template-contact *:focus-visible,
.page-template-default *:focus-visible,
body.page-id-3 *:focus-visible,
body.page-id-2 *:focus-visible,
body.page-id-5 *:focus-visible {
    outline: 2px solid var(--peptides-gold);
    outline-offset: 2px;
}
