/* @import url('https://fonts.googleapis.com/css2?family=CenturyGothic:wght@100..900&display=swap'); */
@font-face {
    font-family: 'CenturyGothic';
    src: url('centurygothic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'CenturyGothicBold';
    src: url('centurygothic_bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'CenturyGothic', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}


/* Awal: transparan */
#mainNavbar {
    background-color: transparent;
    backdrop-filter: none;
}

/* Setelah scroll: blur gelap */
#mainNavbar.scrolled {
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.highlight {
    font-family: 'CenturyGothicBold';
    color: #fff;
    font-weight: bolder !important;
    /* text-decoration: underline; */
}


#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

body.loaded #loading-screen {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.05);
    filter: blur(12px);
    transition-delay: 0.3s;
}

#loading-screen .logo-container {
    position: relative;
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.1));
    animation: loading-float 4s ease-in-out infinite;
}

#loading-screen .logo-container img {
    width: 60%;
    height: auto;
    border-radius: 8px;
    animation: loading-breathe 3s ease-in-out infinite;
}

#loading-screen .progress-bar-container {
    width: 60%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    overflow: hidden;
    margin-top: 20px;
}

#loading-screen .progress-bar {
    height: 100%;
    width: 0%;
    background-color: #fff;
    transition: width 0.3s ease;
    border-radius: 5px;
}

/* Scoped animations */
/* @keyframes loading-float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes loading-breathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
} */

/* Responsive design for loading screen only */
@media (max-width: 768px) {
    #loading-screen .logo-container {
        width: 280px;
    }

    #loading-screen .progress-bar-container {
        width: 100%;
    }
}



.hero-section {
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
min-height: 100vh;
height: 100vh;
width: 100%;
position: relative;
overflow: hidden;
transition: background-image 1s ease-in-out;
}

.hero-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: inherit;
background-size: cover;
background-position: center;
animation: zoomEffect 8s ease-in-out infinite alternate;
z-index: 0;
}

@keyframes zoomEffect {
0% {
transform: scale(1);
}
100% {
transform: scale(1.1);
}
}

.overlay {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
background: rgba(0, 0, 0, 0.3);
z-index: 1;
}

.hero-slider {
position: relative;
max-width: 700px;
margin-bottom: 20px !important;
z-index: 2;
}

.hero-slide {
display: none;
animation: fadeIn 1s ease-in-out;
}

.hero-slide.active {
display: block;
}

@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}

.hero-prev, .hero-next {
    font-size: 2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    
    background-color: transparent; /* transparan */
    color: rgba(255, 255, 255, 0.6); /* putih dengan opacity 60% */

    z-index: 10;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    border: none;
}


.hero-prev {
left: 10px;
}

.hero-next {
right: 10px;
}

.hero-prev:hover, .hero-next:hover {
opacity: 1;
background-color: transparent;
color: #fff;
}

.small-text {
font-size: 0.85rem;
opacity: 0.8;
}

.hero-title {
font-size: 2rem;
font-weight: 700;
line-height: 1.4;
}

.highlight {
/* text-decoration: underline; */
font-weight: bolder !important;
}

.hero-desc {
font-size: 0.95rem;
font-weight: 300;
opacity: 0.9;
}

.logo {
font-size: 0.9rem;
line-height: 1.2;
}

.menu-icon {
cursor: pointer;
}

.fullscreen-menu {
position: fixed;
top: 0;
left: 0;
height: 100%;
width: 100%;
background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(20,20,20,0.6) 50%, rgba(0,0,0,0.6) 100%);
backdrop-filter: blur(10px);
display: none;
justify-content: center;
align-items: center;
z-index: 9999;
opacity: 0;
pointer-events: none;
transform: scale(1.05);
transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fullscreen-menu.active {
display: flex;
opacity: 1;
pointer-events: auto;
transform: scale(1);
}

.menu-content {
position: relative;
text-align: left;
max-width: 400px;
width: 100%;
padding: 3rem;
border-radius: 20px;
/* background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
border: 1px solid rgba(255,255,255,0.1); */
box-shadow: 0 20px 40px rgba(0,0,0,0.3);
backdrop-filter: blur(20px);
}

.main-menu {
list-style: none;
padding: 0;
margin: 0;
}

.main-menu li {
margin: 1.5rem 0;
position: relative;
transform: translateY(20px);
opacity: 0;
animation: slideInUp 0.6s ease forwards;
}

.main-menu li:nth-child(1) { animation-delay: 0.1s; }
.main-menu li:nth-child(2) { animation-delay: 0.2s; }
.main-menu li:nth-child(3) { animation-delay: 0.3s; }
.main-menu li:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInUp {
to {
transform: translateY(0);
opacity: 1;
}
}

.main-menu a {
color: #fff;
font-size: 1.8rem;
text-decoration: none;
position: relative;
display: block;
padding: 12px 20px;
border-radius: 12px;
transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
font-weight: 500;
letter-spacing: 0.5px;
background: linear-gradient(145deg, transparent, transparent);
border: 1px solid transparent;
}

