/* 
    PRIME glow Custom CSS
*/

:root {
    --primary-color: #00de00; /* Green from logo */
    --primary-dark: #00b000;  /* Darker green for better readability */
    --primary-light: #e6f7e6;
    --accent-color: #ffeb00;  /* Yellow from logo */
    --accent-dark: #e6d400;   /* Darker yellow for hover/details */
    --text-dark: #333333;
    --text-muted: #666666;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

.transition {
    transition: var(--transition);
}

.letter-spacing-1 { letter-spacing: 1px; }
.letter-spacing-2 { letter-spacing: 2px; }

/* Navbar */
.navbar {
    padding: 20px 0;
    z-index: 1000;
}

.navbar.scrolled {
    background: #ffffff !important;
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-bottom: 3px solid var(--accent-color);
}

.navbar .nav-link {
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 15px !important;
    transition: var(--transition);
}

.navbar.scrolled .nav-link {
    color: var(--text-dark);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #ffffff;
    opacity: 0.8;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary-dark);
    opacity: 1;
}

.btn-reserve {
    background-color: var(--primary-color);
    color: var(--text-dark); /* Dark text on green button */
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.btn-reserve:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-dark);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-dark);
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    color: var(--text-dark) !important;
}

.navbar.scrolled .btn-reserve {
    /* Can remain same or change */
}

/* Navbar Toggler */
.navbar-toggler-icon-custom {
    width: 30px;
    height: 20px;
    position: relative;
    display: block;
}

.navbar-toggler-icon-custom span {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    position: absolute;
    transition: var(--transition);
}

.navbar.scrolled .navbar-toggler-icon-custom span {
    background: var(--primary-color);
}

.navbar-toggler-icon-custom span:nth-child(1) { top: 0; }
.navbar-toggler-icon-custom span:nth-child(2) { top: 9px; }
.navbar-toggler-icon-custom span:nth-child(3) { top: 18px; }

/* Hero Accordion Section */
.hero-section {
    height: 100vh;
    min-height: 600px;
    background: #000;
}

.hero-accordion {
    height: 100%;
}

.hero-item {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    align-items: flex-end;
    padding: 50px;
    overflow: hidden;
    background-color: #333; /* Dark gray instead of black for better visibility of inactive slides */
    background-blend-mode: multiply; 
}

.hero-item.active,
.hero-item:hover {
    background-blend-mode: normal;
}

@media (min-width: 992px) {
    .hero-item {
        flex: 1;
    }
    .hero-item.active {
        flex: 2.5;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Reduced from 0.5 for better visibility of inactive slides */
    transition: var(--transition);
}

.hero-item.active .hero-overlay,
.hero-item:hover .hero-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0,0,0,0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    width: 100%;
    min-height: 50px;
}

.hero-content h3 {
    font-weight: 700;
    margin-bottom: 0;
    transition: var(--transition);
}

.content-hover {
    opacity: 0;
    transform: translateX(-40px);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
    background: #ffffff;
    border-radius: 15px;
    color: var(--text-dark);
    width: 400px;
    max-width: 100%;
    padding: 30px;
    margin-top: 0;
    visibility: hidden;
    position: absolute;
    bottom: 0;
    left: 0;
}

.hero-item.active .content-hover {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
    transition-delay: 0.15s;
}

.content-no-hover {
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
}

.hero-item.active .content-no-hover {
    opacity: 0;
    transform: translateY(-20px);
    visibility: hidden;
}

.content-hover h3 {
    color: var(--primary-dark);
    font-weight: 700;
}

.content-hover .hero-btn {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.content-hover .hero-btn:hover {
    background: var(--primary-color);
    color: var(--text-dark);
}

.hero-btn {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.hero-item:hover .hero-btn {
    background: #ffffff;
    color: var(--primary-color);
    border-color: #ffffff;
}

/* Side Widget */
.side-widget-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    z-index: 2000;
    transition: all 0.5s ease;
}

.side-widget-wrapper.active {
    right: 0;
}

.side-widget-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
}

.side-widget-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 350px;
    max-width: 85%;
    height: 100%;
    background: #ffffff;
    padding: 50px 40px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

.close-side-widget {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
}

.side-menu ul li {
    margin-bottom: 15px;
}

.side-menu ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 600;
    transition: var(--transition);
}

.side-menu ul li a:hover {
    color: var(--primary-dark);
    padding-left: 10px;
}

/* About Section */
.about-img-wrapper .experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary-color);
    color: var(--text-dark); /* Dark text on green background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

@media (max-width: 768px) {
    .about-img-wrapper .experience-badge {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 20px;
        display: inline-block;
    }
}

.experience-badge .num {
    display: block;
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

.icon-sm {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* Service Card */
.service-card {
    border-radius: 15px;
    z-index: 1;
}

.service-card .service-icon {
    transition: var(--transition);
}

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

.service-hover-bg {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    z-index: -1;
    transition: all 0.5s ease;
}

.service-card:hover {
    color: var(--text-dark) !important;
}

.service-card:hover .service-hover-bg {
    bottom: 0;
}

.service-card:hover .text-muted,
.service-card:hover .text-primary {
    color: var(--text-dark) !important;
    opacity: 0.8;
}

.service-card:hover .btn-link-custom {
    color: var(--text-dark) !important;
}

.bg-accent {
    background-color: var(--accent-color) !important;
    color: var(--text-dark) !important;
}

.key-contact {
    background-color: rgba(0, 0, 0, 0.2) !important;
    transition: var(--transition);
}

.key-contact:hover {
    background-color: rgba(0, 0, 0, 0.3) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.border-accent {
    border-color: var(--accent-color) !important;
}

.bg-dark {
    background-color: #1a1a1a !important;
}

.footer {
    border-top: 4px solid var(--accent-color);
}

.footer-links li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 15px;
}

.footer-links li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.social-icon-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-dark);
    transform: translateY(-3px);
}

/* Stats */
.odometer {
    font-family: 'Poppins', sans-serif;
}

.stats-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
}

.stats-section .text-primary {
    color: var(--primary-color) !important;
}

/* Blog Section */
.blog-card {
    transition: var(--transition);
}

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

.blog-img img {
    height: 250px;
    object-fit: cover;
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--primary-color);
    color: var(--text-dark); /* Dark text on green background */
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 600;
}

/* Contact Form */
.contact-form-flex {
    display: flex;
    flex-direction: column;
}

.form-control:focus {
    background-color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.text-primary {
    color: var(--primary-dark) !important;
}

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

.bg-primary .text-white, 
.bg-primary h1, .bg-primary h2, .bg-primary h3, .bg-primary h4, .bg-primary h5, .bg-primary p {
    color: var(--text-dark) !important;
}

/* Gallery */
.transition-hover {
    transition: var(--transition);
    cursor: pointer;
}

.transition-hover:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: var(--text-dark);
    border-radius: 50%;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: none; /* Hidden on desktop */
}

@media (max-width: 991px) {
    .scroll-top {
        display: flex;
    }
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--accent-color);
    color: var(--text-dark);
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 991px) {
    .navbar {
        background: #ffffff !important;
        padding: 15px 0;
    }
    .navbar .nav-link {
        color: var(--text-dark);
    }
    #logoWhite { display: none; }
    #logoDark { display: block !important; }
    
    .hero-section {
        height: auto;
    }
    .hero-item {
        height: 300px;
    }
    .hero-item.active {
        height: 450px;
    }
}
