/*==================================PAGE LOAD==================================*/

body {
    animation: pageFade 1s ease;
}

@keyframes pageFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/*==================================NAVBAR==================================*/

.navbar {
    animation: navDrop 1s ease;
}

@keyframes navDrop {

    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/*==================================HERO CONTENT==================================*/

.hero-badge {
    animation: fadeLeft .8s .2s both;
}

.hero-content h1 {
    animation: fadeLeft .9s .35s both;
}

.hero-line {
    animation: growLine .8s .55s both;
}

.hero-content p {
    animation: fadeLeft .9s .7s both;
}

.hero-buttons {
    animation: fadeLeft .9s .9s both;
}

@keyframes fadeLeft {

    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}

@keyframes growLine {

    from {
        width: 0;
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}

/*==================================BUTTONS==================================*/

.btn {
    transition: .35s ease;
}

.btn:hover {

    transform: translateY(-6px);

}

.btn-primary:hover {

    box-shadow: 0 20px 45px rgba(212, 168, 79, .35);

}

.btn-secondary:hover {

    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);

}

/*==================================GALLERY APPEAR==================================*/

.gallery {

    animation: galleryScale 1.2s ease;

}

@keyframes galleryScale {

    from {
        opacity: 0;
        transform: scale(.7);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }

}

/*==================================DIAMONDS==================================*/

.diamond {
    transition: .45s ease;
}

.diamond:hover {
    transform: rotate(45deg) translateY(-10px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, .15);
}

.diamond:hover img {
    transform: rotate(-45deg) scale(1.18);
}


/*==================================RINGS==================================*/

.rings {
    animation: rotateRing 70s linear infinite;
}

@keyframes rotateRing {
    from {
        transform: translateX(-50%) rotate(0deg);
    }

    to {
        transform: translateX(-50%) rotate(360deg);
    }

}

/*==================================SPARKLES==================================*/

.spark {
    animation: twinkle 2s ease infinite;
}

.spark2 {
    animation-delay: .5s;
}

.spark3 {
    animation-delay: 1s;
}

.spark4 {
    animation-delay: 1.5s;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: .3;
        transform: scale(.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.6);
    }

}

/*==================================FLOATING CARDS==================================*/

.floating-card {
    animation: cardFloat 5s ease-in-out infinite;
    transition: .35s ease;

}

.card-left {
    animation-delay: .5s;
}

.card-right {
    animation-delay: 1s;
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);

    }

}

.floating-card:hover {
    transform: translateY(-18px);
}


/*==================================LOGO==================================*/

.logo {
    transition: .3s ease;
}

.logo:hover {
    letter-spacing: 2px;
}

/*==================================MENU LINKS==================================*/

.nav-links a {
    transition: .35s ease;
}

.nav-links a:hover {
    color: var(--gold-dark);
}

/*==================================SMOOTH SCROLL==================================*/

section {

    scroll-margin-top: 100px;

}

/*============= ABOUT CONTINUOUS ANIMATIONS =============*/

/* Diamond floating */

.about-diamond {
    animation: aboutDiamondFloat 8s ease-in-out infinite;
    will-change: transform;
}

/* Rings */

.about-ring-1 {
    animation: ringRotate1 45s linear infinite;
}

.about-ring-2 {
    animation: ringRotate2 36s linear infinite;
}

.about-ring-3 {
    animation: ringRotate1 30s linear infinite;
}

.about-ring-4 {
    animation: ringRotate2 24s linear infinite;
}

/* Sparkles */

.about-spark {
    animation: sparkTwinkle 3s ease-in-out infinite;
}

.about-spark-2 {
    animation-delay: .4s;
}

.about-spark-3 {
    animation-delay: .8s;
}

.about-spark-4 {
    animation-delay: 1.2s;
}

.about-spark-5 {
    animation-delay: 1.6s;
}

.about-spark-6 {
    animation-delay: 2s;
}

/* Diamond Hover */

.about-diamond-frame img {
    transition:
        transform .8s ease,
        filter .8s ease;
}

.about-diamond:hover img {
    transform: rotate(-45deg) scale(1.58);
    filter: brightness(1.05);
}

/* Feature Cards */

.about-feature {
    transition:
        transform .45s ease,
        opacity .45s ease;
}

.about-feature:hover {
    transform: translateX(12px);
}

.about-feature-icon {
    transition:
        transform .45s ease,
        box-shadow .45s ease,
        background .45s ease;
}

.about-feature:hover .about-feature-icon {
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 20px 40px rgba(212, 168, 79, .28);
}

/* Buttons */

.about-buttons .btn {
    transition:
        transform .45s ease,
        box-shadow .45s ease;
}

.about-buttons .btn:hover {
    transform: translateY(-6px);
}

/*============= KEYFRAMES =============*/

@keyframes aboutDiamondFloat {

    0%,
    100% {
        transform: rotate(45deg) translateY(0px);
    }

    50% {
        transform: rotate(45deg) translateY(-14px);
    }

}

@keyframes ringRotate1 {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}

@keyframes ringRotate2 {

    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }

}

@keyframes sparkTwinkle {

    0%,
    100% {
        opacity: .35;
        transform: scale(.85);
    }

    50% {
        opacity: 1;
        transform: scale(1.4);
    }

}