.main-menu a:hover {
color: #f9a825;
background: linear-gradient(145deg, rgba(249,168,37,0.1) 0%, rgba(249,168,37,0.05) 100%);
border: 1px solid rgba(249,168,37,0.2);
transform: translateX(10px);
box-shadow: 0 10px 25px rgba(249,168,37,0.15);
}

.main-menu li a::before {
content: '';
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 0;
height: 60%;
background: linear-gradient(180deg, #f9a825, #ffc107);
border-radius: 0 4px 4px 0;
transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.main-menu li a:hover::before {
width: 4px;
}

.has-submenu > a::after {
content: '▼';
position: absolute;
right: 20px;
top: 50%;
transform: translateY(-50%);
font-size: 0.9rem;
transition: transform 0.3s ease;
color: rgba(255,255,255,0.6);
}

.has-submenu.open > a::after {
transform: translateY(-50%) rotate(180deg);
color: #f9a825;
}

.has-submenu .submenu {
position: absolute;
left: 100%;
top: 0;
background: linear-gradient(145deg, rgba(30,30,30,0.95) 0%, rgba(40,40,40,0.95) 100%);
backdrop-filter: blur(15px);
list-style: none;
padding: 1.5rem;
display: none;
min-width: 240px;
border-radius: 16px;
opacity: 0;
transform: translateX(10px) scale(0.95);
transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
visibility: hidden;
border: 1px solid rgba(255,255,255,0.1);
box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.has-submenu.open .submenu {
display: block;
opacity: 1;
transform: translateX(0) scale(1);
visibility: visible;
}

.submenu li {
margin: 0.8rem 0;
animation: none;
opacity: 1;
transform: none;
}

.submenu a {
font-size: 1.1rem !important;
padding: 8px 16px !important;
color: rgba(255,255,255,0.8) !important;
font-weight: 400 !important;
position: relative;
overflow: hidden;
}

.submenu a::before {
content: '';
position: absolute;
left: -100%;
top: 0;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(249,168,37,0.1), transparent);
transition: left 0.5s ease;
}

.submenu a:hover::before {
left: 100%;
}

.submenu a:hover {
color: #f9a825 !important;
background: rgba(249,168,37,0.08) !important;
transform: translateX(5px) !important;
}

.fullscreen-logo {
position: absolute;
top: 30px;
left: 40px;
z-index: 10000;
opacity: 0;
transform: translateY(-20px);
animation: fadeInDown 0.8s ease 0.2s forwards;
}

@keyframes fadeInDown {
to {
opacity: 1;
transform: translateY(0);
}
}

.fullscreen-logo img {
max-height: 45px;
width: auto;
filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.btn-close {
position: absolute;
top: 30px;
right: 40px;
font-size: 2rem;
background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
border: 1px solid rgba(255,255,255,0.2);
color: white;
cursor: pointer;
z-index: 10001;
width: 50px;
height: 50px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
backdrop-filter: blur(10px);
opacity: 0;
transform: translateY(-20px) rotate(90deg);
animation: fadeInRotate 0.8s ease 0.3s forwards;
}

@keyframes fadeInRotate {
to {
opacity: 1;
transform: translateY(0) rotate(0deg);
}
}

.btn-close:hover {
background: linear-gradient(145deg, rgba(249,168,37,0.2), rgba(249,168,37,0.1));
border-color: rgba(249,168,37,0.4);
color: #f9a825;
transform: rotate(90deg) scale(1.1);
box-shadow: 0 10px 25px rgba(249,168,37,0.2);
}


.title {
font-family: CenturyGothic;
font-weight: 500;
font-size: 32px;
line-height: 120%;
letter-spacing: -2%;
text-align: center;
vertical-align: bottom;
text-transform: capitalize;

}

.name-porto {
font-family: CenturyGothic;
font-weight: 500;
font-size: 23px;
line-height: 120%;
letter-spacing: -2%;
vertical-align: bottom;
text-transform: capitalize;
margin-top: 10px;

}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
.hero-section::before {
animation: zoomEffectMobile 10s ease-in-out infinite alternate;
background-size: cover;
background-position: center;
}

@keyframes zoomEffectMobile {
0% {
transform: scale(1);
}
100% {
transform: scale(1.05);
}
}

.hero-slider {
margin-bottom: 110px !important;
}

/* @media (max-width: 991.98px) {
    .hero-slider {
        align-items: flex-end;
    }
} */

.hero-slide {
display: none;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100%;
text-align: center;
}

.hero-slide.active {
display: flex;
}

.hero-title {
font-size: 1.6rem;
line-height: 1.4;
}

.hero-desc {
font-size: 1rem;
max-width: 90%;
}

.hero-prev,
.hero-next {
width: 40px;
height: 40px;
font-size: 1.2rem;
}

.hero-prev {
left: 10px;
}

.hero-next {
right: 10px;
}

.btn {
font-size: 0.9rem;
padding: 8px 16px;
}

/* Mobile Menu Styles */
.menu-content {
max-width: 90%;
width: 100%;
padding: 2rem 1.5rem;
text-align: center;
border-radius: 16px;
}

.main-menu a {
font-size: 1.4rem;
padding: 10px 16px;
}

.has-submenu .submenu {
position: relative;
left: 0;
top: 0;
background: linear-gradient(145deg, rgba(40,40,40,0.8), rgba(50,50,50,0.8));
padding: 1rem;
margin-top: 10px;
min-width: unset;
border-radius: 12px;
text-align: center;
transform: none;
}

.has-submenu.open .submenu {
display: block;
opacity: 1;
visibility: visible;
transform: none;
animation: slideDown 0.3s ease;
}

@keyframes slideDown {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

.submenu a {
display: block;
padding: 8px 12px !important;
font-size: 1rem !important;
margin: 5px 0;
border-radius: 8px;
}

.fullscreen-logo {
top: 20px;
left: 20px;
}

.btn-close {
top: 20px;
right: 20px;
width: 45px;
height: 45px;
font-size: 1.5rem;
}
}


.property-carousel {
margin: 0px 0;
}

.slick-slide {
padding: 0 15px;
}

.slick-dots {
bottom: -50px;
}

.slick-dots li button:before {
font-size: 12px;
color: #333;
}

.slick-dots li.slick-active button:before {
color: #000;
}

.slick-prev,
.slick-next {
z-index: 1;
width: 40px;
height: 40px;
}

.slick-prev {
left: -50px;
}

.slick-next {
right: -50px;
}

.property-item {
margin-bottom: 20px;
}

.name-porto {
font-weight: 600;
color: #333;
margin-bottom: 0;
}

.btn-dark {
font-size: 14px;
padding: 8px 16px;
}


/* portolainnya & footer */
.portfolio-section {
padding: 80px 0;
text-align: center;
}

.section-title {
font-family: CenturyGothic;
font-weight: 500;
font-size: 32px;
line-height: 120%;
letter-spacing: -2%;
text-align: center;
vertical-align: bottom;
text-transform: capitalize;

}

.section-subtitle {
font-family: CenturyGothic;
font-weight: 400;
font-size: 16px;
line-height: 155%;
letter-spacing: -2%;
text-align: center;

}

.portfolio-card {
position: relative;
border-radius: 8px;
overflow: hidden;
margin-bottom: 30px;
height: 450px;
background-size: cover;
background-position: center;
display: flex;
align-items: center;
justify-content: center;
align-items: flex-end;

}

.portfolio-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
z-index: 1;
}

.card-content {
position: relative;
z-index: 2;
color: white;
padding: 30px;
}

.watermark {
font-family: CenturyGothic;
font-weight: 400;
font-size: 14px;
line-height: 120%;
letter-spacing: -2%;
vertical-align: middle;
text-transform: uppercase;

}

.card-title {
font-family: CenturyGothic;
font-weight: 500;
font-size: 28px;
line-height: 120%;
letter-spacing: -2%;
text-align: center;
vertical-align: bottom;
text-transform: capitalize;

}

.card-description {
font-family: CenturyGothic;
font-weight: 400;
font-size: 14px;
line-height: 155%;
letter-spacing: -2%;
text-align: center;

}

.shadow-portofolio {
background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.73) 75.73%, rgba(0, 0, 0, 0.9) 100%);
}

