/* RESET */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to right, #eef2f3, #dfe9f3);
}

/* HERO HEADER */
header {
    height: 400px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url('https://static.vecteezy.com/system/resources/thumbnails/036/725/313/small_2x/ai-generated-real-estate-advertisment-background-with-copy-space-free-photo.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 30px;
    color: white;
}

header img {
    height: 200px;
    margin-right: 15px;
}

header h1 {
    margin: 0;
    font-size: 55px;
    letter-spacing: 1px;
}

.header-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header-content h1 {
    margin: 0;
    font-size: 50px;
    font-weight: 700;
}

.tagline {
    margin: 5px 0 10px;
    font-size: 25px;
    color: #ddd;
    font-weight: 300;
}

.builder-info {
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 15px;
    border-radius: 10px;
    margin: 10px 0;
    backdrop-filter: blur(8px);
    width: fit-content;
}

.builder-info p {
    margin: 3px 0;
    font-size: 17px;
}

.contact {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 500;
}

.contact a {
    color: #00eaff;
    text-decoration: none;
    font-weight: bold;
}

.contact a:hover {
    text-decoration: underline;
}

/* TITLE */
.section-title {
    text-align: center;
    margin: 40px 0 10px;
    font-size: 40px;
    color: #2c3e50;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 30px;
}

/* GLASS CARD */
.card {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: 0.4s;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
}

/* IMAGE WITH OVERLAY */
.card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: contain;
    background: #eee;
}

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

/* CONTENT */
.card-content {
    padding: 18px;
}

.card-content h3 {
    margin: 0;
    font-size: 20px;
    color: #2c3e50;
}

/* TAG */
.tag {
    display: inline-block;
    background: linear-gradient(to right, #ff7e5f, #feb47b);
    color: white;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 12px;
    margin: 10px 0;
}

/* DETAILS */
.card-content p {
    margin: 6px 0;
    color: #555;
}

/* BUTTON */
button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(to right, #36d1dc, #5b86e5);
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: linear-gradient(to right, #5b86e5, #36d1dc);
}

/* FOOTER */
footer {
    background: linear-gradient(to right, #1f2d3d, #34495e);
    color: white;
    text-align: center;
    padding: 25px;
    margin-top: 30px;
}

footer a {
    color: #00eaff;
    font-weight: bold;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {

    header {
        flex-direction: column;
        text-align: center;
        height: auto;
    }

    header img {
        height: 80px;
        margin-bottom: 10px;
    }

    .header-content h1 {
        font-size: 24px;
    }

    .tagline {
        font-size: 14px;
    }

    .builder-info {
        width: 100%;
        text-align: center;
    }

    .grid {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .card img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    button {
        font-size: 16px;
    }
}
