/* ===================================
   Modern Hero Slider Styling
   =================================== */

/* Make header always fixed */
header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
}

header .navbar-top-default {
    position: relative !important;
    background: #ffffff !important;
}

/* Push hero slider down below fixed header */
.modern-hero-slider {
    margin-top: 80px;
    position: relative;
    width: 100%;
    height: calc(100vh - 80px);
    min-height: 600px;
    overflow: hidden;
}

/* Slides Container */
.hero-slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Individual Slide */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.5s;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Ken Burns Zoom Effect */
.hero-slide.active {
    animation: kenBurns 20s ease-out forwards;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.15);
    }
}

/* Hero Video Slide */
.hero-video-slide {
    background-image: none !important;
    background-color: #000000 !important;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Disable Ken Burns animation for video slide */
.hero-video-slide.active {
    animation: none;
}

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(43, 43, 43, 0.6) 50%, rgba(201, 169, 97, 0.3) 100%);
    z-index: 1;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero-subtitle {
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 4px;
    color: #c9a961;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(-30px);
}

.hero-slide.active .hero-subtitle[data-animation="fadeInDown"],
.hero-slide.active .hero-subtitle[data-animation="fadeInLeft"],
.hero-slide.active .hero-subtitle[data-animation="fadeInRight"] {
    animation: fadeInDown 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

.hero-title {
    font-size: 90px;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.7), 0 3px 15px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(30px);
}

.hero-slide.active .hero-title[data-animation="fadeInUp"] {
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}

.hero-slide.active .hero-title[data-animation="fadeInLeft"] {
    animation: fadeInLeft 1s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}

.hero-slide.active .hero-title[data-animation="fadeInRight"] {
    animation: fadeInRight 1s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}

.hero-description {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    opacity: 0;
}

.hero-slide.active .hero-description[data-animation="fadeIn"],
.hero-slide.active .hero-description[data-animation="fadeInLeft"],
.hero-slide.active .hero-description[data-animation="fadeInRight"] {
    animation: fadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) 0.9s forwards;
}

/* Hero Button */
.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 45px;
    background: linear-gradient(135deg, #c9a961 0%, #d4b76f 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3), 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d4b76f 0%, #e0c888 100%);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(201, 169, 97, 0.4), 0 8px 20px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.hero-btn:hover:before {
    left: 0;
}

.hero-btn i {
    transition: transform 0.3s ease;
}

.hero-btn:hover i {
    transform: translateX(5px);
}

.hero-slide.active .hero-btn[data-animation="fadeInUp"],
.hero-slide.active .hero-btn[data-animation="fadeInLeft"],
.hero-slide.active .hero-btn[data-animation="fadeInRight"] {
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 1.2s forwards;
}

/* Navigation Arrows */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(201, 169, 97, 0.9);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-nav:hover {
    background: rgba(201, 169, 97, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(201, 169, 97, 0.5);
}

.hero-prev {
    left: 30px;
}

.hero-next {
    right: 30px;
}

/* Pagination Dots */
.hero-pagination {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.hero-dot.active {
    width: 40px;
    border-radius: 10px;
    background: linear-gradient(90deg, #c9a961 0%, #d4b76f 100%);
    border-color: #c9a961;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    right: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.scroll-indicator span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, #c9a961 0%, transparent 100%);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.5;
        height: 60px;
    }
    50% {
        opacity: 1;
        height: 80px;
    }
}

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

@keyframes fadeInUp {
    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 fadeIn {
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 70px;
    }

    .hero-nav {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}

@media (max-width: 992px) {
    .modern-hero-slider {
        min-height: 500px;
    }

    .hero-title {
        font-size: 56px;
    }

    .hero-description {
        font-size: 18px;
    }

    .hero-content.text-left,
    .hero-content.text-right {
        text-align: center !important;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 14px;
        letter-spacing: 3px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-btn {
        padding: 15px 35px;
        font-size: 13px;
    }

    .hero-nav {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }

    .hero-prev {
        left: 15px;
    }

    .hero-next {
        right: 15px;
    }
}

@media (max-width: 576px) {
    .modern-hero-slider {
        min-height: 450px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 12px;
    }

    .hero-description {
        font-size: 14px;
        margin-bottom: 2rem;
    }

    .hero-btn {
        padding: 12px 28px;
        font-size: 12px;
        gap: 10px;
    }

    .hero-pagination {
        bottom: 30px;
        gap: 10px;
    }

    .hero-dot {
        width: 10px;
        height: 10px;
    }

    .hero-dot.active {
        width: 30px;
    }
}

/* ===================================
   Force Consistent Menubar Styling
   =================================== */

/* Always show dark logo */
.navbar .logo .logo-dark {
    display: block !important;
}

.navbar .logo .logo-white {
    display: none !important;
}

/* Always dark text for nav links */
.navbar-simple .navbar-nav .nav-link {
    color: #2b2b2b !important;
}

.navbar-simple .navbar-nav .nav-link:hover,
.navbar-simple .navbar-nav .nav-link.active {
    color: #c9a961 !important;
}

/* Mobile menu button always dark */
.sidemenu_btn span {
    background: #2b2b2b !important;
}

/* Ensure background is always white */
header,
header .navbar-top-default,
.header-appear .navbar-top-default {
    background: #ffffff !important;
}


/* ===================================
   Menubar Border and Spacing Fix
   =================================== */

/* Add border line under menubar */
header {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e0e0e0;
}

/* Ensure no extra padding on header */
header .navbar-top-default {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Tighter spacing - eliminate gap between header and slider */
.modern-hero-slider {
    margin-top: 80px !important;
}

body {
    padding-top: 0 !important;
}

/* Remove any extra spacing on hero slider section */
#hero-slider {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

