/* ==============================
   Featured Project Slideshow - Full Screen
   ARIB Brand - Slide Animation Version
   ============================== */

.featured-project-slideshow {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.featured-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 1.2s ease-in-out;
}

.featured-slide.active {
    visibility: visible;
    transform: translateX(0);
    z-index: 2;
}

.featured-slide.prev {
    visibility: visible;
    transform: translateX(0);
    z-index: 1;
}

/* Zoom Animation for Background */
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1);
}

.featured-slide.active .slide-bg {
    animation: zoomInOut 10s ease-in-out;
}

@keyframes zoomInOut {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Light Overlay - Only for text readability */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
    z-index: 1;
}

/* Content Container - Left Aligned */
.slide-content {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    z-index: 2;
    color: #fff;
    padding: 0 15px;
}

.slide-content .container {
    max-width: 1200px;
}

/* Featured Label */
.featured-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

/* Project Title */
.project-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

/* Project Subtitle */
.project-subtitle {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 35px;
    max-width: 550px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.7s forwards;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.4);
}

/* Discover Button - ARIB Green Theme */
.btn-discover {
    display: inline-block;
    padding: 16px 45px;
    background: #6caf5f;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.9s forwards;
}

.btn-discover:hover {
    background: #5a9a4e;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(108, 175, 95, 0.4);
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .featured-project-slideshow {
        height: 80vh;
        min-height: 500px;
    }

    .project-title {
        font-size: 38px;
    }

    .project-subtitle {
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .featured-project-slideshow {
        height: 100vh;
        min-height: 500px;
    }

    .slide-content {
        top: auto;
        bottom: 80px;
        transform: none;
        padding: 0 20px;
    }

    .slide-overlay {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    }

    .project-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .project-subtitle {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .btn-discover {
        padding: 14px 35px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .project-title {
        font-size: 24px;
    }

    .project-subtitle {
        font-size: 13px;
    }
}


/* ==============================
   Latest Properties Section
   ============================== */

.latest-properties-section {
    background: #f8f8f8;
    padding: 80px 0;
}

.latest-properties-section .sec-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 0;
    letter-spacing: 1px;
    position: relative;
    padding-left: 20px;
}

.latest-properties-section .sec-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 40px;
    background: #6caf5f;
}

/* Property Card */
.property-card {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.property-card-image {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
}

.property-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Overlay */
.property-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 30px 20px 20px;
    transition: all 0.3s ease;
}

.property-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.property-card:hover .property-card-title {
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 991px) {
    .latest-properties-section {
        padding: 60px 0;
    }

    .latest-properties-section .sec-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .latest-properties-section .row.align-items-center {
        margin-bottom: 30px !important;
    }

    .latest-properties-section .col-md-4 {
        text-align: center !important;
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .latest-properties-section {
        padding: 50px 0;
    }

    .latest-properties-section .sec-title {
        font-size: 24px;
        padding-left: 15px;
    }

    .latest-properties-section .sec-title::before {
        width: 3px;
        height: 30px;
    }

    .property-card-title {
        font-size: 18px;
    }
}

.blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 16px;
  border: 1px solid #f2f2f2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.blog-area-3 {
  background-color: #fff;
}

.blog-img-fixed {
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}
.blog-img-fixed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-content-flex {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
  background-color: #fff;
}

.blog-title-clamp a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: #111;
  text-decoration: none;
}

.read-more-btn {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.9rem;
  padding: 0.55rem 0.9rem;
  background-color: transparent;
  border: 1px solid #ddd;
  border-radius: 6px;
  color: #111;
  transition: all 0.3s;
}

.read-more-btn:hover {
  background-color: #111;
  color: #fff;
  border-color: #111;
}

.th-carousel .slick-track { display: flex !important; }
.th-carousel .slick-slide { height: auto; }
.th-carousel .slick-slide > div { height: 100%; }

.blog-card .blog-content,
.th-blog.blog-single.style3.blog-card .blog-content {
  padding: 20px !important;
  background-color: #fff !important;
  box-shadow: none !important;
}