/*
Theme Name: Trionyx Core
Author: Trionyx
datarecovery.con.ph
Style v12
Version: 12
*/

/* ========================================
   GLOBAL DESIGN SYSTEM
======================================== */

:root {

    --primary-bg: #0f2741;
    --headline: #0f2741;
    --text: #104e90;
    --white: #ffffff;

    --header-cta-width: 220px;

}


/* ========================================
   GLOBAL RESET
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


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

h1,
h2,
h3 {

    font-family: 'Lato', sans-serif;
    color: var(--headline);

}


h4,
h5,
h6 {

    font-family: 'Allerta', sans-serif;
    color: var(--headline);

}


p,
li,
a {

    font-family: 'Aleo', serif;
    color: var(--text);

}


/* ========================================
   HEADER
======================================== */

.site-header {

    background: #ffffff;
    padding: 20px 0;

}

.header-container {

    display: flex;
    justify-content: space-between;
    align-items: center;

}

.site-logo a {

    color: #ffffff;
    font-size: 28px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;

}

.site-logo img {

    max-height: 60px;
    width: auto;

}

.header-cta .cta-button,
.header-cta input[type="search"],
.header-cta button {

    width: var(--header-cta-width);

}

.cta-button {

    background: #104e90;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 6px;
    font-family: 'Lato', sans-serif;
    transition: 0.3s ease;

}

.cta-button:hover {

    opacity: 0.9;

}

.header-cta {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 15px;

}

.header-cta .cta-button {

    text-align: center;

}

.header-cta form {

    display: flex;

    flex-direction: column;

    gap: 15px;

}

.header-cta input[type="search"] {

    padding: 12px;

}

.header-cta button {

    color: #fff;
    background: #104e90;

    border: none;

    padding: 12px;

    border-radius: 6px;

    cursor: pointer;

}


/* ========================================
   NAVIGATION
======================================== */

.nav-menu {

    display: flex;
    gap: 30px;
    list-style: none;

}


.nav-menu li a {

    color: #0f2741;
    font-family: 'Aleo', serif;
    transition: 0.3s ease;

}


.nav-menu li a:hover {

    opacity: 0.8;

}


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

.primary-button {

    background: #104e90;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 6px;
    display: inline-block;

}


.secondary-button {

    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 6px;
    display: inline-block;

}


/* ========================================
   SMOOTH SCROLLING
======================================== */

html {

    scroll-behavior: smooth;

}


/* ========================================
   HERO SECTION
======================================== */

.hero-section {

    background: #0f2741;
    min-height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 80px 0;

}


.hero-content h1 {

    color: #ffffff;
    font-size: clamp(
        2.5rem,
        5vw,
        4rem
    );
    margin-bottom: 20px;

}


.hero-content p {

    color: #ffffff;
    max-width: 700px;
    margin: auto;
    margin-bottom: 40px;
    font-size: 18px;

}


.hero-buttons {

    display: flex;
    justify-content: center;
    gap: 20px;

}


/* ========================================
   SERVICES
======================================== */

.services-section {

    padding: 100px 0;

}


.section-title {

    text-align: center;
    margin-bottom: 60px;

}


.services-grid {

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;

}


.service-card {

    background: #ffffff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);

}


.service-card h3 {

    margin-bottom: 20px;

}


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

.about-section {

    background: #f5f7fa;
    padding: 100px 0;
    text-align: center;

}


.about-content {

    max-width: 800px;
    margin: auto;

}


.about-content h2 {

    margin-bottom: 20px;

}


.about-content p {

    margin-bottom: 40px;

}


/* ========================================
   BLOG
======================================== */

.blog-section {

    padding: 100px 0;

}

.blog-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(320px, 1fr));

    gap: 30px;

}

.blog-card {

    background: #ffffff;

    padding: 30px;

    border: 1px solid #eee;

    border-radius: 10px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.05);

}

.blog-card img {

    width: 100%;

    height: auto;

    margin-bottom: 15px;

}

.blog-card h2 {

    margin-bottom: 10px;

}

.blog-card h3 {

    margin-bottom: 20px;

}

.blog-date {

    color: #777;

    margin-bottom: 15px;

}

.read-more {

    display: inline-block;

    margin-top: 10px;

    font-weight: bold;

}


/* ========================================
   RSS-BLOG
======================================== */

.rss-blog-section {
    margin: 60px auto;
    max-width: 1200px;
}

.rss-blog-section h2 {
    margin-bottom: 30px;
}

