/*
 Theme Name:   Angus Macleod
 Theme URI:    https://angusmacleodvo.com
 Description:  Infinie Child Theme
 Author:       Freshworks Web Design
 Author URI:   http://freshworks.ca
 Template:     infinite
 Version:      1.0.15
*/

/*------------------------------------*\
    BRANDING
\*------------------------------------*/

.charcoal {color: #1B1B1B;}
.whiskey {color: #CE5E00;}
.bisque {color: #FFCC99;}
.almond {color: #FFECD4;}
.rhubarb {color: #B20040;}


/*------------------------------------*\
    UTILITY
\*------------------------------------*/

.flex {
	display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
	display: -ms-flexbox;  /* TWEENER - IE 10 */
	display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
	display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */
}

.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

.hidden {
    display: none;
}

.push-left .gdlr-core-pbf-column-content {
    margin-left: 0;
}

.push-right .gdlr-core-pbf-column-content {
    margin-right: 0;
}

.testimonial .gdlr-core-title-item-caption::before,
.featured.testimonial .details h3::before,
.masonry .testimonial .details p::before {
    content: "";
    display: block; /* Ensures the pseudo-element behaves like a block */
    width: 145px; /* Set desired width */
    height: 30px; /* Set desired height */
    background-image: url('/wp-content/themes/infinite-child/img/star-bisque.svg'); /* Path to your image */
    background-size: 29px 27px; 
    background-repeat: repeat-x;
    margin: 20px auto 7px auto;
}

.masonry .testimonial .details p::before {
    background-image: url('/wp-content/themes/infinite-child/img/star-rhubarb.svg');
}

/*------------------------------------*\
    GLOBAL
\*------------------------------------*/

body {
    word-break: normal;
}

address {
    font-style: normal;
}

img[src$=".svg"] {
    width: 99999px;
}

sup {
    vertical-align: super;
}

video {
    max-width: 100%;
}

.infinite-fixed-navigation.infinite-style-slide .infinite-logo-inner img[src$=".svg"] {
    width: 9999px;
    max-height: 49px !important;
}

/*------------------------------------*\
    TYPOGRAPHY
\*------------------------------------*/

/* Headings: 
Future PT Condensed Extra Bold */
h1,h2,h3,h4,h5,h6,h6,
.gdlr-core-title-font,
.gdlr-core-title-item,
.featured.work .details h3,
.featured.testimonial p,
.agency-title .gdlr-core-title-item-caption {
    font-family: "futura-pt-condensed", sans-serif !important;
    font-weight: 800;
    font-style: normal;
    letter-spacing: -0.03em !important;
}

/* Subheadings, Buttons, Misc: 
Aktiv Grotesk Extended Bold */
.aktiv-grotesk-extended,
.aktiv-grotesk-extended .gdlr-core-title-item-title,
.infinite-navigation .sf-menu > li > a,
.gdlr-core-info-font,
.featured.work .details p.subtitle,
.testimonial .details h3,
.studio-card h4,
.contact-info h4,
.gdlr-core-button,
#footer .menu li a   {
    font-family: "aktiv-grotesk-extended", sans-serif !important;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.080em !important;
}

/* Body Copy: 
Aktiv Grotesk Regular */
p {
    font-family: "aktiv-grotesk", sans-serif !important;
    font-weight: 400;
    font-style: normal;
}

strong {
    font-weight: 700;
}

.custom-separator {
    border-top: 1px solid #B20040;
}

.custom-separator .gdlr-core-title-item-title {
    width: 445px;
    padding: 20px;
    border-left: 1px solid #B20040;
    border-right: 1px solid #B20040;
    border-bottom: 1px solid #B20040;
    border-radius: 0 0 10px 12px;
    letter-spacing: 8px !important;
}

/*------------------------------------*\
    PAGE / SECTION SPECIFIC
\*------------------------------------*/

/* Sticky Header */
.infinite-sticky-navigation .infinite-logo-inner {
    margin-left: -50px;
}

#lean-in {
    padding: 0;
}

#lean-in h2 {
    opacity: 0.15;
}

#voicezam .desktop-titles {
    display: none;
}

#vimeo-container {
    border-radius: 60px 60px 0 0;
    cursor: pointer;
    background-color: #000;
    align-items: center;
    justify-content: center;
}

