.property-grid {
    background-color: #fff;
    padding: 60px 0;
}

.property-item {
    position: relative;
    display: block;
    background: #fff;
    margin-bottom: 30px;
    text-decoration: none;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    overflow: hidden;
    height: 400px;
}

.property-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.property-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: white;
    height: 180px;  
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.property-title {
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 15px;
    text-align: center;
    min-height: 2.8em;  
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
    padding: 0 10px;
}

.property-item:not(:has(img)) .property-content {
    position: relative;
    height: 180px;  
    background: transparent;
    padding: 30px;
}

.property-info {
    color: #666;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.property-info span {
    display: block;
    font-size: 0.9rem;
    text-align: center;
}

.property-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.property-item:not(:has(img)) {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.property-item:not(:has(img))::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%);
    background-size: 20px 20px;
    animation: backgroundMove 30s linear infinite;
    opacity: 0.5;
}

.property-item:not(:has(img))::after {
    content: '\f1ad';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 2.5rem;
    color: rgba(0, 0, 0, 0.1);
    position: absolute;
    right: 20px;
    bottom: 20px;
}

@keyframes backgroundMove {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.property-item:not(:has(img)) .property-content {
    background: transparent;
    position: relative;
    z-index: 1;
    padding: 30px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.property-item:not(:has(img)):hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #f1f3f5 0%, #e9ecef 100%);
}

.projects-divider {
    width: 100%;
    margin: 60px 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #ccc, transparent);
}

.projects-divider span {
    background: #fff;
    padding: 0 20px;
    color: #666;
    position: relative;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.property-item:not(:has(img)) {
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
}

.property-item:not(:has(img))::before {
    content: '\f1ad';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 3rem;
    color: #adb5bd;
}

.property-content {
    padding: 25px;
    background: white;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.property-title {
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 15px;
    text-align: center;
    line-height: 1.4;
    white-space: normal;
    max-height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.property-item:not(:has(img)) .property-content {
    padding: 30px;
    height: auto;
    min-height: 180px;
}

.property-info {
    color: #666;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.property-info span {
    display: block;
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.4;
}

.property-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.realisations-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

.projects-section {
    width: 100%;
    padding: 60px 0;
    background-color: #f8f9fa;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 40px 0 60px 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.project-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(44,62,80,0.10);
    padding: 2.2rem 1.5rem 1.5rem 1.5rem;
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 400px;
    border: none;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s forwards;
}
.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }
.project-card:nth-child(5) { animation-delay: 0.5s; }
.project-card:nth-child(6) { animation-delay: 0.6s; }
.project-card:nth-child(7) { animation-delay: 0.7s; }
.project-card:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card:hover {
    box-shadow: 0 16px 40px rgba(44,62,80,0.18);
    transform: translateY(-8px) scale(1.025);
}

.project-icon {
    font-size: 3.2rem;
    color: #3498db;
    margin-bottom: 1.2rem;
    transition: color 0.3s, transform 0.3s;
}
.project-card:hover .project-icon {
    color: #1a3552;
    transform: scale(1.12) rotate(-6deg);
}

.project-category {
    font-size: 1.05rem;
    color: #888;
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.project-category i {
    color: #f1c40f;
    font-size: 1.1em;
}

.project-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a3552;
    margin-bottom: 1.1rem;
    text-align: center;
    letter-spacing: 0.5px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-info {
    width: 100%;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.7em;
    min-height: 180px;
    justify-content: flex-end;
}
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1em;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 10px 18px;
    margin-bottom: 10px;
}
.info-label {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-weight: 500;
    color: #444;
    font-size: 1.08em;
    min-width: 120px;
    flex-shrink: 0;
}
.info-label i {
    color: #3498db;
    font-size: 1.2em;
    margin-bottom: 0;
    width: 16px;
    text-align: center;
}
.info-value {
    color: #222;
    font-weight: 400;
    line-height: 1.4;
    flex: 1;
}

.page-title h2 {
    font-size: 2.7rem;
    font-weight: 700;
    color: #1a3552;
    letter-spacing: 2px;
    margin-bottom: 0.5em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 0;
}
.page-title h2::after {
    display: none;
}

@media (max-width: 900px) {
    .project-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 20px 0 30px 0;
    }
    .project-card {
        padding: 1.2rem 0.7rem 1rem 0.7rem;
        min-height: 220px;
    }
    .project-title {
        font-size: 1.08rem;
    }
    .project-icon {
        font-size: 2.1rem;
        margin-bottom: 0.7rem;
    }
}
@media (max-width: 600px) {
    .project-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 20px 0 30px 0;
    }
    .project-card {
        padding: 1.2rem 0.7rem 1rem 0.7rem;
        min-height: 260px;
    }
    .project-title {
        font-size: 1.1rem;
    }
}

.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.filter-section {
    background: #f8f9fa;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: none;
    background: white;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.filter-btn.active {
    background: #007bff;
    color: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 50px 0;
}

.project-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.project-icon {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.project-card:hover .project-icon {
    color: #007bff;
}

.project-info {
    margin-top: 25px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.info-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    flex: 1;
}

.info-item.architect {
    width: 100%;
}

.info-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    margin-bottom: 5px;
}

.info-value {
    color: #333;
    font-weight: 500;
}

.category-tag {
    background: #e3f2fd;
    color: #007bff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.project-content {
    padding: 25px;
}

.project-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #333;
}

.detail-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}

.detail-icon {
    color: #007bff;
    width: 20px;
}

.detail-label {
    font-weight: 500;
    color: #666;
    width: 80px;
}

.detail-value {
    color: #333;
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .property-item img,
    .property-item:not(:has(img)) {
        height: 280px;
    }
    
    .property-content {
        padding: 20px;
    }
}