/*
Theme Name: Onise Ona
Theme URI: https://yoursite.com/onise-ona
Author: Your Name
Author URI: https://yoursite.com
Description: A custom WordPress theme built from scratch.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: onise-ona
Tags: custom, full-width, responsive
*/




/*
Theme Name: Onise Ona
Theme URI: https://yoursite.com/onise-ona
Author: Your Name
Author URI: https://yoursite.com
Description: A custom WordPress theme built from scratch.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: onise-ona
Tags: custom, full-width, responsive
*/

/* =============================================
   CSS RESET & BASE
   ============================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* =============================================
   CSS VARIABLES — DESKTOP (default)
   ============================================= */
:root {

    /* --- Colors --- */
    --color-primary:       #080DB7;
    --color-primary-light: #ffffff;
    --color-primary-dark:  #060639;
    --color-secondary:     #E96227;
    --color-secondary-light: rgb(246, 245, 251);
    --color-text:          #1E1E1E;
    --color-text-muted:    #6b7280;
    --color-text-dark:     rgba(253, 253, 255, 1);
    --color-bg:            #ffffff;
    --color-border:        #e5e7eb;

    /* --- Font Families --- */
    --font-primary:   'Figtree', sans-serif;
    --font-secondary: 'Noto Sans', sans-serif;

    /* ---- PRIMARY text role ---- */
    --primary-font:         var(--font-primary);
    --primary-font-size:   clamp(70px, 5.5vw, 90px);
    --primary-font-weight:  700;
    --primary-line-height:  1.2;
    --primary-letter-spacing: -0.02em;

    /* ---- SECONDARY text role ---- */
    --secondary-font:           var(--font-secondary);
    --secondary-font-size:      clamp(30px, 3.7vw, 40px);
    --secondary-font-weight:    700;
    --secondary-line-height:    1.2;
    --secondary-letter-spacing: auto;

    /* ---- SUBTEXT role (between secondary and text) ---- */
    --subtext-font:         var(--font-secondary);
    --subtext-font-size:    clamp(25px, 2.4vw, 30px);
    --subtext-font-weight:  400;
    --subtext-line-height:  1.6;
    --subtext-letter-spacing: 0;

    /* ---- TEXT (body copy) role ---- */
    --text-font:         var(--font-secondary);
    --text-font-size:    15px;
    --text-font-weight:  300;
    --text-line-height:  1.7;
    --text-letter-spacing: 0.7;

    /* ---- ACCENT text role ---- */
    --accent-font:         var(--font-primary);
    --accent-font-size:    16px;
    --accent-font-weight:  600;
    --accent-line-height:  1.5;
    --accent-letter-spacing: 0;

    /* --- Spacing --- */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* --- Layout --- */
    --section-padding-x: 2.5%;
    --container-width:   1200px;

    /* --- Transitions --- */
    --transition: 0.5s ease;
}

/* =============================================
   CSS VARIABLES — TABLET
   ============================================= */
@media (max-width: 1024px) {
    :root {
        /* primary */
        --primary-font-size-tablet:    clamp(50px, 6vw, 70px);

        /* secondary */
        --secondary-font-size-tablet:  clamp(35px, 4vw, 40px);

        /* subtext */
        --subtext-font-size-tablet:    clamp(20px, 3vw, 30px);

        /* text */
        --text-font-size-tablet:       14px;

        /* accent */
        --accent-font-size-tablet:     15px;
    }
}

/* =============================================
   CSS VARIABLES — MOBILE
   ============================================= */
@media (max-width: 768px) {
    :root {
        /* primary */
        --primary-font-size-mobile:    clamp(40px, 10vw, 50px);

        /* secondary */
        --secondary-font-size-mobile:  clamp(25px, 7vw, 30px);

        /* subtext */
        --subtext-font-size-mobile:    clamp(18px, 4vw, 25px);

        /* text */
        --text-font-size-mobile:       13px;

        /* accent */
        --accent-font-size-mobile:     14px;
		--section-padding-x: 5%
    }
}

/* =============================================
   BASE STYLES
   ============================================= */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--text-font);
    font-size:   var(--text-font-size);
    font-weight: var(--text-font-weight);
    line-height: var(--text-line-height);
    color: var(--color-text);
    background-color: var(--color-primary-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-primary);
}

