/* ===============================================
   LANDGROUP - Home Page Styles
   Professional styling for the home page components
   =============================================== */

/* Hero Carousel Styles */
#heroCarousel .carousel-indicators [data-bs-target] {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    margin: 0 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#heroCarousel .carousel-indicators .active {
    background: var(--lg-gold);
    border-color: var(--lg-gold);
    transform: scale(1.3);
    box-shadow: 0 3px 8px rgba(240, 194, 75, 0.4);
}

#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.5));
    width: 3rem;
    height: 3rem;
}

#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    width: 5%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#heroCarousel:hover .carousel-control-prev,
#heroCarousel:hover .carousel-control-next {
    opacity: 1;
}

/* Hero Premium Section */
.hero-premium {
    min-height: 85vh;
}

.hero-premium .tagline {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: var(--font-hero);
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-content h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.hero-content p.lead {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glass Effect */
.glass {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, #fff, var(--lg-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(7, 34, 56, 0.15);
}

/* KPI Cards */
.kpi-card {
    background: #fff;
    border: 0;
    box-shadow: 0 10px 40px rgba(7, 34, 56, 0.05);
    position: relative;
    overflow: hidden;
}

.kpi-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(240, 194, 75, 0.05), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.kpi-card:hover::before {
    animation: shimmer 1s ease;
}

@keyframes shimmer {
    from {
        transform: rotate(45deg) translateY(-100%);
    }
    to {
        transform: rotate(45deg) translateY(100%);
    }
}

.kpi-value {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--lg-navy);
    line-height: 1;
}

.kpi-label {
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6b7280;
    font-weight: 700;
    font-size: 0.75rem;
}

/* Project Cards Enhanced */
.project-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
}

.project-card img {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.project-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(7, 34, 56, 0.95));
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: end;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover img {
    transform: scale(1.08);
}

.project-card:hover .overlay {
    opacity: 1;
}

.badge-status {
    background: var(--lg-gold);
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.completed-badge {
    background: #28a745;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.project-meta {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
}

/* Facilities Modern Grid */
.facility-card {
    border: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.facility-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.facility-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(240, 194, 75, 0.1), rgba(240, 194, 75, 0.2));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.facility-icon i {
    font-size: 1.5rem;
    color: var(--lg-gold);
}

/* Partners Grid */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    align-items: center;
    justify-items: center;
}

@media (min-width: 576px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 992px) {
    .partners-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.partner-logo {
    width: 100%;
    max-width: 160px;
    min-height: 100px;
    padding: 1.25rem;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(240, 194, 75, 0.1);
}

.partner-logo img {
    max-height: 60px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(240, 194, 75, 0.3);
    transform: translateY(-2px);
}

.partner-logo:hover img {
    filter: none;
    opacity: 1;
    transform: scale(1.05);
}

/* News Enhanced */
.news-card {
    border: 0;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.news-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(11, 46, 78, 0.9);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Testimonials */
.testimonial-card {
    background: #fff;
    border: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-quote {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #334155;
    position: relative;
    padding-left: 2rem;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.5rem;
    font-size: 3rem;
    color: var(--lg-gold);
    font-family: Georgia, serif;
}

.testimonial-author {
    font-weight: 700;
    color: var(--lg-navy);
}

.testimonial-rating {
    color: var(--lg-gold);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(11, 46, 78, 0.95), rgba(7, 34, 56, 0.92)),
                url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=1600&h=600&fit=crop') center/cover;
    color: #fff;
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: -20%;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle, rgba(240, 194, 75, 0.1), transparent);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

.cta-whatsapp {
    background: rgba(37, 211, 102, 0.15);
    border: 2px solid #25D366;
    color: #25D366;
    font-weight: 700;
    transition: all 0.3s ease;
}

.cta-whatsapp:hover {
    background: #25D366;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

/* Timeline Enhanced */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--lg-gold), transparent);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-dot {
    position: absolute;
    left: -2rem;
    top: 0;
    width: 12px;
    height: 12px;
    background: #fff;
    border: 3px solid var(--lg-gold);
    border-radius: 50%;
}

/* Awards */
.award-card {
    transition: all 0.3s ease;
}

.award-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
}

.award-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(240, 194, 75, 0.1), rgba(240, 194, 75, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.award-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, var(--lg-gold), transparent);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.award-card:hover .award-icon::after {
    opacity: 0.3;
}