.rss-card {
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.rss-card h3 {
    margin-top: 0;
}

.rss-card a {
    text-decoration: none;
}

.rss-date {
    color: #777;
    font-size: 0.9rem;
}

.rss-readmore {
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
}


/* ========================================
   PAGE
======================================== */

.page-section {

    padding: 100px 0;

}


.page-title {

    margin-bottom: 40px;
    text-align: center;

}


.page-content {

    max-width: 900px;
    margin: auto;
    line-height: 1.8;

}


/* ========================================
   SINGLE PAGE
======================================== */

.single-blog-page {

    padding: 80px 0;

}

.blog-article {

    max-width: 900px;

    margin: 0 auto;

}

.blog-category {

    margin-bottom: 15px;

    font-size: 14px;

}

.blog-title {

    margin-bottom: 15px;

}

.blog-meta {

    margin-bottom: 25px;

    color: #777;

}

.blog-featured-image {

    margin-bottom: 30px;

}

.blog-featured-image img {

    width: 100%;

    height: auto;

}

.blog-content {

    line-height: 1.8;

}

.blog-content img {

    max-width: 100%;

    height: auto;

}

.blog-cta {

    padding: 60px 20px;

    text-align: center;

}


/* ========================================
   RELATED POSTS
======================================== */

.related-posts {

    padding: 80px 0;

    background: #f5f7fa;

}

.related-posts h2 {

    text-align: center;

    margin-bottom: 40px;

}


/* ========================================
   CATEGORY
======================================== */

.category-page {

    padding: 80px 0;

}

.category-header {

    text-align: center;

    margin-bottom: 50px;

}

.category-description {

    max-width: 800px;

    margin: 20px auto 0;

}


/* ========================================
   SEARCH PAGE
======================================== */

.search-page {

    padding: 80px 0;

}

.search-header {

    text-align: center;

    margin-bottom: 50px;

}

.no-results {

    text-align: center;

    padding: 60px 20px;

}


/* ========================================
   ARCHIVE PAGE
======================================== */

.archive-page {

    padding: 80px 0;

}

.archive-header {

    text-align: center;

    margin-bottom: 50px;

}

.archive-header p {

    max-width: 700px;

    margin: 15px auto 0;

}

.blog-pagination {

    margin-top: 50px;

    text-align: center;

}


/* ========================================
   CONTACT
======================================== */

.contact-section {

    background: #0f2741;
    color: #ffffff;
    text-align: center;
    padding: 100px 0;

}


.contact-section h2 {

    color: #ffffff;
    margin-bottom: 20px;

}


.contact-section p {

    color: #ffffff;
    margin-bottom: 40px;

}

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

.contact-form {

    max-width: 900px;
    margin: auto;

}


.form-grid {

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;

}


.form-group {

    width: 100%;

}

.contact-form textarea {

    resize: vertical;
    margin-bottom: 20px;

}

.contact-form button {

    border: none;
    cursor: pointer;

}


/* ========================================
   CONTACT FORM FIELDS
======================================== */

.contact-form input:not([type="hidden"]),
.contact-form select,
.contact-form textarea {

    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 6px;
    font-family: 'Aleo', serif;
    font-size: 16px;

}


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

.site-footer {

    background: #081a2d;
    color: #ffffff;
    padding-top: 80px;

}


.footer-container {

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 60px;

}


.footer-column h3,
.footer-column h4 {

    color: #ffffff;
    margin-bottom: 20px;

}


.footer-column p,
.footer-column li,
.footer-column a {

    color: rgba(255,255,255,0.8);
    line-height: 1.8;

}


.footer-column ul {

    list-style: none;

}


.footer-column a:hover {

    opacity: 0.8;

}


.footer-bottom {

    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;

}


.footer-bottom p {

    color: rgba(255,255,255,0.7);

}


/* ========================================
   UTILITIES
======================================== */

/* HIDDEN INPUTS */

.contact-form input[type="hidden"] {

    display: none;

}

/* HONEYPOT FIELD */

.honeypot-field {

    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;

}

/* BODY */

body {

    background: var(--white);
    color: var(--text);
    font-family: 'Aleo', serif;
    line-height: 1.6;

}

/* LINKS */

a {

    text-decoration: none;

}

/* BLOG CONTENT LINKS */

.blog-content a {

    text-decoration: underline;

    font-weight: 600;

}

.blog-content a:hover {

    opacity: .85;

}

/* CONTAINER */

.container {

    width: 90%;
    max-width: 1200px;
    margin: auto;

}

/* COLORED BADGES */

.status-new {
    color: blue;
}

.status-won {
    color: green;
}

.status-lost {
    color: red;
}

/* SUCCESS - ERROR MESSAGE */

.success-message {

    background: #d4edda;
    color: #155724;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;

}

.error-message {

    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;

}

/* BACK TO TOP */

#back-to-top {

    position: fixed;

    bottom: 30px;
    right: 30px;

    width: 50px;
    height: 50px;

    background: #104e90;
    color: #ffffff;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    font-size: 24px;

    z-index: 999;

    box-shadow: 0 5px 15px rgba(0,0,0,0.2);

}

#back-to-top:hover {

    opacity: .9;

}

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

@media(max-width: 991px) {

    .form-grid {

        grid-template-columns: 1fr;

    }

    .services-grid,
    .blog-grid {

        grid-template-columns: 1fr;

    }

    .header-cta .cta-button,
    .header-cta input[type="search"],
    .header-cta button {

        width: 100%;

        max-width: 500px;

    }

    .hero-content h1 {

        font-size: 40px;

    }

    .hero-buttons {

        flex-direction: column;

    }

    .header-container {

        flex-direction: column;
        gap: 20px;

    }


    .nav-menu {

        flex-direction: column;
        align-items: center;

    }

    .footer-container {

        grid-template-columns: 1fr;
        text-align: center;

    }

}
