html, body { background-color: #1c2023; }

/* Parallax panels: tint over the photo only, behind the text */
.ag-plx-tint .ag-plx-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ag-tint, #000);
  opacity: var(--ag-tint-op, .5);
  pointer-events: none;
}

.min-vh-20 { min-height: 20vh !important; }
.min-vh-40 { min-height: 40vh !important; }
.min-vh-60 { min-height: 60vh !important; }
.min-vh-80 { min-height: 80vh !important; }
/* min-vh-100 already exists in Bootstrap */

@media (min-width: 992px) {
  .min-vh-lg-40 { min-height: 40vh !important; }
  .min-vh-lg-60 { min-height: 60vh !important; }
  .min-vh-lg-80 { min-height: 80vh !important; }
}

/* Special Services: point of the grey shape level with the "Our Services" line */
.ag-tip-line.custom-section-shape-background.custom-section-shape-background-reverse:before { right: calc(50% + 3.3px); }
.ag-tip-line.custom-section-shape-background.custom-section-shape-background-reverse:after  { right: calc(50% - 3.3px); }

/* Same, for the normal (non-reverse) shape. Set --ag-tip on the section:
   how far the line is from the middle of the section (minus = above, plus = below) */
.ag-tip-line.custom-section-shape-background:not(.custom-section-shape-background-reverse):before { left: calc(48.5% - var(--ag-tip, 0px) * .3839); }
.ag-tip-line.custom-section-shape-background:not(.custom-section-shape-background-reverse):after  { left: calc(48.5% + var(--ag-tip, 0px) * .3839); }

/* Shape sections: colours set from the HTML
   --ag-shape      = the grey shape   (default #f7f7f7, the theme's grey)
   --ag-shape-side = the white side   (default #fff) */
.section.custom-section-shape-background { background-color: var(--ag-shape, #f7f7f7); }
.section.custom-section-shape-background:before,
.section.custom-section-shape-background:after { background: var(--ag-shape-side, #fff); }

/* Shape sections: colours set from the HTML
   --ag-shape      = the grey shape   (default #f7f7f7, the theme's grey)
   --ag-shape-side = the white side   (default #fff) */
.section.section-with-shape-divider { background-color: var(--ag-shape, #f7f7f7); }
.section.section-with-shape-divider:before,
.section.section-with-shape-divider:after { background: var(--ag-shape-side, #fff); }

.section.section-white{
  background-color: rgba(255, 255, 255, 1) !important;
}

/* Service boxes: image icons instead of Font Awesome */
.featured-box .icon-featured.ag-icon-img {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.featured-box .icon-featured.ag-icon-img img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transform: scale(.8);
  opacity: .7;
  transition: transform .2s, opacity .2s;
}
.featured-box-effect-7:hover .icon-featured.ag-icon-img img {
  transform: scale(1);
  opacity: 1;
}
 /* Hide Text */
  .metta{
  position: absolute;
  display: inline-block;
  width: 100%;
  top:-300px;
  left:0;
  }
  
 .metta h1{
    color:#333!important;
    background: rgba(255, 255, 255, 0)!important;
    font-size: 10px!important;
    line-height: 10px;
    margin-top: 0px;
  }

/* menu sosial */
 #top, .top ul{
    margin: 20px 50px;
    padding: 0 10px;
    border-left: 1px solid #808080;
    height: 30px;

}

@media (min-width: 990px) {
  #burger-social{
  display: none;    
  }
}

@media (max-width: 990px) {
  #top{
  margin-left: 40%;
  margin-top: 0px!important;
    padding: auto;
    border-left: none!important;
    height: 30px;
    }
}

@media (max-width: 990px) {
  #social-icons-m{
  margin-left: 0px!important;
    margin-top: 15px!important;
    }
}

@media (max-width: 767px) {
  #social-icons-m {
  margin-left: 20px!important;
    margin-top: 15px!important;
    }
}



@media (max-width: 990px) {
    #social-icons-m {
        margin-right: 0%!important;
        width: 500px;
        margin-top: 0px!important;
    }
}


#header .header-social-icons {
        display: block!important;
    }




.section-dark{
  background: #494949!important;
}

/* Navication Bar */


html .btn-primary {
background-color: #C29E75;
border-color: #C29E75 #C29E75 #C29E75!important;
color: #FFF;
}

@media (min-width: 992px){
#header .header-nav.header-nav-links nav > ul > li > a, #header .header-nav.header-nav-links nav > ul > li:hover > a, #header .header-nav.header-nav-line nav > ul > li > a, #header .header-nav.header-nav-line nav > ul > li:hover > a {
    position: relative;
    background: transparent !important;
    padding: 0 .7rem!important;
    font-size: 16px!important;
    margin: 1px 0 0;
    min-height: 60px;
    height: 100%;
    }
}


