/*
Theme Name: Grymatter
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: A custom WordPress theme for Grymatter
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: grymatter
*/
/* Custom CSS for Gry Matter */
/* Custom CSS for Gry Matter */
:root {
    --roboto-mono: "Roboto Mono", monospace;
    --roboto-condensed: "Roboto Condensed", sans-serif;
    --white: #FFFFFF;
    --black: #000000;
    --gray: #808080;
}

body {
    font-family: "Roboto Mono", monospace;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

/* Preloader */
.gm-preloader {
    position: fixed;
    inset: 0;
    background: #0b0e12;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.gm-preloader-inner {
    width: min(80vw, 520px);
    max-width: 92vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.gm-preloader-logo { filter: drop-shadow(0 2px 12px rgba(0,0,0,0.35)); }

.gm-preloader-track {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.08);
    overflow: hidden;
    border-radius: 999px;
}
.gm-preloader-bar {
    height: 100%;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    width: 0%;
    transition: width 120ms linear;
}
.gm-preloader-label {
    color: #fff;
    font-family: var(--roboto-condensed);
    font-size: 14px;
    text-align: center;
    margin-top: 8px;
    letter-spacing: 0.08em;
}

/* Prevent scrolling during preload */
.gm-preloading {
    overflow: hidden;
}

/* Fade-out helper */
.gm-preloader.gm-hide {
    opacity: 0;
    transition: opacity 240ms ease-out;
    pointer-events: none;
}

/* Restore native smooth scrolling */
html { scroll-behavior: smooth; }

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 700;
}

h2 {
    font-size: 3.125rem;
}

p {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.4;
}

p em {
    font-style: italic;
    font-weight: 500;
}

@media (max-width:767px) {
    h2 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }
}



.section {
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    min-height: 300px;
    /* Parallax performance hint */
    will-change: background-position;
    /* overflow: hidden; */
}

/* Lazy background blur-up */
.lazy-bg { position: relative; }

/* (cleaned) old reveal-* utilities removed; using ani-* now */

/* Removed custom ani-* animations; using AOS only */

/* Gentle, native scroll snap for a smoother feel without JS */
body {
    scroll-snap-type: y proximity;
}
main{
    overflow: hidden;
}
.section {
    scroll-snap-align: start;
}
.section-1{
    background-color: #0B1235;
}
.section-2{
    background-color: #CACACA;
}
.section-3{
    background-color: #7C8185;
}
.section-4{
    background-color: #97918B;
}
.section-5{
    background-color: #B4CCAC;
}
.section-6{
    background-color: #625C5C;
}
.section-7{
    background-color: #9395A3;
}
.section-8{
    background-color: #A3A19D;
}
.section-9{
    background-color: #CFB88C;
}
.section-10{
    background-color: #77908B;
}
.section-11{
    background-color: #76A8C9;
}
.section-12{
    background-color: #DFDFCA;
}


