/* ============================================================
   PeptaCo Custom Styles - Chemical Laboratory Child Theme
   ============================================================ */

/* CSS Variables */
:root {
    --pepta-dark: #0A2540;
    --pepta-blue: #3B82F6;
    --pepta-cyan: #06B6D4;
    --pepta-light: #F0F9FF;
    --pepta-gray: #64748B;
    --pepta-white: #FFFFFF;
    --pepta-gold: #F59E0B;
    --pepta-green: #10B981;
    --pepta-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ============================================================
   GLOBAL OVERRIDES
   ============================================================ */

/* Hide the theme's default page banner image on all pages */
.single-header-img {
    display: none !important;
}

/* Hide sidebar on pages - full width layout */
body.page #primary {
    width: 100% !important;
    max-width: 100% !important;
}

body.page #secondary,
body.page .sidebar {
    display: none !important;
}

body.page .col-lg-9,
body.page .col-md-8 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

/* ============================================================
   HOMEPAGE - HERO SECTION
   ============================================================ */

.peptaco-hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0A2540 0%, #1a3a5c 40%, #0d2d4f 100%);
    overflow: hidden;
    padding: 80px 0 60px;
}

.peptaco-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 40%);
    z-index: 1;
}

/* Animated background pattern */
.peptaco-hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.02) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
}

.peptaco-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.peptaco-hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    color: #93C5FD;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.peptaco-hero-title {
    font-size: 48px;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.2;
    margin: 0 0 20px;
    letter-spacing: -0.5px;
}

.peptaco-hero-sub {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin: 0 0 36px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.peptaco-hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.peptaco-hero-badges {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.peptaco-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
}

.peptaco-badge-item i {
    color: var(--pepta-cyan);
    font-size: 16px;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.peptaco-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.peptaco-btn-primary {
    background: var(--pepta-blue);
    color: #FFFFFF;
    border-color: var(--pepta-blue);
}

.peptaco-btn-primary:hover {
    background: #2563EB;
    border-color: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.35);
    color: #FFFFFF;
    text-decoration: none;
}

.peptaco-btn-outline {
    background: transparent;
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.4);
}

.peptaco-btn-outline:hover {
    border-color: #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    text-decoration: none;
}

.peptaco-btn-outline-dark {
    background: transparent;
    color: var(--pepta-dark);
    border-color: var(--pepta-dark);
}

.peptaco-btn-outline-dark:hover {
    background: var(--pepta-dark);
    color: #FFFFFF;
    text-decoration: none;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--pepta-dark);
    margin: 0 0 12px;
}

.section-header p {
    font-size: 17px;
    color: var(--pepta-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--pepta-blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */

.peptaco-features-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.peptaco-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.peptaco-feature-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: 12px;
    background: var(--pepta-light);
    border: 1px solid rgba(59, 130, 246, 0.08);
    transition: all 0.3s ease;
}

.peptaco-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(10, 37, 64, 0.08);
    border-color: rgba(59, 130, 246, 0.2);
}

.peptaco-feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--pepta-blue), var(--pepta-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: #FFFFFF;
}

.peptaco-feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--pepta-dark);
    margin: 0 0 10px;
}

.peptaco-feature-card p {
    font-size: 14px;
    color: var(--pepta-gray);
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   CATEGORIES SECTION
   ============================================================ */

.peptaco-categories-section {
    padding: 80px 0;
    background: #F8FAFC;
}

.peptaco-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.peptaco-category-card {
    display: block;
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.06);
}

.peptaco-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(10, 37, 64, 0.1);
    text-decoration: none;
}