.play-icon {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto; /* Centers element */
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    border: 3px solid #b20040;
    border-radius: 50%;
    z-index: 10;
}

.play-icon .fa-play:before {
    font-size: 30px;
}

.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio (9/16 = 0.5625) */
    overflow: hidden;
}

.video-container img,
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gdlr-core-audio {
    padding: 0;
}

.gdlr-core-audio, 
.gdlr-core-audio .mejs-container .mejs-controls {
    background-color: transparent;
}

#hero .mejs-controls .mejs-volume-button {
    display: none ;
    width: 0;
}

/* About */
#for-your-consideration .gdlr-core-pbf-column-content .gdlr-core-pbf-element:nth-child(1) {
    position: absolute;
    top: 0;
    z-index: 5;
    width: 100%;
}

#for-your-consideration .gdlr-core-pbf-column-content .gdlr-core-pbf-element:nth-child(2) {
    position: relative;
    z-index: 1;
    top: 0;
}

/* Modal Window for Vimeo */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.modal-content {
    position: relative;
    background: #000;
    padding: 40px;
    border-radius: 5px;
    max-width: 900px;
    width: 90%;
}

.video-wrapper {
    position: relative;
    padding-top: 56.25%; /* Aspect ratio for 16:9 */
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.close-button {
    position: absolute;
    top: 6px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
}

.openModal {
    cursor: pointer;
}

/* Brand Experience / Clients */
#clients img {
    border: 1px solid #2b2b2b;
}

/* Strikethrough Animation */
#big-deal {
    margin-top: -205px;
    z-index: 10;
    position: relative;
}

/* Strikethrough Animation */
#big-deal span.animated {
    opacity: 1; /* Override default animation */
    position: relative;
    display: inline-block;
    font-size: 0.993em;
    padding: 0 15px;
    margin-left: -15px;
}

/* Using ::after to create the line */
#big-deal span.animated::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 38%;  /* Position the line through the center of the text */
    width: 100%;
    height: 50px;
    background: #FFCC99;  /* Customize line color */
    transform: scaleX(0); /* Start with line hidden */
    transform-origin: left;
    transition: transform 0.5s ease 1s; /* Animation timing */
    border-radius: 30px;
}

/* Hover state to trigger animation */
#big-deal span.animated.reveal::after {
    transform: scaleX(1); /* Expand line across text */
}

/* Studio Card */
.card-container .gdlr-core-item-pdlr {
    padding-left: 12px;
    padding-right: 12px;
}

.card-container .studio-card {
    background: #CE5E00;
    border-radius: 16px;
    padding: 45px 33px 20px 33px;
    margin: 24px 0;
}

.studio-card h4 {
    text-transform: uppercase;
    color: #FFCC99;
    font-size: 15px;
}

.studio-card p {
    font-size: 21px;
}

.studio-card ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.studio-card ul li {
    font-size: 21px;
    padding: 12px 0;
    border-bottom: 1px solid #000;
}

.studio-card ul li:first-child {
    padding-top: 0;
}

.studio-card ul li:last-child {
    border-bottom: none;
}

/* Reps */
#reps .custom-separator {
    border-top: none;
}

.agency-title {
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;

}

.agency-title::after {
    display: none; /* Clearfix fix */
}

.agency-title .gdlr-core-title-item-caption {
    line-height: 0.7;
}

.contact-info h4 {
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 1px !important;
    color: #afafaf;
}

/*------------------------------------*\
    FEATURED & CAROUSEL ANIMATIONS
\*------------------------------------*/

.featured.work .image .background,
.work-carousel .image .background  {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    transform-origin: center;
    transition: transform 0.3s ease-out;
}

.featured.work:hover .image .background,
.work-carousel .slick-slide:hover .image .background {
    transform: scale(1.07); /* Zoom */
}

/*------------------------------------*\
    FEATURED WORK SHORTCODE
\*------------------------------------*/

.featured.work {
    margin-bottom: 90px;
}

.featured.work .image {
    width: 66.5%;
    min-height: 458px;
    border-radius: 15px 0 0 15px;
    overflow: hidden; 
    position: relative; 
}

