/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/
/* Red */
.red{
	color: #f71e27 !important;
}
/* Links */
a{
	text-decoration: none !important;
}
/* BASE ITEM */
.project_item {
  position: relative;
  height: 520px;
  background: #eaeaea;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.4s ease;
}

/* IMAGE */
.project_image {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
  z-index: 1;
  transition: transform 0.5s ease;
}

/* 🔥 BLACK OVERLAY (THIS REPLACES GRAYSCALE) */
.project_overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4); /* 80% black */
  transition: 0.4s ease;
  z-index: 2;
}

/* TEXT */
.project_content {
  position: absolute;
  top: 50px;
  left: 50px;
  z-index: 3;
}

.project_title {
/*   font-size: 56px;
  font-weight: 900;
  color: #777; /* muted text initially */
/*   transition: 0.3s; */ 
	font-size: 60px !important;
    letter-spacing: -3px;
    margin-left: -3px;
    padding-top: 12px;
    transition: all .35s ease-in-out;
	font-family: 'Oswald', sans-serif;
	color: #141414;
	text-transform: uppercase;
	font-weight: bold;
	line-height: 1em;
}

.project_action {
  	font-size: 18px;
  	letter-spacing: 0px;
  	opacity: 0;
  	transform: translateY(10px);
  	transition: 0.3s;
  	font-family: 'Oswald', sans-serif;
	text-transform: uppercase;
	font-weight: bold;
}

/* ✨ HOVER = REVEAL COLOR */
.project_item:hover {
  background: var(--hover-color);
}

.project_item:hover .project_overlay {
  opacity: 0; /* remove black overlay */
}

.project_item:hover .project_title {
  color: #fff;
}

.project_item:hover .project_action {
  opacity: 1;
  transform: translateY(0);
}

.project_item:hover .project_image {
  transform: scale(1.05);
}

/* For Arrows */
.owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.owl-prev,
.owl-next {
  pointer-events: all;
  background: transparent !important;
  border: none;
  font-family: 'Oswald', sans-serif !important;
  font-weight: 300 !important;
  font-size: 16px !important;
  color: #fff;
  letter-spacing: 0.32em;
  padding: 10px 20px;
  cursor: pointer;
}

.owl-prev {
  margin-left: 20px;
}

.owl-next {
  	margin-right: 20px;
}

