/*
Theme Name: Astra Child
Author: 
Description: Astra Child theme for PA &amp; Co
Version: 1.0
Template: astra

This is the child theme for Astra theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/
@font-face {
    font-family: 'PreTesto';           /* Give it any name you want */
    src: url('pretesto/font/PreTesto.woff2') format('woff2'),
         url('pretesto/font/PreTesto.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;   /* Prevents invisible text while font loads */
}

body p{
    margin-bottom: 10px;
}

body,
body .site, 
.site-footer,
.site-above-footer-wrap[data-section="section-above-footer-builder"],
.site-primary-footer-wrap[data-section="section-primary-footer-builder"],
.site-below-footer-wrap[data-section="section-below-footer-builder"],
.ast-primary-header-bar{
    font-family: 'PreTesto', sans-serif !important;
    background-color: #010101 !important;
    border: 0px !important;
}

.ast-custom-button-link{
    font-family: 'PreTesto', sans-serif !important;
}


.hamburger_menu{
    position: relative;
    border: none;
    min-height: 50px;
    width: 60px;
    transition: 0.3s;
    z-index: 1000;
}

.hamburger_menu:focus,
.hamburger_menu:hover{
    background-color: transparent !important;
}

.hamburger_menu:hover:before{
    bottom: 24px;
}

.hamburger_menu:hover:after{
    top: 24px;
}

.hamburger_menu:after,
.hamburger_menu:before{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #f5f5f5;
    transition: top .3s cubic-bezier(.76, 0, .24, 1) .5s, bottom .3s cubic-bezier(.76, 0, .24, 1) .5s, transform .5s cubic-bezier(.76, 0, .24, 1);
}

.hamburger_menu:before{
    bottom: 13.33px;
}

.hamburger_menu:after {
    top: 13.3333333333px;
}

.hamburger_menu.is-active:before{
    bottom: 24px;
    transform: rotate(-45deg);
}

.hamburger_menu.is-active:after{
    top: 24px;
    transform: rotate(45deg);
}

.flexible-content-wrapper{
    width: 100%;
}

.sticky{
    position: sticky;
    top: 0;
    min-height: 100vh;
}

.site-footer a{
    color: #f5f5f5;
}

.site-footer .site-footer-section-1 img{
    width: 100%;
}

.site-footer .site-above-footer-wrap .site-above-footer-inner-wrap{
    padding-top: 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid #f5f5f5;
}

.site-footer .site-primary-footer-wrap .ast-builder-html-element {
    display: flex;
    flex-direction: column;
    gap: 90px;
    align-items: flex-start;
    justify-content: space-evenly;
    height: 100%;
}

.site-footer .site-primary-footer-wrap{
    padding-top: 20px;
    padding-bottom: 20px;
}

.site-footer .site-primary-footer-wrap .ast-builder-html-element{
    text-align: left;
    color: #f5f5f5;
    text-transform: uppercase;
}

.footer-button-wrapper{
    display: flex;
    gap: 10px;
    align-items: center;
}

.footer-bottom-info{
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.ast-builder-footer-grid-columns .site-footer-primary-section-2 .ast-builder-html-element{
        align-items: flex-end;
}

.ast-footer-copyright p{
    color: #f5f5f5;
    text-transform: uppercase;
}

footer#colophon {
    position: sticky;
    width: 100%;
    bottom: 0;
    height: 100lvh;
    z-index: 0;
    overflow: hidden;
    will-change: visibility;
}

#page .site-content {
    z-index: 1;
}

/* ── Hero Section ────────────────────────────────────────── */

.hero-section {
    width: 100%;
    line-height: 0;
    text-align: center;
}

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


/* ── Content 1 Column Section ────────────────────────────────────────── */

/* Hidden on load; clip-path driven frame-by-frame by JS scroll handler */
.content-1-col.none .content-1-col__body {
    clip-path: inset(0 0 100% 0);
    transition: none;
}

/* Stack all paragraphs in the same cell; JS switches which one is visible */
.content-1-col.fade-in .content-1-col__description {
    display: grid;
}

.content-1-col.fade-in .content-1-col__description p {
    grid-area: 1 / 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.content-1-col .content-1-col__inner{
    width: 100%;
    margin: auto;
    text-align: center;
}

.content-1-col .content-1-col__title{
    font-weight: 400;
    font-size: 100px;
    color: #f5f5f5;
    line-height: 1em;
}

.content-1-col .title-divider{
    max-width: 840px;
    margin: auto;
}

.content-1-col .content-1-col__description{
    padding: 20px 0px;
}

.content-1-col .content-1-col__description p{
    color: #f5f5f5;
    font-size: 26px;
    font-weight: 300;
}

.content-1-col .content-1-col__buttons{
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.content-1-col .content-1-col__buttons .content-1-col__btn{
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 30px;
    padding-right: 30px;
    color: #f5f5f5;
    border: 1px solid #f5f5f5;
    border-radius: 40px;
    font-size: 1.125rem;
}

/* ── Nav Overlay ─────────────────────────────────────────── */

.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 9;
    background-color: #010101;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.6s cubic-bezier(.76, 0, .24, 1);
    pointer-events: none;
}

.nav-overlay.is-open {
    clip-path: inset(0 0 0% 0);
    pointer-events: all;
}

.nav-overlay__menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.nav-overlay__menu li {
    opacity: 0;
    transform: translateY(-16px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.nav-overlay.is-open .nav-overlay__menu li {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.45s;
}

.nav-overlay__menu a {
    font-family: 'PreTesto', sans-serif;
    color: #f5f5f5;
    font-size: 3rem;
    text-decoration: none;
    letter-spacing: 0.05em;
}

.nav-overlay__menu a:hover {
    opacity: 0.6;
}