.footer {
background-color: #1a1a1a;
color: white;
padding: 50px 0 30px;
}

.footer h5 {
font-size: 1.1rem;
font-weight: 600;
margin-bottom: 20px;
color: white;
}

.footer ul {
list-style: none;
padding: 0;
}

.footer ul li {
margin-bottom: 8px;
}

.footer ul li a {
color: #ccc;
text-decoration: none;
font-size: 0.9rem;
transition: color 0.3s ease;
}

.footer ul li a:hover {
color: white;
}

.footer-bottom {
border-top: 1px solid #333;
margin-top: 30px;
padding-top: 20px;
text-align: center;
}

.footer-bottom p {
color: #ccc;
font-size: 0.8rem;
margin: 0;
}

.social-links a {
color: #ccc;
font-size: 1.2rem;
margin-right: 15px;
transition: color 0.3s ease;
}

.social-links a:hover {
color: white;
}

/* Tablet */
@media (max-width: 768px) {
.name-porto {
font-size: 1.1rem;
}

.btn-detail-porto {
font-size: 11px;
padding: 6px 9px;
}
}

/* Mobile */
@media (max-width: 576px) {
.name-porto {
font-size: 1rem;
text-align: center;
/* opsional jika ingin rata tengah di hp */
}

.btn-detail-porto {
font-size: 11px;
padding: 6px 9px;
}
}



/* Detail Porto */
.design-brief {
background-color: #fff;
color: #333;
font-family: 'Arial', sans-serif;
}

.section-subtitle-detailporto {
font-size: 14px;
text-transform: uppercase;
letter-spacing: 1px;
}

.section-title-detailporto {
font-size: 26px;
}

.text-paragraph {
font-size: 15px;
line-height: 1.8;
text-align: justify;
}

.youtube-section {
border-top: 1px solid #ddd;
padding-top: 30px;
}