.featured.work .details {
    width: 33.5%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #CE5E00;
    padding: 7%;
    text-align: center;
    border-radius: 0 15px 15px 0;
}

.featured.work .details h3 {
    color: #fff;
    text-transform: uppercase;
    font-size: 40px;
    line-height: 36px;
    margin-bottom: 5px;
}

.featured.work .details p.subtitle {
    color: #FFCC99;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.featured.work .details p {
    font-size: 14px;
    margin-bottom: 0;
}

/*------------------------------------*\
    WORK CAROUSEL SHORTCODE
\*------------------------------------*/

.work-carousel .slick-list {
    overflow: visible !important;
}

.work-carousel .slick-slide {
    margin-right: 14px;
    width: 400px;
}

.work-carousel .image {
    height: 500px;
    border-radius: 15px 15px 0 0;
    overflow: hidden; 
    position: relative; 
}

.work-carousel .details {
    text-align: center;
    background-color: #CE5E00;
    padding: 32px;
    border-radius: 0 0 15px 15px;
    align-items: center;
    justify-content: center;
}

.work-carousel h3 {
    color: #fff;
    text-transform: uppercase;
    font-size: 40px;
    line-height: 36px;
    margin-bottom: 0;
}

.work-carousel .slick-arrow {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 180px;
    display: block;
    width: 140px;
    height: 140px;
    padding: 0;
    background-size: 140px 140px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.work-carousel .slick-arrow.slick-disabled {
    display: none !important; /* Hide the back control at start */
}

.work-carousel .slick-next {
    right: -85px;
    background-image: url('/wp-content/themes/infinite-child/img/arrow-right.png');
}

.work-carousel .slick-next:hover {
    background-image: url('/wp-content/themes/infinite-child/img/arrow-right-over.png');
}

.work-carousel .slick-prev {
    left: -85px;
    background-image: url('/wp-content/themes/infinite-child/img/arrow-left.png');
}

.work-carousel .slick-prev:hover {
    background-image: url('/wp-content/themes/infinite-child/img/arrow-left-over.png');
}


/*------------------------------------*\
    TESTIMONIALS SHORTCODE
\*------------------------------------*/

/* Featured */
.featured.testimonial {
    margin-bottom: 100px;
}

.featured.testimonial:last-child {
    margin-bottom: 0px;
}

.featured.testimonial .details {
    margin: auto;
}

.featured.testimonial .details p {
    font-size: 70px;
    line-height: 0.8;
    color: #ce5e00;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.testimonial .details h3 {
    font-size: 14px;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
}

/* Masonry */
.masonry .masonry-item {
    width: 355px;
    background-color: #fff;
}

.masonry .testimonial {
    padding: 50px 35px 30px 35px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.masonry .testimonial p {
    color: #000;
    font-size: 14px;
}

.masonry .testimonial .details h3 {
    color: #000;
    text-align: left;
}

.masonry .testimonial .details p::before {
    margin: 0 0 20px 0;
}


/*------------------------------------*\
    FOOTER
\*------------------------------------*/

#footer .menu {
    display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;  /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */
    justify-content: right;
    margin: 0;
    flex-wrap: wrap;
}

#footer .menu li {
    border: none;
    padding: 0 15px;
    margin-bottom: 1px;
}

#footer .menu li a {
    color: #fff;
    text-transform: uppercase;
    font-size: 15px;
}

#footer .menu li a:hover {
    color: #CE5E00;
}

#footer .menu li:last-child {
    padding-right: 0;
}

.ranni a {
    color: #949494;
}

/*------------------------------------*\
    MEDIA QUERIES
\*------------------------------------*/

/* Desktop Only (Large) */
@media (min-width: 1050px) {

    #voicezam {
       height: 100px;
    }

    #voicezam .desktop-titles {
        display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
        display: -ms-flexbox;  /* TWEENER - IE 10 */
        display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
        display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */
        justify-content: center;
        align-items: center;
        row-gap: 25px;
        column-gap: 25px;
    }

    #voicezam h3 {
        text-transform: uppercase;
        color: #fff;
        width: 300px;
        text-align: center;
        font-size: 14px;
        margin-bottom: 0;
    }

}

/* Desktop Only */
@media (min-width: 999px) {

    #card-communication {
        min-height: 417px;
    }

}