@media (min-width:768px) {
    .section {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    z-index: 10;
}

.hero-section p {
    color: var(--white);
    font-family: var(--roboto-mono);
    margin: 0;
    padding: 0;
}

.hero-section p a {
    color: var(--white);
    text-decoration: none;
}

.hero-section p a:hover {
    opacity: 0.8;
}

.hero-section .scroll-down-button {
    position: absolute;
    bottom: 56px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

/* Section 2 */
.section-2 p {
    margin: 0;
    padding: 0;
}

.section-2 h2 {
    margin: 0;
    padding: 0;
}

.section-2 .container-fluid {
    padding-top: 13rem;
}

@media (max-width: 1300px) {
    .section-2 p br {
        display: none;
    }
}

@media (max-width:767px) {
    .section-2 .container-fluid {
        padding-top: 0;
    }
    .section-2 .left-content{
        padding-top: 10rem;
    }
}

/* Section 3 */
.section-3 {
    background-position: center top;
}

.section-3 p {
    margin: 0 0 1.5rem 0;
}

.section-3 .left-content {
    padding-top: 11rem;
}

.section-3 .right-content {
    padding-top: 7rem;
}

.section-3 .quote p {
    font-size: 1.25rem;
    font-weight: 400;
}

@media (max-width:767px) {
    .section-3 .left-content {
        padding-top: 5rem;
    }

    .section-3 .right-content {
        padding-top: 0;
    }
}

/* Section 4 */
.section-4 {
    background-position: center top;
}

.section-4 .info-content {
    padding-top: 15rem;
}

.section-4 .info-content .info {
    padding-right: 7rem;
}

.section-4 .title-content {
    padding-bottom: 7rem;
}

.section-4 .title-content h2 {
    padding-right: 4rem;
}

@media (max-width:767px) {
    .section-4 .info-content {
        padding-top: 5rem;
    }

    .section-4 .title-content {
        padding-bottom: 5rem;
    }

    .section-4 .info-content .info {
        padding-right: 0;
    }

    .section-4 .title-content h2 {
        padding-right: 0;
    }

    .section-4 .title-content {
        padding-top: 0;
    }
}


/* Section 5 */
.section-5 {
    background-position: center top;
}

.section-5 .title-content {
    padding-top: 5rem;
}

@media (max-width:767px) {
    .section-5 .title-content {
        padding-top: 0;
    }
}

/* Section 6 */
.section-6 {
    background-position: center top;
}

.section-6 .title-content {
    padding-bottom: 10rem;
}

@media (max-width:767px) {
    .section-6 .title-content {
        padding-bottom: 5rem;
    }
}

/* Section 7 */
.section-7 .title-content {
    padding-top: 6rem;
}

@media (max-width:767px) {
    .section-7 .title-content {
        padding-top: 3rem;
    }
}

/* Section 8 */
.section-8 .title-content {
    padding-top: 6rem;
}

@media (max-width:767px) {
    .section-8 .title-content {
        padding-top: 5rem;
    }
}

/* Section 9 */
.section-9 .title-content {
    padding-bottom: 6rem;
}

@media (max-width:767px) {
    .section-9 .title-content {
        padding-bottom: 5rem;
    }
}

/* Section 10 */
.section-10 .title-content {
    padding-top: 10rem;
}

@media (max-width:767px) {
    .section-10 .title-content {
        padding-top: 5rem;
    }

    .section-10 .title-content h2 {
        font-size: 1.5rem;
    }
}

/* Section 11 */

@media (max-width:767px) {
    .section-11 .title-content h2 {
        font-size: 1.5rem;
    }
}

/* Section 12 */
.section-12 .btn-get-in-touch,
.section-12 .thank-you-container{
    width: 30rem;
    padding: 4rem 1rem; 
    color: var(--white);
    border: 0;
    position: relative;
    transition: all 0.3s ease-in-out;
    font-size: 3.125rem;
    font-family: var(--roboto-condensed);
    font-weight: 700;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.04);
    text-transform: uppercase;
    line-height: 1;
    text-align: center;
}
.section-12 .btn-get-in-touch span,
.section-12 .thank-you-container span{
    position: relative;
    z-index: 5;
}
.section-12 .btn-get-in-touch::after,
.section-12 .thank-you-container::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: #050505;
    mix-blend-mode: plus-lighter;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease-in-out;
}

.section-12 .btn-get-in-touch:hover{
    background: rgba(0, 0, 0, 0.50);
}
.section-12 .btn-get-in-touch:hover:after{
    content: "";
    backdrop-filter: blur(20px);
}

.section-12 .contact-form {
    max-width: 59.375rem;
    padding: 3rem;
    position: relative;
}
.section-12 .contact-form::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: #050505;
    mix-blend-mode: plus-lighter;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}
.section-12 .contact-form .contact-form-inner{
    position: relative;
    z-index: 2;
}

.section-12 .contact-form .form-control {
    font-family: var(--roboto-mono);
    font-weight: 400;
    background: #FFF;
    border: 1px solid #050505;
    border-radius: 0;
    padding: 1rem;
    font-size: 1.125rem;
    background-color: transparent;
}
.section-12 .contact-form .form-control::placeholder{
    color: var(--black);
}

.section-12 .contact-form .btn-submit-form{
    width: 10.1875rem;
    height: 2.75rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background-color: #D6E5D7;
    font-size: 1.125rem;
    font-weight: 400;
    font-family: var(--roboto-condensed);
    letter-spacing: 0.28125rem;
    text-transform: uppercase;
    line-height: 1;
    transition: all 0.3s ease-in-out;
    margin-top: 2rem;
}
.section-12 .contact-form .btn-submit-form:hover{
    background-color:var(--black);
    color: var(--white);
}


@media (max-width:767px) {
    .section-12 .btn-get-in-touch, .section-12 .thank-you-container{
        width: 90%;
        font-size: 2rem;
        padding: 2rem 1rem;
    }
    .section-12 .contact-form{
        padding: 1rem;
    }
    .section-12 .contact-form .btn-submit-form{
        margin-top: 0;
    }
}



/* Footer */
footer {
    background-color: var(--white);
    color: var(--black);
    padding: 10px 36px;
    text-align: center;
    z-index: 1;
    position: relative;
}

footer .footer-logo {
    position: fixed;
    left: 40px;
    bottom: 56px;
}

footer ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer ul li {
    margin: 0 10px;
    font-size: 14px;
    font-weight: 300;
    font-family: var(--roboto-mono);
    color: var(--black);
}

footer ul li a {
    color: var(--black);
    text-decoration: none;
    font-size: 14px;
    font-weight: 300;
    font-family: var(--roboto-mono);
}

footer ul li a:hover {
    color: var(--gray);
    text-decoration: none;
}
@media (max-width:767px) {
    footer ul{
        gap: .5rem;
        flex-direction: column-reverse;
    }
    footer .footer-logo{
        display: none;
    }
}

@media screen and (max-height: 480px) and (orientation: landscape) {
    .section-12 {
        height: auto;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    h2 {
        font-size: 1.5rem;
    }
}

/*404*/
.error404{
    text-align: center;
}