/*
 Theme Name:   Astra Child
 Theme URI:    https://wpastra.com/
 Description: Astra child theme
 Author:      C Monsegur
 Author URI:  https://aureliadesign.nl/
 Template:    astra
 Version:     1.0.0
*/
:root{
--brand: #000000;
--alternate: #C4F2EA;
--text: #F5F5F5;
--subtleback: #ECECEC;
--supporting: #7BF2DE;
}
@media (min-width: 921px) {
  .ast-theme-transparent-header #masthead,
    .site-header{
    position: fixed;
    background-color: var(--brand);
        width: 100vw;
  }
}
.site .site-content #primary{
    margin: 32px 0;
}
/* complementary typo styles */
p.eyebrow{
    font-weight: 600;
    margin: 0;
}
/* hides and moves logo up */
.go-away {
  animation: Disappear 1s ease-in forwards;
  animation-delay: 3s;
    height: 300px;
    overflow: hidden;
}

/* Keyframes to move up and fade out */
@keyframes Disappear {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-50px); /* adjust as needed */
    opacity: 0;
        height:80px;
  }
}

.logo-intro
{
    text-align: center;
    animation: FadeInIso 3s ease-in;
    opacity: 1;
    padding: 4em 0;
    background: url('wp-content/uploads/Linear180.png') no-repeat center center;
    background-size: 10px;
}
@keyframes FadeInIso{
     0% {
    opacity: 0;
         background-size: 300px;
  }
    80% {
    opacity: 1;
         background-size: 600px;
  }
  100% {
    opacity: 1;
         background-size: 200px;
  }
}
/* light flies from bottom-left to middle-right */
.aurelia-intro {
  position: relative;
  overflow: hidden;
}

.aurelia-intro::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1060px;
  height: 188px;
  background: url('/wp-content/uploads/back-flash-with-lines-up.png') no-repeat center center;
  background-size: contain;
  animation: flyAndFadeIn 2s ease-out forwards;
  animation-delay: 4s; /* delay before animation starts */
  z-index: -1;
  opacity: 0;
}

/* Keyframes to fly in from bottom-left to middle-right */
@keyframes flyAndFadeIn {
  0% {
    transform: translate(-100%, 100%);
    opacity: 0;
  }
  60% {
    transform: translate(50vw, -50%);
    opacity: 0.8;
  }
  100% {
    transform: translate(50vw, -50%);
    opacity: 0;
  }
}
.hero-paragraph {
  animation: Appear 1s ease-in forwards;
  animation-delay: 3s;
    height: 282px;
    overflow: hidden;
    opacity:0;
}

/* Keyframes to move up and fade out */
@keyframes Appear {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  100% {
    transform: translateY(-50px); /* adjust as needed */
    opacity: 1;
  }
}
/* home sections */
.aurelia-section{
    margin-bottom: 4em;
}
.aurelia-section h3{
    margin-bottom: 2em;
}
.aurelia-section .wp-block-gallery .wp-block-image{
}
/* home cards and icons */
.aurelia-card{
    padding: 1em;
}
.aurelia-card-large{
    border: 1px solid #C4F2EA;
}
.aurelia-card-inner{
    padding: 0 1em 2em;
}
.aurelia-card-inner .wp-block-button{
    margin-top: 2em;
}
.wp-block-button:hover{
box-shadow: 0 0 8px #7BF2DE;
}

