:root {
    --primary-color: #2a2625;
    --secondary-color: #44403f;
    --accent-color: #e74c3c;
}

body {
    background-color: var(--primary-color);
}

.font-georgia {
    font-family: 'georgia', sans-serif;
}

.font-calibri {
    font-family: 'calibri', sans-serif;
}

/* Header Styles */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.navbar-toggler {
    border: 2px solid white;
    padding: 8px 12px;
    background: transparent;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

/* Desktop: Always show navigation */
@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

    .navbar-collapse .nav {
        display: flex !important;
        flex-direction: row !important;
    }
}

/* Navigation Links */
.nav-link {
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-link:hover {
    text-decoration: underline;
}

.nav-link.active {
    color: var(--accent-color) !important;
    font-weight: 700;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background-color: var(--accent-color);
}

/* Marquee Container */
.marquee-container {
    overflow: hidden;
    font-size: 12px;
}

/* Mobile Menu Styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--secondary-color);
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 8px;
    }

    .nav {
        flex-direction: column;
    }

    .nav-link {
        padding: 0.75rem 1rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link.active::after {
        display: none;
    }

    .nav-link.active {
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 5px;
    }
}

/* Desktop spacing */
@media (min-width: 992px) {
    .nav-link {
        padding: 0.5rem 1rem !important;
        font-size: 12px;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

@media (max-width: 768px) {
    /* Hero Section */
    .hero-section {
        height: 100vh; 
    }
}

.hero-carousel {
    height: 100vh;
}

.carousel-item {
    height: 100vh;
    position: relative;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.carousel-item img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    color: white;
    /* width: 35%; */
    max-width: 1200px;
}

@media (max-width: 768px) {
    .hero-content {
        top: 50%;
    }

    .carousel-control-next, .carousel-control-prev {
        top: 48%;
        align-items: unset;
    }
}

.hero-content h1 {
    text-align: center;
    margin: 0 auto; 
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: 15px;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    animation: fadeInDown 1s ease-out;
    border: 10px solid #fff;
    padding: 0px 10px;
    padding-bottom: 8px;
    width: fit-content;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.hero-content .btn-custom {
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 80px;
    opacity: 0.8;
    transition: opacity 0.3s;
    z-index: 2 !important;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-indicators {
    z-index: 3;
    margin-bottom: 2rem;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
}

/* Slide Transition Effects */
.carousel-item {
    transition: transform 1s ease, opacity 1s ease;
}

/* Fade Effect */
.carousel.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel.carousel-fade .carousel-item.active {
    opacity: 1;
}

/* Zoom Effect */
.slide-zoom img {
    animation: zoomIn 8s ease-out forwards;
}

@keyframes zoomIn {
    0% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Slide from Right */
.slide-right img {
    animation: slideRight 1.2s ease-out;
}

@keyframes slideRight {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Slide from Left */
.slide-left img {
    animation: slideLeft 1.2s ease-out;
}

@keyframes slideLeft {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Content Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Different content animations for each slide */
.slide-1 .hero-content h1 {
    animation: fadeInDown 1s ease-out;
}

.slide-1 .hero-content p {
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.slide-1 .hero-content .btn-custom {
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.slide-2 .hero-content h1 {
    animation: fadeInLeft 1s ease-out;
}

.slide-2 .hero-content p {
    animation: fadeInRight 1s ease-out 0.3s backwards;
}

.slide-2 .hero-content .btn-custom {
    animation: scaleUp 0.8s ease-out 0.6s backwards;
}

.slide-3 .hero-content h1 {
    animation: scaleUp 1s ease-out;
}

.slide-3 .hero-content p {
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.slide-3 .hero-content .btn-custom {
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.slide-4 .hero-content h1 {
    animation: fadeInRight 1s ease-out;
}

.slide-4 .hero-content p {
    animation: fadeInLeft 1s ease-out 0.3s backwards;
}

.slide-4 .hero-content .btn-custom {
    animation: fadeInDown 1s ease-out 0.6s backwards;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        width: 60%;

    }

    .hero-content h1 {
        font-size: 1.2rem;
        letter-spacing: 8px;
        border: 3px solid #fff;
        padding-bottom: 0px;
        padding: 8px;
    }

    .hero-content p {
        font-size: 1.1rem;
    }
}

.tentang-kami h2 {
    position: relative;
}

.tentang-kami h2::after {
    content: "";
    width: 60px;
    height: 3px;
    background: #f0ad4e;
    display: block;
    margin-top: 10px;
}

.cta {
    margin-bottom: 60px;
}

.cta-box {
    background: var(--primary-color);
    padding: 60px 30px;
    border-radius: 12px;
}

.cta-box h2 {
    max-width: 700px;
    margin: 0 auto;
}

.cta-box p {
    max-width: 750px;
    margin: 0 auto 30px;
    color: #ddd;
}

.video-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Play button */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.video-play-btn:hover {
    background: rgba(0,0,0,0.8);
    transform: translate(-50%, -50%) scale(1.05);
}

/* Hide button when playing */
.video-wrapper.playing .video-play-btn {
    opacity: 0;
    pointer-events: none;
}


/* Profil Page Styles */
.profile {
    min-height: 100vh;
    padding: 150px 0 !important;
}

.profile p {
    line-height: 1.6;
    color: #333;
    font-size: 1em;
    font-family: 'Lato', Calibri, Arial, sans-serif;
    padding: 0px 20px;
    text-align: justify;
}

.profile .profile-wraper-in {
    width: 50%;
    float: left;
    text-align: justify;
    padding: 20px 22px;
    height: auto;
    font-family: 'Lato', Calibri, Arial, sans-serif;
    font-size: 1em;
}

.profile .profile-right {
    border-left: 3px dotted #ccc;
}

/* Section Styles */

.contact {
    min-height: 90vh;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: var(--primary-color);
}

/* Contact Page Styles */
.contact-info {
    padding: 10px 0;
}


.contact-info .contact-detail {
    padding: 40px 0;
    border-top: 3px dotted #ccc;
}

.contact-icon {
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
}

.contact-info h5 {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-info a {
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--accent-color) !important;
}

.map-container {
    height: 100%;
    min-height: 600px;
    margin-top: 20px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 600px;
}

/* Form Styles */
#contactForm .form-control:focus {
    background-color: #c0c0c0;
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

/* Responsive Contact Page */
@media (max-width: 991.98px) {
    .map-container {
        min-height: 400px;
        margin-top: 30px;
    }

    .map-container iframe {
        min-height: 400px;
    }
}

.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.btn-custom {
    background-color: var(--accent-color);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-custom:hover {
    background-color: #c0392b;
    color: white;
}

.box,
.gallery {
    border: 5px solid #fff;
    cursor: pointer;
    height: 225px;
    float: left;
    position: relative;
    overflow: hidden;
    margin-top: 15px;
    width: 100%;
    -webkit-box-shadow: 1px 1px 1px 1px #ccc;
    -moz-box-shadow: 1px 1px 1px 1px #ccc;
    box-shadow: 1px 1px 1px 1px #ccc;
}

@media (max-width: 768px) {

    .box,
    .gallery {
        height: 160px;
    }
}

.box:last-child,
.gallery:last-child {
    margin-bottom: 20px;
}

.box img,
.gallery img {
    width: 100%;
    height: 100%;
}

.box img {
    position: absolute;
    left: 0;
    -webkit-transition: all 300ms ease-out;
    -moz-transition: all 300ms ease-out;
    -o-transition: all 300ms ease-out;
    -ms-transition: all 300ms ease-out;
    transition: all 300ms ease-out;
}

/* Caption Common Style by www.hongkiat.com*/
.box .caption {
    background-color: rgba(0, 0, 0, 0.8);
    position: absolute;
    color: #fff;
    -webkit-transition: all 300ms ease-out;
    -moz-transition: all 300ms ease-out;
    -o-transition: all 300ms ease-out;
    -ms-transition: all 300ms ease-out;
    transition: all 300ms ease-out;
    left: 0;
}

.box .caption h3 {
    text-align: center;
    margin: 60px auto;
}

@media (max-width: 768px) {
    .box .caption h3 {
        margin: 40px auto;
    }
}

/** Caption Slide **/
.box .slide-caption {
    width: 100%;
    height: 100%;
    text-align: left;
    padding: 15px;
    left: 100%;
}

/** Slide Caption :hover **/
.box:hover .slide-caption {
    background-color: rgba(0, 0, 0, 1) !important;
    -moz-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    opacity: 1;
    transform: translateX(-100%);
}

.box:hover img#image-4 {
    -moz-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    opacity: 1;
}

.project-detail {
    min-height: 100vh;
    padding: 150px 0 !important;
}

.project-detail .box-detail {
    border: 5px solid #fff;
    cursor: pointer;
    height: 225px;
    float: left;
    position: relative;
    overflow: hidden;
    margin-top: 15px;
    width: 100%;
    -webkit-box-shadow: 1px 1px 1px 1px #ccc;
    -moz-box-shadow: 1px 1px 1px 1px #ccc;
    box-shadow: 1px 1px 1px 1px #ccc;
}

@media (max-width: 768px) {
    .project-detail .box-detail {
        height: 160px;
    }
}

.project-detail .box-detail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    text-align: center;
}

.lightbox-content {
    margin-top: 60px;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
}

.close,
.next,
.prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: white;
    cursor: pointer;
    user-select: none;
}

.close {
    top: 20px;
    right: 30px;
    font-size: 40px;
}

.next {
    right: 30px;
}

.prev {
    left: 30px;
}

.next:hover,
.prev:hover,
.close:hover {
    color: #ccc;
}


/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 75px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    text-decoration: none;
}

.whatsapp-float.at-bottom {
    bottom: 75px;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #FFF;
    transform: scale(1.1);
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.4);
}

/* Tooltip */
.whatsapp-float::before {
    content: "Chat dengan Kami";
    position: absolute;
    right: 70px;
    background-color: #25d366;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    right: 60px;
    border-left: 8px solid #25d366;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-float:hover::before,
.whatsapp-float:hover::after {
    opacity: 1;
    visibility: visible;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 80px;
        right: 20px;
        font-size: 26px;
    }

    .whatsapp-float.at-bottom {
        bottom: 85px;
    }

    .whatsapp-float::before {
        display: none;
    }
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 0;
}

.footer-fixed {
    position: fixed;
    bottom: 0px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    z-index: 10;
}

.font-calibri {
    font-family: Calibri, 'Gill Sans', 'Gill Sans MT', 'Trebuchet MS', sans-serif;
}

.social-icons a {
    transition: all 0.3s ease;
    display: inline-block;
}

.social-icons a:hover {
    /* color: var(--accent-color) !important; */
    transform: translateY(-3px);
}

.social-icons i {
    transition: all 0.3s ease;
}

.visitor-info {
    font-size: 0.9rem;
    opacity: 0.9;
}