/* properties.css - Properties section, cards, and pagination */

/* =============================================
   PROPERTIES SECTION
   ============================================= */
.properties .item {
    background-color: #fafafa;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
}

.properties .item img {
    border-radius: 10px;
}

.properties .item span.category {
    background-color: #fbd9cf;
    font-weight: 500;
    border-radius: 5px;
    font-size: 14px;
    color: #1e1e1e;
    padding: 5px 12px;
    display: inline-block;
    margin-top: 25px;
}

.properties .item h4 {
    font-size: 19px;
    margin: 25px 0px;
}

.properties .item h4 a {
    color: #1e1e1e;
}

.properties .item ul li {
    display: inline-block;
    font-size: 15px;
    color: #4a4a4a;
    margin-right: 20px;
}

.properties .item ul li span {
    font-weight: 600;
    color: #1e1e1e;
}

.properties .item ul {
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 30px;
    padding-bottom: 30px;
}

.properties .item h6 {
    font-size: 20px;
    color: #f35525;
    margin-top: 6px;
    display: inline-block;
    float: right;
    margin-top: 30px;
    background: linear-gradient(135deg, #f35525, #ff7849);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 22px;
}

.properties .item .main-button {
    text-align: center;
}

/* =============================================
   PROPERTIES GRID
   ============================================= */
.properties-box {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.properties-box.row {
    margin: 0 -15px;
}

.properties-items {
    padding: 0 15px;
    margin-bottom: 30px;
    flex: 0 0 auto;
    transition: all 0.3s ease;
}

.properties-items.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.properties-items .item {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.properties-items .item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f35525, #ff7849, #f35525);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.properties-items .item:hover::before {
    opacity: 1;
}

.properties-items .item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.properties-items .item img {
    transition: all 0.3s ease;
}

.properties-items .item:hover img {
    transform: scale(1.05);
}

/* Staggered animation for transport items */
.properties-items:nth-child(1) { animation-delay: 0.1s; }
.properties-items:nth-child(2) { animation-delay: 0.2s; }
.properties-items:nth-child(3) { animation-delay: 0.3s; }
.properties-items:nth-child(4) { animation-delay: 0.4s; }
.properties-items:nth-child(5) { animation-delay: 0.5s; }
.properties-items:nth-child(6) { animation-delay: 0.6s; }

/* =============================================
   PAGINATION
   ============================================= */
.properties ul.pagination {
    margin-top: 50px;
    text-align: center;
    width: 100%;
    display: inline-block;
}

.properties ul.pagination li {
    display: inline-block;
    margin: 0px 5px;
}

.properties ul.pagination li a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: #1e1e1e;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50%;
    transition: all .3s;
}

.properties ul.pagination li a:hover,
.properties ul.pagination li a.is_active {
    background-color: #f35525;
    color: #fff;
}

/* =============================================
   ENHANCED PAGINATION
   ============================================= */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px 0 30px 0;
    flex-wrap: wrap;
    gap: 8px;
}

.pagination li {
    list-style: none;
}

.pagination li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #fff;
    border: 2px solid #e0e0e0;
    color: #333;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.pagination li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.pagination li a:hover,
.pagination li a.is_active {
    background: linear-gradient(135deg, #f35525, #ff7849);
    border-color: #f35525;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(243, 85, 37, 0.3);
}

.pagination li a.is_active {
    box-shadow: 0 5px 15px rgba(243, 85, 37, 0.4);
    animation: pulse 2s infinite;
}

.pagination li a:hover::before,
.pagination li a.is_active::before {
    left: 100%;
}

.pagination-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    color: #999;
    font-size: 16px;
    font-weight: bold;
}

.pagination-info {
    text-align: center;
    margin-top: 20px;
}

.pagination-info p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* =============================================
   FEATURED SECTION
   ============================================= */
.featured .left-image {
    position: relative;
}

.featured .left-image img {
    padding-left: 55px;
}

.featured .left-image a {
    display: inline-block;
    width: 110px;
    height: 110px;
    line-height: 110px;
    background-color: #f35525;
    border-radius: 50%;
    text-align: center;
    position: absolute;
    left: 0;
    bottom: -55px;
}

.featured .section-heading {
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 60px;
}

.featured .section-heading h2 {
    width: 70%;
}

.featured .accordion {
    margin-left: 10px;
    margin-right: 10px;
    --bs-accordion-border-radius: 10px;
    --bs-accordion-inner-border-radius: 10px;
    --bs-accordion-bg: #fafafa;
    --bs-accordion-border-color: none;
    border: none !important;
}

.featured .accordion-header {
    border-bottom: 1px solid #eaeaea;
}

.featured .accordion-button {
    box-shadow: none;
    font-size: 17px;
    font-weight: 500;
    color: #1e1e1e;
}

.featured .accordion-button:not(.collapsed) {
    color: #f35525;
    background-color: #fafafa;
    outline: none;
}

.featured .accordion-button::after {
    display: none;
}

.featured #headingThree {
    border-bottom: none;
}

.featured .accordion-item:last-of-type .accordion-collapse {
    border-top: 1px solid #eaeaea;
}

/* =============================================
   INFO TABLE
   ============================================= */
.featured .info-table {
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
    padding: 35px 30px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border: 1px solid rgba(243, 85, 37, 0.1);
    position: relative;
    overflow: hidden;
}

.featured .info-table::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f35525, #ff7849);
}

.featured .info-table ul li {
    display: block;
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 -10px 25px -10px;
    padding: 20px 10px;
}

.featured .info-table ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.featured .info-table ul li:hover {
    background: rgba(243, 85, 37, 0.05);
    transform: translateX(5px);
}

.featured .info-table ul li img {
    float: left;
    margin-right: 25px;
}

.featured .info-table ul li h4 {
    font-size: 22px;
    font-weight: 600;
    background: linear-gradient(135deg, #f35525, #ff7849);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.featured .info-table ul li h4 span {
    font-size: 15px;
    color: #aaa;
    font-weight: 400;
}