.aurelia-card h3{
    color: #C4F2EA;
}
.aurelia-card:hover{
    box-shadow: 0 0 6px #C4F2EA;
    cursor: pointer;
    background-color: var(--brand);
}
.icon-design,
.icon-clean-sailing,
.icon-contractor{
    width: 100%;
  height: 64px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
  position: relative;
}
.icon-design{
     background-image: url('/wp-content/uploads/aurelia-design.svg');
}
.aurelia-card:hover .icon-design{
     background-image: url('/wp-content/uploads/aurelia-design.svg');
}
.icon-clean-sailing{
     background-image: url('/wp-content/uploads/aurelia-clean-sailing.svg');
}
.aurelia-card:hover .icon-clean-sailing{
     background-image: url('/wp-content/uploads/aurelia-clean-sailing.svg');
}
.icon-contractor{
     background-image: url('/wp-content/uploads/aurelia-green-tech.svg');
}
.aurelia-card:hover .icon-contractor{
     background-image: url('/wp-content/uploads/aurelia-green-tech.svg');
}
/* light flashes and lines */
.right-star-flash,
.lines-top-to-bottom{
    position: absolute;
}
.leftaligned{
    left: 6vw;
    margin-top: -50px;
    z-index: 9;
}
.rightaligned {
    right: 6vw;
    margin-top: 0;
    z-index: 9;
}
/* certificates */
.certificate-card a{
color: var(--brand) !important;
}
/* post customization */
/* query group */
.ast-single-post .entry-content a{
    font-weight: 600;
    text-decoration: none;
    color: #fafafa;
}
/* News & Green Tech */
.category-news .ast-post-format-,
.category-green-tech .ast-post-format-{
    max-width: 740px;
    margin-left: auto;
    margin-right: auto;
}

.category-news.single,
.category-green-tech.single{
    background-color: var(--text);
}

li.category-news,
li.category-green-tech{
    background-color: var(--brand);
}

.category-news header.entry-header .entry-title,
.category-news blockquote,
.category-news,
.category-news .entry-content h1,
.category-news .entry-content h2,
.category-news .nav-links a,
.category-news .nav-links a:hover,
.category-green-tech header.entry-header .entry-title,
.category-green-tech blockquote,
.category-green-tech,
.category-green-tech .entry-content h1,
.category-green-tech .entry-content h2,
.category-green-tech .nav-links a,
.category-green-tech .nav-links a:hover{
    color: var(--brand);
}

.category-news .entry-header h1,
.category-green-tech .entry-header h1{
    font-size: 1.6em;
    text-align: left;
}

.category-news .entry-content h1,
.category-green-tech .entry-content h1{
    font-size: 1.6em;
}

.category-news .entry-content h2,
.category-green-tech .entry-content h2{
    font-size: 1.2em;
}

.category-news.ast-single-post .entry-content a,
.category-green-tech.ast-single-post .entry-content a{
    color: var(--brand);
    font-weight: 800;
}

.category-news.single .entry-header,
.category-green-tech.single .entry-header{
    margin-top: 6em;
}

.category-news.single h1,
.category-news.single h2,
.category-news.single h3,
.category-news.single h4,
.category-green-tech.single h1,
.category-green-tech.single h2,
.category-green-tech.single h3,
.category-green-tech.single h4{
    color: var(--brand);
}

.aurelia-page-subtitle p{
    font-weight: 600;
    text-align: center;
    text-shadow: 2px 2px 12px var(--brand);
}
/* pages */
.category-project.single .entry-header,
.category-project.single .entry-header h1,
.page .entry-header,
.page .entry-header h1{
    margin: 0;
    font-weight: 800;
    text-shadow: 2px 2px 16px var(--brand);
}
.subtitle-container {
  position: relative; /* required for absolute children */
}

.subtitle-container:before {
  content: "";
  position: absolute;
  top: -140px;
  left: 40px;
  width: 360px;   /* control size */
  height: 260px;
  background: url('/wp-content/uploads/lines-for-project-title.png') no-repeat center/contain;
}

.subtitle-container:after {
  content: "";
  position: absolute;
  top: -140px;
  right: 40px;
  width: 360px;
  height: 260px;
  background: url('/wp-content/uploads/lines-for-project-title.png') no-repeat center/contain;
}