.award-icon i {
    font-size: 2rem;
    color: var(--lg-gold);
}

.award-year {
    display: inline-block;
    background: var(--lg-gold);
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

/* Careers Section */
.career-item {
    background: #fff;
    border: 0;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.career-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--lg-gold);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
}

.career-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.career-item:hover::before {
    transform: scaleY(1);
}

.career-location {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.career-location i {
    font-size: 0.75rem;
}

.career-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.career-tag {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: rgba(11, 46, 78, 0.05);
    color: var(--lg-navy);
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.btn-apply {
    background: var(--lg-navy);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.btn-apply:hover {
    background: var(--lg-gold);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(240, 194, 75, 0.3);
}

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */

/* Mobile Responsive Overrides */
@media (max-width: 767px) {
    .hero-premium {
        min-height: 100vh;
        padding: 1rem 0;
    }

    .hero-premium .container {
        padding: 0 1rem;
    }

    .hero-content .glass {
        max-width: 100%;
    }

    .hero-content h1.display-3 {
        font-size: clamp(1.75rem, 5vw, 2.5rem) !important;
    }

    .hero-content p.lead {
        font-size: clamp(1rem, 3vw, 1.25rem) !important;
    }

    .hero-content .btn-lg {
        font-size: 1rem !important;
        padding: 0.75rem 1.5rem !important;
    }
}

/* Unit Handover Carousel */
.handover-card {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: #fff;
    border: 1px solid rgba(240, 194, 75, 0.1);
    padding: 1rem;
}

.handover-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(240, 194, 75, 0.3);
}

.handover-card img {
    height: 350px;
    object-fit: contain;
    transition: transform 0.3s ease;
    width: 100%;
    background-color: #f8f9fa;
}

.handover-card:hover img {
    transform: scale(1.03);
}

/* Carousel responsive adjustments */
@media (max-width: 992px) {
    .handover-card img {
        height: 300px;
        object-fit: contain;
        background-color: #f8f9fa;
    }
}

@media (max-width: 768px) {
    .handover-card img {
        height: 270px;
        object-fit: contain;
        background-color: #f8f9fa;
    }
}

@media (max-width: 576px) {
    .handover-card img {
        height: 350px;
        object-fit: contain;
        background-color: #f8f9fa;
    }
}

/* Carousel controls styling */
#handoverCarousel .carousel-control-prev,
#handoverCarousel .carousel-control-next {
    background-color: var(--lg-gold) !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: all 0.3s ease;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

#handoverCarousel .carousel-control-prev {
    left: 0;
}

#handoverCarousel .carousel-control-next {
    right: 0;
}

#handoverCarousel .carousel-control-prev:hover,
#handoverCarousel .carousel-control-next:hover,
#handoverCarousel .carousel-control-prev:active,
#handoverCarousel .carousel-control-next:active,
#handoverCarousel .carousel-control-prev:focus,
#handoverCarousel .carousel-control-next:focus {
    background-color: var(--lg-navy) !important;
    transform: translateY(-50%) scale(1.1);
}

#handoverCarousel .carousel-control-prev-icon,
#handoverCarousel .carousel-control-next-icon {
    filter: invert(1);
    width: 1.2rem;
    height: 1.2rem;
}

/* Carousel indicators */
#handoverCarousel .carousel-indicators {
    bottom: -50px;
}

#handoverCarousel .carousel-indicators [data-bs-target] {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(240, 194, 75, 0.4) !important;
    border: 2px solid rgba(240, 194, 75, 0.6) !important;
    margin: 0 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#handoverCarousel .carousel-indicators .active {
    background-color: var(--lg-gold) !important;
    border-color: var(--lg-gold) !important;
    transform: scale(1.3);
    box-shadow: 0 3px 8px rgba(240, 194, 75, 0.4);
}

#handoverCarousel .carousel-indicators [data-bs-target]:active,
#handoverCarousel .carousel-indicators [data-bs-target]:focus {
    background-color: rgba(240, 194, 75, 0.5) !important;
    border-color: rgba(240, 194, 75, 0.7) !important;
}

/* Facilities Carousel Controls */
#facilitiesCarousel .carousel-control-prev,
#facilitiesCarousel .carousel-control-next {
    background-color: var(--lg-gold) !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: all 0.3s ease;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

#facilitiesCarousel .carousel-control-prev {
    left: 0;
}

#facilitiesCarousel .carousel-control-next {
    right: 0;
}