/* =============================================
   GLOBAL POSITIONING & LAYOUT
   All sections, divs, spans → position: relative
   Divs inside sections     → display: flex
   ============================================= */
section,
.container,
div,
span {
    position: relative;
}
body, html{
    overflow-x: hidden;
    min-width: 100vw;
}

/* Only divs that live inside a <section> are flex */
section div {
    display: flex;
}

section,
.section,
.container {
    padding-left:  var(--section-padding-x);
    padding-right: var(--section-padding-x);
}

/* =============================================
   Utility Clases
   ============================================= */

.text-primary {
    font-family:     var(--primary-font);
    font-size:       var(--primary-font-size);
    font-weight:     var(--primary-font-weight);
    line-height:     var(--primary-line-height);
    letter-spacing:  var(--primary-letter-spacing);
    
}

.text-secondary {
    font-family:     var(--secondary-font);
    font-size:       var(--secondary-font-size);
    font-weight:     var(--secondary-font-weight);
    line-height:     var(--secondary-line-height);
    letter-spacing:  var(--secondary-letter-spacing);
}

.subtext {
    font-family:     var(--subtext-font);
    font-size:       var(--subtext-font-size);
    font-weight:     var(--subtext-font-weight);
    line-height:     var(--subtext-line-height);
    letter-spacing:  var(--subtext-letter-spacing);
}
.subtxt{
    font-family:     var(--subtext-font);
    font-size:       var(--subtext-font-size);
    line-height:     var(--subtext-line-height);
    letter-spacing:  var(--subtext-letter-spacing);
    }

.text {
    font-family:     var(--text-font);
    font-size:       var(--text-font-size);
    font-weight:     var(--text-font-weight);
    line-height:     var(--text-line-height);
    letter-spacing:  var(--text-letter-spacing);
}
.text-small{
    font-family:     var(--text-font);
    font-size:       13px;
    line-height:     1.5;
    letter-spacing:  var(--text-letter-spacing);
}
.txt{
    font-family:     var(--text-font);
    font-size:       var(--text-font-size);
    line-height:     var(--text-line-height);
    letter-spacing:  var(--text-letter-spacing);
}
.txt-size{
    font-size: var(--text-font-size);
}
.accent-size{
    font-size: var(--accent-font-size);
}
.secondary-size{
    font-size: var(--secondary-font-size);
}
.primary-size{
    font-size: var(--primary-font-size);
} 



.accent{
    font-family: var(--accent-font);
    font-size: var(--accent-font-size);
    line-height: var(--accent-line-height);
    letter-spacing: var(--accent-letter-spacing);
}
.ft-300{
    font-weight: 300;
}
.ft-400{
    font-weight: 400;
}
.ft-500{
    font-weight: 500;
}
.ft-600{
    font-weight: 600;
}
.ft-700{
    font-weight: 700;
}

.white-text{
    color: var(--color-primary-light);
}
.trans-text{
    color: rgba(186, 186, 186, 1);
}
.dark-text{
    color: var(--color-text-dark);
}
.text-accent {
    font-family:     var(--accent-font);
    font-size:       var(--accent-font-size);
    font-weight:     var(--accent-font-weight);
    line-height:     var(--accent-line-height);
    letter-spacing:  var(--accent-letter-spacing);
}

.dark-pri{
    background-color: var(--color-primary-dark);
}
.pri{
    background-color: var(--color-primary);
}
.light-sec{
    background-color: var(--color-secondary-light);
}
.light-pri{
    background-color: var(--color-primary-light);
}
.txt-color{
    color: var(--color-text);
}
.txt-pri{
    color: var(--color-primary);
}
.gap-20{
    gap: 20px;
}
.gap-30{
    gap: 30px;
}
.gap-40{
    gap: 40px;
}
.gap-10{
    gap: 10px;
}

.full-height{
    height: 100vh;
}

.full-width{
    width: 100%;
}