.ast-separate-container .ast-article-single:not(.ast-related-post) .entry-header,
.ast-separate-container .ast-article-single:not(.ast-related-post) .entry-title{
    margin-bottom: 0;
}
.site .site-content #primary .ast-article-single{
    margin-top:0;
}
/* custom subtitle for posts and pages */
.aurelia-post-subtitle,
.aurelia-page-subtitle{
    margin-bottom: 2em;
    text-align: center;
}
/* subscribe section */
.aurelia-subscribe h2{
    margin: 0;
}
/* featured image */
.ast-single-post-featured-section.post-thumb.ast-article-image-container--full img{
    max-height: 340px;
    opacity: 0.7;
  z-index: -1;
    margin-bottom: -100px;
}
/* gradient for featured images */
.ast-single-post-featured-section.post-thumb.ast-article-image-container--full {
    position: relative;
    overflow: hidden;
}

.ast-single-post-featured-section.post-thumb.ast-article-image-container--full::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 1) 0%,          /* 100% opacity at bottom */
        rgba(0, 0, 0, 0.2) 40%,         /* stays at 100% until 40% height */
        rgba(0, 0, 0, 0.2) 50%,       /* fades to 40% by 50% height */
        rgba(0, 0, 0, 0) 100%         /* fully transparent at top */
    );
}
/* galleries */
.single .wp-block-gallery img{
    border: 1px solid #C4F2EA;
}
.single .wp-block-gallery{
    margin: 4em 0;
}
/* Table */
.single .projects-table table th{
    color: #C4F2EA;
    font-weight: 800;
    letter-spacing: 1px;
    text-align: left;
}
.single .projects-table table tr{
        font-weight: 600;
    letter-spacing: 1px;
    border-bottom: 1px solid #FFFFFF80  !important; text-transform: uppercase;

}
.single .projects-table table{
max-width: 90%;
}
.aurelia-timeline td:nth-of-type(even){
    width: 80px;
    padding: 8px 16px;
}
.aurelia-timeline td{
    vertical-align: top;
}

/* contact form */
.aurelia-contact-form .wpcf7-form {
    padding: 1em 2em;
    border: 1px solid var(--alternate);
    border-radius: 8px;
}
.aurelia-contact-form label{
    color: var(--text);
}
.aurelia-contact-form .wpcf7-form textarea,
.aurelia-contact-form .wpcf7 input.wpcf7-form-control:not([type="submit"]){
    background: var(--brand);
    color: var(--alternate);
    border-color: var(--subtleback);
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output{
    border-color: var(--alternate);
}
.wpcf7 textarea.wpcf7-form-control:focus{
    color: var(--text);
    border-color: var(--alternate);
}
/* mailchimp */
.mc_success_msg{
    color: var(--alternate);
    text-align: center;
}
.mc_message_wrapper{
    text-align: center;
}
.mc_var_label, .mc_header, .mc_header_email{
    color: var(--text);
    padding-left:4px;
}
/* profile cards */
.profile-card {
  position: relative;
  height: 520px;
  overflow: hidden;
  cursor: pointer;
}

.profile-cover,
.profile-quote {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.profile-cover {
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease, opacity 0.3s ease;
  z-index: 1;
}

.profile-cover p,
.profile-cover figcaption {
  margin: 0px;
}

.profile-quote {
  background: var(--brand);
  padding: 24px 8px;
  box-sizing: border-box;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.6s ease;
  z-index: 2;
}

/* Hover effect: fade cover */
.profile-card:hover .profile-cover {
  opacity: 0.8;
}

/* Click effect: reveal quote */
.profile-card.active .profile-cover {
  transform: translateY(-100%);
}

.profile-card.active .profile-quote {
  transform: translateY(0);
}

/* cookie banner */
#gdpr-cookie-consent-show-again{right: 80px!important; bottom: -5px!important;}
@media (max-width: 768px) {
  .subtitle-container:before,
  .subtitle-container:after,
    .lines-top-to-bottom{
    display: none;
    content: none; /* also remove generated content */
  }
}
@media (max-width: 596px) {
    .hide-on-mobile{
        display: none!important;
    content: none; /* also remove generated content */
    }
}
