/* Properties Page Styles */

/* Reduced heading spacing for properties page */
.centered-heading-section {
    min-height: 30vh;
    margin-top: 2vh;
}

/* Property Grid Section */
.properties-section {
    padding: 4rem 6%;
    position: relative;
    z-index: 2;
}

.properties-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.properties-header-left .pre-title {
    margin-bottom: 0.5rem;
}

.properties-header-left h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 500;
    color: #121c26;
    line-height: 1.2;
}

/* Project Detail Page */
.property-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.property-detail-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.property-detail-info {
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .property-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Property Grid */
.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.property-card {
    background: conic-gradient(from var(--angle), #D4AF37, #506a1c, #D4AF37, #fff4d8, #D4AF37);
    padding: 2px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    animation: spinAngle 3s linear infinite;
}

@keyframes spinAngle {
    to { --angle: 360deg; }
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.15);
}

.property-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    border-radius: 14px 14px 0 0;
}

.property-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.property-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, transparent 40%, rgba(0,0,0,0.6) 100%);
}

.property-status {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.property-status.ready {
    background: #506a1c;
    color: #fff;
}

.property-status.construction {
    background: var(--color-gold);
    color: #0c1004;
}

.property-status.completed {
    background: #2d5a27;
    color: #fff;
}

.property-status.handover {
    background: #1a4a1a;
    color: #fff;
}

.property-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.55rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255,255,255,0.9);
    color: #121c26;
    z-index: 2;
}

.property-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 0 0 14px 14px;
}

.property-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.property-description {
    font-size: 0.75rem;
    color: rgba(12, 16, 4, 0.7);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.property-card-body .property-location {
    font-size: 0.65rem;
    color: rgba(12, 16, 4, 0.6);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.property-rera {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.property-details-row {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(12, 16, 4, 0.08);
}

.property-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.detail-icon {
    color: var(--color-gold);
    width: 16px;
    height: 16px;
}

.detail-value {
    font-size: 0.8rem;
    font-weight: 600;
    color: #121c26;
}

.detail-label {
    font-size: 0.55rem;
    color: rgba(12, 16, 4, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.property-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.property-card-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.callback-btn {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    background: var(--color-primary);
    padding: 0.5rem 0.9rem;
    border-radius: 6px;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.callback-btn:hover {
    background: var(--color-gold);
    color: #0c1004;
}

.property-price {
    display: flex;
    flex-direction: column;
}

.price-value {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-gold);
    font-weight: 600;
}

.price-label {
    font-size: 0.55rem;
    color: rgba(12, 16, 4, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.property-cta {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-gold);
    border: none;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    flex-shrink: 0;
}

.property-cta:hover {
    transform: scale(1.1);
    background: var(--color-gold-hover);
    color: #fff;
}

.property-cta svg {
    width: 18px;
    height: 18px;
}

/* CTA Section */
.properties-cta-section {
    padding: 6rem 6%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.properties-cta-section h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.2;
    color: #121c26;
    margin-bottom: 1.5rem;
}

.properties-cta-section p {
    font-size: 1.05rem;
    color: rgba(12, 16, 4, 0.7);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 768px) {
    .property-grid {
        grid-template-columns: 1fr;
    }

    .properties-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .properties-header-left h2 {
        font-size: 2.2rem;
    }

    .properties-cta-section h2 {
        font-size: 2.2rem;
    }

    .property-card-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .properties-section {
        padding: 3rem 5%;
    }

    .property-card-body h3 {
        font-size: 1.2rem;
    }

    .price-value {
        font-size: 1.1rem;
    }
}

/* Project Filters */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #121c26;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: #fff;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

@media (max-width: 768px) {
    .project-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}

/* City Filters styling */
.city-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.2rem;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.city-filter-btn {
    background: transparent;
    border: 1px solid rgba(80, 106, 28, 0.3);
    color: #121c26;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.city-filter-btn svg {
    transition: transform 0.3s ease;
}

.city-filter-btn:hover svg {
    transform: scale(1.1);
}

.city-filter-btn:hover, .city-filter-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 5px 15px rgba(80, 106, 28, 0.25);
    transform: translateY(-1px);
}

.city-filter-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .city-filters {
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .city-filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}