/* Large Desktop */
@media (max-width: 1400px) {

    .work-carousel .slick-next {
        right: 15px;
    }

    .work-carousel .slick-prev {
        left: 15px;
    } 

}

@media (max-width: 1325px) {

    #lean-in h2 {
       font-size: 12vw !important;
    }

    #carousel-container .gdlr-core-pbf-column-content {
        margin-left: 50px;
    }

}


@media (max-width: 1330px) { /* previously 1170px */

    #carousel-container .gdlr-core-pbf-column-content {
        margin-left: 50px;
    }

    /* Big Deal */
    #big-deal {
        margin-top: -145px;
    }

    #big-deal .gdlr-core-title-item-title {
        font-size: 195px !important;
    }

    #big-deal span.animated::after {
        height: 40px;
    }

    /* Studio (Gear) */
    #gear .gdlr-core-column-first .gdlr-core-title-item-title {
        font-size: 11vw !important;
    }

    #gear .gdlr-core-pbf-wrapper-container {
        display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
        display: -ms-flexbox;  /* TWEENER - IE 10 */
        display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
        display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */
        flex-wrap: wrap;
    }

    #gear .gdlr-core-column-first {
        width: 100%;
        flex-basis: 100%; /* Takes full width of the container */
        align-self: stretch; /* Ensures it stretches to the container’s width */
    }

    #gear .gdlr-core-column-first .gdlr-core-pbf-column-content {
        max-width: 100% !important;
    }

    #gear .gdlr-core-pbf-column {
        width: 50%;
    }

}

/* Tablet (Hamburger Menu) */
@media (max-width: 999px) {

    .infinite-mobile-header-wrap {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }

    .infinite-mobile-header-wrap .infinite-header-background {
        background: transparent;
    }

    /* Utility */
    .big-text .gdlr-core-skin-title {
        font-size: 110px !important;
    }

    /* Sticky Header */
    .infinite-sticky-mobile-navigation .infinite-logo-inner {
        margin-left: 17px;
    }

    /* Featured Work */
    .featured.work .image {
        min-height: 402px;
    }

    /* Work Carousel */
    .work-carousel .slick-slide {
        width: 238px;
    }

    .work-carousel .image {
        height: 298px;
    }

    .work-carousel .slick-arrow {
        top: 79px;
    }

    /* Testimonials */
    .testimonial br {
        display: none;
    }

    /* Reps */
    .agency-title {
        flex-flow: column-reverse;
    }

    .agency-title .gdlr-core-title-item-caption {
        font-size: 200px !important;
        margin-bottom: 15px;
    }
	
}

@media (max-width: 825px) {

    /* Big Deal */
    #big-deal {
        margin-top: -73px;
    }

    #big-deal .gdlr-core-title-item-title {
        font-size: 98px !important;
    }

    #big-deal span.animated::after {
        height: 20px;
    }

    /* Gear */
    #gear .gdlr-core-pbf-wrapper-container {
        flex-direction: column;
    }

    #gear .gdlr-core-pbf-column {
        width: 100%;
    }

    #gear .card-container .gdlr-core-pbf-column-content {
        max-width: 100% !important;
        padding: 0 15px;
    }

    #gear .studio-card p {
        font-size: 19px;
    }

}