.cat-image-placeholder {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.cat-image-placeholder i {
    opacity: 0.6;
}

.cat-image-placeholder .fa-spa { color: #0891B2; }
.cat-image-placeholder .fa-dna { color: #A78BFA; }
.cat-image-placeholder .fa-weight-scale { color: #0A2540; }
.cat-image-placeholder .fa-heart-pulse { color: #F59E0B; }
.cat-image-placeholder .fa-dumbbell { color: #CBD5E1; }
.cat-image-placeholder .fa-brain { color: #818CF8; }
.cat-image-placeholder .fa-shield-halved { color: #10B981; }

.peptaco-category-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--pepta-dark);
    padding: 16px 16px 4px;
    margin: 0;
}

.peptaco-category-card p {
    font-size: 13px;
    color: var(--pepta-gray);
    padding: 0 16px;
    margin: 0;
    line-height: 1.4;
}

.cat-count {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--pepta-blue);
    background: rgba(59, 130, 246, 0.08);
    padding: 4px 12px;
    border-radius: 20px;
    margin: 12px 16px 16px;
}

.peptaco-view-all {
    text-align: center;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */

.peptaco-about-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.peptaco-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.peptaco-about-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--pepta-dark);
    margin: 0 0 20px;
}

.peptaco-about-content p {
    font-size: 15px;
    color: var(--pepta-gray);
    line-height: 1.7;
    margin: 0 0 16px;
}

.peptaco-about-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.peptaco-about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--pepta-dark);
    margin-bottom: 12px;
}

.peptaco-about-list li i {
    color: var(--pepta-green);
    font-size: 18px;
    flex-shrink: 0;
}

.peptaco-about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-placeholder {
    width: 100%;
    height: 360px;
    background: linear-gradient(135deg, var(--pepta-light) 0%, #E0F2FE 100%);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.about-image-placeholder i {
    font-size: 64px;
    color: var(--pepta-blue);
    opacity: 0.5;
}

.about-image-placeholder span {
    font-size: 16px;
    color: var(--pepta-gray);
    font-weight: 500;
}

/* ============================================================
   QUALITY SECTION
   ============================================================ */

.peptaco-quality-section {
    padding: 80px 0;
    background: var(--pepta-light);
}

.peptaco-quality-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.quality-card {
    text-align: center;
    padding: 36px 24px;
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.08);
    transition: all 0.3s ease;
}

.quality-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(10, 37, 64, 0.08);
}

.quality-card i {
    font-size: 36px;
    color: var(--pepta-blue);
    margin-bottom: 16px;
}

.quality-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--pepta-dark);
    margin: 0 0 10px;
}

.quality-card p {
    font-size: 14px;
    color: var(--pepta-gray);
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   CTA SECTION
   ============================================================ */

.peptaco-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--pepta-dark) 0%, #1a3a5c 100%);
}

.peptaco-cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.peptaco-cta-content h2 {
    font-size: 34px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 16px;
}

.peptaco-cta-content p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 32px;
    line-height: 1.6;
}

.peptaco-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   INNER PAGES
   ============================================================ */

.peptaco-inner-page {
    padding: 60px 0 80px;
}

.peptaco-inner-page .page-header-custom {
    background: linear-gradient(135deg, var(--pepta-dark) 0%, #1a3a5c 100%);
    padding: 60px 0;
    margin: 0;
    text-align: center;
}

.peptaco-inner-page .page-header-custom h1 {
    color: #FFFFFF;
    font-size: 40px;
    font-weight: 700;
    margin: 0 0 12px;
}

.peptaco-inner-page .page-header-custom p {
    color: rgba(255,255,255,0.7);
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto;
}

.peptaco-inner-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 0;
}

.peptaco-inner-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--pepta-dark);
    margin: 40px 0 16px;
}

.peptaco-inner-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--pepta-dark);
    margin: 30px 0 12px;
}

.peptaco-inner-content p {
    font-size: 16px;
    color: #475569;
    line-height: 1.8;
    margin: 0 0 16px;
}

.peptaco-inner-content ul {
    margin: 16px 0;
    padding-left: 0;
    list-style: none;
}

.peptaco-inner-content ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
}

.peptaco-inner-content ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--pepta-green);
    font-size: 16px;
}

/* ============================================================
   FOOTER DISCLAIMER
   ============================================================ */

.peptaco-disclaimer {
    background: #1E293B;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    padding: 16px 24px;
    font-size: 12px;
    line-height: 1.5;
}

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

@media (max-width: 1200px) {
    .peptaco-features-grid,
    .peptaco-category-grid,
    .peptaco-quality-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .peptaco-hero-title {
        font-size: 32px;
    }

    .peptaco-hero-sub {
        font-size: 16px;
    }

    .peptaco-features-grid,
    .peptaco-category-grid,
    .peptaco-quality-grid {
        grid-template-columns: 1fr;
    }

    .peptaco-about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .peptaco-hero-badges {
        gap: 12px;
    }

    .peptaco-badge-item {
        font-size: 12px;
    }
}
