* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #f4f4f4;
}

/* PAGE HEADER */
.page-header {
    padding: 120px 8% 60px;
    text-align: center;
    background: linear-gradient(120deg, #111, #333);
    color: #fff;
}

.page-header h1 {
    font-size: 42px;
}

/* GRID */
.tiles-section {
    padding: 80px 8%;
}

.tiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
}

/* CARD */
.tile-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: 0.4s;
}

.tile-card:hover {
    transform: translateY(-10px);
}

.tile-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

/* INFO */
.tile-info {
    padding: 20px;
    text-align: center;
}

.tile-info h3 {
    margin-bottom: 15px;
}

.tile-info button {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
}

.tile-info button:hover {
    background: #333;
}
/* MODAL */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 25px;
    width: 90%;
    max-width: 600px;
    text-align: center;
    animation: scaleIn 0.4s ease;
}

.modal-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.modal-images img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 15px;
}




/* whatsapp */
.whatsapp-btn {
    margin-top: 20px;
    background: #25D366;
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
}

/* animation */
@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
@media (max-width: 768px) {
    .tiles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 3 أعمدة دائماً */
    gap: 35px;
}

}