/*============= SERVICES REVEAL =============*/

.service-item .service-icon,
.service-item h3,
.service-item p,
.service-item .service-link {
    opacity: 1;
    transition:
        opacity .6s ease,
        transform .6s ease;
}

.service-item.reveal .service-icon {
    opacity: 0;
    transform: scale(.75);
}

.service-item.reveal h3,
.service-item.reveal p,
.service-item.reveal .service-link {
    opacity: 0;
    transform: translateY(18px);
}

.service-item.reveal.active .service-icon {
    opacity: 1;
    transform: scale(1);
    transition-delay: .15s;
}

.service-item.reveal.active h3 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .25s;
}

.service-item.reveal.active p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .4s;
}

.service-item.reveal.active .service-link {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .55s;
}

/*============= SPARKLES =============*/

.services-spark {
    animation: servicesSparkle 3s ease-in-out infinite;
}

@keyframes servicesSparkle {

    0%,
    100% {
        opacity: .45;
        transform: scale(.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.25);
    }

}

/*============= PORTFOLIO REVEAL =============*/

.portfolio-header,
.portfolio-filter,
.portfolio-item,
.portfolio-button {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(8px);
    transition:
        opacity .9s ease,
        transform .9s ease,
        filter .9s ease;
}

/*============= ACTIVE =============*/

.portfolio-header.show,
.portfolio-filter.show,
.portfolio-item.show,
.portfolio-button.show {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/*============= STAGGER =============*/

.portfolio-item:nth-child(1) {
    transition-delay: .05s;
}

.portfolio-item:nth-child(2) {
    transition-delay: .12s;
}

.portfolio-item:nth-child(3) {
    transition-delay: .19s;
}

.portfolio-item:nth-child(4) {
    transition-delay: .26s;
}

.portfolio-item:nth-child(5) {
    transition-delay: .33s;
}

.portfolio-item:nth-child(6) {
    transition-delay: .40s;
}

.portfolio-item:nth-child(7) {
    transition-delay: .47s;
}

.portfolio-filter.show {
    transition-delay: .1s;
}

.portfolio-button.show {
    transition-delay: .2s;
}

/*============= PACKAGES REVEAL =============*/

.packages-header,
.package-card {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(8px);
    transition:
        opacity .9s ease,
        transform .9s ease,
        filter .9s ease;
}

/*============= SHOW =============*/

.packages-header.show,
.package-card.show {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/*============= STAGGER =============*/

.package-card:nth-child(1) {
    transition-delay: .08s;
}

.package-card:nth-child(2) {
    transition-delay: .18s;
}

.package-card:nth-child(3) {
    transition-delay: .28s;
}

/*============= CONTACT REVEAL =============*/

.contact-header,
.contact-info,
.contact-form-box,
.info-card,
.social-card {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(8px);
    transition:
        opacity .9s ease,
        transform .9s ease,
        filter .9s ease;
}

/*============= SHOW =============*/

.contact-header.show,
.contact-info.show,
.contact-form-box.show,
.info-card.show,
.social-card.show {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/*============= STAGGER =============*/

.info-card:nth-child(1) {
    transition-delay: .05s;
}

.info-card:nth-child(2) {
    transition-delay: .12s;
}

.info-card:nth-child(3) {
    transition-delay: .19s;
}

.info-card:nth-child(4) {
    transition-delay: .26s;
}

.social-card:nth-child(1) {
    transition-delay: .33s;
}

.social-card:nth-child(2) {
    transition-delay: .40s;
}

.social-card:nth-child(3) {
    transition-delay: .47s;
}

.contact-form-box.show {
    transition-delay: .18s;
}

/*============= TESTIMONIAL REVEAL =============*/

.testimonials-header,
.testimonial-column,
.testimonial-feature,
.testimonial-card {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(8px);
    transition:
        opacity .9s ease,
        transform .9s ease,
        filter .9s ease;
}

/*============= SHOW =============*/

.testimonials-header.show,
.testimonial-column.show,
.testimonial-feature.show,
.testimonial-card.show {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/*============= STAGGER =============*/

.testimonial-column:first-child .testimonial-card:nth-child(1) {
    transition-delay: .08s;
}

.testimonial-column:first-child .testimonial-card:nth-child(2) {
    transition-delay: .18s;
}

.testimonial-feature {
    transition-delay: .15s;
}

.testimonial-column:last-child .testimonial-card:nth-child(1) {
    transition-delay: .25s;
}

.testimonial-column:last-child .testimonial-card:nth-child(2) {
    transition-delay: .35s;
}

/*============= FOOTER SCROLL REVEAL =============*/

.reveal-up {
    opacity: 0;
    transform: translateY(70px);
    transition: opacity .9s ease, transform .9s ease;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity .9s ease, transform .9s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity .9s ease, transform .9s ease;
}

.reveal-fade {
    opacity: 0;
    transition: opacity .9s ease;
}

.show {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 {
    transition-delay: .15s;
}

.delay-2 {
    transition-delay: .3s;
}

.delay-3 {
    transition-delay: .45s;
}

.delay-4 {
    transition-delay: .6s;
}