.owl-prev span{
	padding-left: 40px;
	background: url(https://allimagearchitects.com.au/wp-content/uploads/2026/05/prev-arrow.png) left 50% no-repeat;
	background-size: 1.3em 1em;
}

.owl-next span{
	padding-right: 40px;
	background: url(https://allimagearchitects.com.au/wp-content/uploads/2026/05/next-arrow.png) right 50% no-repeat;
	background-size: 1.3em 1em;
}

.project_modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity 0.3s ease;
}

/* ACTIVE STATE */
.project_modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* MODAL BOX */
.modal_inner {
  background: #fff;
  padding: 40px;
  width: 600px;
  max-width: 90%;
  margin: 100px auto;
  position: relative;
}

/* Year Wrap */
.year-wrap .year {
    display: inline-block;
    vertical-align: bottom;
    width: auto !important;
    text-align: left;
    text-transform: uppercase;
    font-size: 300px;
    margin: 0;
    line-height: 1;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    margin-right: 10px;
    background-image: url(https://allimagearchitects.com.au/wp-content/uploads/2026/05/25-year-bg.jpg);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}

/* Arrow after Boxes */
.boxes:before {
    content: "";
    position: absolute;
    background: url(https://allimagearchitects.com.au/wp-content/uploads/2026/05/Group-69-1.png);
    width: 50px;
    height: 100px;
    left: -59px;
    top: 0;
    margin: auto;
    bottom: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Hide first :before */
.boxes:first-of-type:before {
    display: none;
}

/* Red Border Corner */
.featured-proj::before {
    position: absolute;
    left: -50px;
    width: 250px;
    top: -50px;
    content: "";
    height: 250px;
    border-top: 1px solid rgb(255, 29, 38);
    border-left: 1px solid rgb(255, 29, 38);
}

.featured-proj::after {
    position: absolute;
    right: -50px;
    width: 250px;
    bottom: -50px;
    content: "";
    height: 250px;
    border-bottom: 1px solid rgb(255, 29, 38);
    border-right: 1px solid rgb(255, 29, 38);
}

/* =========================================
   FORCE HIDE ALL MODALS INITIALLY
========================================= */
/* .project_modal{
    position:fixed;
    inset:0;

    width:100%;
    height:100%;

    display:flex;
    align-items:flex-start;
    justify-content:flex-start;

    background:rgba(0,0,0,.75);

    z-index:99999;

    opacity:0;
    visibility:hidden;
    pointer-events:none;

    transition:all .35s ease;
} */
.project_modal{
    position:fixed;
    inset:0;
    width:100%;
    height:100vh;
/*     overflow-y:auto; */
    display:flex;
    align-items:flex-start;
    justify-content:flex-start;
    background:rgba(0,0,0,.75);
    z-index:99999;
    opacity:0;
    visibility:hidden;
    pointer-events:none;

    transition:opacity .35s ease;
}

/* ACTIVE MODAL */
.project_modal.active{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}


/* =========================================
   PREVENT BODY SCROLL
========================================= */
body.project-modal-open{
    overflow:hidden;
}


/* =========================================
   GRID WRAPPER
========================================= */
.projects_grid_wrapper{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:0;
    width:100%;
}


/* =========================================
   GRID ITEM
========================================= */
.project_grid_item{
    position:relative;
    min-height:600px;
    overflow:hidden;
    cursor:pointer;

    transition:
    background-color .45s ease,
    transform .45s ease;
}


/* =========================================
   IMAGE
========================================= */
.project_grid_image{
    position:absolute;

    top:0;
    right:0;
    bottom:0;
    left:0;

    background-size:contain;
    background-repeat:no-repeat;
    background-position:right bottom;

    z-index:1;

    transition:transform .45s ease;
}


/* =========================================
   OVERLAY
========================================= */
.project_grid_overlay{
    position:absolute;
    inset:0;

    z-index:2;

    transition:opacity .45s ease;
}


/* =========================================
   CONTENT
========================================= */
.project_grid_content{
    position:absolute;

    left:70px;
    top:75%;

    transform:translateY(-50%);

    z-index:5;

    width:90%;
}


/* =========================================
   COUNT
========================================= */
.project_grid_count{
    font-family:'Oswald',sans-serif;
    font-size:18px;
    font-weight:700;
    text-transform:uppercase;

    color:#111;

    margin-bottom:12px;

    transition:all .45s ease;
}


/* =========================================
   TITLE
========================================= */
.project_grid_title{
    font-family:'Oswald',sans-serif;

    font-size:105px;
    line-height:.88;

    font-weight:700;
    text-transform:uppercase;

    letter-spacing:-5px;

    color:#111;

    word-break:break-word;

    transition:all .45s ease;
}


/* =========================================
   ACTION
========================================= */
.project_grid_action{
    margin-top:25px;

    font-family:'Oswald',sans-serif;
    font-size:26px;
    font-weight:700;
    text-transform:uppercase;

    color:#fff;

    opacity:0;

    transform:translateY(12px);

    transition:all .45s ease;
}


/* =========================================
   HOVER
========================================= */
.project_grid_item:hover .project_grid_overlay{
    opacity:0;
}

.project_grid_item:hover .project_grid_title,
.project_grid_item:hover .project_grid_count,
.project_grid_item:hover .project_grid_action{
    color:#fff;
}

.project_grid_item:hover .project_grid_action{
    opacity:1;
    transform:translateY(0);
}

.project_grid_item:hover .project_grid_image{
    transform:scale(1.03);
}

.project_grid_item:hover .project_grid_count{
    color:#fff !important;
    opacity:1 !important;
}


/* =========================================
   MODAL INNER
========================================= */
.project_modal_inner{
    position:relative;
    width:75%;
    max-width:100%;
/*     min-height:100vh; */
	height: 100vh;
    background:#141414;
    overflow-y:auto !important;
/*     padding:80px; */
}


/* =========================================
   MODAL TITLE
========================================= */
.panel_title{
    font-family:'Oswald',sans-serif;
    font-size:60px;
    font-weight:700;
    text-transform:uppercase;
    margin-bottom:50px;
    color:#fff;
	display: none;
}


/* =========================================
   MODAL GRID (PROJECTS INSIDE MODAL)
========================================= */
.project_modal .image-wrapper{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:0px;
}

.project_modal_item{
    position:relative;
    display:block;
    overflow:hidden;
}

.project_modal_item img{
    width:100%;
    height:240px;
    object-fit:cover;
    display:block;
    transition:transform .45s ease;
	filter: grayscale(1) brightness(1);
}

.project_modal_item:hover img{
    transform:scale(1.05);
	filter: grayscale(0) brightness(1);
}

/* DARK OVERLAY ON HOVER */
.project_modal_item::after{
    content:"";
    position:absolute;
    inset:0;

    background:linear-gradient(
        to top,
        rgba(0,0,0,.75),
        rgba(0,0,0,0)
    );

    z-index:1;
}


/* =========================================
   MODAL TEXT
========================================= */
.project_item_content{
    position:absolute;
    left:25px;
    bottom:25px;

    z-index:5;
}

.project_item_name{
    display:block;
	font-family: Montserrat, sans-serif;
    font-size:18px;
    font-weight:700;
    text-transform:capitalize;
    color:#fff;
    line-height:20px;
}

.project_item_category{
    display:block;
/*     margin-top:10px; */
    font-size:14px;
    text-transform:capitalize;
/*     letter-spacing:1px; */
    color:#fff;
}


/* =========================================
   CLOSE BUTTON
========================================= */
.project_modal_close{
    position:absolute;
    top:30px;
    right:40px;
    z-index:9999;
    background:none;
    border:none;
    font-size:60px;
    line-height:1;
    cursor:pointer;
    color:#fff;
/* 	display: none; */
}
.project_modal_close, .custom_lightbox_close:hover{
	background-color: #045cb400 !important;
}


/* =========================================
   MOBILE
========================================= */
@media(max-width:1024px){

    .projects_grid_wrapper{
        grid-template-columns:1fr;
    }

    .project_grid_item{
        min-height:450px;
    }

    .project_grid_content{
        left:35px;
        width:75%;
    }

    .project_grid_title{
        font-size:58px;
        letter-spacing:-2px;
    }

    .project_grid_action{
        opacity:1;
        transform:none;
    }

    .project_modal .image-wrapper{
        grid-template-columns:1fr;
    }

    .project_modal_inner{
/*         padding:40px 25px; */
        width:100%;
    }

    .panel_title{
        font-size:38px;
    }
}

/* =========================================
   SECOND MODAL
========================================= */
.gallery_modal{
    z-index:999999;
}


/* =========================================
   LIGHTBOX
========================================= */
.custom_lightbox{
    position:fixed;
    inset:0;

    background:rgba(0,0,0,.92);

    z-index:9999999;

    display:flex;
    align-items:center;
    justify-content:center;

    opacity:0;
    visibility:hidden;

    transition:all .35s ease;
}

.custom_lightbox.active{
    opacity:1;
    visibility:visible;
}

.custom_lightbox img{
    max-width:90%;
    max-height:90vh;

    object-fit:contain;
}


/* =========================================
   LIGHTBOX CLOSE
========================================= */
.custom_lightbox_close{
    position:absolute;
    top:25px;
    right:35px;

    background:none;
    border:none;

    color:#fff;

    font-size:60px;
    line-height:1;

    cursor:pointer;
}


/* =========================================
   GALLERY ITEM
========================================= */
.gallery_lightbox_item{
    position:relative;
    display:block;
    overflow:hidden;
}

.gallery_lightbox_item img{
    width:100%;
    height:240px;
    object-fit:cover;

    transition:transform .45s ease;
}

.gallery_lightbox_item:hover img{
    transform:scale(1.05);
}

/* =========================================
   PROJECT ITEM
========================================= */
.project_modal_item,
.gallery_lightbox_item{
    position:relative;
    display:block;
    overflow:hidden;
}

/* IMAGE */
.project_modal_item img,
.gallery_lightbox_item img{
    width:100%;
    height:240px;
    object-fit:cover;
    display:block;

    transition:transform .45s ease;
}

/* HOVER ZOOM */
.project_modal_item:hover img,
.gallery_lightbox_item:hover img{
    transform:scale(1.05);
}


/* =========================================
   DARK OVERLAY
========================================= */
.project_hover_overlay{
    position:relative;
    inset:0;

    background:rgba(0,0,0,.45);

    opacity:0;

    z-index:3;

    transition:all .35s ease;
}

.project_modal_item:hover .project_hover_overlay,
.gallery_lightbox_item:hover .project_hover_overlay{
    opacity:1;
}


/* =========================================
   BOOK NOW BUTTON
========================================= */
.project_modal_item{
    position:relative;
    display:block;
    overflow:hidden;
}

.project_book_btn{
    position:absolute;
    right:35px;
    top:50%;
    transform:translateY(-50%);
    z-index:30;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:70px;
/*     padding:0 48px; */	
	font-size: 26px !important;
    border-radius: 50px !important;
    padding: 20px !important;
    max-width: 267px !important;
    width: 100% !important;
/*     border-radius:999px; */
    background:#ff1f2d;
    color:#fff !important;
    font-family:'Oswald',sans-serif;
/*     font-size:24px; */
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:0.1em;
    text-decoration:none !important;
    white-space:nowrap;
    transition:none !important;
	border: 1px solid #ff1d26;
}

.project_book_btn:hover{
	background-color: transparent;
	color: #ffffff;
	border: 1px solid #ff1d26;
    transition: all 0.2s ease-in-out 0s;
}

.project_book_btn:after {
    content: "";
    display: inline-block;
    width: 20px;   /* adjust size */
    height: 20px;  /* adjust size */
    margin-left: 16px;

    background-image: url("https://allimagearchitects.com.au/wp-content/uploads/2026/05/next-arrow.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* KEEP BUTTON FIXED */
.project_modal_item:hover .project_book_btn{
    opacity:1 !important;
    transform:translateY(-50%) !important;
    background:#ff1f2d !important;
    color:#fff !important;
}

/* MOBILE */
@media(max-width:1024px){

    .project_book_btn{
        right:20px;
        top:auto;
        bottom:20px;

        transform:none;

        height:60px;
        padding:0 28px;

        font-size:18px;
    }

    .project_modal_item:hover .project_book_btn{
        transform:none !important;
    }

}