.elementor-kit-6{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#231F20;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-6 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* Outlined text base style */
h1,h2 {
  position: relative;
  color: black;
  font-size: 5rem;
  font-weight: 600;
  -webkit-text-fill-color: white;
  -webkit-text-stroke: 1px black;
}

/* Solid filled overlay that follows cursor */
h1 .filled-overlay, h2 .filled-overlay {
  position: absolute;
  top: 0;
  left: 0;
  color: black;
  font-size: 5rem;
  font-weight: 600;
  -webkit-text-fill-color: black;
  -webkit-text-stroke: 0;
  pointer-events: none;
  clip-path: circle(0px at 50% 50%); /* Start hidden */
}

.scroll {
    width: 45px;
    height: 45px;
}



/* Header */

.ch-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.ch-logo-link-large {
  display: block;
  line-height: 0;
}

.ch-logo-link-large svg {
  width: 310px;
  height: 90px;
}

.ch-logo-link-large {
  display: block;
  line-height: 0;
}

.ch-logo-link-small svg {
  width: 64px;
  height: 64px;
}


.ch-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.ch-nav-link {
  display: block;
  line-height: 0;
}

.ch-nav-link svg {
  display: block;
}

/* Icon specific sizes */
.ch-icon-about svg {
    width: 32px;
    height: 32px;
  }

.ch-icon-portfolio svg {
    width: 32px;
    height: 22px;
  }
  
  .ch-icon-contact svg {
    width: 32px;
    height: 25px;
  }

/* Mobile adjustments */
@media (max-width: 768px) {
  .ch-header {
    padding: 15px;
  }
  
  .ch-logo-link svg {
    width: 180px;
    height: 52px;
  }
  
  .ch-nav {
    gap: 15px;
  }
}

/*************************************************************/
/* Logo sizing - same on all pages */
.ch-logo-link {
  width: 220px;
}

.ch-logo-link svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Prevent flash - hide text on portfolio by default */
body.post-type-archive-project #celine,
body.single-project #celine {
  opacity: 0;
  transform: translateX(40px);
}

body.post-type-archive-project #hercouet,
body.single-project #hercouet {
  opacity: 0;
  transform: translateX(-40px);
}

/******************************************************/
/* Hide default cursor */
body, body * {
  cursor: none !important;
}

/* Hand cursor element */
.cursor-hand {
  position: fixed;
  width: 60px;
  height: 52px;
  background-image: url('/wp-content/uploads/2025/11/hand-pointer.png');
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 999999 ;
  top: 0;
  left: 0;
  will-change: transform;
}

/* Following circle */
.cursor-circle {
  position: fixed;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #ff00ff;
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 999998 ;
  will-change: transform;
  transition: width 0.3s ease, height 0.3s ease;
  top: 0;
  left: 0;
}

.cursor-circle.hover {
  width: 100px;
  height: 100px;
}

/* Target the actual loop items */
.portfolio-grid .e-loop-item {
  aspect-ratio: 1.875 / 1;
  border-radius: 30px;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

.portfolio-grid .e-loop-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Perspective on the grid container */
.portfolio-grid {
  perspective: 1000px;
  perspective-origin: center 50%;
}

/* Preserve 3D through intermediate containers */
.portfolio-grid .elementor-widget-container,
.portfolio-grid .elementor-loop-container {
  transform-style: preserve-3d;
}

/****** pop-up****/
/* Project Modal */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99997;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-modal.active {
    display: block;
    opacity: 1;
}

/* Overlay */
.project-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.project-modal-content {
    position: fixed;
    top: 5vh;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    background: #fff;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 100000;
    padding: 60px 40px 40px;
    -webkit-overflow-scrolling: touch;
    border-radius: 30px;
}


/* Close Button */
.project-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 100001;
    padding: 0;
    color: #000;
    transition: transform 0.2s ease;
}

/* Close Button - Remove hover color change, keep rotation */
.project-modal-close:hover {
    transform: rotate(90deg);
    background: transparent;
    
}

.project-modal-close svg {
    width: 100%;
    height: 100%;
}

/* Modal Body */
.project-modal-body {
    width: 100%;
}

/* Header - Title & Description Side by Side */
.project-modal-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.project-modal-title {
    margin: 0;
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    font-size: 5rem;
    font-weight: bold;
    line-height: 1.2;
    position: relative;
    color: black;
    -webkit-text-fill-color: white;
    -webkit-text-stroke: 1px black;
}

.project-modal-title .filled-overlay {
    position: absolute;
    top: 0;
    left: 0;
    color: black;
    -webkit-text-fill-color: black;
    -webkit-text-stroke: 0;
    pointer-events: none;
    clip-path: circle(0px at 50% 50%);
}

.project-modal-description {
    font-size: 1rem;
    line-height: 1.6;
}

/* Featured Image */
.project-modal-featured {
    margin-bottom: 40px;
}

.project-modal-featured img {
    width: 100%;
    height: auto;
    display: block;
}

/* Media Section - Videos single column, Pictures 2 columns */
.project-modal-media {
    display: grid;
    grid-template-columns: 1fr; /* Changed to single column for videos */
    gap: 30px;
}

/* Videos - Single Column */
.project-modal-videos {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

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

/* Pictures Gallery - 2 Columns */
.project-modal-pictures {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Changed to 2 columns */
    gap: 20px;
}

.project-modal-pictures img {
    width: 100%;
    height: auto;
    display: block;
}

/* Video Thumbnail Placeholder */
.video-thumbnail {
    position: relative;
    cursor: pointer;
    padding-bottom: 56.25%; /* 16:9 */
    background: #000;
    overflow: hidden;
}

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

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    z-index: 10;
}

.video-thumbnail:hover .video-play-overlay {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-overlay svg {
    width: 30px;
    height: 30px;
    fill: #000;
    margin-left: 5px; /* Offset for visual centering */
}



/* Responsive */
@media (max-width: 768px) {
    .project-modal-content {
        width: 95%;
        padding: 50px 20px 20px;
    }
    
    .project-modal-header {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-modal-title {
        font-size: 1.8rem;
    }
    
    .project-modal-media {
        grid-template-columns: 1fr;
    }
}/* End custom CSS */