* {
    font-family: 'Montserrat', sans-serif;
}

.navbar {
    background-color: transparent;
    min-height: 500px;
}

.nav-container {
    padding-top: 80px;
    justify-content: flex-start !important;
}

@media (max-width: 768px) {
    .navbar {
        min-height: 400px;
    }

    .nav-container {
        min-height: 400px !important;
        padding-top: 60px;
    }

    .nav-video-bg {
        height: 100%;
        object-fit: cover;
    }

    .nav-slogan {
        margin-top: 4rem;
    }
}

.nav-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

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

.nav-slogan {
    line-height: 1.1;
    margin-top: 6rem;
    margin-bottom: 3rem;
    min-height: 160px;
    /* Anchors the layout */
}

.nav-line-1 {
    display: block;
    font-size: 2.2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.2rem;
}

.nav-line-2 {
    display: block;
    font-size: 3.2rem;
    font-weight: 800;
    color: #ffffff;
    transition: opacity 0.4s ease-in-out;
    will-change: opacity;
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
}

.carousel-item .img-protect {
    display: flex;
    align-items: flex-start;
    /* Growth direction: down */
    overflow: hidden;
}

.carousel-item img {
    object-position: top center;
}

.nav-menu-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-menu-btn:hover {
    transform: scale(1.1);
    color: rgba(255, 255, 255, 0.8);
}

.offcanvas {
    width: 350px !important;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.offcanvas-body .nav-link {
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    display: inline-block;
}

.offcanvas-body .nav-link:hover {
    color: #ffd700 !important;
    /* Gold highlight for premium feel */
    padding-left: 10px;
}

.text-secondary {
    color: #4c4d4f !important;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.hide-scrollbar {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* Round Slider Indicators */
.carousel-indicators [data-bs-target] {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    margin-left: 6px !important;
    margin-right: 6px !important;
    background-color: #888 !important;
    border: 1px solid #fff !important;
}

/* Gray Carousel Controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(50%) grayscale(100%);
}

/* Sector Item */
.sector-item {
    overflow: hidden;
}

/* Navigation Buttons */
#scrollLeft,
#scrollRight {
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#scrollLeft:hover,
#scrollRight:hover {
    opacity: 1 !important;
    transform: translateY(-50%) scale(1.1);
    background-color: #000 !important;
}

/* Scroll Overlay Animation */
#scrollOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
}

#scrollOverlay.show-overlay {
    opacity: 1;
    visibility: visible;
    animation: fadeOutOverlay 1s forwards 3s;
}

.arrow-container {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}

.left-arrow {
    animation: bounceLeft 1s infinite;
}

.right-arrow {
    animation: bounceRight 1s infinite;
}

@keyframes bounceLeft {

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

    50% {
        transform: translateX(-10px);
    }
}

@keyframes bounceRight {

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

    50% {
        transform: translateX(10px);
    }
}

@keyframes fadeOutOverlay {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* Minimal Form Design */
.minimal-form-control {
    border: none !important;
    border-bottom: 1px solid #ced4da !important;
    border-radius: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    background-color: transparent !important;
    color: #4c4d4f !important;
    box-shadow: none !important;
}

.minimal-form-control:focus {
    border-bottom-color: #000 !important;
}

.minimal-form-control::placeholder {
    color: #4c4d4f;
    opacity: 0.8;
}

.form-select.minimal-form-control {
    background-position: right 0 center;
}

/* Site Footer */
.site-footer {
    background-color: #1a1a1a !important;
}

.footer-links a {
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ffd700 !important;
    opacity: 1 !important;
    padding-left: 5px;
}

.transition-all {
    transition: all 0.3s ease;
}

.hover-gold:hover {
    color: #ffd700 !important;
}

.hover-opacity-100:hover {
    opacity: 1 !important;
}

.rotating-plus {
    animation: rotatePlus 2s infinite;
}

@keyframes rotatePlus {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Image Protection */
.img-protect {
    position: relative;
    display: block;
}

.img-protect::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 1;
}

.img-protect img {
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* Ensure slider controls are above the protection layer */
.carousel-control-prev,
.carousel-control-next,
.carousel-indicators {
    z-index: 10 !important;
}

/* Square Gallery Styles */
.gallery-row {
    /* Let Bootstrap handle margins */
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item::before {
    content: "";
    display: block;
    padding-top: 100%;
    /* Square Aspect Ratio */
}

.gallery-item .img-protect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Welcome Modal */
.welcome-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.welcome-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.welcome-modal-content {
    background: #fff;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transform: scale(0.8);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.welcome-modal-overlay.active .welcome-modal-content {
    transform: scale(1);
}

.welcome-modal-logo {
    width: 120px;
    margin-bottom: 1.5rem;
}

.welcome-modal-title {
    font-weight: 700;
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 0;
    min-height: 2.2rem;
    display: inline-block;
    position: relative;
    vertical-align: middle;
}

.welcome-modal-title::after {
    content: '|';
    margin-left: 5px;
    animation: blinkCursor 0.8s infinite;
}

@keyframes blinkCursor {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.welcome-modal-text {
    font-weight: 400;
    color: #666;
    margin-bottom: 0;
}
/* Promo Modal - Centered Image Popup */
.promo-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: 20px;
}

.promo-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.promo-modal-content {
    position: relative;
    max-width: 600px;
    width: 100%;
    background: transparent;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.promo-modal-overlay.active .promo-modal-content {
    transform: scale(1);
}

.promo-modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 35px;
    height: 35px;
    background: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10002;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    color: #333;
    font-size: 1.1rem;
}

.promo-modal-close:hover {
    background: #000;
    color: #fff;
    transform: rotate(90deg);
}

.promo-modal-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

@media (max-width: 576px) {
    .promo-modal-content {
        max-width: 90%;
    }
    .promo-modal-close {
        top: 10px;
        right: 10px;
    }
}
