/*
Theme Name: Trionyx Core
Author: Trionyx
Version: 1.0
*/


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

:root {

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

}


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

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


/* ========================================
   SMOOTH SCROLL
======================================== */

html {

    scroll-behavior: smooth;

}


/* ========================================
   BODY
======================================== */

body {

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

}


/* ========================================
   FONT USAGE
======================================== */

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);

}


/* ========================================
   LINKS
======================================== */

a {

    text-decoration: none;

}


/* ========================================
   CONTAINER
======================================== */

.container {

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

}


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

.site-header {

    background: #0f2741;
    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;

}


.nav-menu {

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

}


.nav-menu li a {

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

}


.nav-menu li a:hover {

    opacity: 0.8;

}


.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;

}


/* ========================================
   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: 56px;
    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;

}


/* ========================================
   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;

}


/* ========================================
   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;

}


/* ========================================
   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(3, 1fr);
    gap: 30px;

}


.blog-card {

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

}


.blog-card h3 {

    margin-bottom: 20px;

}


/* ========================================
   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 input,
.contact-form select,
.contact-form textarea {

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

}


.contact-form textarea {

    resize: vertical;
    margin-bottom: 20px;

}


.contact-form button {

    border: none;
    cursor: pointer;

}


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

@media(max-width: 991px) {

    .form-grid {

        grid-template-columns: 1fr;

    }

}


/* ========================================
   MOBILE
======================================== */

@media(max-width: 991px) {

    .services-grid,
    .blog-grid {

        grid-template-columns: 1fr;

    }


    .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
======================================== */

.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);

}


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

@media(max-width: 991px) {

    .footer-container {

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

    }

}
