/*
Theme Name: AYON
Author: HighPoint Experience
Author URI: https://highpointxp.com
Version: 1.0
Template: twentytwentyfive
*/

/* Global */

body {overflow-x: hidden;}
.overflow-visible {overflow: visible;}
html {scroll-behavior: smooth;}
body.page-template-default:not(.home) {
    background-image: url(/wp-content/uploads/2025/07/ayon_bg_light.jpg);
    background-repeat: no-repeat;
    background-size: 100%;
}
body:not(.home).page-template-default nav .wp-block-button a {
    color: var(--wp--preset--color--quarternary);
    border-color: var(--wp--preset--color--quarternary);
}

/* Text */

.heading_gradient {
    background: linear-gradient(to top, #85BFE8, #B3E0FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* For Firefox */
    background-clip: text;
    color: transparent; 
}
.heading_gradient_right {
    background: linear-gradient(to right, #85BFE8, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* For Firefox */
    background-clip: text;
    color: transparent;    
}
.heading_gradient_left {
    background: linear-gradient(to left, #85BFE8, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* For Firefox */
    background-clip: text;
    color: transparent; 
}
.heading_gradient_right,
.heading_gradient_left {letter-spacing: 2px;}

/* Header */

.ayon_header {
    position: absolute;
    width: 100%;
    z-index: 1;
}
body.home .ayon_header .wp-block-button__link {
    color: #fff !important;
    border-color: #fff !important;
}

/* Footer */

footer {margin-block-start: 0;}

/* Front */

.ayon_main {margin-top: -4rem !important;}
.button_horizontal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0;
  position: relative;
}
.button_horizontal::before,
.button_horizontal::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: white;
}

/* Layers */

.ayon_layer_wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1500 / 853;
    overflow: hidden;
    display: none;
}
.ayon_layer {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: contain;
    z-index: 0;
    margin: 0;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.ayon_layer_1,
.ayon_layer_2,
.ayon_layer_3,
.ayon_layer_4,
.ayon_layer_5,
.ayon_layer_6,
.ayon_layer_7 {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.ayon_fade_in {animation: fadeIn 1s ease-in-out forwards;}
.ayon_layers_mobile ul {
    list-style: none;
    padding-left: 0;
}
.ayon_layers_mobile ul li {
    position: relative;
    padding-left: 30px; 
}
.ayon_layers_mobile ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.15rem; 
    width: 20px;
    height: 20px;
    background-image: url('/wp-content/uploads/2025/07/ayon_circle.png');
    background-size: contain;
    background-repeat: no-repeat;
}

/* Form */
.gform-theme--foundation .gform_fields,
.gform-theme--foundation .gform-grid-row {row-gap: 1rem;}
#gform_submit_button_1 {padding: 0.5rem 4rem;}

@media screen and (min-width: 599px) {

    .ayon_layers_mobile {display: none;}
    .ayon_layer_wrapper,
    .ayon_layer_1,
    .ayon_layer_2,
    .ayon_layer_3,
    .ayon_layer_4,
    .ayon_layer_5,
    .ayon_layer_6,
    .ayon_layer_7 {display: block;}

} /**/

/* Mobile & Tablet Only */

@media screen and (max-width: 1023px) { 

    .header_wrapper,
    .header_menu_wrapper,
    .footer_menu_wrapper,
    .footer_menu {
        flex-direction: column;
        align-items: center;
    }
    .footer_credits,
    .footer_credits p {display: inline !important;}
    .footer_credits {padding-top: 4rem;}

    .hero_text_wrapper {
        text-align: center;
        padding-top: 6rem;
    }

    .wp-block-social-links {justify-content: center;}

	.ayon_bg img.wp-block-cover__image-background {display:none;}
	
	.ayon_quarter_column_wrapper {padding-bottom: 0 !important;}

    #gform_submit_button_1 {margin: 0 auto !important;}
	
} /**/

/* Desktop */

@media screen and (min-width: 1024px) {

    .ayon_quarter {position: relative;}
    .ayon_quarter img {
        position: absolute;
        width: 750px;
        height: auto;
        max-width: max-content;
        left: -10rem;
        top: -25rem;
        z-index: 99;
    }
   

} /**/

@media screen and (min-width: 1024px) and (min-height: 1080px) {

    body.page-id-321 footer {
        position: fixed;
        bottom: 0;
        width: 100%;
    }

} /**/