#facilitiesCarousel .carousel-control-prev:hover,
#facilitiesCarousel .carousel-control-next:hover,
#facilitiesCarousel .carousel-control-prev:active,
#facilitiesCarousel .carousel-control-next:active,
#facilitiesCarousel .carousel-control-prev:focus,
#facilitiesCarousel .carousel-control-next:focus {
    background-color: var(--lg-navy) !important;
    transform: translateY(-50%) scale(1.1);
}

#facilitiesCarousel .carousel-control-prev-icon,
#facilitiesCarousel .carousel-control-next-icon {
    filter: invert(1);
    width: 1.2rem;
    height: 1.2rem;
}

/* Facilities Carousel Indicators */
#facilitiesCarousel .carousel-indicators [data-bs-target] {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(240, 194, 75, 0.4) !important;
    border: 2px solid rgba(240, 194, 75, 0.6) !important;
    margin: 0 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#facilitiesCarousel .carousel-indicators .active {
    background-color: var(--lg-gold) !important;
    border-color: var(--lg-gold) !important;
    transform: scale(1.3);
    box-shadow: 0 3px 8px rgba(240, 194, 75, 0.4);
}

#facilitiesCarousel .carousel-indicators [data-bs-target]:active,
#facilitiesCarousel .carousel-indicators [data-bs-target]:focus {
    background-color: rgba(240, 194, 75, 0.5) !important;
    border-color: rgba(240, 194, 75, 0.7) !important;
}

/* Retail Partners Section */
.retail-partner-card {
    border: 1px solid rgba(240, 194, 75, 0.2);
    border-radius: 1rem;
    transition: all 0.3s ease;
    background: #fff;
    cursor: pointer;
}

.retail-partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(240, 194, 75, 0.4);
}

.partner-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.retail-partner-card:hover .partner-icon {
    transform: scale(1.1);
}

.text-instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.instagram-link {
    color: #E4405F;
    font-weight: 600;
    transition: color 0.3s ease;
}

.retail-partner-card:hover .instagram-link {
    color: #C13584;
}

/* Responsive adjustments for retail partners */
@media (max-width: 768px) {
    .retail-partner-card .card-body {
        padding: 1.5rem;
    }

    .partner-icon {
        width: 50px;
        height: 50px;
    }

    .partner-icon i {
        font-size: 1.5rem;
    }
}

/* Retail Project Gallery */
.retail-project-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: #fff;
    border: 1px solid rgba(240, 194, 75, 0.1);
}

.retail-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(240, 194, 75, 0.3);
}

.retail-project-card img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
    width: 100%;
}

.retail-project-card:hover img {
    transform: scale(1.05);
}

.retail-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem 1.5rem 1.5rem;
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.retail-project-card:hover .retail-overlay {
    transform: translateY(0);
}

.retail-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.retail-desc {
    font-size: 0.875rem;
    margin: 0;
    opacity: 0.9;
    line-height: 1.4;
}

/* Responsive adjustments for retail project gallery */
@media (max-width: 768px) {
    .retail-project-card img {
        height: 200px;
    }

    .retail-overlay {
        padding: 1.5rem 1rem 1rem;
    }

    .retail-title {
        font-size: 1.1rem;
    }

    .retail-desc {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .retail-project-card img {
        height: 180px;
    }
}

/* Mobile responsive for carousels */
@media (max-width: 768px) {
    #heroCarousel .carousel-indicators [data-bs-target] {
        width: 14px;
        height: 14px;
        margin: 0 4px;
    }

    #heroCarousel .carousel-indicators .active {
        transform: scale(1.2);
    }

    #facilitiesCarousel .carousel-indicators [data-bs-target],
    #handoverCarousel .carousel-indicators [data-bs-target] {
        width: 12px;
        height: 12px;
        margin: 0 4px;
    }

    #facilitiesCarousel .carousel-indicators .active,
    #handoverCarousel .carousel-indicators .active {
        transform: scale(1.2);
    }
}

@media (max-width: 576px) {
    #heroCarousel .carousel-indicators [data-bs-target] {
        width: 12px;
        height: 12px;
        margin: 0 3px;
    }

    #facilitiesCarousel .carousel-indicators [data-bs-target],
    #handoverCarousel .carousel-indicators [data-bs-target] {
        width: 10px;
        height: 10px;
        margin: 0 3px;
    }
}

/* ===============================================
   End of Home Page Styles
   =============================================== */