.sec-box{
    max-width: 80rem;
    width: 100%;
    align-self: center;
}
.grad-bg{
    background-size: 100% 100%;
    background-position: 0px 0px;
    background-image: linear-gradient(90deg, #040651 10%, #080DB7 90%);

}
.txt-grad{
    background: linear-gradient(90deg, rgba(0, 78, 162, 1) 10%, rgba(18, 123, 236, 1) 90%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
.flex-column{
    display: flex;
    flex-direction: column;
}
.flex-row{
     display: flex;
    flex-direction: row;
}

.no-wrap{
    flex-wrap: nowrap;
}
.bg{
    position: absolute;
}
.bg-img{
    min-width: 100vw;
    position: absolute;
   height: 100%;
    object-fit: cover;
}
.btn{
    padding: 20px 20px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    border-radius: 10px;
    }
    
.mobile-responsive{
display: none;}
.desktop-responsive{
visibility: visible;}

.fixed{
    position: fixed;
}
.margin-auto{
    margin: auto;
}
.title-svg{
    width: 16px;
}

.half-width{
    width: 50%;
}

.radius-10{
    border-radius: 10px;
}
.radius-5{
    border-radius: 5px;
}
.space-between{
    justify-content: space-between;
}
/* =============================================
   RESPONSIVE TYPOGRAPHY — apply tablet vars
   ============================================= */
@media (max-width: 1024px) {
    .text-primary   { font-size: var(--primary-font-size-tablet); }
    .text-secondary { font-size: var(--secondary-font-size-tablet); }
    .subtext        { font-size: var(--subtext-font-size-tablet); }
    .text           { font-size: var(--text-font-size-tablet); }
    .text-small      { font-size: 12px; }
    .txt{
        font-size: var(--text-font-size-tablet);
    }
    .subtxt{
        font-size: var(--subtext-font-size-tablet);
    }
    .text-accent, .accent    { font-size: var(--accent-font-size-tablet); }
}

@media (max-width: 768px) {
    .text-primary   { font-size: var(--primary-font-size-mobile); }
    .text-secondary { font-size: var(--secondary-font-size-mobile); }
    .subtext        { font-size: var(--subtext-font-size-mobile); }
    .text           { font-size: var(--text-font-size-mobile); }
    .text-small      { font-size: 11px; }
    .txt{
        font-size: var(--text-font-size-mobile);
    }
    .subtxt{
        font-size: var(--subtext-font-size-mobile);
    }
    .text-accent, .accent    { font-size: var(--accent-font-size-mobile); }
.mobile-responsive{
    display: block;
}
.desktop-responsive{
    display: none;

}
.title-svg{
    width: 15px;
}
.half-width{
    width: 100%;
}
}
.fit-content{
    width: fit-content;
}
/* =============================================
   TYPOGRAPHY — HEADINGS
   h1 → mirrors primary vars
   h2 → mirrors secondary vars
   h3 → mirrors subtext vars
   h4 → one step down from h3
   h5 → smallest heading
   ============================================= */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-text);
}

h1 {
    font-family:    var(--primary-font);
    font-weight:    var(--primary-font-weight);
    font-size:      3em;
    line-height:    1.15;
    letter-spacing: -0.03em;
}

h2 {
    font-family:    var(--secondary-font);
    font-weight:    var(--secondary-font-weight);
    font-size:      2.25em;
    line-height:    1.2;
    letter-spacing: -0.02em;
}

h3 {
    font-family:    var(--subtext-font);
    font-weight:    600;
    font-size:      1.75em;
    line-height:    1.3;
    letter-spacing: -0.01em;
}

h4 {
    font-family:    var(--secondary-font);
    font-size:      25px;
    line-height:    1.4;
    letter-spacing: 0;
}

h5 {
    font-family:    var(--secondary-font);
    font-size:      19px;
    line-height:    1.5;
    letter-spacing: 0.01em;
}

/* Heading responsive */
@media (max-width: 1024px) {
    h1 { font-size: 2.5em; }
    h2 { font-size: 2em; }
    h3 { font-size: 1.5em; }
    h4 { font-size: 24px; }
    h5 { font-size: 18px; }
}

@media (max-width: 768px) {
    h1 { font-size: 2em; }
    h2 { font-size: 1.625em; }
    h3 { font-size: 1.25em; }
    h4 { font-size: 20px; }
    h5 { font-size: 17px; }
}