/* Mobile (Stacked) */
@media (max-width: 767px) {

    /* Utility */
    .mobile-only {
        display: block;
    }

    .desktop-only {
        display: none;
    }

    .push-left .gdlr-core-pbf-column-content,
    .push-right .gdlr-core-pbf-column-content {
        margin-left: auto;
        margin-right: auto;
    }

    /* Global */
    br {
        display: none;
    }

    /* Sticky Header */
    .infinite-sticky-mobile-navigation .infinite-logo-inner {
        margin-left: -22px;
    }

    .big-text .gdlr-core-skin-title {
        font-size: 13vw !important;
    }

    .custom-separator .gdlr-core-title-item-title {
        width: auto;
        line-height: 1.6;
    }

    .supporting-copy {
        margin-top: -15px;
    }

    #lean-in h2 {
       opacity: 0.5;
    }

    /* Featured Work */
    .featured.work {
        margin-bottom: 20px;
    }

    .featured.work .flex {
        flex-direction: column;
    }

    .featured.work .image {
        width: 100%;
        border-radius: 15px 15px 0 0;
        min-height: 255px;
    }

    .featured.work .details {
        width: 100%;
        border-radius: 0 0 15px 15px;
        padding: 45px;
    }

    /* Clients */
    #clients .gdlr-core-column-12 {
        width: 33.33%;
    }

    #clients .gdlr-core-column-first {
        clear: none;
    }

    /* Work Carousel */
    #carousel-container .gdlr-core-pbf-column-content {
        margin-left: 0px;
    }

    /* Testimonials */
    #reviews .gdlr-core-pbf-background {
        background-position: 1100px 0 !important;
    }

    #reviews .gdlr-core-pbf-background-wrap {
        display: none; /* Hide the background on mobile */
    }

    #featured-testimonials-container {
        padding-left: 0;
        padding-right: 0;
    }

    .featured.testimonial {
        margin-bottom: 50px;
    }

    .featured.testimonial .details p {
        font-size: 45px;
    }

    .featured.testimonial .details h3 {
        font-size: 10px;
    }

    .testimonial .details h3 br {
        display: block;
    }

    /* Masonry */
    .masonry {
        height: auto !important;
    }

    .masonry .masonry-item {
        position: static !important;
        margin: 20px auto;
        width: 100%;
    }

    #masonry-testimonials-container {
        padding: 0;
    }

    /* For Your Consideration */
    #for-your-consideration .gdlr-core-pbf-column-content .gdlr-core-pbf-element:nth-child(1) {
        position: static;
    }

    #for-your-consideration .custom-separator {
        background-color: #0e0e0e;
    }

    /* Reps */
    .agency-title .gdlr-core-title-item-caption {
        font-size: 100px !important;
    }

    .contact-info .gdlr-core-right-align {
        text-align: left;
    }

    #reps .gdlr-core-pbf-wrapper-container-inner {
        border-radius: 40px 40px 0 0 !important;
    }

    .contact-info .gdlr-core-text-box-item-content {
        font-size: 19px;
    }

    .contact-info .gdlr-core-text-box-item-content strong {
        display: block; /* Ensures name and email are on seperate lines */
    }

    /* Footer */
    #footer .gdlr-core-button {
        font-size: 10px !important;
    }

    #footer .gdlr-core-button-item {
        text-align: left;
    }

    #footer .menu {
        flex-direction: column;
    }

    #footer .menu li {
        padding: 0;
    }

    #footer .ranni {
        text-align: left;
        margin-top: 9px;
    }

}

/* Small Mobile */
@media (max-width: 430px) {

    #big-deal {
        margin-top: -17.3%;
    }

    #big-deal .gdlr-core-title-item-title {
        font-size: 20vw !important;
    }

}

/*------------------------------------*\
    ANIMATIONS
\*------------------------------------*/

.animated {
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.animated.fadeInLeft {
    transform: translateX(-100px);
}

.animated.fadeInRight {
    transform: translateX(100px);
}

.animated.fadeInUp {
    transform: translateY(50px);
}

.animated.fadeInDown {
    transform: translateY(-50px);
}

.animated.reveal {
    opacity: 1;
    transform: translate(0,0);
}

/* Cascade In-Line Animations on Desktop */
@media (min-width: 999px) {

   /*  .gdlr-core-pbf-column:nth-child(2) .animated {transition-delay: 0.3s;}
    .gdlr-core-pbf-column:nth-child(3) .animated {transition-delay: 0.9s;}
    .gdlr-core-pbf-column:nth-child(4) .animated {transition-delay: 1.2s;}
    .gdlr-core-pbf-column:nth-child(5) .animated {transition-delay: 1.5s;}
    .gdlr-core-pbf-column:nth-child(6) .animated {transition-delay: 1.8s;}
    .gdlr-core-pbf-column:nth-child(7) .animated {transition-delay: 2.1s;}
    .gdlr-core-pbf-column:nth-child(8) .animated {transition-delay: 2.4s;}
    .gdlr-core-pbf-column:nth-child(9) .animated {transition-delay: 2.7s;}
    .gdlr-core-pbf-column:nth-child(10) .animated {transition-delay: 3.0s;} */

}