/* Book Link */
#book-link:hover {
color: #a2a2a2!important;
-o-transition:color .2s ease-out, background 1s ease-in!important;
  -ms-transition:color .2s ease-out, background 1s ease-in!important;
  -moz-transition:color .2s ease-out, background 1s ease-in!important;
  -webkit-transition:color .2s ease-out, background 1s ease-in!important;
  /* ...and now override with proper CSS property */
  transition:color .2s ease-out, background 1s ease-in!important;
  text-decoration: none!important;
}

.text-color-gold{
  color:#C29E75;
}

/* Video Shadow */

.custom-hero-sub-images-style-1:before {
content: '';
position: absolute;
top: 0px;
left: 0;
width: 200%!important;
height: 100%;
background: rgba(0, 0, 0, 0.51);
opacity: 0.7;
z-index: 1;
}


h2.text-color-white{
  color: #ffffff!important;
}

hr.style-two {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, #1c2023, #414447, #696b6d, #949597, #c1c1c2, #c1c1c2, #c1c1c2, #c1c1c2, #949597, #696b6d, #414447, #1c2023);
}

@media (max-width: 991px) {
    #header .header-nav-main.header-nav-main-mobile-dark nav > ul > li > a {
        color: #dedede;
        font-weight: 400!important;
    }
}

.social-icons-:hover {
  text-shadow: 1px 1px 5px #c7c7c7!important;

}


/* Antonios — POTFOLIO GALLERY (vertical title + slider)
   The word's size is set by antonios-custom.js to fill the gallery height. */

