/*
 Theme Name:   Kadence Child
 Theme URI:    https://example.com/kadence-child/
 Description:  Kadence Child Theme
 Author:       Your Name
 Author URI:   https://example.com
 Template:     kadence
 Version:      1.0.2
 Tags:         customizable, modern, responsive-layout, gutenberg, header builder, footer builder
 Text Domain:  kadencechild
*/

/* ============================================================
   FONTS
   ============================================================ */

@font-face {
    font-family: 'Josefin Sans';
    src: url('/wp-content/themes/kadence-child-theme-master/fonts/JosefinSans-VariableFont_wght.woff2') format('woff2');
    font-weight: 100 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit';
    src: url('/wp-content/themes/kadence-child-theme-master/fonts/Outfit-VariableFont_wght.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* ============================================================
   BASE
   ============================================================ */

body, html {
    font-family: 'Outfit';
}

.site-branding, 
.site-container .kt-row-column-wrap {
    padding-left: 0!important;
	    padding-right: 0!important;

}



/* ============================================================
   HEADER
   ============================================================ */

.main-nav {
    position: fixed;
    padding: 40px;
    z-index: 2;
    width: 100%;
    font-weight: 500;
    background-color: transparent;
    border-bottom: 2px solid transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.sticky-row {
    display: flex;
    align-items: center;
    width: 100%;
}

.logo-bar {
    width: 30%;
}

.logo-bar img {
    max-width: 150px;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.menu-bar {
    width: 70%;
}

.menu-bar ul {
    list-style: none;
    margin: auto;
    padding: 0;
    display: flex;
    gap: 20px;
    justify-content: right;
    align-items: center;
    text-align: right;
}

.menu-bar ul li {
    margin: 0;
    padding: 0;
}

.menu-bar ul li a {
    font-family: 'Josefin Sans';
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    color: #fff !important;
    text-decoration: none;
}

/* Scrolled state */
.header--scrolled {
    background-color: #ffffff;
    border-bottom: 1px solid #000;
}

.header--scrolled .logo-bar img {
    filter: none;
}

.header--scrolled .menu-bar ul li a {
    color: #000 !important;
}

/* ============================================================
   MOBILE DRAWER
   ============================================================ */

.ff-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1001;
    width: 280px;
    height: 100%;
    background-color: #2455a0;
    display: flex;
    flex-direction: column;
    padding: 30px;
    box-sizing: border-box;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.ff-drawer.is-open {
    transform: translateX(0);
}

.ff-drawer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ff-drawer ul li a {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    line-height: 40px;
}

.ff-drawer-close {
    align-self: flex-end;
    color: blue;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 40px;
}

.ff-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.ff-drawer-overlay.is-open {
    display: block;
}

/* ============================================================
   HERO / SLIDER
   ============================================================ */

.home-slider-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.home-slider-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
    z-index: 1;
}

.home-hero .kt-row-column-wrap {
    padding: 0;
}

.hero-slider {
    position: relative;
    z-index: 1 !important;
}

.hero-slider::before,
.project-hero::before,
.portfolio-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.25));
    z-index: 1 !important;
    pointer-events: none;
}

/* Swiper */
.home-slider-swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.home-slider-swiper .swiper-pagination,
.hero-slider .swiper-pagination {
    bottom: 40px;
}

.home-slider-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: background 0.3s ease, transform 0.3s ease;
}

.home-slider-swiper .swiper-pagination-bullet-active {
    background: #ffffff;
    transform: scale(1.3);
    border-color: #ffffff;
}

.hero-slider .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.4);
    opacity: 1;
    margin: 0 6px;
    transition: all .3s ease;
}

.hero-slider .swiper-pagination-bullet-active {
    background: #fff;
    transform: scale(1.3);
}

/* ============================================================
   PROJECT HERO
   ============================================================ */

.project-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.project-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.project-hero-title {
    position: relative;
    z-index: 1;
    color: #fff;
    text-align: center;
    margin: 0;
    font-weight: 300;
    width: 100%;
    font-size: 65px;
}

.hero-scroll-caret {
    display: flex;
    justify-content: center;
    margin: 40px auto 0;
    z-index: 1;
    width: 80px !important;
    color: #fff;
    opacity: 0.85;
    animation: caret-bounce 2s ease-in-out infinite;
    cursor: pointer;
}

@keyframes caret-bounce {
    0%, 100% { transform: translateY(0); opacity: 0.85; }
    50%       { transform: translateY(8px); opacity: 1; }
}

#the-text {
    scroll-margin-top: 225px;
}

/* ============================================================
   PROJECT CONTENT
   ============================================================ */

.project-content-wrap .content-wrap {
    padding: 50px;
    font-weight: 300;
    font-size: 18px;
    max-width: 990px;
    margin: auto;
}

/* ============================================================
   PORTFOLIO GRID
   ============================================================ */

.vivid-project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
	padding:30px;
}

.vivid-project-item {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.vivid-project-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
    opacity: 1;
    transition: opacity .3s ease;
    z-index: 1;
}

.vivid-project-item:hover::after {
    opacity: 0;
}

.vivid-project-item:hover .vivid-project-title {
    opacity: 0;
}

.vivid-project-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.vivid-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity .5s cubic-bezier(.4,0,.2,1);
}

.vivid-project-image img:hover {
    opacity: .7;
    cursor: pointer;
}

.vivid-project-title {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: clamp(18px, 2vw, 28px);
    font-weight: 400;
    text-align: center;
    padding: 20px;
    letter-spacing: 1px;
    pointer-events: none;
    z-index: 2;
    transition: opacity .3s ease;
}

/* ============================================================
   MASONRY GALLERY
   ============================================================ */

.vivid-masonry-gallery {
    column-count: 2;
    column-gap: 24px;
}

.vivid-masonry-item {
    break-inside: avoid;
    margin-bottom: 24px;
}

.vivid-masonry-item img {
    width: 100%;
    display: block;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1000px) {
    .main-nav {
        display: none !important;
    }

    .ff-compact-header {
        opacity: 1 !important;
        pointer-events: auto !important;
        visibility: visible !important;
        transform: unset;
    }

    .ff-compact-header .menu-bar {
        display: none;
    }

    .ff-hamburger {
        display: flex;
    }

    body {
        padding-top: 90px;
    }
}

@media (max-width: 980px) {
    .vivid-project-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vivid-project-title {
        font-size: 40px !important;
        line-height: 48px !important;
        font-family: 'Josefin Sans' !important;
    }

    .vivid-masonry-gallery {
        column-count: 2;
    }

    .project-content-wrap .content-wrap {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 24px;
        line-height: 30px !important;
    }

    h3 {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    .vivid-project-grid {
        grid-template-columns: 1fr;
    }

    .vivid-masonry-gallery {
        column-count: 1;
    }
}