.portfolio-gallery {
     display: flex;
     align-items: stretch;          /* title column is as tall as the slider */
     gap: 10px;
   }
   
   .portfolio-gallery__title {
     flex: 0 0 auto;                /* column is exactly as wide as the word */
     display: flex;
     align-items: center;           /* word centred against the images */
     justify-content: center;
     padding: 0 0 20px 20px;
   }
   
   .portfolio-gallery .portfolio-gallery__title h2 {
     writing-mode: vertical-rl;
     transform: rotate(180deg);     /* reads bottom → top: P at the bottom, O at the top */
     white-space: nowrap;
     inline-size: max-content;      /* box is exactly as long as the word, so flex can centre it */
     align-self: center;
     text-align: center;
     margin: 0 !important;
     line-height: 1 !important;     /* keeps the column narrow (overrides line-height-2) */
     letter-spacing: 0.05em;
     text-transform: uppercase;     /* all letters the same height at every screen size */
     font-variant: normal;
   }
   
   .portfolio-gallery__slider {
     flex: 1 1 auto;
     min-width: 0;                  /* lets the carousel shrink inside the row */
   }
   
   /* End-of-carousel wipe: the first images slide in over the last ones,
      each revealed from its right edge to its left edge (driven by antonios-custom.js) */
   .portfolio-gallery .owl-item {
     position: relative;
   }
   
   .portfolio-gallery .pf-wipe {
     position: absolute;
     inset: 0;
     z-index: 3;
     pointer-events: none;
     clip-path: inset(0 0 0 100%);  /* hidden: clipped from the right edge */
     animation: pf-wipe 900ms cubic-bezier(.77, 0, .18, 1) forwards;
   }
   
   @keyframes pf-wipe {
     to { clip-path: inset(0 0 0 0); } /* fully revealed */
   }
  
  /* SAFARI: toolbar see-through (don't copy the header's grey into it). */
   #header .header-body,
   .loading-overlay {
     -webkit-backdrop-filter: saturate(100%);
     backdrop-filter: saturate(100%);
   }
   
   /* Smooth scrolling: don't let the Google Map catch the mouse wheel mid-scroll */
   .lenis.lenis-scrolling iframe {
     pointer-events: none;
   }
   
   
   
   
   
   
   
   
   
   
   /* OVERWRITE CSS  */
   
   .heading h2.ag-h1 { 
     font-size: 2.6em;
      letter-spacing: .01em;
      padding-right: 15px; 
    }
   .heading.heading-middle-border.grey h2.ag-h1 { 
     background: #f7f7f7; 
   }
   @media (max-width: 991px) { 
     .heading.heading-middle-border.grey-switched h2.ag-h1 { 
       background: #f7f7f7; 
      } 
     }
   
   /* Links: no blue after clicking – stay gold, slightly darker on hover */
   a:focus, a:active, a:visited { 
     color: #C29E75; 
   }
   a:hover { 
     color: #a8865f; 
   }
   .btn-link:focus, .btn-link:active { 
     color: #C29E75;
      box-shadow: none; 
    }
   .btn-link:hover { 
     color: #a8865f; 
   }
   a.text-color-default:focus, a.text-color-default:active { 
     color: #777; 
   }
   
   /* "Established since 1995" parallax: reveal as it widens instead of re-wrapping
      the text (re-wrapping changed the page height and made menu links overshoot) */
   .scrollable-parallax-wrapper { 
     overflow: hidden; 
     position: relative; 
   }
   .scrollable-parallax-wrapper > .container { 
     width: 100vw; 
     max-width: 1140px;
      position: relative; 
      left: 50%; 
      transform: translateX(-50%);
      margin-left: 0 !important; 
      margin-right: 0 !important; }
   
   /* Gallery arrows: stay gold (no blue) and fade a little on hover */
   html body .owl-carousel:not(.nav-arrows-1):not(.show-nav-title) .owl-nav button[class*="owl-"] { 
     background-color: #C29E75; 
     border-color: #C29E75; 
     transition: opacity .25s ease, background-color .25s ease;
     }
   html body .owl-carousel:not(.nav-arrows-1):not(.show-nav-title) .owl-nav button[class*="owl-"]:hover, html body .owl-carousel:not(.nav-arrows-1):not(.show-nav-title) .owl-nav button[class*="owl-"].hover, html body .owl-carousel:not(.nav-arrows-1):not(.show-nav-title) .owl-nav button[class*="owl-"]:focus { 
     background-color: #C29E75; 
     border-color: #C29E75; 
     opacity: .7; 
   }
   html body .owl-carousel:not(.nav-arrows-1):not(.show-nav-title) .owl-nav button[class*="owl-"]:active, html body .owl-carousel:not(.nav-arrows-1):not(.show-nav-title) .owl-nav button[class*="owl-"].active { 
     background-color: #a8865f; 
     border-color: #a8865f; 
     opacity: .85; }
   html body .owl-carousel:not(.nav-arrows-1):not(.show-nav-title) .owl-nav button[class*="owl-"].disabled, html body .owl-carousel:not(.nav-arrows-1):not(.show-nav-title) .owl-nav button[class*="owl-"].disabled:hover { 
     opacity: .5; 
     cursor: default; 
   }
   
   /* Service names are H3 now (proper heading order) – keep the old H4 look */
   .featured-boxes-full h3.ag-svc { 
     line-height: 27px; 
     text-transform: none; 
   }
   
   .hero {
     height: 100vh;      /* fallback for older browsers */
     height: 100lvh;     /* "large" viewport: full screen, including the area behind the toolbar */
     min-height: calc(100vh + env(safe-area-inset-bottom));
   }
   
   /* make the video/image fill it too */
   .hero video,
   .hero .hero-bg {
     position: absolute;
     inset: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
   }
   .hero { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
   
   .main { background-color: #fff; }
   
/* =====================================================================
      iPhone/iPad: no grey bar at the bottom while the page loads
      The white loading screen is pinned to the screen ("fixed"), and Safari
      can't draw pinned things in the strip behind its bottom bar - so that
      strip showed the grey page background until the loader disappeared.
      On iOS the loader is laid on the page instead (not pinned), tall enough
      to reach behind Safari's bar. The page is always at the top while
      loading, so it looks the same - just without the bar.
      ===================================================================== */
   @supports (-webkit-touch-callout: none) {
     html body > .loading-overlay {
       position: absolute !important;
       top: 0 !important;
       bottom: auto !important;
       height: calc(100lvh + 200px) !important;
     }
   }
   
   /* Revolution Slider: smooth parallax layers on scroll (stops the juddering) */
   #revolutionSlider .tp-parallax-wrap.tp-parallax-container {
     will-change: transform;
     backface-visibility: hidden;
     -webkit-backface-visibility: hidden;
   }
   
   /* iPhone/iPad: smooth slider parallax (any level number 1–10 works) */
   @supports (animation-timeline: scroll()) {
     html.ag-rs-ios #revolutionSlider .tp-loop-wrap:has(> .tp-mask-wrap > [class*="rs-parallaxlevel-"]) {
       animation: agRsPlx linear both;
       animation-timeline: scroll(root);
       animation-range: 0 100vh;
     }
     html.ag-rs-ios #revolutionSlider .tp-loop-wrap:has(> .tp-mask-wrap > .rs-parallaxlevel-1)  { --ag-plx: 2vh; }
     html.ag-rs-ios #revolutionSlider .tp-loop-wrap:has(> .tp-mask-wrap > .rs-parallaxlevel-2)  { --ag-plx: 3vh; }
     html.ag-rs-ios #revolutionSlider .tp-loop-wrap:has(> .tp-mask-wrap > .rs-parallaxlevel-3)  { --ag-plx: 4vh; }
     html.ag-rs-ios #revolutionSlider .tp-loop-wrap:has(> .tp-mask-wrap > .rs-parallaxlevel-4)  { --ag-plx: 5vh; }
     html.ag-rs-ios #revolutionSlider .tp-loop-wrap:has(> .tp-mask-wrap > .rs-parallaxlevel-5)  { --ag-plx: 6vh; }
     html.ag-rs-ios #revolutionSlider .tp-loop-wrap:has(> .tp-mask-wrap > .rs-parallaxlevel-6)  { --ag-plx: 7vh; }
     html.ag-rs-ios #revolutionSlider .tp-loop-wrap:has(> .tp-mask-wrap > .rs-parallaxlevel-7)  { --ag-plx: 8vh; }
     html.ag-rs-ios #revolutionSlider .tp-loop-wrap:has(> .tp-mask-wrap > .rs-parallaxlevel-8)  { --ag-plx: 9vh; }
     html.ag-rs-ios #revolutionSlider .tp-loop-wrap:has(> .tp-mask-wrap > .rs-parallaxlevel-9)  { --ag-plx: 12vh; }
     html.ag-rs-ios #revolutionSlider .tp-loop-wrap:has(> .tp-mask-wrap > .rs-parallaxlevel-10) { --ag-plx: 50vh; }
   }
   @keyframes agRsPlx { from { transform: translateY(0); } to { transform: translateY(var(--ag-plx, 0)); } }








